/* Theme Variables from theme.json */
:root {
    /* Colors */
    --color-primary: #34B8C1;
    --color-primary-dark: #27949C;
    --color-primary-light: #6DD6DC;
    --color-accent: #FF6B35;
    --color-bg: #F7F9FA;
    --color-surface: #FFFFFF;
    --color-error: #E53E3E;
    --color-warning: #F2A900;
    --color-success: #2F9E44;
    --text-primary: #0F1720;
    --text-secondary: #5B6B73;
    --color-border: #E1E6E8;
    
    /* Typography */
    --font-family: Inter, Helvetica, Arial, sans-serif;
    
    /* Radii */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(13, 30, 35, 0.06);
    --shadow-md: 0 6px 18px rgba(13, 30, 35, 0.08);
    --shadow-lg: 0 10px 40px rgba(13, 30, 35, 0.12);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 101;
}

.brand-name {
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: 700;
}

.nav-links {
    display: flex;
    min-width: 800px;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
}

.nav-buttons {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--color-primary);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(52, 184, 193, 0.95) 0%, rgba(109, 214, 220, 0.9) 100%);
    backdrop-filter: blur(10px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-100%);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.mobile-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
}

.mobile-nav-buttons .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
    text-align: center;
    justify-content: center;
}

.mobile-nav-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.mobile-nav-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.mobile-nav-buttons .btn-primary {
    background: white;
    color: var(--color-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    font-family: var(--font-family);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.05rem;
}

.btn-primary {
    /* border: 3px solid red; */
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(52, 184, 193, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 184, 193, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #FFFFFF;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0 8rem;
    overflow: hidden;
    padding-bottom: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(135deg, #E0F7F8 0%, #B3FBFD 50%, #E0F7F8 100%); */
    z-index: -1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        /* Large circles */
        radial-gradient(circle at 20% 30%, rgba(52, 184, 193, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(109, 214, 220, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 60% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 35%),
        
        /* Rectangles */
        linear-gradient(45deg, transparent 0%, rgba(52, 184, 193, 0.08) 25%, transparent 50%),
        linear-gradient(-30deg, transparent 0%, rgba(109, 214, 220, 0.06) 30%, transparent 60%),
        
        /* Lines */
        repeating-linear-gradient(90deg, transparent 0%, transparent 40px, rgba(52, 184, 193, 0.05) 40px, rgba(52, 184, 193, 0.05) 42px),
        repeating-linear-gradient(0deg, transparent 0%, transparent 60px, rgba(109, 214, 220, 0.04) 60px, rgba(109, 214, 220, 0.04) 62px),
        
        /* Diagonal lines */
        repeating-linear-gradient(45deg, transparent 0%, transparent 80px, rgba(255, 107, 53, 0.04) 80px, rgba(255, 107, 53, 0.04) 82px),
        repeating-linear-gradient(-45deg, transparent 0%, transparent 100px, rgba(52, 184, 193, 0.03) 100px, rgba(52, 184, 193, 0.03) 102px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    background-repeat: no-repeat;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(109, 214, 220, 0.3) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

/* Additional Geometric Shapes */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 120px;
    height: 80px;
    background: linear-gradient(45deg, rgba(52, 184, 193, 0.2), rgba(109, 214, 220, 0.1));
    border-radius: 20px;
    transform: rotate(-15deg);
    animation: floatShape 8s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent);
    border-radius: 50%;
    animation: floatShape 6s ease-in-out infinite reverse;
}

/* Additional shapes using pseudo-elements on hero-pattern */
.hero-pattern::before {
    content: '';
    position: absolute;
    top: 30%;
    right: 15%;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(52, 184, 193, 0.5), transparent);
    transform: rotate(25deg);
    animation: lineMove 10s ease-in-out infinite;
}

.hero-pattern::after {
    content: '';
    position: absolute;
    bottom: 40%;
    left: 20%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(109, 214, 220, 0.3);
    border-radius: 50%;
    animation: circlePulse 7s ease-in-out infinite;
}

/* Additional geometric elements */
.hero {
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 60%;
    left: 70%;
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.15);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: triangleFloat 9s ease-in-out infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 30%;
    width: 60px;
    height: 30px;
    background: linear-gradient(135deg, rgba(52, 184, 193, 0.18), rgba(109, 214, 220, 0.1));
    border-radius: 15px;
    transform: rotate(45deg);
    animation: rectangleRotate 12s linear infinite;
    z-index: 0;
}

/* Animations for shapes */
@keyframes floatShape {
    0%, 100% { 
        transform: translateY(0px) rotate(-15deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(-10deg); 
    }
}

@keyframes lineMove {
    0%, 100% { 
        transform: rotate(25deg) translateX(0px); 
        opacity: 0.5;
    }
    50% { 
        transform: rotate(30deg) translateX(10px); 
        opacity: 0.8;
    }
}

@keyframes circlePulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.2); 
        opacity: 0.6;
    }
}

@keyframes triangleFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-15px) rotate(180deg); 
    }
}

