:root {
    --royal-blue: #305cde;
    --royal-blue-dark: #1e3a8a;
    --royal-blue-light: #4169e1;
    --royal-blue-accent: #60a5fa;
    --gold: #efbf04;
    --ivory: #ffffe3;
    --charcoal: #4a4a4a;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-soft:
        0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(48, 92, 222, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background: var(--light-gray);
    overflow-x: hidden;
}

/* ─── Navigation ─────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-soft);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--royal-blue);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    flex-shrink: 0;
}

.logo-icon img {
    height: 40px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--royal-blue);
    transition: width 0.3s ease;
}

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

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

.nav-cta {
    background: linear-gradient(135deg,
            var(--royal-blue) 0%,
            var(--royal-blue-light) 100%);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--royal-blue);
    padding: 0.25rem;
    line-height: 1;
}

/* ─── Mobile Menu ────────────────────────────────────────── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 5rem 2rem 2rem;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1.25rem;
    color: var(--royal-blue-dark);
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 0.5rem;
    border-bottom: 1px solid rgba(48, 92, 222, 0.1);
    transition: color 0.2s ease;
}

.mobile-menu a:hover {
    color: var(--royal-blue);
}

.close-menu {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.25rem;
    cursor: pointer;
    color: var(--royal-blue);
    line-height: 1;
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg,
            var(--royal-blue-dark) 0%,
            var(--royal-blue) 50%,
            var(--royal-blue-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text h1 {
    font-family: "Playfair Display", serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-text h1 span {
    color: var(--gold);
}

.hero-text p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary {
    background: var(--gold);
    color: var(--royal-blue-dark);
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(239, 191, 4, 0.3);
    font-size: 0.95rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(239, 191, 4, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

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

.hero-visual {
    position: relative;
    animation: fadeIn 1.5s ease;
}

.hero-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--royal-blue);
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--charcoal);
    font-weight: 500;
}

/* ─── Floating Elements ───────────────────────────────────── */
.floating-badge {
    position: absolute;
    background: white;
    padding: 0.625rem 1rem;
    border-radius: 50px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    animation: float 6s ease-in-out infinite;
}

.floating-badge-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.floating-badge-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: 2s;
}

