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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f1419 0%, #1e3c72 25%, #2a5298 50%, #1a365d 75%, #0f172a 100%);
    color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, #2a5298 0%, #667eea 25%, #764ba2 50%, #1a365d 75%, #0f172a 100%);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(42, 82, 152, 0.3);
}

.navbar {
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Enhanced Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    font-size: 1.5rem;
    color: white;
}

.logo-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.logo-tagline {
    font-size: 0.8rem;
    color: #e0e7ff;
    font-weight: 400;
    display: block;
    margin-top: -2px;
}

/* Enhanced Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: #e0e7ff;
}

.nav-link i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-link:hover i {
    opacity: 1;
}

/* Enhanced Login Button */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-btn {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.login-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 ease;
}

.login-btn:hover::before {
    left: 100%;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e4e6ea;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section - Compact Design */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

/* Hero Main Content */
.hero-main {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideUp 0.8s ease 0.3s forwards;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b3b6bb;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideUp 0.8s ease 0.6s forwards;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
    opacity: 0;
    animation: slideUp 0.8s ease 0.9s forwards;
}

/* Hero Features Cards */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    animation: slideUp 0.8s ease 1.2s forwards;
}

.feature-highlight-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    width: 280px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-highlight-card:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.feature-icon-small {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-small i {
    color: white;
    font-size: 1.2rem;
}

.feature-text h4 {
    color: #e4e6ea;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.feature-text p {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}

/* Hero Floating Subjects */
.hero-floating-subjects {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-subject {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: floatSubjects 8s ease-in-out infinite;
}

.floating-subject:hover {
    transform: translateY(-10px) scale(1.1);
    background: rgba(102, 126, 234, 0.15);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.subject-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.subject-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.floating-subject:hover .subject-icon::before {
    animation: shimmer 1.5s ease-in-out;
    opacity: 1;
}

.subject-icon i {
    font-size: 1.8rem;
    color: white;
    z-index: 2;
    position: relative;
}

.subject-name {
    color: #e4e6ea;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
}

.subject-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.floating-subject:hover .subject-glow {
    opacity: 1;
}

/* Subject Positioning - Within 40% right area */
.subject-1 {
    top: 22%;
    left: 35%;
    animation-delay: 0s;
    animation-duration: 9s;
}

.subject-2 {
    top: 30%;
    right: 15%;
    animation-delay: 1.5s;
    animation-duration: 7s;
}

.subject-3 {
    top: 60%;
    left: 20%;
    animation-delay: 3s;
    animation-duration: 8.5s;
}

.subject-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 4.5s;
    animation-duration: 7.5s;
}

.subject-5 {
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
    animation-duration: 9.5s;
}

@keyframes floatSubjects {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(-25px) rotate(-1deg);
    }
    75% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-animate {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.text-animate:nth-child(2) {
    animation-delay: 0.3s;
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b3b6bb;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: slideUp 0.8s ease 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideUp 0.8s ease 0.9s forwards;
}

.btn-primary, .btn-secondary {
    padding: 0.7rem 3rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
    min-width: 220px;
    justify-content: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e4e6ea;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* Hero Visual */

/* Features Section */
.features {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    box-shadow: 
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        0 20px 40px rgba(102, 126, 234, 0.15);
}

.feature-card.premium {
    border: 2px solid rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.feature-card h3 {
    color: #e4e6ea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #b3b6bb;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-benefits li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #e4e6ea;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.feature-benefits i {
    color: #4ade80;
    font-size: 0.9rem;
    width: 16px;
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background: rgba(30, 60, 114, 0.3);
}

.mission-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5rem;
    color: #e4e6ea;
    margin-bottom: 2rem;
}

.mission-statement {
    font-size: 1.3rem;
    font-style: italic;
    color: #667eea;
    line-height: 1.6;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(102, 126, 234, 0.1);
    border-left: 4px solid #667eea;
    border-radius: 15px;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mission-point {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.mission-point i {
    color: #667eea;
    font-size: 1.8rem;
    margin-top: 0.2rem;
}

.mission-point h4 {
    color: #e4e6ea;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.mission-point p {
    color: #b3b6bb;
    line-height: 1.6;
}

.mission-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mission-stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-stat .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.mission-stat .stat-label {
    color: #b3b6bb;
    font-size: 1rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
}

.rating {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.rating i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.testimonial-content p {
    color: #e4e6ea;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(102, 126, 234, 0.3);
}

.author-info h4 {
    color: #e4e6ea;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.author-info span {
    color: #667eea;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.2rem;
}

.author-info small {
    color: #888;
    font-size: 0.8rem;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: rgba(30, 60, 114, 0.2);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.1);
}

.faq-question h3 {
    color: #e4e6ea;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: #667eea;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(30, 60, 114, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem 2rem;
}

.faq-answer p {
    color: #b3b6bb;
    line-height: 1.6;
    margin: 0;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.02);
}

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

.bento-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 20px rgba(0, 0, 0, 0.1);
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 8px 30px rgba(102, 126, 234, 0.1);
}

.bento-item.large {
    grid-column: span 2;
}

.bento-item i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.bento-item h3, .bento-item h4 {
    margin-bottom: 1rem;
    color: #e4e6ea;
}

.bento-item h3 {
    font-size: 1.8rem;
}

.bento-item h4 {
    font-size: 1.3rem;
}

.bento-item p {
    color: #b3b6bb;
    line-height: 1.6;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    color: #b3b6bb;
    font-size: 0.9rem;
}

/* Curriculum Section */
.curriculum {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(22, 33, 62, 0.2) 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #e4e6ea;
}

.section-subtitle {
    text-align: center;
    color: #b3b6bb;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Curriculum Categories */
.curriculum-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.8rem;
    color: #e4e6ea;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.category-title i {
    color: #667eea;
    font-size: 2rem;
}

/* Countries Grid */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Country Cards */
.country-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 0;
    box-shadow: 
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    overflow: hidden;
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        0 20px 50px rgba(102, 126, 234, 0.15);
}

/* Country-specific gradients */
.uk-card { border-left: 4px solid #1f4e79; }
.au-card { border-left: 4px solid #ff6b35; }
.nz-card { border-left: 4px solid #3b82f6; }
.ie-card { border-left: 4px solid #169b3c; }
.uae-card { border-left: 4px solid #16a085; }
.sa-card { border-left: 4px solid #27ae60; }
.om-card { border-left: 4px solid #e74c3c; }
.kw-card { border-left: 4px solid #f39c12; }
.qa-card { border-left: 4px solid #8e44ad; }
.bh-card { border-left: 4px solid #dc143c; }

/* Country Header */
.country-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.country-header:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
}

/* Expand Icon */
.expand-icon {
    margin-left: auto;
    color: #667eea;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.country-card.expanded .expand-icon {
    transform: rotate(180deg);
}

.country-flag {
    width: 60px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.country-flag:hover {
    transform: scale(1.1);
}

.country-info h4 {
    font-size: 1.5rem;
    color: #e4e6ea;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timezone {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
}

/* Country Details - Now always visible for cards */
.country-details {
    display: none;
}

/* Country cards show minimal info and open popup on click */
.country-card {
    cursor: pointer;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.country-card:hover .country-header::after {
    content: "Click to view details";
    font-size: 0.8rem;
    color: #667eea;
    margin-left: 1rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.country-header::after {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.curriculum-info,
.subjects-available,
.class-times,
.key-features {
    margin-bottom: 2rem;
}

.curriculum-info h5,
.subjects-available h6,
.class-times h6,
.key-features h6 {
    color: #e4e6ea;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.curriculum-info h5 i,
.subjects-available h6 i,
.class-times h6 i,
.key-features h6 i {
    color: #667eea;
    font-size: 1rem;
}

.curriculum-info p {
    color: #b3b6bb;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Subject Tags */
.subject-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.subject-tag {
    background: rgba(102, 126, 234, 0.1);
    color: #e4e6ea;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.subject-tag:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.subject-tag i {
    color: #667eea;
    font-size: 0.9rem;
}

/* Class Times */
.class-times p {
    color: #b3b6bb;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    margin: 0;
    font-weight: 500;
}

/* Key Features */
.key-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-features li {
    color: #b3b6bb;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding-left: 2rem;
}

.key-features li:last-child {
    border-bottom: none;
}

.key-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
    font-size: 1.1rem;
}

.key-features li:hover {
    color: #e4e6ea;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Trial Section */
.trial-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.section-subtitle {
    text-align: center;
    color: #b3b6bb;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.trial-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.2);
}

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

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

.form-group label {
    color: #e4e6ea;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    color: #e4e6ea;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.subjects-group {
    grid-column: 1 / -1;
}

.subjects-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.checkbox-item:hover {
    background: rgba(102, 126, 234, 0.1);
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.checkbox-item i {
    color: #667eea;
    font-size: 1.1rem;
}

/* Consent Checkbox */
.consent-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 15px;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    line-height: 1.6;
}

.consent-checkbox input[type="checkbox"] {
    display: none;
}

.consent-checkmark {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.consent-checkmark::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.consent-checkbox input[type="checkbox"]:checked + .consent-checkmark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.consent-checkbox input[type="checkbox"]:checked + .consent-checkmark::after {
    opacity: 1;
}

.consent-text {
    color: #e4e6ea;
    font-size: 0.95rem;
    line-height: 1.6;
}

.consent-checkbox:hover .consent-checkmark {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: #e4e6ea;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: #b3b6bb;
    line-height: 1.6;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #764ba2;
}

.contact-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.globe {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 50px rgba(102, 126, 234, 0.3),
        inset 0 0 50px rgba(255, 255, 255, 0.1);
    animation: rotate 20s linear infinite;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 250px;
    height: 250px;
    animation: rotate 15s linear infinite reverse;
}

.orbit-2 {
    width: 300px;
    height: 300px;
    animation: rotate 25s linear infinite;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 60, 114, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 5% auto;
    padding: 3rem;
    width: 90%;
    max-width: 600px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

/* Country Modal Specific Styles */
.country-modal-content {
    max-width: 800px;
    width: 95%;
    padding: 2rem;
}

.country-modal .country-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: none;
}

.country-modal .country-details {
    padding: 0;
    max-height: none;
    opacity: 1;
    overflow: visible;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.close:hover {
    color: #667eea;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #e4e6ea;
}

.login-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.login-option {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-option:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.login-option i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.login-option h3 {
    color: #e4e6ea;
    margin-bottom: 1rem;
}

.login-option p {
    color: #b3b6bb;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.portal-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.portal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Footer */
.footer {
    background: rgba(30, 60, 114, 0.5);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #b3b6bb;
}

.footer-links h4,
.footer-contact h4 {
    color: #e4e6ea;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

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

.footer-links a {
    color: #b3b6bb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-contact p {
    color: #b3b6bb;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: #667eea;
}

/* Footer Social Media */
.footer-social h4 {
    color: #f8fafc;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.2rem;
}

.social-icon.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    color: white;
}

.social-icon.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-icon.linkedin:hover {
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-icon.whatsapp:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

/* Animations */
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Educational Floating Icons */
.floating-education-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.edu-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(102, 126, 234, 0.3);
    font-size: 1.2rem;
    animation: floatEducation 15s infinite ease-in-out;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.edu-icon-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.edu-icon-2 {
    top: 20%;
    right: 8%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.edu-icon-3 {
    top: 60%;
    left: 3%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.edu-icon-4 {
    top: 75%;
    right: 5%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.edu-icon-5 {
    top: 40%;
    left: 2%;
    animation-delay: 8s;
    animation-duration: 24s;
}

.edu-icon-6 {
    top: 15%;
    left: 50%;
    animation-delay: 10s;
    animation-duration: 19s;
}

.edu-icon-7 {
    top: 80%;
    left: 30%;
    animation-delay: 12s;
    animation-duration: 21s;
}

.edu-icon-8 {
    top: 50%;
    right: 2%;
    animation-delay: 14s;
    animation-duration: 17s;
}

@keyframes floatEducation {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container {
        width: 80%;
        max-width: 80%;
        margin: 0 auto;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 75vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        width: 100%;
    }
    
    .hero-floating-subjects {
        display: none;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-text {
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .hero-features {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 2rem;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .feature-highlight-card {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem 0.8rem;
        flex: 1;
        min-width: 120px;
        max-width: 160px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(20px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .feature-highlight-card:hover {
        transform: translateY(-3px);
        background: rgba(102, 126, 234, 0.12);
    }
    
    .feature-icon-small {
        width: 50px;
        height: 50px;
        margin: 0 auto 0.8rem;
        border-radius: 15px;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .feature-text h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
        line-height: 1.2;
    }
    
    .feature-text p {
        font-size: 0.85rem;
        line-height: 1.3;
        margin: 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
    }
    
    .countries-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.2rem;
    }
    
    .subjects-checkboxes {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        width: 80%;
        max-width: 80%;
        margin: 0 auto;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 75vh;
    }
    
    .hero-content {
        width: 100%;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100%;
        flex-direction: column;
        background: linear-gradient(135deg, #0f1419 0%, #1e3c72 25%, #2a5298 50%, #1a365d 75%, #0f172a 100%);
        width: 100%;
        text-align: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(30px);
        border-bottom: 2px solid rgba(102, 126, 234, 0.3);
        padding: 2rem 0 3rem;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu.active {
        left: 0;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active li {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
    
    .nav-link {
        padding: 1rem 2rem;
        margin: 0 1rem;
        background: rgba(102, 126, 234, 0.1);
        border-radius: 30px;
        display: inline-flex;
        width: auto;
        justify-content: center;
        border: 1px solid rgba(102, 126, 234, 0.2);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(102, 126, 234, 0.2);
        transform: translateY(-2px);
    }
    
    .hamburger {
        display: flex;
        z-index: 1002;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .logo-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo-icon i {
        font-size: 1.2rem;
    }
    
    .logo-text h2 {
        font-size: 1.5rem;
    }
    
    .logo-tagline {
        display: none;
    }
    
    .login-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .login-btn span {
        display: none;
    }
    
    .edu-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .hero {
        min-height: 90vh;
        padding: 120px 0 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        min-width: auto;
        padding: 0.8rem 2rem;
        justify-content: center;
        font-size: 1rem;
    }
    
    .hero-features {
        order: -1;
        display: flex;
        flex-direction: row;
        gap: 0.8rem;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .feature-highlight-card {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem 0.8rem;
        flex: 1;
        width: auto;
        min-width: 110px;
        max-width: 140px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(25px);
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .feature-highlight-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.8), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .feature-highlight-card:hover {
        transform: translateY(-5px) scale(1.02);
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
        box-shadow: 
            0 12px 40px rgba(102, 126, 234, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    
    .feature-highlight-card:hover::before {
        opacity: 1;
    }
    
    .feature-icon-small {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
        border-radius: 15px;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 0.8rem;
        box-shadow: 
            0 4px 15px rgba(102, 126, 234, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .feature-icon-small::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: rotate(45deg);
        transition: all 0.6s ease;
        opacity: 0;
    }
    
    .feature-highlight-card:hover .feature-icon-small {
        transform: scale(1.1);
        box-shadow: 
            0 6px 20px rgba(102, 126, 234, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
    
    .feature-highlight-card:hover .feature-icon-small::before {
        opacity: 1;
        animation: shimmer 1s ease-in-out;
    }
    
    @keyframes shimmer {
        0% {
            transform: translateX(-100%) translateY(-100%) rotate(45deg);
        }
        100% {
            transform: translateX(100%) translateY(100%) rotate(45deg);
        }
    }
    
    .feature-text h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
        color: #f8fafc;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    
    .feature-text p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin: 0;
        color: rgba(248, 250, 252, 0.8);
        font-weight: 400;
    }
    
    .hero-floating-subjects {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
        text-align: center;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-text h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .mission-statement {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-answer {
        padding: 1rem 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem 1.5rem;
        max-height: 300px;
    }
    
    .countries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .country-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .country-flag {
        width: 50px;
    }
    
    .expand-icon {
        align-self: center;
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .country-card:hover .country-header::after {
        content: "Tap to view details";
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .subject-tags {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .subject-tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-visual {
        margin-top: 2rem;
    }
    
    .globe-container {
        width: 250px;
        height: 250px;
    }
    
    .globe {
        width: 150px;
        height: 150px;
    }
    
    .orbit-1 {
        width: 200px;
        height: 200px;
    }
    
    .orbit-2 {
        width: 250px;
        height: 250px;
    }
    
    .login-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .subjects-checkboxes {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .bento-item.large {
        grid-column: span 1;
    }
    
    .category-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .country-details {
        padding: 1.5rem;
    }
    
    /* Consent Section Mobile */
    .consent-section {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .consent-checkbox {
        gap: 0.8rem;
    }
    
    .consent-text {
        font-size: 0.9rem;
    }
    
    /* Footer Links Mobile */
    .footer-links ul {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
    
    /* Footer Grid Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-social {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Modal Improvements */
    .modal-content {
        width: 95%;
        max-width: 500px;
        margin: 10% auto;
        padding: 2rem;
    }
    
    .country-modal-content {
        width: 95%;
        max-width: 600px;
        margin: 5% auto;
        padding: 1.5rem;
    }
    
    /* Section Spacing */
    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Trial Form Mobile */
    .trial-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Touch-friendly elements */
    .nav-link,
    .btn-primary,
    .btn-secondary,
    .login-btn,
    .portal-btn,
    .submit-btn,
    .checkbox-item,
    .consent-checkbox,
    .faq-question,
    .country-card {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Improved spacing for mobile */
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    .section-subtitle {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        width: 80%;
        max-width: 80%;
        margin: 0 auto;
        padding: 0 0.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 70vh;
    }
    
    .hero {
        padding: 110px 0 30px;
        min-height: 85vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero-features {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
        width: 100%;
        align-items: center;
        justify-content: center;
        padding: 0 1rem;
    }
    
    .feature-highlight-card {
        flex-direction: row;
        text-align: left;
        padding: 1rem 1.2rem;
        width: 100%;
        max-width: 300px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(25px);
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        align-items: center;
        gap: 1rem;
        position: relative;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .feature-highlight-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.8), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .feature-highlight-card:hover {
        transform: translateY(-3px) scale(1.02);
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
        box-shadow: 
            0 12px 40px rgba(102, 126, 234, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    
    .feature-highlight-card:hover::before {
        opacity: 1;
    }
    
    .feature-icon-small {
        width: 45px;
        height: 45px;
        margin: 0;
        flex-shrink: 0;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 
            0 4px 15px rgba(102, 126, 234, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .feature-icon-small::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: rotate(45deg);
        transition: all 0.6s ease;
        opacity: 0;
    }
    
    .feature-highlight-card:hover .feature-icon-small {
        transform: scale(1.05);
        box-shadow: 
            0 6px 20px rgba(102, 126, 234, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
    
    .feature-highlight-card:hover .feature-icon-small::before {
        opacity: 1;
        animation: shimmer 1s ease-in-out;
    }
    
    .feature-text {
        flex: 1;
    }
    
    .feature-text h4 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
        line-height: 1.2;
    }
    
    .feature-text p {
        font-size: 0.75rem;
        line-height: 1.3;
        margin: 0;
    }
    
    .hero-floating-subjects {
        display: none;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    .trial-form {
        padding: 1.5rem;
    }
    
    .modal-content {
        margin: 15% auto;
        padding: 1.5rem;
    }
    
    .country-modal-content {
        padding: 1rem;
    }
    
    .country-header {
        padding: 1rem;
    }
    
    .curriculum-info h5,
    .subjects-available h6,
    .class-times h6,
    .key-features h6 {
        font-size: 1rem;
    }
    
    .subject-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .mission-statement {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .globe-container {
        width: 200px;
        height: 200px;
    }
    
    .globe {
        width: 120px;
        height: 120px;
    }
    
    .orbit-1 {
        width: 150px;
        height: 150px;
    }
    
    .orbit-2 {
        width: 200px;
        height: 200px;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
    
    .consent-text {
        font-size: 0.85rem;
    }
    
    .checkbox-item {
        padding: 0.8rem;
    }
    
    .mission-text h2 {
        font-size: 1.8rem;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .category-title i {
        font-size: 1.5rem;
    }
    
    .country-info h4 {
        font-size: 1.2rem;
    }
    
    .timezone {
        font-size: 0.8rem;
    }
    
    .login-option {
        padding: 1.5rem;
    }
    
    .login-option h3 {
        font-size: 1.2rem;
    }
    
    .login-option p {
        font-size: 0.85rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .footer-logo p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .footer-links h4,
    .footer-contact h4,
    .footer-social h4 {
        font-size: 1rem;
    }
    
    .footer-contact p {
        font-size: 0.9rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info span {
        font-size: 0.85rem;
    }
    
    .author-info small {
        font-size: 0.75rem;
    }
    
    .rating i {
        font-size: 1rem;
    }
    
    .mission-stat .stat-number {
        font-size: 2.5rem;
    }
    
    .mission-stat .stat-label {
        font-size: 0.9rem;
    }
    
    .feature-benefits li {
        font-size: 0.9rem;
    }
    
    .feature-benefits i {
        font-size: 0.8rem;
    }
    
    .close {
        font-size: 24px;
        top: 0.5rem;
        right: 1rem;
    }
}

/* Landscape phone styles */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-container {
        width: 80%;
        max-width: 80%;
        margin: 0 auto;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 80vh;
    }
    
    .hero {
        min-height: 100vh;
        padding: 80px 0 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-floating-subjects {
        display: none;
    }
    
    .nav-menu {
        top: 80px;
    }
    
    .modal-content {
        margin: 5% auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .country-modal-content {
        margin: 2% auto;
        max-height: 96vh;
        overflow-y: auto;
    }
}

/* Print styles */
@media print {
    .header,
    .hamburger,
    .login-btn,
    .hero-buttons,
    .floating-education-icons,
    .modal,
    .trial-form,
    .footer-social {
        display: none !important;
    }
    
    .hero {
        padding: 20px 0;
        min-height: auto;
    }
    
    .hero-title {
        color: #000;
        font-size: 2rem;
    }
    
    .hero-subtitle {
        color: #333;
    }
    
    .section-title {
        color: #000;
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        color: #333;
    }
    
    .feature-card,
    .testimonial-card,
    .country-card {
        border: 1px solid #ddd;
        background: #fff;
        break-inside: avoid;
    }
    
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .footer {
        border-top: 1px solid #ddd;
        background: #fff;
    }
    
    .footer-content {
        color: #333;
    }
    
    .footer-logo h3 {
        color: #000;
    }
    
    .footer-logo p,
    .footer-links a,
    .footer-contact p {
        color: #333;
    }
}