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

:root {
    /* Color Palette */
    --primary-color: #064e3b; /* Deep Emerald */
    --primary-light: #065f46;
    --accent-color: #d4af37; /* Premium Gold */
    --accent-hover: #c5a021;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-gold: 0 10px 15px -3px rgba(212, 175, 55, 0.2);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold {
    color: var(--accent-color);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 100px 0;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.25rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-gold {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-gold:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Call-To-Action (CTA) Buttons & Animations */
.cta-wrapper {
    margin-top: 3.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.btn-cta {
    position: relative;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 50px;
    box-shadow: 0 6px 18px 0 rgba(6, 78, 59, 0.25);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1;
}

/* Hover Shine/Shimmer Effect */
.btn-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transition: all 0.65s ease;
    z-index: 2;
}

.btn-cta:hover::after {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 14px 28px -4px rgba(6, 78, 59, 0.4), 0 0 20px rgba(212, 175, 55, 0.4);
}

.btn-cta i {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 0.6rem;
}

.btn-cta:hover i {
    transform: translateX(6px);
}

.btn-cta:active {
    transform: translateY(-1px) scale(0.99);
}

/* Gold CTA Button Variant */
.btn-gold.btn-cta {
    box-shadow: 0 6px 18px 0 rgba(212, 175, 55, 0.35);
}

.btn-gold.btn-cta:hover {
    box-shadow: 0 14px 28px -4px rgba(212, 175, 55, 0.5), 0 0 22px rgba(255, 255, 255, 0.5);
}

/* Modern Program Cards */
.program-card {
    background: var(--white);
    border: 1px solid rgba(6, 78, 59, 0.08);
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px -12px rgba(6, 78, 59, 0.18), 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

.program-card .program-icon-box {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #04392a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 3.5rem;
    overflow: hidden;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.program-card .program-icon-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(212, 175, 55, 0.18) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.6;
}

.program-card .program-icon-box i {
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.program-card:hover .program-icon-box i {
    transform: scale(1.15) rotate(3deg);
}

.program-spec-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.program-spec-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    background-color: var(--bg-light);
    border-radius: 12px;
    font-size: 0.875rem;
    color: var(--text-dark);
    border: 1px solid rgba(0,0,0,0.03);
    transition: background-color 0.3s ease;
}

.program-card:hover .program-spec-item {
    background-color: #f0fdf4;
}

.program-spec-item i {
    color: var(--accent-color);
    font-size: 1rem;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

.program-spec-item strong {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 0.25rem;
}

/* Pricing Section Custom Utilities */
.price-value {
    transition: opacity 0.2s ease-in-out;
}

.pricing-popular-card {
    border: 2px solid var(--accent-color) !important;
    box-shadow: 0 15px 35px -5px rgba(212, 175, 55, 0.25);
    background: #ffffff;
}

.pricing-popular-card:hover {
    box-shadow: 0 25px 50px -10px rgba(212, 175, 55, 0.4);
    transform: translateY(-8px) scale(1.03) !important;
}

/* Premium Testimonials Section Styles */
.testimonials-slider-container {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0.5rem;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 1.75rem;
}

.testimonial-card {
    flex: 0 0 100%;
    background: var(--white);
    border: 1px solid rgba(6, 78, 59, 0.08);
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s ease;
    position: relative;
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 0.875rem);
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 1.166rem);
    }
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(6, 78, 59, 0.15);
    border-color: rgba(212, 175, 55, 0.35);
}

.testimonial-quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-size: 2.5rem;
    color: rgba(212, 175, 55, 0.15);
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    width: 32px;
    border-radius: 20px;
    background-color: var(--primary-color);
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Meet Our Tutors Section Styles */
.tutor-card {
    background: var(--white);
    border: 1px solid rgba(6, 78, 59, 0.08);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.tutor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px -12px rgba(6, 78, 59, 0.18), 0 0 20px rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.4);
}

