/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

html, body {
    font-family: 'Poppins', sans-serif;
    background-color: #fdf8f1;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Hide horizontal scrollbar */
    overflow-y: scroll; /* Allow vertical scrolling but hide scrollbar */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
  }


/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 30px;
    background: #fdf8f1;
    border-bottom: 1px solid rgba(0, 0,0, 0.2);
    
    position: relative;
}

/* Logo Image */
.logo img {
    width: 80px;
    height: auto;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    
}

/* Navigation List */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* Navigation List Item */
nav ul li {
    display: inline;
}

/* Navigation Links */
nav ul li a {
    text-decoration: none;
    font-size: 18px;
    color: #333;
    font-weight: 400;
    position: relative;
    transition: all 0.3s ease-in-out;
}

nav a:not(.logo-link)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #a63a50;
    transition: width 0.3s ease-in-out;
  }
  
  nav a:not(.logo-link):hover::after {
    width: 100%;
  }
/* Active Link Styling */
nav ul li a.active {
    color: #c62b56;
    font-weight: bold;
}

/* Active link underline */
nav ul li a.active::after {
    width: 100%;
}

/* Hamburger Menu Button */
.menu-btn {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: #c62b56;
}

/* Mobile Menu */
.nav-mobile {
    display: none;
    flex-direction: column;
    background: #fdf8f1;
    padding: 12px 20px;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    z-index: 100;
    border-top: 1px solid #ffd9a5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Show Mobile Menu */
.nav-mobile.show {
    display: flex;
}

/* Navigation Links in Mobile */
.nav-mobile ul {
    list-style: none;
    padding: 32px;
    margin: 11px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-mobile li {
    margin: 0;
}

.nav-mobile li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    transition: color 0.3s ease;
}

/* Enhanced Login Button */
.login-btn {
    background: none;
    border: 1px solid #c62b56;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #c62b56;
    transition: all 0.5s ease-in-out;
}

/* Login Button Hover Effect */
.login-btn:hover {
    background: linear-gradient(to right, #c62b56, #d33a6a);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .login-btn {
        font-size: 15px;
    }
}

@media (max-width: 760px) {
    .login-btn {
        font-size: 14px;
        position: absolute;
        right: 60px;
    }
}

@media (max-width: 480px) {
    .login-btn {
        font-size: 13px;
        position: absolute;
        right: 50px;
    }
}

@media (max-width: 360px) {
    .login-btn {
        font-size: 12px;
        position: absolute;
        right: 46px;
    }
}


/* Profile Button */
.profile-container {
    display: flex;
    align-items: center;
    position: relative;
}

.profile-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fdf6f1, #e6d7cb);
    color: #c62b56;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #c62b56;
    box-shadow: 0 4px 10px rgba(198, 43, 86, 0.3);
}

/* Profile Hover Effect */
.profile-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(198, 43, 86, 0.6);
}

/* Dropdown Menu */
.profile-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: #fdf6f1;
    color: #c62b56;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid #c62b56;
    min-width: 160px;
    text-align: center;
    z-index: 100;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show Dropdown when 'show' class is added */
.profile-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Logout Button */
.logout-btn {
    background: #c62b56;
    color: white;
    padding: 9px 40px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Logout Hover Effect */
.logout-btn:hover {
    background: #b1234a;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(198, 43, 86, 0.6);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    header {
        padding: 10px 20px;
    }
    nav ul {
        display: none;
    }
    .menu-btn {
        display: block;
        margin-left: 17rem;
        /* margin-right: 6px; */
    }
    .nav-mobile {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fdf8f1;
    }
    .nav-mobile.show {
        display: flex;
        margin-top: -30px;
    }

}

/* For Tablets and Small Screens */
@media (max-width: 480px) {
    header {
        padding: 10px 15px;
    }
    .logo img {
        width: 100px;
    }
    .menu-btn {
        margin-left: 8rem;
    }
    .nav-mobile {
        top: 50px;
    }
    .nav-mobile.show {
        display: flex;
        margin-top: 60px;
    }
}

