/* ===================================================
   RahbarNetwork Main Stylesheet
   Design System: "Refined Editorial Warmth"
   ================================================== */

/* ===== CSS VARIABLES (Design System) ===== */
:root {
    /* Colors */
    --color-bg: #FAFAF8;
    --color-surface: #FFFFFF;
    --color-primary: #1A1A2E;
    --color-accent: #E8622A;
    --color-accent-soft: #FFF0E8;
    --color-text: #1C1C1C;
    --color-muted: #6B7280;
    --color-border: #E5E7EB;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'DM Mono', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-base: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
    
    /* Z-Index */
    --zindex-dropdown: 1000;
    --zindex-sticky: 1020;
    --zindex-fixed: 1030;
    --zindex-offcanvas-backdrop: 1040;
    --zindex-offcanvas: 1050;
    --zindex-modal-backdrop: 1060;
    --zindex-modal: 1070;
    
    /* Breakpoints */
    --breakpoint-sm: 480px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
}

/* ===== RESET & GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
    color: var(--color-primary);
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
}

h4 {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
}

p {
    margin-bottom: var(--space-base);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: darken(#E8622A, 10%);
}

button, input, textarea, select {
    font-family: inherit;
}

/* ===== SKIP TO MAIN LINK ===== */
.skip-to-main {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

.skip-to-main:focus {
    top: 0;
    left: 0;
    z-index: var(--zindex-modal);
    padding: var(--space-base);
    background-color: var(--color-primary);
    color: var(--color-surface);
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-base);
    padding-right: var(--space-base);
}

@media (max-width: 480px) {
    .container {
        padding-left: var(--space-base);
        padding-right: var(--space-base);
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: sticky;
    top: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #F0F0F0;
    z-index: var(--zindex-sticky);
}

.navbar {
    display: flex;
    align-items: center;
    height: 64px;
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.navbar-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    font-family: var(--font-display);
    letter-spacing: -0.5px;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.2;
}

.brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    order: 2;
}

.brand-tagline {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.5px;
    font-family: var(--font-body);
    padding: 3px 8px;
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    background-color: rgba(232, 98, 42, 0.05);
    order: 1;
}