.tutor-avatar-box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #04392a 100%);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    margin: 0 auto 1.25rem;
    border: 4px solid var(--white);
    box-shadow: 0 8px 20px rgba(6, 78, 59, 0.2);
    position: relative;
    transition: transform 0.4s ease;
}

.tutor-card:hover .tutor-avatar-box {
    transform: scale(1.08);
}

.tutor-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--accent-color);
    color: var(--primary-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 2px solid var(--white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.tutor-info-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background-color: var(--bg-light);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Smooth FAQ Accordion Animations */
.faq-accordion-item {
    background: var(--white);
    border: 1px solid rgba(6, 78, 59, 0.08);
    border-radius: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-accordion-item.active {
    border-color: var(--accent-color) !important;
    box-shadow: 0 12px 28px -6px rgba(212, 175, 55, 0.2);
}

.faq-accordion-item .faq-icon-box {
    transition: transform 0.35s ease, background-color 0.3s ease, color 0.3s ease;
}

.faq-accordion-item.active .faq-icon-box {
    transform: rotate(180deg);
    background-color: var(--primary-color);
    color: var(--white);
}

.faq-answer-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease;
}

.faq-accordion-item.active .faq-answer-content {
    max-height: 500px;
    opacity: 1;
    transition: max-height 0.4s cubic-bezier(0.5, 0, 0.5, 1), opacity 0.4s ease;
}

/* =============================================
   How It Works — Connected Timeline
   ============================================= */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

.hiw-step {
    position: relative;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hiw-card {
    background: var(--white);
    border: 1.5px solid rgba(6, 78, 59, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    width: 100%;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.06);
}

.hiw-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(6, 78, 59, 0.16);
    border-color: rgba(212, 175, 55, 0.4);
}

.hiw-card-accent {
    border-color: rgba(6, 78, 59, 0.2);
    background: linear-gradient(145deg, #f0faf6 0%, #fff 100%);
}

.hiw-card-gold {
    border-color: rgba(212, 175, 55, 0.35);
    background: linear-gradient(145deg, #fefaee 0%, #fff 100%);
}

.hiw-icon-box {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #04392a 100%);
    color: var(--accent-color);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 20px rgba(6, 78, 59, 0.22);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hiw-card:hover .hiw-icon-box {
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 12px 28px rgba(6, 78, 59, 0.32);
}

.hiw-step-badge {
    position: absolute;
    top: -14px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.65rem;
    border-radius: 50px;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(6, 78, 59, 0.25);
}

.hiw-step-badge-accent {
    background: var(--primary-color);
    border: 2px solid rgba(212, 175, 55, 0.5);
}

.hiw-step-badge-gold {
    background: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.hiw-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}

.hiw-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Snake-path connectors */
.hiw-connector {
    position: absolute;
    background: transparent;
    pointer-events: none;
}

.hiw-connector-right {
    top: 50%;
    right: -18px;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, rgba(212,175,55,0.5), rgba(6,78,59,0.25));
    border-radius: 2px;
    transform: translateY(-50%);
}

.hiw-connector-right::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid rgba(6,78,59,0.35);
}

.hiw-connector-left {
    top: 50%;
    left: -18px;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, rgba(6,78,59,0.25), rgba(212,175,55,0.5));
    border-radius: 2px;
    transform: translateY(-50%);
}

.hiw-connector-left::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 7px solid rgba(6,78,59,0.35);
}

.hiw-connector-down {
    right: -18px;
    top: calc(50% + 10px);
    width: 2px;
    height: calc(100% + 2rem + 20px);
    background: linear-gradient(180deg, rgba(212,175,55,0.5), rgba(6,78,59,0.3));
    border-radius: 2px;
    transform: none;
}

/* Bottom row is ordered in reverse for the snake path */
.hiw-step-bottom {
    order: unset;
}

@media (max-width: 768px) {
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hiw-connector {
        display: none;
    }

    .hiw-step,
    .hiw-step-bottom {
        padding: 0;
    }
}


/* =============================================
   Partner Search — Glassmorphism Filter Card
   ============================================= */
.partner-search-section {
    padding: 0 0 3rem;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.partner-search-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1.5px solid rgba(212, 175, 55, 0.22);
    border-radius: 28px;
    padding: 2.5rem 2.5rem 2rem;
    box-shadow: 0 24px 60px -12px rgba(6, 78, 59, 0.14), 0 0 0 1px rgba(255,255,255,0.7) inset;
    transition: box-shadow 0.4s ease;
}

.partner-search-card:hover {
    box-shadow: 0 32px 70px -12px rgba(6, 78, 59, 0.18), 0 0 0 1px rgba(255,255,255,0.8) inset;
}

.partner-search-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
}