.badge-icon {
    width: 24px;
    height: 24px;
    background: var(--royal-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
}

/* ─── Services Section ───────────────────────────────────── */
.services {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(48, 92, 222, 0.1);
    color: var(--royal-blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-title {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    color: var(--royal-blue-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--charcoal);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(48, 92, 222, 0.1);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            var(--royal-blue) 0%,
            var(--royal-blue-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg,
            rgba(48, 92, 222, 0.1) 0%,
            rgba(48, 92, 222, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--royal-blue);
}

.service-card h3 {
    font-size: 1.125rem;
    color: var(--royal-blue-dark);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--charcoal);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ─── Training Section ───────────────────────────────────── */
.training {
    background: linear-gradient(135deg,
            var(--royal-blue-dark) 0%,
            var(--royal-blue) 100%);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.training::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.training-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.training-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.training-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.training-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.25rem;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.feature-text h4 {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

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

.training-visual {
    position: relative;
}

.training-image-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.bento-item {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(48, 92, 222, 0.1);
}

.bento-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-soft);
}

.bento-item.large {
    grid-column: span 2;
    background: linear-gradient(135deg,
            var(--royal-blue) 0%,
            var(--royal-blue-light) 100%);
    color: white;
}

.bento-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.bento-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.bento-item p {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ─── Why Choose Us ──────────────────────────────────────── */
.why-us {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.why-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg,
            var(--royal-blue) 0%,
            var(--royal-blue-light) 100%);
    transition: height 0.4s ease;
    z-index: 0;
}

.why-card:hover::after {
    height: 100%;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-card > * {
    position: relative;
    z-index: 1;
}

.why-card:hover h4,
.why-card:hover p {
    color: white;
}

.why-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg,
            var(--royal-blue) 0%,
            var(--royal-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    transition: all 0.4s ease;
}

.why-card:hover .why-icon {
    background: white;
    color: var(--royal-blue);
}

.why-card h4 {
    font-size: 1.125rem;
    color: var(--royal-blue-dark);
    margin-bottom: 0.5rem;
    transition: color 0.4s ease;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--charcoal);
    transition: color 0.4s ease;
}

/* ─── FAQ Section ────────────────────────────────────────── */
.faq {
    background: var(--light-gray);
    padding: 6rem 2rem;
}

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

.faq-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(48, 92, 222, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--royal-blue-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.faq-question:hover {
    background: rgba(48, 92, 222, 0.05);
}

.faq-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(48, 92, 222, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--royal-blue);
}

.faq-item.active .faq-icon {
    background: var(--royal-blue);
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease,
        padding 0.4s ease;
}

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

.faq-answer p {
    color: var(--charcoal);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ─── CTA Section ────────────────────────────────────────── */
.cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg,
            var(--royal-blue) 0%,
            var(--royal-blue-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.25rem;
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 520px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-input {
    flex: 1;
    min-width: 220px;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    outline: none;
    transition: all 0.3s ease;
}

.cta-input:focus {
    box-shadow: 0 0 0 3px rgba(239, 191, 4, 0.3);
}

.cta-button {
    background: var(--gold);
    color: var(--royal-blue-dark);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 191, 4, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 191, 4, 0.4);
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
    background: var(--royal-blue-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    word-break: break-word;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

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

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

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

/* ─── Scroll Reveal ──────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ════════════════════════════════════════════════════════════ */

/* ─── Tablet landscape / small desktop  (≤ 1024px) ────────── */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.25rem;
    }

    .hero-content {
        gap: 2.5rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ─── Tablet portrait (≤ 968px) ─────────────────────────── */
@media (max-width: 968px) {
    /* Navbar */
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-container {
        padding: 0.75rem 1.25rem;
    }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 7rem 1.5rem 3rem;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }

    .floating-badge {
        display: none;
    }

    /* Training */
    .training-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .training-content h2 {
        font-size: 2rem;
    }

    .training-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    /* Services */
    .services {
        padding: 4rem 1.5rem;
    }

    /* Why Us */
    .why-us {
        padding: 4rem 1.5rem;
    }

    /* FAQ */
    .faq {
        padding: 4rem 1.5rem;
    }

    /* CTA */
    .cta {
        padding: 4rem 1.5rem;
    }

    .cta h2 {
        font-size: 2rem;
    }
}

/* ─── Mobile large (≤ 640px) ─────────────────────────────── */
@media (max-width: 640px) {
    /* Logo text */
    .logo span {
        font-size: 1rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .logo-icon img {
        height: 32px;
    }

    /* Hero */
    .hero-content {
        padding: 6rem 1rem 2.5rem;
    }

    .hero-text h1 {
        font-size: 2.1rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.25rem;
    }

    /* Stats card */
    .hero-card {
        padding: 1.25rem;
        transform: none;
    }

    .stats-grid {
        gap: 0.875rem;
    }

    .stat-item {
        padding: 1rem 0.75rem;
    }

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

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

    /* Section headings */
    .section-title {
        font-size: 1.85rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    /* Services */
    .services {
        padding: 3.5rem 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card {
        padding: 1.75rem 1.5rem;
    }

    /* Training */
    .training {
        padding: 3.5rem 1rem;
    }

    .training-content h2 {
        font-size: 1.85rem;
    }

    .training-content > p {
        font-size: 0.95rem;
    }

    .training-image-container {
        padding: 1.25rem;
    }

    .bento-item {
        padding: 1rem;
    }

    .bento-icon {
        font-size: 1.5rem;
    }

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

    .bento-item p {
        font-size: 0.8rem;
    }

    /* Why Us */
    .why-us {
        padding: 3.5rem 1rem;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .why-card {
        padding: 1.5rem 1rem;
    }

    .why-icon {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }

    .why-card h4 {
        font-size: 1rem;
    }

    /* FAQ */
    .faq {
        padding: 3.5rem 1rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }

    /* CTA */
    .cta {
        padding: 3.5rem 1rem;
    }

    .cta h2 {
        font-size: 1.75rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .cta-form {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 0.75rem;
    }

    .cta-input {
        width: 100%;
        min-width: unset;
    }

    .cta-button {
        width: 100%;
    }

    /* Footer */
    .footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand h3 {
        justify-content: center;
    }

    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 1.5rem;
        margin-top: 2rem;
    }
}

/* ─── Mobile small (≤ 400px) ─────────────────────────────── */
@media (max-width: 400px) {
    .logo span {
        font-size: 0.875rem;
    }

    .hero-text h1 {
        font-size: 1.85rem;
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta h2 {
        font-size: 1.55rem;
    }

    .training-content h2 {
        font-size: 1.65rem;
    }
}
