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

:root {
    --primary-color: #1a4d7a;
    --secondary-color: #2980b9;
    --accent-color: #3498db;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gold-color: #f39c12;
    --text-dark: #34495e;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1a4d7a 0%, #2980b9 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 77, 122, 0.9) 0%, rgba(41, 128, 185, 0.9) 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-lg);
}

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

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: -5px;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(26, 77, 122, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.menu-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    background: var(--accent-color);
    opacity: 0;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

.menu-toggle:hover {
    background: rgba(26, 77, 122, 0.1);
    transform: scale(1.1);
}

.menu-toggle:hover::before {
    animation: none;
}

.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.menu-toggle .bar::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gold-color);
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-toggle:hover .bar::after {
    opacity: 1;
}

/* Hero Section - Extraordinary Design */
.hero {
    position: relative;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    overflow: hidden;
    padding: 100px 20px 180px;
}

/* Floating Shapes Background */
.hero-bg-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: floatShapes 20s ease-in-out infinite;
    opacity: 0.3;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--gold-color), #e67e22);
    top: 20%;
    right: -5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    bottom: -15%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    top: 60%;
    right: 25%;
    animation-delay: 1s;
}

.shape-5 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--gold-color), var(--accent-color));
    top: 40%;
    left: 50%;
    animation-delay: 3s;
}

@keyframes floatShapes {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Particles */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.4) 0%, transparent 70%);
    top: -20%;
    right: 10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.3) 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    animation-delay: 3s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.3) 0%, transparent 70%);
    top: 40%;
    left: 40%;
    animation-delay: 6s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, -50px) scale(1.1);
    }
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    width: 100%;
    padding: 20px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease 0.2s both;
}

.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    animation: rotate360 6s linear infinite;
}

.badge-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Hero Title */
.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.title-line {
    display: block;
    animation: slideInLeft 1s ease 0.4s both;
}

.title-line:nth-child(2) {
    animation: slideInRight 1s ease 0.6s both;
}

.highlight-text {
    background: linear-gradient(135deg, var(--gold-color), #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
    border-radius: 2px;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; box-shadow: 0 0 10px var(--gold-color); }
    50% { opacity: 1; box-shadow: 0 0 20px var(--gold-color); }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.9rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.subtitle-word {
    display: inline-block;
    animation: fadeInUp 0.8s ease both;
    opacity: 0;
}

.subtitle-word:nth-child(1) { animation-delay: 0.8s; color: rgba(255, 255, 255, 0.9); }
.subtitle-word:nth-child(2) { animation-delay: 1s; color: var(--gold-color); }
.subtitle-word:nth-child(3) { animation-delay: 1.2s; color: rgba(255, 255, 255, 0.9); }

.hero-description {
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: fadeIn 1s ease 1.4s both;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1.6s both;
}

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

.stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-color), #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
    animation: fadeInUp 1s ease 1.8s both;
}

/* Button Icons */
.btn-text {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    width: 1.25rem;
    height: 1.25rem;
    transform: translateX(-5px);
    transition: transform 0.3s ease;
}

.btn-icon svg {
    width: 100%;
    height: 100%;
}

.btn:hover .btn-text {
    transform: translateX(-5px);
}

.btn:hover .btn-icon {
    transform: translateX(10px);
}

/* Hero Features Badges */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 2s both;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.3);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-badge:nth-child(2) .feature-icon {
    color: var(--accent-color);
}

.feature-badge:nth-child(3) .feature-icon {
    color: var(--primary-color);
}

.feature-badge:hover .feature-icon {
    transform: scale(1.15);
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gold-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.btn-primary:hover {
    background: #e67e22;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(1.02);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeIn 1s ease 2.5s both;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    animation: scrollFloat 2s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--gold-color);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--gold-color);
}

.scroll-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Realistic Water Wave */
.water-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 5;
    overflow: hidden;
}