.partner-search-icon-wrap {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #04392a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(6, 78, 59, 0.2);
    flex-shrink: 0;
}

.partner-search-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.partner-search-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.partner-search-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.ps-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ps-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ps-select-wrap {
    position: relative;
}

.ps-select {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1.5px solid rgba(6, 78, 59, 0.12);
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.85);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.ps-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.1);
}

.ps-select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 0.7rem;
    pointer-events: none;
    opacity: 0.7;
}

.ps-dual-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ps-input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 0.85rem;
    border: 1.5px solid rgba(6, 78, 59, 0.12);
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.85);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.ps-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.1);
}

.ps-dual-sep {
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}

.ps-action-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ps-search-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #04392a 60%, var(--primary-color) 100%);
    color: var(--white);
    border: none;
    border-radius: 14px;
    padding: 1rem 2.5rem;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(6, 78, 59, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.ps-search-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 30px rgba(6, 78, 59, 0.4);
}

.ps-btn-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: relative;
    z-index: 1;
}

.ps-btn-shimmer {
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: skewX(-20deg);
    animation: ps-shimmer 3s infinite;
}

@keyframes ps-shimmer {
    0% { left: -75%; }
    60%, 100% { left: 130%; }
}

.ps-reset-btn {
    background: transparent;
    border: 1.5px solid rgba(6, 78, 59, 0.15);
    color: var(--text-muted);
    border-radius: 14px;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.ps-reset-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(6, 78, 59, 0.04);
}

.ps-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(6, 78, 59, 0.07);
}

.ps-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(6, 78, 59, 0.04);
    border: 1px solid rgba(6, 78, 59, 0.08);
    border-radius: 50px;
    padding: 0.35rem 0.85rem;
}

@media (max-width: 900px) {
    .partner-search-fields {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .partner-search-card {
        padding: 1.5rem 1.25rem 1.25rem;
    }
    .partner-search-fields {
        grid-template-columns: 1fr;
    }
    .partner-search-section {
        margin-top: -20px;
    }
    .partner-search-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .ps-action-row {
        flex-direction: column;
    }
    .ps-search-btn,
    .ps-reset-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Partner search JS toast notification */
.ps-toast {
    position: fixed;
    bottom: 100px;
    right: 24px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.85rem 1.5rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 10px 30px rgba(6, 78, 59, 0.3);
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    border-left: 4px solid var(--accent-color);
}

.ps-toast.show {
    transform: translateX(0);
}

/* =============================================
   Featured Members — Premium Profile Cards
   ============================================= */
.member-tab-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1.5px solid rgba(6, 78, 59, 0.15);
    color: var(--text-muted);
    background: var(--white);
    cursor: pointer;
    transition: all 0.25s ease;
}

.member-tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.member-tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(6, 78, 59, 0.25);
}

.member-card {
    background: var(--white);
    border: 1.5px solid rgba(6, 78, 59, 0.07);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px -10px rgba(6, 78, 59, 0.18);
    border-color: rgba(212, 175, 55, 0.4);
}

.member-photo-wrap {
    position: relative;
    background: linear-gradient(145deg, #f0faf6 0%, #fefaee 100%);
    padding: 2.5rem 0 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(6, 78, 59, 0.06);
}

.member-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 4px solid var(--white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.35s ease;
}

.member-card:hover .member-avatar {
    transform: scale(1.06);
}

.groom-avatar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #04392a 100%);
    color: rgba(255,255,255,0.85);
}

