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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --dark-bg: #0a0e27;
    --light-bg: #ffffff;
    --section-bg: #f8fafc;
    --text-dark: #0f172a;
    --text-light: #475569;
    --text-muted: #64748b;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
    display: block;
    position: absolute;
    left: 0;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

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

.nav-links > li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
    display: inline-block;
}

.nav-links > li:not(.dropdown) > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links > li:not(.dropdown) > a:hover::after {
    width: 100%;
}

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

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown:hover .dropdown-arrow,
.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--section-bg);
    color: var(--primary-color);
    padding-left: 1.75rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2a1f3a 100%);
    color: var(--white);
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2a1f3a 100%);
}

/* Wireframe Sphere */
.wireframe-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    animation: spherePulse 4s ease-in-out infinite, sphereFloat 8s ease-in-out infinite;
}

.wireframe-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-radius: 50%;
    opacity: 0.6;
    animation: ringRotate 20s linear infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    border-color: #6366f1;
    box-shadow: 0 0 20px #6366f1, inset 0 0 20px #6366f1;
    transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg);
    animation-delay: 0s;
}

.ring-2 {
    width: 250px;
    height: 250px;
    border-color: #7c3aed;
    box-shadow: 0 0 20px #7c3aed, inset 0 0 20px #7c3aed;
    transform: translate(-50%, -50%) rotateX(30deg) rotateY(30deg);
    animation-delay: -2.5s;
}

.ring-3 {
    width: 300px;
    height: 300px;
    border-color: #8b5cf6;
    box-shadow: 0 0 25px #8b5cf6, inset 0 0 25px #8b5cf6;
    transform: translate(-50%, -50%) rotateX(60deg) rotateY(60deg);
    animation-delay: -5s;
}

.ring-4 {
    width: 350px;
    height: 350px;
    border-color: #a855f7;
    box-shadow: 0 0 30px #a855f7, inset 0 0 30px #a855f7;
    transform: translate(-50%, -50%) rotateX(90deg) rotateY(90deg);
    animation-delay: -7.5s;
}

.ring-5 {
    width: 400px;
    height: 400px;
    border-color: #c084fc;
    box-shadow: 0 0 35px #c084fc, inset 0 0 35px #c084fc;
    transform: translate(-50%, -50%) rotateX(120deg) rotateY(120deg);
    animation-delay: -10s;
}

.ring-6 {
    width: 450px;
    height: 450px;
    border-color: #8b5cf6;
    box-shadow: 0 0 30px #8b5cf6, inset 0 0 30px #8b5cf6;
    transform: translate(-50%, -50%) rotateX(150deg) rotateY(150deg);
    animation-delay: -12.5s;
}

.ring-7 {
    width: 500px;
    height: 500px;
    border-color: #6366f1;
    box-shadow: 0 0 25px #6366f1, inset 0 0 25px #6366f1;
    transform: translate(-50%, -50%) rotateX(180deg) rotateY(180deg);
    animation-delay: -15s;
}

.ring-8 {
    width: 550px;
    height: 550px;
    border-color: #7c3aed;
    box-shadow: 0 0 20px #7c3aed, inset 0 0 20px #7c3aed;
    transform: translate(-50%, -50%) rotateX(210deg) rotateY(210deg);
    animation-delay: -17.5s;
}

/* Glow Particles */
.glow-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.glow-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    opacity: 0.7;
    animation: particleFloat 15s ease-in-out infinite;
}

.glow-particles .particle:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
    background: #6366f1;
    box-shadow: 0 0 10px #6366f1, 0 0 20px #6366f1;
}

.glow-particles .particle:nth-child(2) {
    top: 30%;
    left: 25%;
    animation-delay: -1.5s;
    background: #8b5cf6;
    box-shadow: 0 0 10px #8b5cf6, 0 0 20px #8b5cf6;
}

.glow-particles .particle:nth-child(3) {
    top: 40%;
    left: 35%;
    animation-delay: -3s;
    background: #a855f7;
    box-shadow: 0 0 10px #a855f7, 0 0 20px #a855f7;
}

.glow-particles .particle:nth-child(4) {
    top: 50%;
    left: 45%;
    animation-delay: -4.5s;
    background: #6366f1;
    box-shadow: 0 0 10px #6366f1, 0 0 20px #6366f1;
}

.glow-particles .particle:nth-child(5) {
    top: 60%;
    left: 55%;
    animation-delay: -6s;
    background: #8b5cf6;
    box-shadow: 0 0 10px #8b5cf6, 0 0 20px #8b5cf6;
}

.glow-particles .particle:nth-child(6) {
    top: 70%;
    left: 65%;
    animation-delay: -7.5s;
    background: #a855f7;
    box-shadow: 0 0 10px #a855f7, 0 0 20px #a855f7;
}

.glow-particles .particle:nth-child(7) {
    top: 25%;
    left: 75%;
    animation-delay: -9s;
    background: #6366f1;
    box-shadow: 0 0 10px #6366f1, 0 0 20px #6366f1;
}

.glow-particles .particle:nth-child(8) {
    top: 35%;
    left: 85%;
    animation-delay: -10.5s;
    background: #8b5cf6;
    box-shadow: 0 0 10px #8b5cf6, 0 0 20px #8b5cf6;
}