@keyframes rectangleRotate {
    0% { 
        transform: rotate(45deg); 
    }
    100% { 
        transform: rotate(405deg); 
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Hero Cards */
.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

/* Hero Info Cards */
.hero-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 0 0 auto;
    max-width: 200px;
}

.info-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary-light);
}

.info-card:hover::before {
    opacity: 1;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(52, 184, 193, 0.3);
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.info-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.2;
}

/* Individual card animations */
.card-1 {
    animation: slideInRight 0.6s ease-out 0.1s both;
}

.card-2 {
    animation: slideInRight 0.6s ease-out 0.2s both;
}

.card-3 {
    animation: slideInRight 0.6s ease-out 0.3s both;
}

.card-4 {
    animation: slideInRight 0.6s ease-out 0.4s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-card {
    position: absolute;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    width: 240px;
}

.hero-card:nth-child(1) {
    top: 0;
    left: 0;
}

.hero-card:nth-child(2) {
    top: 100px;
    right: 0;
}

.hero-card:nth-child(3) {
    bottom: 0;
    left: 50px;
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.card-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.progress-bar {
    height: 8px;
    background: var(--color-border);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 4px;
    transition: width 1s ease;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    background: var(--color-surface);
}

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

.features-grid-left {
    grid-column: 1;
}

.features-grid-right {
    grid-column: 3;
}

.features-image {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 1rem;
}


.features-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(52, 184, 193, 0.05) 0%, 
        rgba(109, 214, 220, 0.03) 50%, 
        rgba(255, 107, 53, 0.04) 100%);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.features-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(45deg, 
        rgba(52, 184, 193, 0.08) 0%, 
        transparent 50%, 
        rgba(109, 214, 220, 0.06) 100%);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.6;
}

.features-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: transparent;
}

.features-image:hover img {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(0, 0, 0, 0.08);
}

.feature-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 0.5rem;
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
    position: relative;
    overflow: hidden;
}

/* Background Illustrations */
.how-it-works::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, rgba(52, 184, 193, 0.15), rgba(109, 214, 220, 0.1));
    border-radius: 20px;
    transform: rotate(-15deg);
    animation: floatShape 8s ease-in-out infinite;
    z-index: 0;
}

.how-it-works::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 8%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2), transparent);
    border-radius: 50%;
    animation: floatShape 6s ease-in-out infinite reverse;
    z-index: 0;
}

/* Additional decorative shapes */
.how-it-works .container::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 15%;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(52, 184, 193, 0.4), transparent);
    transform: rotate(25deg);
    animation: lineMove 10s ease-in-out infinite;
    z-index: 0;
}

.how-it-works .container::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 20%;
    width: 70px;
    height: 70px;
    border: 2px solid rgba(109, 214, 220, 0.3);
    border-radius: 50%;
    animation: circlePulse 7s ease-in-out infinite;
    z-index: 0;
}

/* Floating geometric shapes */
.how-it-works .section-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -30px;
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.15);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: triangleFloat 9s ease-in-out infinite;
    z-index: 0;
}

.how-it-works .section-header::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -25px;
    width: 50px;
    height: 25px;
    background: linear-gradient(135deg, rgba(52, 184, 193, 0.2), rgba(109, 214, 220, 0.1));
    border-radius: 15px;
    transform: rotate(45deg);
    animation: rectangleRotate 12s linear infinite;
    z-index: 0;
}

/* Steps container background shapes */
.steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -50px;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(52, 184, 193, 0.2), transparent);
    border-radius: 50%;
    animation: circlePulse 5s ease-in-out infinite;
    z-index: 0;
}