/* For Small Phones (360px and below) */
@media (max-width: 360px) {
    header {
        padding: 8px 10px;
    }
    .logo img {
        width: 90px;
    }
    .menu-btn {
        margin-left: 8rem;
    }
    .nav-mobile {
        top: 45px;
    }
    .nav-mobile.show {
        display: flex;
        margin-top: 60px;
    }
}







.profile-container {
    display: flex;
    align-items: center;
    position: relative;
}

/* Profile Button */
.profile-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fdf6f1, #e6d7cb);
    color: #c62b56;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #c62b56;
    box-shadow: 0 4px 10px rgba(198, 43, 86, 0.3);
}

/* Hover Effect */
.profile-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(198, 43, 86, 0.6);
}

/* Dropdown Menu (Hidden by Default) */
.profile-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: #fdf6f1;
    color: #c62b56;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid #c62b56;
    min-width: 160px;
    text-align: center;
    z-index: 100;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show Dropdown when 'show' class is added */
.profile-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Username in dropdown */
.dropdown-username {
    margin-bottom: 10px;
}

/* Logout Button */
.logout-btn {
    background: #c62b56;
    color: white;
    padding: 9px 40px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #c62b56;
    box-shadow: 0 4px 10px rgba(198, 43, 86, 0.3);
}

/* Logout Hover Effect */
.logout-btn:hover {
    background: #b1234a;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(198, 43, 86, 0.6);
}
.hero {
    position: relative;
    width: 100%;
    height: 150px; /* Default for desktop */
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

/* Quote Box */
.quote-box {
    position: absolute;
    width: 60%;
    max-width: 600px;
    height: auto;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #c62b56, #d33a6a);
    color: white;
    font-size: 24px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    text-align: center;
    word-break: break-word;
}

/* Hide all except the first one */
.quote-box:not(:first-child) {
    opacity: 0;
    transform: translateX(100%);
}

/* Dots container */
.dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Default dot style */
.dot {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

/* Active dot style */
.dot.active {
    background-color: #c62b56;
    width: 14px;
    height: 14px;
    box-shadow: 0px 0px 8px rgba(198, 43, 86, 0.8);
    transform: scale(1.1);
}

/* RESPONSIVENESS */

/* Large screens */
@media (max-width: 1200px) {
    .quote-box {
        width: 50%;
        font-size: 20px;
        padding: 15px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .hero {
        height: 130px;
    }
    .quote-box {
        width: 70%;
        font-size: 18px;
        padding: 12px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .hero {
        height: 120px;
        padding: 5px;
    }
    .quote-box {
        width: 90%;
        font-size: 16px;
        padding: 10px;
    }
    .dot {
        width: 8px;
        height: 8px;
    }
    .dot.active {
        width: 12px;
        height: 12px;
    }
}

/* 360px and smaller devices */
@media (max-width: 360px) {
    .hero {
        height: 100px;
        padding: 5px;
    }
    .quote-box {
        width: 88%;
        font-size: 14px;
        padding: 8px;
        border-radius: 15px;
    }
    .dots {
        margin-top: 10px;
    }
    .dot {
        width: 6px;
        height: 6px;
        margin: 0 4px;
    }
    .dot.active {
        width: 10px;
        height: 10px;
        box-shadow: 0px 0px 6px rgba(198, 43, 86, 0.8);
    }
}

.specialization {
    font-size: 16px;
    color: #333;
    margin-top: 5px;
    text-align: center; /* More natural reading */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Adjust as needed */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word; /* Prevents awkward breaks */
    line-height: 1.4; /* Improves readability */
    line-clamp: 2; /* Standard property for line-clamp */
}



/* Search Container */
.search-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 800px;
    margin: 10px auto;
    position: relative;
    padding: 10px;
}

/* Search Bar */
.search-bar {
    flex: 1;
    position: relative;
    margin-right: 1rem; /* Reduced margin for better spacing */
}

/* Input Field */
.search-bar input {
    width: 50%;
    padding: 12px 15px 12px 40px;
    border-radius: 20px;
    border: 1px solid #ddd;
    font-size: 16px;
    outline: none;
    transition: 0.3s ease-in-out;
}

/* Search Icon inside Input */
.search-bar .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.6;
    pointer-events: none;
}

/* Input Focus Effect */
.search-bar input:focus {
    border-color: #c62b56;
    box-shadow: 0 0 5px rgba(198, 43, 86, 0.5);
}

/* Filter Icon (Aligned to right) */
.filter {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 50px;
    cursor: pointer;
    margin-left: auto;
}

.filter div {
    width: 100%;
    height: 4px;
    background-color: rgb(0, 0, 0);
    border-radius: 2px;
    transition: 0.3s;
}

/* Sort Menu Styling (Aligned to right) */
.sort-menu {
    display: none;
    position: absolute;
    top: 50px;
    right: 10px;
    background: #fff1dd;
    color: rgb(0, 0, 0);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    width: 150px;
    z-index: 100;
}

.sort-menu button {
    background: none;
    border: none;
    color: #c62b56;
    padding: 8px;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: left;
}

.sort-menu button:hover {
    background: #fff7f0;
}

/* ==================== */
/* Responsive Design */
/* ==================== */

/* Mobile View (Max width: 600px) */
@media (max-width: 600px) {
    .search-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 95%;
    }

    .search-bar {
        margin-right: 0;
        width: 100%;
    }

    .filter {
        margin-left: 0;
        align-self: flex-end;
    }

    .sort-menu {
        top: 45px;
        right: 0;
        width: 100%;
        max-width: 180px;
    }
}

/* Tablet View (Max width: 768px) */
@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
        gap: 12px;
    }

    .search-bar {
        width: 100%;
    }
    .filter {
        align-self: flex-end;
        position: relative;
        bottom: 60px;
        right: 20px;
    }
}