.navbar-brand:hover {
    opacity: 0.7;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

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

.btn-nav {
    background-color: var(--color-accent);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-nav:hover {
    background-color: #d65020;
    box-shadow: 0 4px 12px rgba(232, 98, 42, 0.25);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 6px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
    display: block;
}

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

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

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

/* ===== MOBILE NAVIGATION ===== */
@media (max-width: 768px) {
    .navbar {
        height: 56px;
    }

    .hamburger {
        display: flex;
    }

    .nav-wrapper {
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 1rem;
        background-color: white;
        border-bottom: 1px solid #F0F0F0;
        padding: 1.5rem var(--space-base);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-wrapper.active {
        max-height: 300px;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        border-bottom: 1px solid #F0F0F0;
        padding-bottom: 1rem;
        margin-bottom: 0.5rem;
    }

    .nav-item {
        display: block;
        padding: 1rem 0;
    }

    .btn-nav {
        width: 100%;
        text-align: center;
    }

    .navbar-brand {
        font-size: 1rem;
        gap: 1px;
    }

    .brand-text {
        font-size: 1rem;
    }

    .brand-tagline {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
}

@media (max-width: 480px) {
    .nav-wrapper {
        top: 56px;
        padding: 1rem var(--space-base);
    }

    .nav-links {
        gap: 0.5rem;
    }

    .navbar-brand {
        font-size: 0.95rem;
        gap: 1px;
    }

    .brand-text {
        font-size: 0.95rem;
    }

    .brand-tagline {
        font-size: 0.6rem;
        padding: 2px 5px;
    }

    .nav-item {
        font-size: 0.9rem;
    }

    .btn-nav {
        font-size: 0.9rem;
        padding: 0.5rem 1.25rem;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: clamp(400px, 90vh, 600px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-accent-soft) 100%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-text h1 {
    margin-bottom: var(--space-lg);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-muted);
    margin-bottom: var(--space-xl);
}

.hero-cta {
    margin-top: var(--space-xl);
}

.heroes-placeholder {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heroes-placeholder svg {
    width: 100%;
    height: 100%;
    max-width: 300px;
}

/* Animated path that draws itself with glow */
.path-animated {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawPath 3s ease-in-out infinite;
}

/* Arrow marker following the path */
.arrow-marker {
    animation: followPath 3s ease-in-out infinite;
    transform-origin: 0 0;
}

/* Arrow shape styling */
.arrow-shape {
    filter: drop-shadow(0 0 4px rgba(232, 98, 42, 0.6));
}

/* Starting point pulse */
.start-point {
    animation: startPulse 3s ease-in-out infinite;
}

/* End point glow pulse */
.end-point-glow {
    animation: endGlow 3s ease-in-out infinite;
}

.end-point {
    animation: endPulse 3s ease-in-out infinite;
}

/* Path drawing animation */
@keyframes drawPath {
    0% {
        stroke-dashoffset: 400;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.3;
    }
}

/* Arrow following the path - moves along the curve */
@keyframes followPath {
    0% {
        transform: translate(80px, 450px) rotate(45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translate(200px, 130px) rotate(-20deg);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(320px, 80px) rotate(-45deg);
        opacity: 0;
    }
}

/* Starting point breathing pulse */
@keyframes startPulse {
    0%, 100% {
        r: 8;
        opacity: 0.4;
    }
    50% {
        r: 10;
        opacity: 0.8;
    }
}

/* End point glow expansion */
@keyframes endGlow {
    0%, 100% {
        r: 10;
        opacity: 0.1;
    }
    50% {
        r: 18;
        opacity: 0.3;
    }
}

/* End point main pulse */
@keyframes endPulse {
    0%, 100% {
        r: 6;
        opacity: 0.6;
    }
    50% {
        r: 8;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .heroes-placeholder {
        max-width: 250px;
        margin: 0 auto;
    }
}

/* ===== SOCIAL PROOF SECTION ===== */
.social-proof {
    background-color: var(--color-surface);
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.proof-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

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

.proof-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-family: var(--font-display);
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.proof-label {
    font-size: 1rem;
    color: var(--color-muted);
}

/* ===== SECTION COMMON ===== */
section {
    padding: var(--space-2xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-base);
}

.section-subtitle {
    text-align: center;
    color: var(--color-muted);
    font-size: 1.125rem;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--color-bg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background-color: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(232, 98, 42, 0.15);
    border-color: var(--color-accent);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card[data-service-index="1"] .service-icon-wrapper {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.08), rgba(26, 26, 46, 0.04));
}

.service-card[data-service-index="2"] .service-icon-wrapper {
    background: linear-gradient(135deg, rgba(232, 98, 42, 0.08), rgba(232, 98, 42, 0.04));
}

.service-card[data-service-index="3"] .service-icon-wrapper {
    background: linear-gradient(135deg, rgba(0, 150, 136, 0.08), rgba(0, 150, 136, 0.04));
}

.service-card[data-service-index="4"] .service-icon-wrapper {
    background: linear-gradient(135deg, rgba(103, 58, 183, 0.08), rgba(103, 58, 183, 0.04));
}

.service-card[data-service-index="5"] .service-icon-wrapper {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.08), rgba(255, 152, 0, 0.04));
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.service-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-accent {
    transform: scaleX(1);
}

.service-card h3 {
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
    color: var(--color-primary);
}

.service-card p {
    color: var(--color-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.service-points {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: var(--space-base);
    flex: 1;
}

.service-points li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-base);
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    transition: all 0.2s ease;
}

.service-points li:hover {
    color: var(--color-text);
    transform: translateX(4px);
}

.service-points li::before {
    content: "→";
    color: var(--color-accent);
    font-weight: bold;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    background-color: var(--color-surface);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--color-accent);
    color: var(--color-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto var(--space-lg);
    font-family: var(--font-display);
}

.step h3 {
    margin-bottom: var(--space-base);
}

.step p {
    color: var(--color-muted);
    margin-bottom: 0;
}

/* ===== MENTORS SECTION ===== */
.mentors {
    background-color: var(--color-bg);
}

.mentor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.mentor-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--color-border);
    position: relative;
}

.mentor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.mentor-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(232, 98, 42, 0.15);
    border-color: var(--color-accent);
}

.mentor-card:hover::before {
    transform: scaleX(1);
}

.mentor-photo {
    width: 100%;
    background-color: var(--color-border);
    justify-content: center;
    align-items: center;
    display: flex;
}

.mentor-photo img {
    width: 60%;
    height: 80%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #e2e8f0;
    object-position: center top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.mentor-card:hover .mentor-photo img {
    transform: scale(1.08) rotate(3deg);
}

.mentor-card:hover .mentor-photo img {
    transform: scale(1.05);
}

@media (max-width: 768px) {

    .mentor-photo {
        width: auto;           /* don't stretch to full width */
        padding: 0;            /* remove top/bottom padding */
        flex-shrink: 0;        /* keep photo from shrinking */
    }

    .mentor-photo img {
        width: 85px;           /* smaller on mobile */
        height: 85px;
    }

    .mentor-info {
        flex: 1;               /* take remaining space */
    }
}

.mentor-info {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Header Section */
.mentor-header {
    margin-bottom: var(--space-sm);
}

.mentor-info h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.25rem;
    line-height: 1.3;
}

.mentor-title {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
}

.mentor-company {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Domain Badge */
.domain-badge {
    display: inline-block;
    background-color: var(--color-accent-soft);
    color: var(--color-accent);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    margin: var(--space-base) 0;
}

/* Trust Signals */
.mentor-trust-signals {
    display: flex;
    gap: var(--space-base);
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: var(--space-base);
    padding-bottom: var(--space-base);
    border-bottom: 1px solid var(--color-border);
}

.mentor-rating,
.mentor-sessions {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Bio Section */
.mentor-bio-section {
    flex: 1;
    margin-bottom: var(--space-base);
    overflow: hidden;
    position: relative;
}

.mentor-bio {
    color: var(--color-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    max-height: 200px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.mentor-bio-expand {
    display: inline-block;
    cursor: pointer;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 0.25rem;
    transition: all 0.3s ease;
}

.mentor-bio-expand:hover {
    transform: scale(1.2);
}

/* Social Links */
.mentor-social-link {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: auto;
}

.mentor-social-link:hover {
    transform: translateX(4px);
    text-decoration: underline;
}

/* Responsive Bio Display */
/* Desktop version (350 char) - hidden on mobile */
.mentor-bio-mobile {
    display: none;
}

/* Mobile version (100 char) - hidden on desktop */
.mentor-bio-desktop {
    display: block;
}

/* Desktop screens show the desktop version */
@media (max-width: 768px) {
    .mentor-bio-desktop {
        display: none;
    }
    
    .mentor-bio-mobile {
        display: block;
    }
}

/* ===== BIO MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: var(--zindex-modal-backdrop);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: var(--space-base);
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: var(--zindex-modal);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
    border-bottom: 2px solid var(--color-border);
    padding-bottom: var(--space-lg);
    gap: var(--space-lg);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0;
    flex: 1;
    word-break: break-word;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-muted);
    transition: color 0.3s ease;
    padding: 0;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.modal-close:hover {
    color: var(--color-accent);
}

.modal-bio-full {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .modal-content {
        padding: var(--space-lg);
        width: 100%;
        max-width: 100%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        max-height: 85vh;
    }

    .modal-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: var(--space-base);
        padding-bottom: var(--space-base);
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .modal-bio-full {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: var(--space-base);
    }

    .modal-header {
        margin-bottom: var(--space-sm);
        padding-bottom: var(--space-sm);
    }

    .modal-title {
        font-size: 1.1rem;
    }

    .modal-bio-full {
        font-size: 0.875rem;
    }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: var(--color-surface);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background-color: var(--color-accent-soft);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-accent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(232, 98, 42, 0.12);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover::after {
    transform: scaleX(1);
}

.testimonial-rating {
    margin-bottom: var(--space-base);
    font-size: 1.1rem;
}

.testimonial-content {
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    gap: var(--space-base);
}

.author-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 2px;
}

.author-role {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* ===== BOOKING FORM SECTION ===== */
.booking {
    background-color: var(--color-bg);
}

.booking-card {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-surface);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-row.full {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background-color: var(--color-surface);
    color: var(--color-text);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%231A1A2E' d='M1 1l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 36px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(232, 98, 42, 0.1);
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 4px;
    min-height: 16px;
}

.hidden {
    display: none !important;
}

.success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
}

.success-message.visible {
    display: block;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-base);
    margin-top: var(--space-lg);
}

.form-note {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
}

.success-message h3 {
    margin-bottom: var(--space-sm);
    color: #155724;
}

.btn-secondary {
    background-color: #155724;
    color: white;
    border: 2px solid #155724;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #0d3c17;
    border-color: #0d3c17;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
        font-size: 16px;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: var(--space-xs);
    }

    .booking-form {
        gap: var(--space-base);
    }

    .form-row {
        gap: var(--space-base);
    }
}

@media (max-width: 480px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px;
        font-size: 16px;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .form-actions {
        gap: var(--space-sm);
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .form-note {
        font-size: 0.8rem;
    }
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: var(--color-surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    text-align: center;
}

.contact-item {
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    background-color: var(--color-accent-soft);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-item h3 {
    margin-bottom: var(--space-base);
}

.contact-item a {
    font-weight: 600;
    color: var(--color-accent);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-surface);
    padding: var(--space-2xl) 0 var(--space-lg);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--color-surface);
    font-size: 1.1rem;
    margin-bottom: var(--space-base);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

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

.footer-section li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: var(--space-base);
    margin-top: var(--space-base);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(232, 98, 42, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color-accent);
    color: var(--color-surface);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-base);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: var(--zindex-fixed);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--color-surface);
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    font-size: 1.5rem;
}

@media (max-width: 480px) {
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AOS attributes can be used for scroll reveal */
[data-aos] {
    opacity: 0;
}

[data-aos].fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus style for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .container {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }
    
    section {
        padding: var(--space-xl) 0;
    }
    
    .booking-card {
        padding: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: var(--space-base);
        padding-right: var(--space-base);
    }
    
    section {
        padding: var(--space-xl) 0;
    }
    
    .mentor-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: var(--space-xl) 0;
    }
    
    .booking-card {
        padding: var(--space-lg);
    }
    
    .container {
        padding-left: var(--space-base);
        padding-right: var(--space-base);
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .footer,
    .whatsapp-button {
        display: none;
    }
    
    body {
        background-color: white;
    }
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8f5ff 100%);
    padding: var(--space-xl) var(--space-base);
    border-bottom: 1px solid #e0e7ff;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    text-align: center;
}

.trust-item {
    padding: var(--space-base);
}

.trust-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.trust-label {
    display: block;
    font-size: 0.95rem;
    color: var(--color-muted);
    font-weight: 500;
}

/* ===== WHY US SECTION ===== */
.why-us {
    padding: var(--space-2xl) var(--space-base);
    background-color: var(--color-surface);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.why-us-card {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-us-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(232, 98, 42, 0.15);
    border-color: var(--color-accent);
}

.why-us-card:hover::before {
    transform: scaleX(1);
}

.why-us-card[data-card-index="1"] .why-us-icon-wrapper {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.08), rgba(26, 26, 46, 0.04));
}

.why-us-card[data-card-index="2"] .why-us-icon-wrapper {
    background: linear-gradient(135deg, rgba(232, 98, 42, 0.08), rgba(232, 98, 42, 0.04));
}

.why-us-card[data-card-index="3"] .why-us-icon-wrapper {
    background: linear-gradient(135deg, rgba(0, 150, 136, 0.08), rgba(0, 150, 136, 0.04));
}

.why-us-card[data-card-index="4"] .why-us-icon-wrapper {
    background: linear-gradient(135deg, rgba(103, 58, 183, 0.08), rgba(103, 58, 183, 0.04));
}

.why-us-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.why-us-card:hover .why-us-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.why-us-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-us-card:hover .card-accent {
    transform: scaleX(1);
}

.why-us-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-base);
    color: var(--color-primary);
}

.why-us-card p {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.5;
    margin: 0;
}

/* Mobile Trust Bar */
@media (max-width: 768px) {
    .trust-bar {
        padding: var(--space-lg) var(--space-base);
    }

    .trust-items {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-base);
    }

    .trust-value {
        font-size: 1.5rem;
    }

    .why-us-card {
        padding: var(--space-lg);
    }

    .why-us-icon {
        font-size: 2rem;
    }
}