.steps::after {
    content: '';
    position: absolute;
    top: 30%;
    right: -40px;
    width: 25px;
    height: 25px;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.2), rgba(52, 184, 193, 0.1));
    transform: rotate(45deg);
    animation: rectangleRotate 8s linear infinite reverse;
    z-index: 0;
}

/* Individual step decorations */
.step:nth-child(1)::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -20px;
    width: 20px;
    height: 20px;
    background: rgba(109, 214, 220, 0.2);
    border-radius: 50%;
    animation: circlePulse 4s ease-in-out infinite;
    z-index: 0;
}

.step:nth-child(2)::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -15px;
    width: 15px;
    height: 15px;
    background: rgba(255, 107, 53, 0.2);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: triangleFloat 6s ease-in-out infinite;
    z-index: 0;
}

.step:nth-child(3)::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -25px;
    width: 25px;
    height: 25px;
    background: linear-gradient(45deg, rgba(52, 184, 193, 0.2), rgba(109, 214, 220, 0.1));
    transform: rotate(30deg);
    animation: rectangleRotate 10s linear infinite;
    z-index: 0;
}

/* Additional floating elements */
.how-it-works .container {
    position: relative;
}

.how-it-works .container .floating-shape-1 {
    position: absolute;
    top: 25%;
    left: 10%;
    width: 35px;
    height: 35px;
    background: radial-gradient(circle, rgba(52, 184, 193, 0.15), transparent);
    border-radius: 50%;
    animation: floatShape 7s ease-in-out infinite;
    z-index: 0;
}

.how-it-works .container .floating-shape-2 {
    position: absolute;
    top: 60%;
    right: 12%;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.2), rgba(52, 184, 193, 0.1));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: triangleFloat 8s ease-in-out infinite reverse;
    z-index: 0;
}

.how-it-works .container .floating-shape-3 {
    position: absolute;
    top: 40%;
    left: 5%;
    width: 20px;
    height: 20px;
    background: rgba(109, 214, 220, 0.2);
    transform: rotate(45deg);
    animation: rectangleRotate 6s linear infinite;
    z-index: 0;
}

.how-it-works .container .floating-shape-4 {
    position: absolute;
    bottom: 20%;
    right: 5%;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(52, 184, 193, 0.2);
    border-radius: 50%;
    animation: circlePulse 9s ease-in-out infinite;
    z-index: 0;
}

.how-it-works .container .floating-shape-5 {
    position: absolute;
    top: 15%;
    right: 25%;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(109, 214, 220, 0.1));
    border-radius: 8px;
    animation: floatShape 11s ease-in-out infinite;
    z-index: 0;
}

/* Ensure content is above background shapes */
.how-it-works .section-header,
.how-it-works .steps,
.how-it-works .step {
    position: relative;
    z-index: 1;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    /* border: 3px solid red; */
}

.step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(52, 184, 193, 0.3);
}

.step-connector {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    margin-bottom: 4rem;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Subjects Section */
.subjects {
    background: var(--color-surface);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.subject-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--color-surface);
}

