/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Ensure .container is responsive and adapts properly */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar {
    padding: 0;
}

.nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto; /* Logo | Flexible Space | Menu */
    align-items: center;
    width: 100%;
    padding: 0 2rem;
    height: 65px;
}

.nav-logo {
    grid-column: 1;
    justify-self: start;
    position: relative; /* Remove any absolute positioning */
}

.nav-logo a {
    text-decoration: none;
    display: block;
    transition: opacity 0.3s ease;
}

.nav-logo a:hover {
    opacity: 0.8;
}

.nav-logo .logo {
    height: 35px;
    width: auto;
}

.nav-menu {
    grid-column: 3; /* Move to column 3 instead of 2 */
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 2rem; /* Fixed spacing between menu items */
    margin: 0 !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
    flex-shrink: 0; /* Prevent shrinking */
}

.nav-link:hover {
    color: #007bff;
}

.btn-signup {
    background: #007bff;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: background 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem; /* Fixed margin from last nav item */
}

.btn-signup:hover {
    background: #0056b3;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }    .nav-container {
        padding: 0 1rem;
        height: 56px;
    }
    
    .nav-logo {
        grid-column: 1;
        justify-self: start;
        z-index: 1001;
    }
    
    .hamburger {
        display: flex;
        grid-column: 3;
        justify-self: end;
    }    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 56px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-menu .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        display: block;
        border-radius: 8px;
        margin: 0 2rem;
        transition: all 0.3s ease;
    }

    .nav-menu .nav-link:hover {
        background: rgba(0, 123, 255, 0.1);
        color: #007bff;
    }

    .nav-menu .btn-signup {
        background: linear-gradient(135deg, #007bff, #0056b3);
        color: white;
        border-radius: 25px;
        padding: 0.75rem 2rem;
        margin: 1rem 2rem 0;
        display: inline-block;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .nav-menu .btn-signup:hover {        background: linear-gradient(135deg, #0056b3, #004085);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    }

    .logo {
        height: 22px;
        width: auto;
    }
}

/* Additional Mobile Navbar Improvements for smaller screens */
@media (max-width: 480px) {
    .nav-container {
        height: 55px;
        padding: 0 0.75rem;
    }
    
    .logo {
        height: 26px;
    }
    
    .hamburger span {
        width: 22px;
        height: 2.5px;
    }
    
    .nav-menu {
        top: 55px;
        padding: 1.5rem 0;
    }
    
    .nav-menu .nav-link {
        font-size: 1rem;
        margin: 0 1.5rem;
        padding: 0.6rem 1rem;
    }
    
    .nav-menu .btn-signup {
        margin: 1rem 1.5rem 0;
        padding: 0.6rem 1.8rem;
        font-size: 0.95rem;
    }
}

/* Expert cards responsive styling */
@media (max-width: 768px) {
    .experts-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }.expert-card {
        padding: 1.5rem;
    }

    .expert-avatar img {
        width: 120px;
        height: 120px;
    }

    .expert-book-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        margin-top: 1rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background-image: url('../images/img2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: white;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 18px;
    padding: 4.5rem 2rem 4.5rem 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    color: #fff;
    display: grid;
    grid-template-columns: 1fr; /* Defines a single column */
    gap: 40px; /* Or any desired value for the gap */
}

.hero-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.18);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.12);
}

.search-container {
    position: relative;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    backdrop-filter: blur(10px);
}

.search-input:focus {
    border-color: #007bff;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

.search-input::placeholder {
    color: #666;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.search-btn:hover {
    background: #0056b3;
    transform: translateY(-50%) scale(1.05);
}

.hero-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    /* Ensure all stat items have the same width */
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    width: 120px; /* Set a fixed width for all stat items, adjust as needed */
    min-width: 120px; /* Optional: for responsiveness */
    max-width: 80%;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: none;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: none;
}

/* Optionally, for mobile responsiveness */
@media (max-width: 700px) {
  .hero {
    padding-top: 110px; /* Add space for fixed navbar on mobile */
  }
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.category-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.category-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Categories Styling */
.categories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.category-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.category-badge.clickable {
    cursor: pointer;
}

.no-categories {
    color: #6c757d;
    font-style: italic;
    margin: 0;
}

/* Featured Experts Section */
.featured-experts {
    padding: 80px 0;
    background: #f8f9fa;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.expert-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.expert-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.expert-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.expert-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.expert-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.expert-title {
    color: #007bff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.expert-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.expert-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-stars {
    color: #ffc107;
}

.rating-text {
    font-size: 0.875rem;
    color: #666;
}

.expert-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.expert-book-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 0.5rem;
}