.glow-particles .particle:nth-child(9) {
    top: 45%;
    left: 20%;
    animation-delay: -12s;
    background: #a855f7;
    box-shadow: 0 0 10px #a855f7, 0 0 20px #a855f7;
}

.glow-particles .particle:nth-child(10) {
    top: 55%;
    left: 80%;
    animation-delay: -13.5s;
    background: #6366f1;
    box-shadow: 0 0 10px #6366f1, 0 0 20px #6366f1;
}

.glow-particles .particle:nth-child(11) {
    top: 65%;
    left: 30%;
    animation-delay: -15s;
    background: #8b5cf6;
    box-shadow: 0 0 10px #8b5cf6, 0 0 20px #8b5cf6;
}

.glow-particles .particle:nth-child(12) {
    top: 75%;
    left: 70%;
    animation-delay: -16.5s;
    background: #a855f7;
    box-shadow: 0 0 10px #a855f7, 0 0 20px #a855f7;
}

/* Animations */
@keyframes spherePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

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

@keyframes ringRotate {
    0% {
        transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(20px, -30px) scale(1.5);
        opacity: 1;
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* About Section */
.about-section {
    background: var(--white);
    padding: 100px 0;
}

.about-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.about-paragraph {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 400;
}

.about-paragraph:last-child {
    margin-bottom: 0;
}

/* Program Section */
.program-section {
    background: var(--section-bg);
}

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

.feature-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    text-decoration: none;
    color: inherit;
}

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

.feature-accent {
    width: 48px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Curriculum Section */
.curriculum-list {
    max-width: 900px;
    margin: 0 auto;
}

.curriculum-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 0;
    align-items: flex-start;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    margin-top: -1px;
    overflow: hidden;
}

.curriculum-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
    z-index: 1;
}

.curriculum-item:first-child {
    padding-top: 2rem;
}

.curriculum-item:last-child {
    border-bottom: none;
    padding-bottom: 2rem;
}

.curriculum-item:hover {
    text-decoration: none;
    color: inherit;
    background: rgba(99, 102, 241, 0.02);
    border-color: var(--primary-color);
    border-width: 1px;
    border-radius: 8px;
}

.curriculum-item:hover::before {
    transform: scaleY(1);
}

.curriculum-accent {
    width: 4px;
    height: 100%;
    min-height: 60px;
    background: var(--gradient);
    border-radius: 2px;
    flex-shrink: 0;
    transition: width 0.2s ease;
    margin-left: 12px;
    position: relative;
    z-index: 2;
}

.curriculum-item:hover .curriculum-accent {
    width: 6px;
}

.curriculum-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.curriculum-content p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* Contact Section */
.contact-section {
    background: var(--section-bg);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Page Styles */
.contact-page-section {
    padding: 120px 0 100px;
    background: var(--white);
}

.contact-page-header {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.contact-page-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 1rem;
}

.contact-page-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--section-bg);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--white);
    color: var(--text-dark);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236366f1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 18px 36px;
    font-size: 1.1rem;
}

#other-service-group {
    animation: slideDown 0.3s ease;
}

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

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

/* Feature Detail Pages */
.feature-detail-section {
    padding: 120px 0 100px;
    background: var(--white);
}

.feature-detail-header {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 3rem;
    transition: all 0.2s ease;
    font-weight: 400;
    opacity: 0.7;
}

.back-link:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateX(-4px);
}

.back-link::before {
    content: '←';
    margin-right: 0.5rem;
    font-size: 1rem;
}

.feature-detail-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.feature-detail-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.feature-detail-content {
    max-width: 850px;
    margin: 0 auto;
}

.feature-detail-text h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.feature-detail-text h2:first-child {
    margin-top: 0;
}

.feature-detail-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile backdrop overlay */
.mobile-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    cursor: pointer;
}

.mobile-backdrop.active {
    display: block;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
        gap: 0;
        display: flex;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links > li {
        width: 100%;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 0.5rem;
    }

    .nav-links > li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
    }

    .nav-links > li:not(.dropdown) > a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin: 0.5rem 0 0 0;
        padding: 0;
        background: transparent;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 0.5rem 0 0.5rem 0;
    }

    .dropdown-menu li {
        margin-bottom: 0;
        border-bottom: none;
        padding-bottom: 0;
    }

    .dropdown-menu a {
        padding: 0.75rem 1rem 0.75rem 1.5rem;
        font-size: 0.9rem;
        color: var(--text-muted);
        display: block;
        border-left: 3px solid transparent;
        transition: all 0.2s ease;
    }

    .dropdown-menu a:hover {
        padding-left: 1.75rem;
        background: transparent;
        color: var(--primary-color);
        border-left-color: var(--primary-color);
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-paragraph {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .curriculum-item {
        flex-direction: row;
        gap: 1.5rem;
    }

    .curriculum-accent {
        width: 4px;
        min-height: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-section {
        padding: 60px 0;
    }

    .feature-detail-header h1 {
        font-size: 2.25rem;
    }

    .feature-detail-subtitle {
        font-size: 1.1rem;
    }

    .feature-detail-text h2 {
        font-size: 1.5rem;
    }

    .feature-detail-text p {
        font-size: 1rem;
    }

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

    .contact-page-form {
        padding: 2rem;
    }

    .contact-page-header h1 {
        font-size: 2rem;
    }
}