.subject-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subject-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.subject-tutors {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Process Section */
.process {
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(52, 184, 193, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(109, 214, 220, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.04) 0%, transparent 60%);
    z-index: 0;
}

.process-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.process-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(52, 184, 193, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.process-stage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.process-stage:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(52, 184, 193, 0.15),
        0 8px 16px rgba(52, 184, 193, 0.1);
    border-color: var(--color-primary-light);
}

.process-stage:hover::before {
    transform: scaleX(1);
}

.stage-visual {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
    box-shadow: 
        0 8px 24px rgba(52, 184, 193, 0.3),
        0 4px 12px rgba(52, 184, 193, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.stage-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-stage:hover .stage-icon::before {
    opacity: 1;
}

.stage-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    z-index: 3;
}

.stage-connector {
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 4rem;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transform: translateY(-50%);
    z-index: 1;
}

.stage-connector::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 8px solid var(--color-primary-light);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transform: translateY(-50%);
}

.stage-3 .stage-connector {
    display: none;
}

.stage-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stage-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.stage-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.stage-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 200px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(52, 184, 193, 0.05);
    border-radius: 12px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.feature-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.feature-item:hover {
    background: rgba(52, 184, 193, 0.1);
    color: var(--text-primary);
    transform: translateX(4px);
}

/* Process Section Animations */
.stage-1 {
    animation: slideInUp 0.6s ease-out 0.1s both;
}

.stage-2 {
    animation: slideInUp 0.6s ease-out 0.3s both;
}

.stage-3 {
    animation: slideInUp 0.6s ease-out 0.5s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Process Section Responsive */
@media (max-width: 1024px) {
    .process-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 600px;
    }
    
    .stage-connector {
        display: none;
    }
    
    .process-stage {
        padding: 2.5rem 2rem;
    }
    
    .stage-visual {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .process {
        padding: 4rem 0;
    }
    
    .process-container {
        gap: 2.5rem;
    }
    
    .process-stage {
        padding: 2rem 1.5rem;
    }
    
    .stage-icon {
        width: 70px;
        height: 70px;
    }
    
    .stage-title {
        font-size: 1.25rem;
    }
    
    .stage-description {
        font-size: 0.95rem;
    }
    
    .stage-features {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .process {
        padding: 3rem 0;
    }
    
    .process-container {
        gap: 2rem;
    }
    
    .process-stage {
        padding: 1.5rem 1rem;
    }
    
    .stage-icon {
        width: 60px;
        height: 60px;
    }
    
    .stage-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .stage-title {
        font-size: 1.1rem;
    }
    
    .stage-description {
        font-size: 0.9rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.05) 20px, rgba(255,255,255,0.05) 40px);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.testimonials-container{
    max-width: 1400px;
}

/* Testimonials Section */
.testimonials {
    background: var(--color-surface);
}

.testimonial-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonial-track {
    display: flex;
    gap: 1.5rem;
    will-change: transform;
    animation: marquee 15s linear infinite;
    width: 100%;
}

.testimonial-slider:hover .testimonial-track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    min-width: 340px;
    max-width: 460px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.name {
    font-weight: 600;
    color: var(--text-primary);
}

.meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.rating {
    color: #F2A900;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.quote {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Contact Popup Styles - Innovative Design */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 184, 193, 0.1) 0%, rgba(109, 214, 220, 0.05) 50%, rgba(52, 184, 193, 0.1) 100%);
    backdrop-filter: blur(12px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: overlayFadeIn 0.6s ease-out;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(12px) saturate(180%);
    }
}

.popup-content {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 24px;
    padding: 0;
    max-width: 480px;
    width: 90%;
    box-shadow: 
        0 32px 64px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(52, 184, 193, 0.2);
    position: relative;
    overflow: hidden;
    animation: popupBounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
}

@keyframes popupBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotateX(-15deg) translateY(-100px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) rotateX(5deg) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg) translateY(0);
    }
}

.popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-primary) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.popup-content::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(52, 184, 193, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    z-index: -1;
}
/* 
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
} */

.popup-header {
    text-align: center;
    padding: 2.5rem 2.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(52, 184, 193, 0.05) 0%, transparent 100%);
    position: relative;
}

.popup-header::before {
    content: '🎓';
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    opacity: 0.8;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.popup-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 1.5rem;
}

.popup-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
}

.popup-form {
    width: 100%;
    padding: 0 2.5rem 2.5rem;
}

.popup-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 2px solid rgba(52, 184, 193, 0.2);
    border-radius: 16px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.contact-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 0 4px rgba(52, 184, 193, 0.1),
        0 8px 25px rgba(52, 184, 193, 0.15);
    transform: translateY(-2px);
}

.contact-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.contact-input:focus::placeholder {
    opacity: 0.5;
    transform: translateY(-2px);
}

.popup-form .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.popup-form .btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    min-width: 140px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.popup-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.popup-form .btn:hover::before {
    left: 100%;
}

.popup-form .btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    border: none;
    box-shadow: 
        0 8px 25px rgba(52, 184, 193, 0.3),
        0 4px 12px rgba(52, 184, 193, 0.2);
}

.popup-form .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(52, 184, 193, 0.4),
        0 6px 20px rgba(52, 184, 193, 0.3);
}

.popup-form .btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.popup-login-link {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1.5rem 2.5rem 0;
    border-top: 1px solid rgba(52, 184, 193, 0.1);
    position: relative;
}

.popup-login-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.popup-login-link p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.login-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
}

.login-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.login-link:hover {
    color: var(--color-primary-dark);
    background: rgba(52, 184, 193, 0.1);
}