.bride-avatar {
    background: linear-gradient(135deg, #c0507a 0%, #8b1a4a 100%);
    color: rgba(255,255,255,0.85);
}

.member-gender-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    white-space: nowrap;
    border: 1.5px solid rgba(255,255,255,0.5);
}

.groom-badge {
    background: var(--primary-color);
    color: var(--white);
}

.bride-badge {
    background: #c0507a;
    color: var(--white);
}

.member-verified-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.95);
    color: var(--primary-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border: 1.5px solid rgba(212, 175, 55, 0.3);
}

.member-info {
    padding: 1.25rem 1.25rem 0.75rem;
    flex: 1;
}

.member-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.4rem;
}

.member-age-country {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.member-age-country .divider {
    color: rgba(6, 78, 59, 0.25);
    font-weight: 700;
}

.member-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(6, 78, 59, 0.07);
}

.member-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.meta-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.meta-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.member-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 1.25rem 1.25rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #04392a 100%);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(6, 78, 59, 0.22);
}

.member-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(6, 78, 59, 0.35);
}

.member-card.hidden {
    display: none;
}

.member-privacy-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(212, 175, 55, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.member-privacy-notice i {
    flex-shrink: 0;
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.floating-whatsapp-btn {

    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: whatsapp-pulse-anim 2s infinite ease-out;
    pointer-events: none;
}

.whatsapp-pulse-ring.delay {
    animation-delay: 0.8s;
}

@keyframes whatsapp-pulse-anim {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 480px) {
    .floating-whatsapp-btn {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-tooltip {
        display: none;
    }
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

header.scrolled {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--primary-color);
}

header.scrolled .nav-links a {
    color: var(--text-dark);
}

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px 0 rgba(31, 38, 135, 0.1);
}

/* Islamic Patterns */
.bg-pattern {
    background-image: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M50 0 L60 40 L100 50 L60 60 L50 100 L40 60 L0 50 L40 40 Z" fill="%23064e3b" fill-opacity="0.02"/></svg>');
    background-size: 100px 100px;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Responsive & Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

@media (max-width: 991px) {
    .section {
        padding: 50px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-cta .btn {
        display: none; /* Hide trial button on very small screens or move it into menu */
    }

    h1 {
        font-size: 2.2rem !important;
        line-height: 1.3 !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }
}

/* Premium Matrimonial Utilities */
.bg-navy-900 {
    background-color: #0a192f;
}

.text-gold-gradient {
    background: linear-gradient(135deg, #d4af37, #f1d592);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-dark {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.border-gold-glow {
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.border-gold-glow:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--accent-color) 0, var(--accent-color) 10px, transparent 10px, transparent 20px);
    z-index: -1;
}

@media (max-width: 768px) {
    .step-card::before {
        display: none;
    }
}

/* Counter Animation Helper */
.counter-value {
    display: inline-block;
}

/* Touch targets for mobile */
@media (max-width: 480px) {
    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    .container {
        padding: 0 1.25rem;
    }
}
/* PRIVACY SECTION TEXT FIX */

.bg-navy-900 {

    background-color: #0a192f !important;
}

.bg-navy-900,
.bg-navy-900 h1,
.bg-navy-900 h2,
.bg-navy-900 h3,
.bg-navy-900 h4,
.bg-navy-900 h5,
.bg-navy-900 h6,
.bg-navy-900 p,
.bg-navy-900 li,
.bg-navy-900 span {

    color: #ffffff !important;

    opacity: 1 !important;
}
/* HEADING TEXT CUT FIX */

h1,
h2,
.hero-title,
.text-gold-gradient {

    line-height: 1.25 !important;

    padding-bottom: 12px;

    overflow: visible !important;

    display: inline-block;
}
/* FINAL MOBILE FOOTER FIX */

@media (max-width: 768px) {

    footer .container,
    .footer .container,
    .footer-content {

        display: flex !important;

        flex-direction: column !important;

        align-items: center !important;

        justify-content: center !important;

        text-align: center !important;

        gap: 40px;
    }

    .footer-section {

        width: 100% !important;

        text-align: center !important;
    }

    .footer-section ul {

        padding: 0 !important;

        margin: 0 auto !important;
    }

    .footer-section ul li {

        text-align: center !important;

        justify-content: center !important;

        margin-bottom: 12px;
    }

    .contact-info li {

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        gap: 10px;
    }

    .social-links,
    .footer-social {

        display: flex !important;

        justify-content: center !important;

        align-items: center !important;

        gap: 15px;
    }

    footer p,
    footer a,
    footer h2,
    footer h3,
    footer h4 {

        text-align: center !important;
    }
}
/* FINAL CONTACT + SOCIAL ALIGN FIX */

@media (max-width: 768px) {

    .social-links,
    .footer-social {

        display: flex !important;

        justify-content: center !important;

        align-items: center !important;

        width: 100% !important;
    }

    .contact-info {

        width: 100% !important;
    }

    .contact-info li {

        display: flex !important;

        justify-content: center !important;

        align-items: center !important;

        text-align: center !important;

        width: 100% !important;

        gap: 10px;

        margin-bottom: 15px;
    }

    .contact-info li i {

        margin: 0 !important;
    }
}
/* ULTIMATE MOBILE FOOTER ALIGNMENT FIX */

@media (max-width: 768px) {

    .contact-info,
    .contact-info ul,
    .social-links {

        width: 100% !important;

        display: flex !important;

        flex-direction: column !important;

        align-items: center !important;

        justify-content: center !important;

        text-align: center !important;
    }

    .contact-info li {

        width: 100% !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        text-align: center !important;

        padding-left: 0 !important;

        margin-left: 0 !important;
    }

    .social-links {

        flex-direction: row !important;
    }

    .social-links a {

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;
    }
}

/* =============================================
   About Us Page Styles
   ============================================= */
.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mission-vision-card {
    background: var(--white);
    border: 1.5px solid rgba(6, 78, 59, 0.08);
    border-radius: 28px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}

.mission-vision-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px -12px rgba(6, 78, 59, 0.16);
    border-color: rgba(212, 175, 55, 0.4);
}

.mission-vision-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #04392a 100%);
    color: var(--accent-color);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(6, 78, 59, 0.22);
}

/* Vertical Company Timeline */
.company-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.company-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-color) 100%);
    transform: translateX(-50%);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 24px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-color), 0 4px 10px rgba(0,0,0,0.15);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -11px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -11px;
}

