@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    /* Color scheme (requested) */
    --primary: #0B2C5F; /* dark blue */
    --secondary: #0A1F44; /* navy */
    --accent: #F4B400; /* yellow/gold */

    --bg-color: #FFFFFF;
    --bg-soft: #F6F9FF;
    --panel: #FFFFFF;

    --heading: #0B2C5F;
    --text-main: #333333;
    --text-muted: rgba(51, 51, 51, 0.72);

    --border-color: rgba(11, 44, 95, 0.12);

    --shadow-sm: 0 6px 18px rgba(11, 44, 95, 0.12);
    --shadow-md: 0 14px 30px rgba(11, 44, 95, 0.14);
    --shadow-lg: 0 20px 50px rgba(11, 44, 95, 0.18);

    --radius: 18px;
    --radius-pill: 999px;

    --ease: ease-in-out;
    --t-fast: 0.3s var(--ease);
    --t: 0.4s var(--ease);
}

@keyframes fadeInUpSoft {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes highlightPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Reset ── */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 0%, rgba(11, 44, 95, 0.12) 0%, rgba(255, 255, 255, 0) 55%),
        radial-gradient(circle at 90% 10%, rgba(11, 44, 95, 0.08) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, rgba(11, 44, 95, 0.06) 0%, rgba(255, 255, 255, 1) 40%);
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--heading);
}

a {
    color: var(--heading);
    text-decoration: none;
    transition: color var(--t-fast);
}

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

/* ── Utilities ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient-blue {
    color: var(--heading);
}

.text-gradient-orange {
    color: var(--accent);
    display: inline-block;
}

/* ── Glossy Button Mixin ── */
.btn-primary {
    background: var(--accent);
    color: var(--secondary);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
    display: inline-block;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.06) 55%, rgba(255, 255, 255, 0) 100%);
    border-radius: inherit;
    opacity: 0.35;
    pointer-events: none;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--primary);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
    display: inline-block;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.08) 55%, rgba(255, 255, 255, 0) 100%);
    border-radius: inherit;
    opacity: 0.28;
    pointer-events: none;
}

.btn-secondary:hover {
    transform: scale(1.05);
    background: var(--accent);
    color: var(--secondary);
    box-shadow: var(--shadow-md);
}

/* ── Navbar ── */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 31, 68, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-sm);
    animation: navFadeIn 0.6s ease both;
}

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

.navbar .logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}

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

.nav-links a {
    font-weight: 500;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--t-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent);
    border-radius: 2px;
    transition: width var(--t-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: #fff;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    background: var(--accent);
}

main {
    padding-top: 100px;
}

main:has(.hero-carousel-section:first-child) {
    padding-top: 0;
}

/* ── Hero Section ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.hero .cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ── Section Common ── */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* ── Programs Grid ── */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: var(--panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    box-shadow: var(--shadow-sm);
}

/* Glossy top sheen */
.program-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(11, 44, 95, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: var(--radius) var(--radius) 0 0;
    pointer-events: none;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    border-radius: var(--radius) var(--radius) 0 0;
    transform: scaleX(0);
    transition: transform var(--t);
    transform-origin: left;
}

.program-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11, 44, 95, 0.18);
    box-shadow: var(--shadow-md);
}

.program-card:hover::before {
    transform: scaleX(1);
    background: var(--accent);
}

.program-step {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.program-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--heading);
}

.program-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ── Contact Form ── */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background: var(--panel);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.contact-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--heading);
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-form {
    flex: 1.5;
    min-width: 300px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 1rem;
    border-radius: 12px;
    font-family: inherit;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-control:focus {
    outline: none;
    border-color: rgba(244, 180, 0, 0.65);
    box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.22);
}

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

/* ── Alert ── */
.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    background: rgba(244, 180, 0, 0.16);
    border: 1px solid rgba(244, 180, 0, 0.35);
    color: var(--secondary);
}

/* ── Stats Grid ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 1.5rem;
    background: var(--panel);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.stat-card h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--heading);
}

.stat-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ── Tech Stack Grid ── */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.tech-card {
    background: var(--panel);
    border: 1px solid var(--border-color);
    padding: 1.5rem 1rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
    box-shadow: var(--shadow-sm);
}

.tech-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.tech-card:hover {
    transform: translateY(-6px);
    border-color: rgba(11, 44, 95, 0.18);
    box-shadow: var(--shadow-md);
}

.tech-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--heading);
    display: block;
}

.tech-card span {
    font-weight: 600;
    display: block;
    color: var(--text-main);
}

/* ── CTA Banner ── */
.cta-banner {
    background: var(--secondary);
    color: white;
    text-align: center;
    border-radius: calc(var(--radius) + 6px);
    padding: 3rem 2rem;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    position: relative;
}

/* Glossy overlay */
.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

/* Subtle orb */
.cta-banner::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(244, 180, 0, 0.12);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
}

.cta-banner .btn-secondary {
    background: white;
    color: var(--secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
}

.cta-banner .btn-secondary:hover {
    transform: scale(1.05);
    background: var(--accent);
    color: var(--secondary);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .hero-carousel-section {
        height: 60vh;
        min-height: 420px;
    }

    .hero-slide-content h1 {
        font-size: 2.2rem;
    }

    .hero-slide-content .hero-sub {
        font-size: 1rem;
    }
}

/* ── Hero Carousel ── */
.hero-carousel-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 580px;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
    z-index: 1;
}

.swiper-slide-active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 31, 68, 0.88) 0%,
        rgba(11, 44, 95, 0.65) 60%,
        rgba(10, 31, 68, 0.45) 100%
    );
    z-index: 2;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    animation: heroContentIn 0.8s ease both;
}

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

.hero-slide-content .hero-tagline {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.hero-slide-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hs-accent {
    color: #fff;
}

.hs-gold {
    color: var(--accent);
}

.hero-slide-content .hero-sub {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

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

/* Hero nav buttons */
.hero-nav-btn {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    width: 52px !important;
    height: 52px !important;
    border-radius: 50%;
    transition: background 0.3s;
}

.hero-nav-btn::after {
    font-size: 1.2rem !important;
}

.hero-nav-btn:hover {
    background: rgba(244, 180, 0, 0.45) !important;
}

/* Hero pagination dots */
.hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--accent) !important;
    width: 28px;
    border-radius: 5px;
    transition: width 0.3s;
}

/* ── Footer ── */
.site-footer {
    background: var(--secondary);
    color: #fff;
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

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

.footer-col h4 {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom:1rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    border-radius: 8px;
}

.footer-company-name {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--t-fast);
}

.footer-links a:hover {
    color: var(--accent);
}

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