.login-link:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-image {
        height: 450px;
    }
    
    .hero-info-cards {
        max-width: 180px;
    }
    
    .info-card {
        padding: 0.875rem;
    }
    
    .info-number {
        font-size: 1.1rem;
    }
    
    .info-label {
        font-size: 0.75rem;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-content {
        flex-wrap: nowrap;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
        min-width: auto;
        flex: 1;
        justify-content: center;
    }
    
    .nav-buttons {
        gap: 0.75rem;
        flex-shrink: 0;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    .hero {
        padding-bottom: 4rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
        padding-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-bottom: 2.5rem;
    }
    
    .hero-stats {
        display: none;
    }
    
    .hero-image {
        flex-direction: column;
        height: auto;
        gap: 1.5rem;
        order: 2;
    }
    
    .hero-info-cards {
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 100%;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .info-card {
        flex: 1;
        min-width: 140px;
        max-width: 180px;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .features-grid-left,
    .features-grid-right {
        grid-column: 1;
    }
    
    .features-image {
        grid-column: 1;
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .subjects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card {
        min-width: 300px;
        max-width: 400px;
    }
    
    /* Hide person image on tablet */
    .hero-person {
        display: none;
    }
    
    /* Remove hero pattern on tablet */
    .hero-pattern {
        display: none;
    }
}

/* Large Tablet Styles */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    
    .nav-content {
        justify-content: space-between;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-buttons {
        display: none;
    }
}

.hero-person {
    align-self: baseline;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    .brand {
        gap: 0.5rem;
    }
    
    .brand svg {
        width: 28px;
        height: 28px;
    }
    
    .hero {
        padding: 3rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        display: none;
    }
    
    .stat {
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-image {
        height: auto;
        gap: 1rem;
    }
    
    .hero-person {
        order: 1;
    }
    
    .hero-info-cards {
        order: 2;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .info-card {
        flex: 1;
        min-width: 120px;
        max-width: 150px;
        padding: 0.75rem;
    }
    
    .info-icon {
        width: 32px;
        height: 32px;
    }
    
    .info-number {
        font-size: 1rem;
    }
    
    .info-label {
        font-size: 0.7rem;
    }
    
    /* Hide person image on mobile */
    .hero-person {
        display: none;
    }
    
    /* Mobile-specific hero pattern */
    .hero-pattern {
        background-image: 
            /* Minimal circles for mobile */
            radial-gradient(circle at 10% 20%, rgba(52, 184, 193, 0.1) 0%, transparent 40%),
            radial-gradient(circle at 90% 80%, rgba(109, 214, 220, 0.08) 0%, transparent 35%),
            radial-gradient(circle at 80% 10%, rgba(255, 107, 53, 0.06) 0%, transparent 25%),
            
            /* Minimal rectangles */
            linear-gradient(45deg, transparent 0%, rgba(52, 184, 193, 0.04) 15%, transparent 30%),
            linear-gradient(-30deg, transparent 0%, rgba(109, 214, 220, 0.03) 20%, transparent 40%),
            
            /* Minimal lines */
            repeating-linear-gradient(90deg, transparent 0%, transparent 25px, rgba(52, 184, 193, 0.03) 25px, rgba(52, 184, 193, 0.03) 27px),
            repeating-linear-gradient(0deg, transparent 0%, transparent 35px, rgba(109, 214, 220, 0.02) 35px, rgba(109, 214, 220, 0.02) 37px);
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid-left,
    .features-grid-right {
        grid-column: 1;
    }
    
    .features-image {
        grid-column: 1;
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .steps {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step-connector {
        width: 3px;
        height: 40px;
        margin: 0 auto;
    }
    
    .step {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
    
    .subjects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .testimonial-card {
        min-width: 280px;
        max-width: 320px;
        padding: 1rem;
    }
    
    .testimonial-header {
        gap: 0.5rem;
    }
    
    .avatar {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .name {
        font-size: 0.9rem;
    }
    
    .meta {
        font-size: 0.8rem;
    }
    
    .quote {
        font-size: 0.9rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Popup responsive styles - Innovative */
    .popup-content {
        margin: 1rem;
        max-width: none;
        width: calc(100% - 2rem);
        border-radius: 20px;
    }
    
    .popup-header {
        padding: 2rem 1.5rem 1rem;
    }
    
    .popup-header::before {
        font-size: 1.5rem;
        top: 0.5rem;
    }
    
    .popup-title {
        font-size: 1.4rem;
        margin-top: 1rem;
    }
    
    .popup-description {
        font-size: 0.9rem;
    }
    
    .popup-form {
        padding: 0 1.5rem 2rem;
    }
    
    .contact-input {
        padding: 1rem 1.25rem;
        border-radius: 12px;
        font-size: 0.95rem;
    }
    
    .popup-form .form-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .popup-form .btn {
        width: 100%;
        padding: 1rem 2rem;
        border-radius: 12px;
        min-width: auto;
    }
    
    .popup-login-link {
        padding: 1rem 1.5rem 0;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .brand {
        gap: 0.4rem;
    }
    
    .brand svg {
        width: 24px;
        height: 24px;
    }
    
    .mobile-nav-link {
        font-size: 1.25rem;
        padding: 0.875rem 1.5rem;
    }
    
    .mobile-nav-buttons .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero {
        padding: 2rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-buttons {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .stat {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-image {
        gap: 0.75rem;
    }
    
    .hero-info-cards {
        flex-direction: column;
        gap: 0.5rem;
        max-width: 100%;
    }
    
    .info-card {
        min-width: auto;
        max-width: 100%;
        padding: 0.75rem;
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .info-icon {
        width: 28px;
        height: 28px;
    }
    
    .info-number {
        font-size: 1rem;
    }
    
    .info-label {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
    
    .features-grid {
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .steps {
        gap: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .step-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .step-description {
        font-size: 0.85rem;
    }
    
    .subjects-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .subject-card {
        padding: 1.5rem 1rem;
    }
    
    .subject-emoji {
        font-size: 2.5rem;
    }
    
    .subject-name {
        font-size: 1rem;
    }
    
    .subject-tutors {
        font-size: 0.8rem;
    }
    
    .testimonial-card {
        min-width: 260px;
        max-width: 280px;
        padding: 0.875rem;
    }
    
    .testimonial-header {
        margin-bottom: 0.5rem;
    }
    
    .avatar {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .name {
        font-size: 0.85rem;
    }
    
    .meta {
        font-size: 0.75rem;
    }
    
    .rating {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .quote {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .cta {
        padding: 3rem 0;
    }
    
    .cta-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    /* Ultra-minimal hero pattern for small mobile screens */
    .hero-pattern {
        background-image: 
            /* Very minimal circles for small mobile */
            radial-gradient(circle at 15% 25%, rgba(52, 184, 193, 0.08) 0%, transparent 35%),
            radial-gradient(circle at 85% 75%, rgba(109, 214, 220, 0.06) 0%, transparent 30%),
            
            /* Very minimal rectangles */
            linear-gradient(45deg, transparent 0%, rgba(52, 184, 193, 0.03) 10%, transparent 25%),
            linear-gradient(-30deg, transparent 0%, rgba(109, 214, 220, 0.02) 15%, transparent 35%),
            
            /* Very minimal lines */
            repeating-linear-gradient(90deg, transparent 0%, transparent 20px, rgba(52, 184, 193, 0.02) 20px, rgba(52, 184, 193, 0.02) 22px);
    }
}

/* Additional responsive breakpoints */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .info-card {
        padding: 0.65rem;
    }
    
    .info-icon {
        width: 24px;
        height: 24px;
    }
    
    .info-number {
        font-size: 0.9rem;
    }
    
    .info-label {
        font-size: 0.65rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .testimonial-card {
        min-width: 240px;
        max-width: 260px;
        padding: 0.75rem;
    }
    
    /* Extremely minimal hero pattern for very small screens */
    .hero-pattern {
        background-image: 
            /* Only essential elements for very small screens */
            radial-gradient(circle at 20% 30%, rgba(52, 184, 193, 0.06) 0%, transparent 30%),
            radial-gradient(circle at 80% 70%, rgba(109, 214, 220, 0.04) 0%, transparent 25%),
            repeating-linear-gradient(90deg, transparent 0%, transparent 15px, rgba(52, 184, 193, 0.015) 15px, rgba(52, 184, 193, 0.015) 17px);
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .hero-info-cards {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .info-card {
        flex: 1;
        min-width: 100px;
        max-width: 120px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-pattern,
    .hero-gradient {
        transform: scale(0.5);
        transform-origin: top left;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .cta,
    .footer {
        display: none;
    }
    
    .hero {
        padding: 1rem 0;
    }
    
    .section-title {
        color: #000;
    }
    
    .feature-card,
    .testimonial-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

a{
    text-decoration: none;  
    color: inherit;
}