.wave-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wave-path {
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.wave-back {
    animation: wave-back 8s ease-in-out infinite;
    opacity: 0.5;
}

.wave-middle {
    animation: wave-middle 6s ease-in-out infinite;
    opacity: 0.7;
}

.wave-front {
    animation: wave-front 4s ease-in-out infinite;
    opacity: 1;
}

/* Wave animations - vertical movement for realistic water effect */
@keyframes wave-back {
    0%, 100% {
        d: path("M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z");
    }
    25% {
        d: path("M0,128L48,133.3C96,139,192,149,288,144C384,139,480,117,576,112C672,107,768,117,864,128C960,139,1056,149,1152,144C1248,139,1344,117,1392,106.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z");
    }
    50% {
        d: path("M0,160L48,154.7C96,149,192,139,288,133.3C384,128,480,128,576,138.7C672,149,768,171,864,165.3C960,160,1056,128,1152,117.3C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z");
    }
    75% {
        d: path("M0,128L48,138.7C96,149,192,171,288,165.3C384,160,480,128,576,117.3C672,107,768,117,864,133.3C960,149,1056,171,1152,170.7C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z");
    }
}

@keyframes wave-middle {
    0%, 100% {
        d: path("M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,213.3C672,224,768,224,864,213.3C960,203,1056,181,1152,170.7C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z");
    }
    33% {
        d: path("M0,192L48,202.7C96,213,192,235,288,234.7C384,235,480,213,576,197.3C672,181,768,171,864,181.3C960,192,1056,224,1152,229.3C1248,235,1344,213,1392,202.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z");
    }
    66% {
        d: path("M0,256L48,245.3C96,235,192,213,288,213.3C384,213,480,235,576,245.3C672,256,768,256,864,240C960,224,1056,192,1152,181.3C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z");
    }
}

@keyframes wave-front {
    0%, 100% {
        d: path("M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,245.3C1248,256,1344,224,1392,208L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z");
    }
    50% {
        d: path("M0,224L48,218.7C96,213,192,203,288,197.3C384,192,480,192,576,213.3C672,235,768,277,864,266.7C960,256,1056,192,1152,170.7C1248,149,1344,171,1392,181.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z");
    }
}

/* Section Styles */
section {
    padding: 100px 0;
    scroll-margin-top: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    position: relative;
    background: var(--light-color);
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 15s ease-in-out infinite;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.about-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    z-index: 1;
}

.about-text .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.mission-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.mission-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.1), rgba(52, 152, 219, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.15);
}

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

.mission-card h3 {
    position: relative;
    z-index: 1;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.mission-card p {
    position: relative;
    z-index: 1;
    color: var(--text-dark);
    line-height: 1.7;
}

.mv-icon {
    position: relative;
    z-index: 1;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.18), rgba(52, 152, 219, 0.12));
    border-radius: 16px;
}

.mv-icon svg {
    width: 58%;
    height: 58%;
}

.vision-card {
    border-color: rgba(52, 152, 219, 0.4);
}

.vision-card .mv-icon {
    color: var(--accent-color);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.18), rgba(241, 196, 15, 0.12));
}

#mission,
#vision {
    scroll-margin-top: 140px;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(243, 156, 18, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(26, 77, 122, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

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

.feature-card .feature-icon {
    width: 3.2rem;
    height: 3.2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.18), rgba(52, 152, 219, 0.12));
    border-radius: 16px;
    padding: 0.75rem;
}

.feature-card .feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card:hover .feature-icon {
    transform: scale(1.12) translateY(-4px);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Courses Section */
.courses-section {
    position: relative;
    background: var(--white);
    overflow: hidden;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 77, 122, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatReverse 18s ease-in-out infinite;
}

@keyframes floatReverse {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 40px) rotate(180deg); }
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.course-card:hover {
    transform: translateY(-15px) rotateY(2deg);
    box-shadow: 0 25px 60px rgba(26, 77, 122, 0.25);
}