.timeline-content {
    background: var(--white);
    border: 1.5px solid rgba(6, 78, 59, 0.08);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 10px 30px -8px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -10px rgba(6, 78, 59, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

.timeline-year {
    display: inline-block;
    background: var(--primary-color);
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

/* Team Member Cards */
.team-card {
    background: var(--white);
    border: 1.5px solid rgba(6, 78, 59, 0.08);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px -10px rgba(6, 78, 59, 0.18);
    border-color: rgba(212, 175, 55, 0.4);
}

.team-avatar-box {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #04392a 100%);
    color: var(--accent-color);
    font-size: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    border: 4px solid var(--white);
    box-shadow: 0 8px 22px rgba(6, 78, 59, 0.22);
    position: relative;
    transition: transform 0.35s ease;
}

.team-card:hover .team-avatar-box {
    transform: scale(1.08);
}

/* Core Values Cards */
.value-card {
    background: var(--white);
    border: 1.5px solid rgba(6, 78, 59, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(6, 78, 59, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(6, 78, 59, 0.06);
    color: var(--primary-color);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: transform 0.35s ease, background-color 0.3s ease, color 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--primary-color);
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .company-timeline::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 3.5rem !important;
        padding-right: 0 !important;
        text-align: left !important;
        margin-bottom: 2rem;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-dot {
        left: 9px !important;
        right: auto !important;
    }
}

/* =============================================
   Contact Us Page & Sticky Mobile Bar Styles
   ============================================= */
.contact-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.contact-input,
.contact-select,
.contact-textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid rgba(6, 78, 59, 0.12);
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.1);
    background: var(--white);
}

.contact-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23064e3b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1rem;
}

.contact-info-card {
    background: var(--white);
    border: 1.5px solid rgba(6, 78, 59, 0.08);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -10px rgba(6, 78, 59, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

.contact-info-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #04392a 100%);
    color: var(--accent-color);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(6, 78, 59, 0.2);
}

/* Emergency Box */
.emergency-card {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    color: var(--white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(127, 29, 29, 0.25);
    position: relative;
    overflow: hidden;
}

.emergency-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

/* Mobile Sticky Call Bar */
.sticky-call-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1.5px solid rgba(6, 78, 59, 0.1);
    padding: 0.75rem 1rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    z-index: 9980;
    box-shadow: 0 -8px 25px rgba(0,0,0,0.1);
}

.sticky-call-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.sticky-call-btn.phone-btn {
    background: var(--primary-color);
    color: var(--white);
}

.sticky-call-btn.wa-btn {
    background: #25d366;
    color: var(--white);
}

@media (max-width: 768px) {
    .sticky-call-bar {
        display: flex;
    }
    body {
        padding-bottom: 70px;
    }
    .floating-whatsapp-btn {
        bottom: 80px !important;
    }
}

/* =============================================
   Student Dashboard UI Styles
   ============================================= */
.dash-body {
    background-color: #f6f9f8;
    min-height: 100vh;
}

.dash-layout {
    display: flex;
    min-height: 100vh;
}

.dash-sidebar {
    width: 270px;
    background: linear-gradient(180deg, var(--primary-color) 0%, #032b1f 100%);
    color: var(--white);
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    box-shadow: 4px 0 25px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: all 0.25s ease;
    margin-bottom: 0.35rem;
}

.dash-nav-item:hover,
.dash-nav-item.active {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 1.25rem;
}

.dash-main {
    flex: 1;
    margin-left: 270px;
    padding: 2rem 2.5rem 4rem;
    min-width: 0;
}

.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
}

.dash-card {
    background: var(--white);
    border: 1.5px solid rgba(6, 78, 59, 0.08);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}

.dash-card:hover {
    box-shadow: 0 18px 40px -10px rgba(6, 78, 59, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
}

.dash-card-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, #04392a 100%);
    color: var(--white);
    border-color: rgba(212, 175, 55, 0.3);
}

.dash-progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(6, 78, 59, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.dash-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 50px;
    transition: width 1s ease-in-out;
}

.dash-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-success { background: #dcfce7; color: #15803d; }
.badge-warning { background: #fef3c7; color: #b45309; }
.badge-info { background: #e0f2fe; color: #0369a1; }

.notification-dot {
    width: 9px;
    height: 9px;
    background: #ef4444;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    right: 2px;
    border: 2px solid var(--white);
}

@media (max-width: 1024px) {
    .dash-sidebar {
        transform: translateX(-100%);
    }
    .dash-sidebar.open {
        transform: translateX(0);
    }
    .dash-main {
        margin-left: 0;
        padding: 1.5rem 1rem 4rem;
    }
}

/* =============================================
   Login Page & Role Switcher Styles
   ============================================= */
.login-role-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(6, 78, 59, 0.05);
    border: 1.5px solid rgba(6, 78, 59, 0.1);
    cursor: pointer;
    transition: all 0.25s ease;
}

.login-role-tab:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.login-role-tab.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(6, 78, 59, 0.25);
}

.login-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(212, 175, 55, 0.25);
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 0 24px 60px -12px rgba(6, 78, 59, 0.15);
}

/* =============================================
   Multi-Step Registration Wizard Styles
   ============================================= */
.reg-wizard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2.5rem;
}

.reg-wizard-header::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: rgba(6, 78, 59, 0.12);
    z-index: 1;
}