.expert-book-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.expert-book-btn:disabled {
    background: #6c757d;
    color: #adb5bd;
    cursor: not-allowed;
    transform: none;
}

.expert-book-btn:disabled:hover {
    background: #6c757d;
    transform: none;
}

.view-all-experts {
    text-align: center;
}

.btn-primary {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* How it Works Section */
.how-it-works {
    padding: 80px 0;
    background: #fff;
}

.steps-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
}

.step {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    word-break: break-word;
    padding: 1.5rem 1rem;
}

.step-number {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Center the expert rating section on mobile */
.expert-rating-large {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 0.75rem; /* Space between stars and rating text */
    margin: 0;
    flex-wrap: wrap; /* Allow items to wrap on very small screens */
}

/* Keep rating stars inline */
.rating-stars-large {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevent shrinking */
}

/* Keep rating text inline with stars */
.rating-text-large {
    display: flex;
    align-items: center;
    margin: 0; /* Remove any top margin */
    flex-shrink: 0; /* Prevent shrinking */
}

@media (max-width: 900px) {
  .how-it-works .steps-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
  .how-it-works .step {
    width: 100%;
    padding: 1.2rem 0.5rem;
  }
}

@media (max-width: 700px) {
  .how-it-works .steps-grid {
    flex-direction: row;
    gap: 0.5rem;
  }
  .how-it-works .step {
    font-size: 0.92rem;
    padding: 1rem 0.2rem;
  }
}

@media (max-width: 480px) {
  .how-it-works .step {
    font-size: 0.85rem;
    padding: 0.7rem 0.1rem;
  }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.testimonial-author strong {
    display: block;
    color: #2c3e50;
    font-weight: 600;
}

.testimonial-author span {
    color: #666;
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn-primary {
    background: white;
    color: #007bff;
}

.cta .btn-primary:hover {
    background: #f8f9fa;
    color: #0056b3;
}

/* Footer */
.footer {
    background: #f8f9fa;
    color: #333;
    padding: 60px 0 20px;
    border-top: 1px solid #e9ecef;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #666;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #007bff;
}

.footer-copyright {
    color: #666;
    font-size: 0.875rem;
}

.footer-logo-img {
    height: 35px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

/* Login Page Styles */
.login-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-form-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #666;
    font-size: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
}

.form-group label {
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.95rem;
}

.form-group input {
    padding: 1rem 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
    width: 100%;
    min-width: 0;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remember-me input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.remember-me label {
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}

.forgot-password {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #0056b3;
}

.btn-login {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-login:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: #666;
    font-size: 0.9rem;
}

.btn-google,
.btn-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-google:hover {
    border-color: #db4437;
    background: #db4437;
    color: white;
}

.btn-linkedin:hover {
    border-color: #0077b5;
    background: #0077b5;
    color: white;
}

.btn-google i,
.btn-linkedin i {
    font-size: 1.2rem;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.login-footer p {
    color: #666;
    font-size: 0.95rem;
}

.signup-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.signup-link:hover {
    color: #0056b3;
}

/* Sign Up Page Styles */
.signup-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
}

.signup-container {
    width: 100%;
    max-width: 550px;
}

.signup-form-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.signup-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.signup-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.signup-header p {
    color: #666;
    font-size: 1rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row .form-group {
    min-width: 0;
}

.form-group select {
    padding: 1rem 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group select option {
    padding: 0.5rem;
}

.form-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0.5rem 0;
}

.agreement,
.newsletter {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.agreement input[type="checkbox"],
.newsletter input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.2rem;
}

.agreement label,
.newsletter label {
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    line-height: 1.4;
}

.terms-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.btn-signup-submit {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-signup-submit:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.signup-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.signup-footer p {
    color: #666;
    font-size: 0.95rem;
}

.login-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #0056b3;
}

/* About Us Page Styles */

/* About Hero Section */
.about-hero {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  padding: 110px 0 40px 0;
  text-align: center;
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: #2c3e50;
  letter-spacing: 0.5px;
}

.about-hero-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: #555;
}

/* Our Journey Section */
.our-journey {
  padding: 10px 0;
  background: #fff;
}

.journey-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.journey-text {
  padding-right: 2rem;
}

.journey-description {
  font-size: 1.08rem;
  color: #333;
}

.journey-description:last-child {
  margin-bottom: 0;
}

.journey-image,
.purpose-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(111, 66, 193, 0.3);
}

.image-placeholder i {
  font-size: 4rem;
  color: white;
}

/* Purpose and Goals Section */
.purpose-goals {
  padding: 80px 0;
  background: #f8f9fa;
}

.purpose-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.purpose-text {
  padding-left: 2rem;
}

.purpose-description {
  font-size: 1.08rem;
  color: #333;
}

/* Our Values Section */
.our-values {
  padding: 20px 0;
  background: #fff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.value-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.value-icon i {
  font-size: 2rem;
  color: white;
}

.value-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 0.2px;
  margin-bottom: 16px;
}

.value-description {
  font-size: 1.08rem;
  color: #333;
}

/* Our Team Section */
.our-team {
  padding: 80px 0;
  background: #f8f9fa;
}

.team-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 60px;
  margin-top: -20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.team-member {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.member-image {
  height: 300px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: 30px;
  text-align: center;
}

.member-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.member-role {
  color: #007bff;
  font-weight: 500;
  margin-bottom: 16px;
  font-size: 1rem;
}

.member-description {
  font-size: 1.08rem;
  color: #333;
}

/* About CTA Section */
.about-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #007bff, #0056b3);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-outline:hover {
  background: white;
  color: #007bff;
  transform: translateY(-2px);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.category-card,
.expert-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Experts Page Styles */

/* Experts Hero Section */
.experts-hero {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 140px 0 60px;
    text-align: center;
}

.experts-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.experts-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.experts-hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
}

/* Search and Filters Section */
.search-filters-section {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #e9ecef;
}

.search-filters-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Search Section */
.search-section {
    display: flex;
    justify-content: center;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-input-experts {
    width: 100%;
    padding: 16px 60px 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
}

.search-input-experts:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.search-input-experts::placeholder {
    color: #999;
}

.search-btn-experts {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.search-btn-experts:hover {
    background: #0056b3;
    transform: translateY(-50%) scale(1.05);
}

/* Filters Section */
.filters-section {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.filter-select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.clear-filters-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    height: fit-content;
}

.clear-filters-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Results Section */
.experts-results {
    padding: 60px 0;
    background: #f8f9fa;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.results-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.results-count {
    color: #666;
    font-size: 1rem;
}

/* All Experts Grid */
.all-experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Active navigation state */
.nav-link.active {
    color: #007bff;
    font-weight: 600;
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    padding: 14px 40px;
    font-size: 1rem;
}

/* Hidden state for filtered items */
.expert-card.hidden {
    display: none;
}

/* Featured Count Display */
.featured-count {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #ffeaa7;
    margin-left: 10px;
}

.featured-count i {
    margin-right: 5px;
}

/* Responsive Design for Experts Page */
@media (max-width: 768px) {
    .experts-hero {
        padding: 120px 0 40px;
    }
    
    .experts-hero-title {
        font-size: 2.2rem;
    }
    
    .experts-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-filters-section {
        padding: 30px 0;
    }
    
    .filters-section {
        flex-direction: row;
        align-items: flex-end;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .filter-group {
        min-width: auto;
        flex: 1;
        min-width: 80px;
    }
    
    .filter-group label {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    
    .filter-select {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
    
    .clear-filters-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        margin-left: auto;
        height: fit-content;
        min-width: 70px;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .all-experts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .experts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .experts-hero-title {
        font-size: 1.8rem;
    }
    
    .search-input-experts {
        padding: 14px 50px 14px 16px;
        font-size: 0.95rem;
    }
    
    .search-btn-experts {
        width: 38px;
        height: 38px;
        right: 6px;
    }
    
    .filter-select {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .experts-results {
        padding: 40px 0;
    }
}
/* Expert Detail Page Styles */

/* Expert Detail Hero Section */
.expert-detail-hero {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 140px 0 80px;
    border-bottom: 1px solid #e9ecef;
}

.expert-hero-content {  
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.expert-avatar-section {
    display: flex;
    flex-direction: column;
        align-items: center;
    gap: 20px;
}

.expert-avatar-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 4px solid white;
}

.expert-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-status-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.verified {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.status-badge.available {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.status-badge.unavailable {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.expert-info-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.expert-name-large {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.1;
    overflow-wrap: break-word;
}

.expert-expertise-large {
    font-size: 1.5rem;
    color: #007bff;
    font-weight: 600;
    margin: 0;
    overflow-wrap: break-word;
}

.expert-rating-large {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-stars-large {
    font-size: 1.5rem;
    color: #ffc107;
}

.rating-text-large {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.expert-price-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.expert-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: #007bff;
}

.expert-actions {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.consultation-btn, .contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.consultation-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.consultation-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
}

.contact-btn {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.contact-btn:hover:not(:disabled) {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

.btn-disabled {
    background: #6c757d !important;
    color: #adb5bd !important;
    border-color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.btn-disabled:hover {
    transform: none !important;
    background: #6c757d !important;
}

/* Expert Details Content */
.expert-details-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.expert-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.expert-main-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.expert-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

/* Card Styles */
.info-card, .sidebar-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.info-card:hover, .sidebar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-header {
    padding: 24px 30px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title i {
    color: #007bff;
    font-size: 1.2rem;
}

.card-content {
    padding: 25px 30px 30px;
}

.about-text, .bio-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
    overflow-wrap: break-word;
}

/* Expertise Tags */
.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.expertise-tag {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #e9ecef;
}

.expertise-tag.primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
}

/* Reviews Section */
.reviews-summary {
    margin-bottom: 30px;
}

.rating-overview {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 12px;
    border: 1px solid #e6f3ff;
}

.average-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
}

.rating-summary {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.reviewer-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.review-rating .stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    overflow-wrap: break-word;
}

/* Sidebar Cards */
.sidebar-card .card-header {
    padding: 20px 24px 0;
}

.sidebar-card .card-title {
    font-size: 1.2rem;
}

.sidebar-card .card-content {
    padding: 24px 24px 24px;
}

/* Center only the stats inside the Quick Stats card in the sidebar */
.sidebar-card:has(.stats-grid) .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sidebar-card:has(.stats-grid) .stats-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 18px 14px;
    justify-items: center;
    align-items: stretch;
}

.sidebar-card:has(.stats-grid) .stat-item {
    text-align: center;
}

/* Contact Information */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    width: 20px;
    color: #007bff;
    font-size: 1rem;
}

.contact-item span {
    font-size: 0.95rem;
    color: #555;
}

/* Social Links */
.social-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    color: #495057;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link.linkedin {
    background: #f8f9ff;
    border-color: #0077b5;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: white;
}

.social-link.instagram {
    background: #fef7f0;
    border-color: #e4405f;
}

.social-link.instagram:hover {
    background: #e4405f;
    color: white;
}

.social-link.twitter {
    background: #f0f8ff;
    border-color: #1da1f2;
}

.social-link.twitter:hover {
    background: #1da1f2;
    color: white;
}

.social-link.portfolio {
    background: #f8f9fa;
    border-color: #6c757d;
}

.social-link.portfolio:hover {
    background: #6c757d;
    color: white;
}

.social-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.social-link.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Quick Stats */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: #f8f9ff;
    border-radius: 10px;
    border: 1px solid #e6f3ff;
    max-width: 100%;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 4px;
    text-shadow: none;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    text-shadow: none;
}

/* Booking Card */
.booking-card {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.booking-card .card-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.booking-card .card-title {
    color: white;
}

.booking-card .card-title i {
       color: white;
}

.booking-info {
    text-align: center;
}

.price-highlight {
    margin-bottom: 16px;
}

.price-highlight .price {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.price-highlight .duration {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.booking-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
}

.book-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: white;
    color: #007bff;
    padding: 14px 24px;
    margin-bottom: 12px;
    font-weight: 600;
    border: none;
       border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-now-btn:hover:not(:disabled) {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.book-now-btn:disabled {
    background: #6c757d;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.7;
}

.book-now-btn:disabled:hover {
    transform: none;
                                        background: #6c757d;
}

.booking-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Related Experts Section */
.related-experts {
       padding: 80px 0;
    background: white;
}

.related-experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Responsive Design for Expert Detail Page */
@media (max-width: 1024px) {
    .expert-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .expert-sidebar-info {
        position: static;
        order: 1;
    }
    
    .expert-main-info {
        order: 0;
    }
    
    .expert-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .expert-avatar-section {
        order: -1;
    }

    .expert-info-section {
        align-items: center;
    }

}

@media (max-width: 768px) {
    .expert-detail-hero {
        padding: 120px 0 60px;
    }
    
    .expert-name-large {
        font-size: 2.2rem;
    }
    
    .expert-expertise-large {
        font-size: 1.2rem;
    }
    
    .expert-actions {
        flex-direction: column;
    }
    
    .consultation-btn, .contact-btn {
        justify-content: center;
        width: 100%;
    }
    
    .expert-details-content {
        padding: 60px 0;
    }
    
    .info-card, .sidebar-card {
        border-radius: 12px;
    }
    
    .card-header, .card-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .stat-item {
        padding: 12px 8px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .related-experts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .expert-avatar-large {
        width: 140px;
        height: 140px;
    }
    
    .expert-name-large {
        font-size: 1.8rem;
    }
    
    .expert-price-large {
        font-size: 1.6rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== DASHBOARD STYLES ===== */

/* Dashboard Hero Section */
.dashboard-hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 100px 0px 20px 0px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-avatar {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
}

.user-details h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
}

.user-email {
    margin: 0.25rem 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.user-since {
    font-size: 0.9rem;
    opacity: 0.8;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Flash Messages */
.flash-messages {
    padding: 1rem 0;
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Dashboard Content */
.dashboard-content {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

.management-content {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 2rem;
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
}

.stat-info h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

.stat-info p {
    margin: 0.25rem 0 0 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Dashboard Sections */
.dashboard-section, .management-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 1.5rem;
}

.section-title i {
    color: #007bff;
}

.section-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.section-link:hover {
    text-decoration: underline;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.total-count {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Data Tables */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.data-table th,
.data-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.data-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    white-space: nowrap;
}

.data-table tr:hover {
    background-color: #f8f9fa;
}

.text-center {
    text-align: center;
}

.empty-message {
    color: #6c757d;
    font-style: italic;
    padding: 2rem;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
}

.status-badge.active {
    background: #d4edda;
    color: #155724;
}

.status-badge.inactive {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.available {
    background: #d4edda;
    color: #155724;
}

.status-badge.unavailable {
    background: #fff3cd;
    color: #856404;
}

.status-badge.verified {
    background: #cce7ff;
    color: #0056b3;
}

.status-badge.unverified {
    background: #e2e3e5;
    color: #6c757d;
}

.status-badge.admin {
    background: #e7c3ff;
    color: #6f42c1;
}

.admin-badge {
    background: #e7c3ff;
    color: #6f42c1;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.5rem;
}

.verification-badge {
    color: #28a745;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Table Cell Styles */
.user-name-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.expert-profile-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.expert-avatar-small {
    width: 40px;
       height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-avatar-small i {
    color: #6c757d;
    font-size: 1.2rem;
}

.expert-avatar-tiny {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-avatar-tiny img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-name-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.expert-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.expertise-cell {
    max-width: 200px;
    color: #6c757d;
    font-size: 0.9rem;
}

.contact-cell {
    font-size: 0.85rem;
    color: #6c757d;
}

.contact-cell div {
    margin-bottom: 0.25rem;
}

.contact-cell i {
    margin-right: 0.25rem;
    color: #007bff;
    width: 12px;
}

.rating-cell {
    text-align: center;
}

.rating-stars {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.rating-details {
    font-size: 0.8rem;
    color: #6c757d;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-number {
    font-size: 0.85rem;
    color: #6c757d;
}

.status-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 0.85rem;
}

/* Featured Expert Styles */
.featured-cell {
    text-align: center;
}

.btn-featured {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: #6c757d;
}

.btn-featured:hover {
    border-color: #ffc107;
    color: #ffc107;
    transform: scale(1.1);
}

.btn-featured.featured {
    background: linear-gradient(135deg, #ffc107, #ffb300);
    border-color: #ffc107;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-featured.featured:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}

.btn-featured i {
    font-size: 18px;
}

.position-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile centering for expert rating section */
@media (max-width: 768px) {
    /* Center the expert rating section on mobile */    .expert-rating-large {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.75rem; /* Space between stars and rating text */
        margin: 0;
        flex-wrap: wrap; /* Allow items to wrap on very small screens */
    }
    
    /* Keep rating stars inline */
    .rating-stars-large {
        display: flex;
        align-items: center;
        flex-shrink: 0; /* Prevent shrinking */
    }
    
    /* Keep rating text inline with stars */
    .rating-text-large {
        display: flex;
        align-items: center;
        margin: 0; /* Remove any top margin */
        flex-shrink: 0; /* Prevent shrinking */
    }
    
    /* Ensure parent containers don't interfere */
    .expert-info-section .expert-rating-large {
        max-width: 100%; /* Use percentage for full responsiveness */
    }
}

@media (max-width: 480px) {
    .expert-rating-large {
        margin: 0px auto;
        padding: 0.5rem;
    }
    
    .rating-stars-large {
        font-size: 1.1rem;
        gap: 0.2rem;
    }
    
    .rating-text-large {
        font-size: 0.95rem;
    }
}

/* ===== LEGAL CONTENT MANAGEMENT STYLES ===== */

/* Policy Display Page */
.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 40px;
    margin-bottom: 40px;
}

.policy-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.policy-title {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.policy-updated {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-style: italic;
}

.policy-content {
    line-height: 1.8;
    color: #2c3e50;
}

.policy-content h2 {
    color: #3c7be7;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.policy-content h3 {
    color: #3498db;
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

.policy-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.policy-content ul {
    margin-bottom: 15px;
    padding-left: 30px;
}

.policy-content li {
    margin-bottom: 8px;
}

.policy-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #3866cb;
    text-decoration: none;
}

.back-link i {
    margin-right: 5px;
}

/* Admin Policies Management */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.admin-header {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.admin-title {
    color: black;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.admin-subtitle {
    color: black;
    font-size: 1.1rem;
    opacity: 0.9;
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.policy-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.policy-header {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    color: white;
    padding: 20px;
}

.policy-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.policy-key {
    font-size: 0.9rem;
    opacity: 0.8;
    font-family: 'Courier New', monospace;
}

.policy-body {
    padding: 20px;
}

.policy-meta {
    margin-bottom: 15px;
}

.policy-updated {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.policy-preview {
    max-height: 100px;
    overflow: hidden;
    margin-bottom: 15px;
    color: #5a6c7d;
    line-height: 1.5;
}

.policy-actions {
    display: flex;
    gap: 10px;
}

.btn-edit {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-edit:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-view {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-view:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.create-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.create-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.create-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-create {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-create:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.no-policies {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.no-policies i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

/* Edit Policy Page */
.edit-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.edit-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.edit-title {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.edit-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.edit-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.btn-save {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-save:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-cancel {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cancel:hover {
    background: linear-gradient(135deg, #7f8c8d 0%, #5d6d7e 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.policy-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #3498db;
}

/* Mobile Responsive for Legal Pages */
@media (max-width: 768px) {
    .policy-container {
        margin: 20px 10px;
        padding: 30px 15px;
    }
    
    .policy-title {
        font-size: 2rem;
    }
    
    .policy-content h2 {
        font-size: 1.3rem;
    }
    
    .policies-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-actions {
        flex-direction: column;
    }
    
    .create-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .edit-container {
        padding: 20px 10px;
    }
    
    .edit-form {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-save, .btn-cancel {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile friendly hero section, hide stats, adjust text spacing and size for mobile */
@media (max-width: 768px) {
  .hero {
    max-height: 75vh;
    padding-top: 90px;
    padding-bottom: 40px;
    background-attachment: scroll; /* Fix for iOS zooming issue */
    background-position: center top;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
    padding: 80px 16px 2px;
  }
  .hero-content {
    text-align: center;
    padding: 0 0.5rem;
  }
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    padding-top: 10px;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 50vh;
    padding: 1.5rem 0 1rem 0;
  }
  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 700px) {
  .steps-grid .step > p {
    display: none;
  }
  .steps-grid .step h3 {
    font-size: 1.2rem;
  }
}

/* Club Page Responsive Styles */
@media (max-width: 900px) {
  .features-grid,
  .target-audience-grid,
  .benefits-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .feature-card,
  .audience-card,
  .benefit-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Our Journey Section Responsive */
@media (max-width: 900px) {
  .journey-content {
    text-align: center;
  }
  .journey-image {
    order: -1;
    margin-bottom: 1.5rem;
    justify-content: center;
  }
  .journey-text {
    padding-right: 0;
    max-width: 90vw;
    margin: 0 auto;
  }
}

/* Purpose Section Responsive */
@media (max-width: 900px) {
  .purpose-content {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .purpose-image {
    order: -1;
    margin-bottom: 1.5rem;
    justify-content: center;
  }
  .purpose-text {
    padding-left: 0;
    max-width: 90vw;
    margin: 0 auto;
  }
}

/* General container padding for mobile */
@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }
  .hero-stats {
    display: none;
  }
  .browse-experts-hero {
    padding-bottom: 0.5rem;
  }
  .hero {
    background-position: top left;
  }
}

@media (max-width: 900px) {
  h2.section-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: 100%;
  }
}