/* Larger Screens (Min width: 1200px) */
@media (min-width: 1200px) {
    .search-container {
        max-width: 1000px;
    }

    .search-bar input {
        font-size: 18px;
        padding: 14px 20px 14px 45px;
    }
}

/* Small Devices (Max width: 480px) */
@media (max-width: 480px) {
    .search-container {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        padding: 5px;
    }
    .search-bar input {
        padding: 10px 12px 10px 35px;
        font-size: 14px;
        width: 50%;
    }
    .filter {
        width: 60px;
        position: relative;
        bottom: 50px;
        right: 30px;
    }


    .filter div {
        height: 3px;
    }

    .sort-menu {
        width: 100%;
        max-width: 160px;
        right: 0;
    }
}

/* Extra Small Devices (Max width: 360px) */
@media (max-width: 360px) {
    .search-container {
        flex-direction: column;
        gap: 6px;
        width: 100%;
        padding: 5px;
    }

    .search-bar input {
        padding: 14px 20px 14px 35px;
        font-size: 14px;
        width: 50%;
        margin-left: 5px;
    }

    .filter {
        width: 40px;
        position: relative;
        bottom: 51px;
        right: 24px;
    }

    .filter div {
        height: 2.5px;
    }

    .sort-menu {
        width: 100%;
        max-width: 150px;
        right: 0;
    }

    .sort-menu button {
        padding: 6px;
        font-size: 14px;
    }
}








#profilesContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Therapist Cards Container */
.Therapist-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}

/* Profile Card */
.profile-card {
    width: 550px; /* Default width */
    display: flex;
    align-items: center;
    background: white;
    border-radius: 30px;
    padding: 20px 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(219, 219, 219, 1);
    transition: all 0.3s ease-in-out;
}

.profile-card:hover {
    border: 2px solid #c62b56;
    box-shadow: 0 4px 15px rgba(198, 43, 86, 0.6),
                0 2px 10px rgba(198, 43, 86, 0.4);
    transform: translateY(-5px);
}

/* Profile Image */
.profile-image {
    position: relative;
    width: 195px;
    height: 195px;
    border-radius: 12px;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

/* Overlay */
.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    color: white;
    text-align: center;
    font-size: 14px;
    padding: 8px;
    transition: all 0.3s ease-in-out;
    cursor: grab;
}