.reg-wizard-progress-bar {
    position: absolute;
    top: 20px;
    left: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 1;
    transition: width 0.4s ease;
}

.reg-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.reg-step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(6, 78, 59, 0.2);
    color: var(--text-muted);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.35s ease;
}

.reg-step-node.active .reg-step-circle {
    background: var(--primary-color);
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 6px 18px rgba(6, 78, 59, 0.25);
    transform: scale(1.1);
}

.reg-step-node.completed .reg-step-circle {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.reg-step-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.reg-step-node.active .reg-step-label {
    color: var(--primary-color);
}

.reg-form-step {
    display: none;
}

.reg-form-step.active {
    display: block;
    animation: fadeInStep 0.4s ease forwards;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.otp-box-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.otp-digit-input {
    width: 48px;
    height: 54px;
    border: 2px solid rgba(6, 78, 59, 0.2);
    border-radius: 14px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    background: var(--white);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.otp-digit-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* =============================================
   Member Profiles Page Styles
   ============================================= */
.profile-card {
    background: var(--white);
    border: 1.5px solid rgba(6, 78, 59, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
    position: relative;
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px -10px rgba(6, 78, 59, 0.18);
    border-color: rgba(212, 175, 55, 0.45);
}

.profile-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, #064e3b 0%, #04392a 100%);
}

.profile-img-wrapper img,
.profile-img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.profile-card:hover .profile-img-wrapper img,
.profile-card:hover .profile-img-placeholder {
    transform: scale(1.06);
}

.profile-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.8);
}

.profile-badge-overlay {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.profile-fav-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #d1d5db;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.profile-fav-btn:hover,
.profile-fav-btn.active {
    background: #fff0f0;
    color: #e11d48;
    transform: scale(1.15);
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 800;
    background: linear-gradient(135deg, #d4af37, #f5d060);
    color: #064e3b;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 800;
    background: #dcfce7;
    color: #15803d;
    letter-spacing: 0.03em;
}

.profile-body {
    padding: 1.25rem;
}

.profile-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(6, 78, 59, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    border: 1px solid rgba(6, 78, 59, 0.08);
}

.profile-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #04392a 100%);
    color: var(--accent-color);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 16px rgba(6, 78, 59, 0.2);
    letter-spacing: 0.02em;
}

.profile-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(6, 78, 59, 0.3);
}

.filter-sidebar {
    background: var(--white);
    border: 1.5px solid rgba(6, 78, 59, 0.08);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
}

.filter-group-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1.5px solid rgba(6, 78, 59, 0.08);
}