.course-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-image {
    transform: scale(1.1);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.btn-view {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.btn-view::after {
    content: '\2192';
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-view:hover {
    background: var(--gold-color);
    color: var(--white);
    padding-right: 2.5rem;
    transform: scale(1.1);
}

.btn-view:hover::after {
    right: 1rem;
    opacity: 1;
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.course-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    position: relative;
    background: var(--light-color);
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 22s ease-in-out infinite;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    height: 300px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(26, 77, 122, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(2deg);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 77, 122, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    color: #fff;
}

.gallery-icon svg {
    width: 100%;
    height: 100%;
}

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

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

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

.info-card {
    background: rgba(236, 240, 241, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.info-card:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-8px) scale(1.03);
    border-color: var(--gold-color);
    box-shadow: 0 15px 40px rgba(26, 77, 122, 0.3);
}

.info-card:hover .info-icon {
    transform: scale(1.2) rotate(360deg);
    color: var(--white);
    background: rgba(255, 255, 255, 0.22);
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.22), rgba(41, 128, 185, 0.12));
    border-radius: 18px;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-icon svg {
    width: 60%;
    height: 60%;
}

.info-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.info-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form {
    background: rgba(236, 240, 241, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-form:hover {
    box-shadow: var(--shadow-lg);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(52, 152, 219, 0.3);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    border: none;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--light-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--gold-color);
    padding-left: 5px;
}

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

.footer-bottom p {
    color: var(--light-color);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(243, 156, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top svg {
    width: 55%;
    height: 55%;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: bounceIn 0.6s ease;
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-8px) scale(1.1) rotate(360deg);
    box-shadow: 0 15px 40px rgba(26, 77, 122, 0.4);
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scrollFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(26, 77, 122, 0.98) 0%, rgba(41, 128, 185, 0.98) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 80%;
        max-width: 350px;
        text-align: left;
        transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
        padding: 120px 0 2rem;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:
            radial-gradient(circle at 20% 30%, rgba(243, 156, 18, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.15) 0%, transparent 50%);
        pointer-events: none;
        animation: gradientShift 8s ease-in-out infinite;
    }

    @keyframes gradientShift {
        0%, 100% { opacity: 0.8; transform: scale(1); }
        50% { opacity: 1; transform: scale(1.1); }
    }

    .nav-menu::after {
        content: 'NIHOM';
        position: absolute;
        top: 30px;
        left: 2rem;
        font-size: 2rem;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.1);
        letter-spacing: 3px;
        pointer-events: none;
    }

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

    .nav-menu li {
        padding: 0;
        margin: 0 2rem 1rem 2rem;
        transform: translateX(100px);
        opacity: 0;
        transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        position: relative;
    }

    .nav-menu.active li {
        transform: translateX(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-menu li::before {
        content: '';
        position: absolute;
        left: -2rem;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        background: var(--gold-color);
        border-radius: 50%;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-menu li:hover::before {
        opacity: 1;
        width: 12px;
    }

    .nav-link {
        color: var(--white);
        font-size: 1.2rem;
        font-weight: 600;
        padding: 1rem 1.5rem;
        display: block;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;
    }

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

    .nav-link:hover::before {
        left: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: var(--gold-color);
        transform: translateX(10px) scale(1.05);
        color: var(--gold-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .nav-link.active {
        background: rgba(243, 156, 18, 0.2);
        border-color: var(--gold-color);
        color: var(--gold-color);
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active {
        background: rgba(243, 156, 18, 0.15);
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
        background: linear-gradient(135deg, var(--gold-color), #e67e22);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
        background: linear-gradient(135deg, var(--gold-color), #e67e22);
    }

    /* Mobile overlay */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }

    /* Hero Responsive */
    .hero {
        min-height: auto;
        padding: 100px 20px 160px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .hero-stats {
        gap: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-divider {
        height: 40px;
    }

    .hero-buttons {
        margin-bottom: 1.2rem;
    }

    .floating-shape {
        filter: blur(60px);
    }

    .shape-1, .shape-2, .shape-3 {
        width: 300px;
        height: 300px;
    }

    .water-wave {
        height: 120px;
    }

    .scroll-indicator {
        bottom: 140px;
    }

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

    .courses-grid,
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 90px 15px 140px;
    }

    .hero-badge {
        margin-bottom: 1rem;
        font-size: 0.75rem;
        padding: 7px 14px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .title-line {
        display: inline;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 5px;
        margin-bottom: 0.6rem;
    }

    .hero-description {
        font-size: 0.8rem;
        margin-bottom: 0.9rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 0.75rem;
        margin-bottom: 0.9rem;
        justify-content: center;
    }

    .stat-item {
        flex: 0 1 auto;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 1.35rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .hero-buttons {
        margin-bottom: 0.9rem;
        gap: 0.75rem;
    }

    .hero-features {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .feature-badge {
        font-size: 0.7rem;
        padding: 7px 12px;
        flex: 0 1 auto;
    }

    .water-wave {
        height: 100px;
    }

    .scroll-indicator {
        bottom: 120px;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }

    .hero {
        min-height: auto;
        padding: 85px 15px 120px;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 12px;
        margin-bottom: 0.75rem;
    }

    .hero-title {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .hero-description {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
        line-height: 1.6;
    }

    .hero-stats {
        flex-direction: row;
        margin-bottom: 0.75rem;
        gap: 0.5rem;
        justify-content: center;
    }

    .stat-item {
        flex: 0 1 auto;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        margin-bottom: 0.75rem;
        gap: 0.65rem;
    }

    .btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    .hero-features {
        flex-direction: row;
        justify-content: center;
        gap: 0.4rem;
        flex-wrap: wrap;
    }

    .feature-badge {
        font-size: 0.65rem;
        padding: 6px 10px;
        flex: 0 1 auto;
    }

    .feature-icon {
        width: 1.3rem;
        height: 1.3rem;
    }

    .floating-shape {
        filter: blur(40px);
        opacity: 0.2;
    }

    .water-wave {
        height: 80px;
    }

    .scroll-indicator {
        bottom: 100px;
        transform: translateX(-50%) scale(0.85);
    }

    .courses-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