.overlay:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}

/* Profile Info */
.profile-info {
    flex: 1;
    padding: 0 17px;
}

.profile-info h2 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.profile-info .languages {
    font-size: 14px;
    color: #666;
}




.old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 5px;
}

.discount {
    font-size: 14px;
    color: #d9534f;
    margin-left: 5px;
}

/* Status and Next Slot */
.status {
    font-size: 14px;
    color: #32a852;
    font-weight: 600;
}

.next-slot {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}

.next-slot span {
    font-weight: 600;
    color: #d9534f;
}

/* Call Button */
.call-button {
    color: white;
    padding: 12px 25px;
    font-size: 18px;
    border: none;
    border-radius: 48px;
    margin-top: 43px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s ease-in-out;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    background: #A63A51;
    box-shadow: 0px 4px 62.4px rgba(0, 0, 0, 0.25);
    position: relative;
    left: 51%;
    transform: translateX(-50%);
    width: 177.42px;
    height: 58px;
    margin-bottom: -78px;
}

/* Call Button Hover */
.call-button:hover {
    background: #8b2f42;
    border: 1px solid #c62b56;
    box-shadow: 0 8px 15px rgba(198, 43, 86, 0.6),
                0 4px 10px rgba(198, 43, 86, 0.4);
}

/* Arrow Inside Button */
.call-button span {
    width: 38px;
    height: 38px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: black;
    border-radius: 50%;
}

/* Rotate Arrow on Hover */
.call-button:hover .arrow {
    transform: rotate(-10deg);
    transition: transform 0.2s ease-in-out;
}