.member-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(6, 78, 59, 0.08);
    color: var(--primary-color);
    font-size: 0.65rem;
    font-weight: 800;
}

/* =============================================
   Search Profiles Page – Supplemental Styles
   ============================================= */

/* Active filter chip (bg-primary/8 helper) */
.bg-primary\/8 {
    background-color: rgba(6, 78, 59, 0.08);
}
.border-primary\/15 {
    border-color: rgba(6, 78, 59, 0.15);
}

/* Gender selector card – checked highlight via :has() */
label:has(input[type="radio"]:checked) {
    border-color: var(--primary-color) !important;
    background-color: rgba(6, 78, 59, 0.05);
    color: var(--primary-color);
}

/* Contact input group label spacing */
.contact-input-group label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
    display: block;
}

/* Spinner keyframes (search button loading) */
@keyframes spin { to { transform: rotate(360deg); } }
.fa-spin { animation: spin 0.75s linear infinite; }

/* Search results toolbar */
#results-toolbar {
    background: linear-gradient(135deg, #f0fdf4 0%, #fdfaf3 100%);
    border-color: rgba(6, 78, 59, 0.1);
}

/* Pagination hover refinement */
#pagination button:hover:not(.bg-primary) {
    border-color: var(--accent-color);
    color: var(--primary-color);
}