/* Rupees Text */
.rupees {
    font-size: 30px;
    font-weight: bold;
    background: linear-gradient(45deg, #A63A51, #D44F67);
    background-clip: text;              /* Standard property */
    -webkit-background-clip: text;      /* For WebKit browsers like Chrome, Safari */
    -webkit-text-fill-color: transparent;
    color: transparent;                 /* Optional fallback */
  }
  

/* ========== Responsive Design ========== */

/* For Laptops & Larger Screens */
@media (max-width: 1024px) {
    .profile-card {
        width: 90%;
    }
}

/* For Tablets & Small Laptops */
@media (max-width: 768px) {
    .profile-card {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .profile-info {
        padding: 10px 0;
    }

    .call-button {
        width: 160px;
        height: 50px;
        font-size: 16px;
    }
}


/* For Mobile Phones (480px and below) */
@media (max-width: 480px) {
    .profile-card {
        width: 95%;
        flex-direction: column;
        padding: 12px;
        align-items: center;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    }

    .profile-image {
        width: 130px;
        height: 130px;
        margin-bottom: 12px;
    }

    .profile-info {
        text-align: center;
        padding: 8px 0;
    }

    .profile-info h2 {
        font-size: 18px;
    }

    .languages,
    .price,
    .status,
    .next-slot {
        font-size: 14px;
    }

    .call-button {
        width: 100%;
        height: 50px;
        font-size: 16px;
        margin-top: 12px;
        display: flex;
        justify-content: center;
    }

    .call-button span {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* For Smaller Phones (360px and below) */
@media (max-width: 360px) {
    .profile-card {
        width: 100%;
        padding: 10px;
        flex-direction: column;
        align-items: center;
    }

    .profile-image {
        width: 100px;
        height: 100px;
        margin-bottom: 8px;
    }

    .profile-info h2 {
        font-size: 16px;
    }

    .languages,
    .price,
    .status,
    .next-slot {
        font-size: 12px;
    }

    .call-button {
        width: 90%;
        height: 45px;
        font-size: 14px;
        margin-top: 10px;
    }

    .call-button span {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* For Tablets & Small Laptops */
@media (max-width: 768px) {
    .profile-card {
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .profile-info {
        padding: 0 0;
    }

    .call-button {
        width: 160px;
        height: 50px;
        font-size: 16px;
        margin-bottom: 5px;
    }
}

/* For Laptops & Larger Screens */
@media (max-width: 1024px) {
    .profile-card {
        width: 90%;
    }
}

.price {
    color: rgb(0, 0, 0);
    /* padding: 12px 25px; */
    font-size: 18px;
    border: none;
    border-radius: 48px;
    /* margin-top: 17px; */
    cursor: pointer;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    width: auto;
    height: 58px;
    max-width: 100%;
    align-self: center; /* Centers it in flex container */
}

@media (max-width: 768px) {
    .price {
        font-size: 16px;
        padding: 10px 20px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto; /* Centers it horizontally */
        position: relative; /* Removes unwanted offsets */
        left: unset;
        top: unset;
        transform: unset;
    }
}


@media (max-width: 480px) {
    .price {
        font-size: 14px;
        padding: 8px 18px;
        height: 45px;
        width: fit-content; /* Adjust width to content */
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto; /* Centers it horizontally */
    }
}

@media (max-width: 360px) {
    .price {
        font-size: 13px;
        padding: 7px 15px;
        height: 40px;
        width: fit-content;
        margin: 0 auto;
    }
}




/* LOADER */
.load-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
  }
  
  .load-row span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background: #ff2261;
    border-radius: 50%;
    animation: up-down 0.5s ease-in infinite alternate;
  }
  
  .load-row span:nth-child(2) {
    background: #d83463;
    animation-delay: 0.16s;
  }
  
  .load-row span:nth-child(3) {
    background: #c62b56;
    animation-delay: 0.32s;
  }
  
  .load-row span:nth-child(4) {
    background: #c62b56;
    animation-delay: 0.48s;
  }
  
  @keyframes up-down {
    0% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(10px);
    }
  }
  
  /* Initially hide no-results & loading */
  #loading, #noResults {
    display: none;
    text-align: center;
  }
  
  #noResults {
    display: none;
    text-align: center;
    padding: 20px;
    margin: 0 auto;
  }
  
  #noResults img {
    width: 60%;
    max-width: 300px;
    height: auto;
    margin: 10px 0;
    animation: fadeIn 0.8s ease-in-out;
  }
  
  /* Heading */
  #noResults h2 {
    color: #a63a50;
    font-size: 1.5rem;
    margin-top: 10px;
  }
  
  /* Paragraph */
  #noResults p {
    color: #555;
    font-size: 1rem;
    margin-top: 5px;
  }
  
  /* Responsive styles */
  @media (max-width: 768px) {
    #noResults img {
      width: 70%;
      max-width: 250px;
    }
  
    #noResults h2 {
      font-size: 1.3rem;
    }
  
    #noResults p {
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 480px) {
    #noResults img {
      width: 80%;
      max-width: 200px;
    }
  
    #noResults h2 {
      font-size: 1.2rem;
    }
  
    #noResults p {
      font-size: 0.85rem;
    }
  }
  
  /* Fade-in animation */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  

  .disabled-btn {
    background-color: #ccc;
    color: #4e4e4e;
    cursor: not-allowed;
    opacity: 0.3;
}
  
/* Footer Links */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  .footer-links button {
    background: #c8c7c7;
    border: none;
    padding: 10px 6px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
  }
  
  
  
  /* Medium Devices (Tablets and Smaller Desktops) */
  @media (max-width: 1024px) {
    .footer-links {
        justify-content: center;
    }
  }
  
  /* Small Devices (Tablets and Larger Phones) */
  @media (max-width: 768px) {
    .footer-links {
        flex-wrap: wrap;
        gap: 10px;
    }
  }
  
  /* Extra Small Devices (Mobile Phones) */
  @media (max-width: 480px) {
    .footer-links {
        gap: 10px;
    }
  
  }
  
/* Page wrapper layout */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* Content grows to fill space */
  .content {
    flex: 1;
  }
  
  /* Footer Styles */
  .footer {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #f1f1f1;
    font-size: 1rem;
    color: #777;
    margin-top: 20px;
    position: static; /* or just remove this line */
  }
