:root {
    --primary-blue: #0b2c67;
    --dark-blue: #051a3f;
    --brand-yellow: #f0a500;
    --brand-green: #0a8754;
    --light-bg: #f8f9fa;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ===================== TOP BAR ===================== */
.top-bar {
    background-color: var(--dark-blue);
    padding: 8px 0;
    font-size: 0.82rem;
    color: #fff;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
}

.top-bar.bar-hidden {
    margin-top: -36px;
}

.top-bar-item {
    margin-right: 20px;
    color: rgba(255,255,255,0.9);
}

.top-bar-item i {
    margin-right: 6px;
    font-size: 0.75rem;
}

.top-bar-socials {
    display: inline-flex;
    gap: 12px;
    margin-left: 10px;
}

.top-bar-socials a {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.top-bar-socials a:hover {
    color: var(--brand-yellow);
}

/* ===================== NAVBAR ===================== */
.navbar {
    padding: 8px 0;
    background: var(--primary-blue);
    position: relative;
    z-index: 1000;
}

.navbar-transparent, .navbar-transparent-light {
    background: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.navbar-transparent .navbar-toggler, .navbar-transparent-light .navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

@media (max-width: 991.98px) {
    .navbar-transparent-light .navbar-collapse {
        background: #fff;
        border-radius: 8px;
        margin-top: 10px;
        padding: 15px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }
    
    .navbar-nav .nav-link,
    .navbar-scrolled .navbar-nav .nav-link {
        color: #000 !important;
    }
}

.navbar-scrolled {
    background: #fff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 6px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.brand-icon i {
    color: #fff;
    font-size: 1.3rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: none;
    transition: filter 0.3s;
}

.navbar-scrolled .brand-logo {
    filter: none;
}

.footer-logo {
    height: 150px;
    width: auto;
    object-fit: contain;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.brand-sub {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.brand-sub-sm {
    font-size: 0.5rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.navbar-nav .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    padding: 8px 16px !important;
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.navbar-scrolled .navbar-nav .nav-link {
    color: #111;
}

.navbar-scrolled .navbar-nav .nav-link:hover,
.navbar-scrolled .navbar-nav .nav-link.active {
    color: var(--primary-blue);
}

.navbar-scrolled .navbar-toggler {
    border-color: rgba(0,0,0,0.3);
}

.navbar-scrolled .navbar-toggler-icon {
    filter: brightness(0);
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.4);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-scrolled .navbar-toggler {
    border-color: rgba(255,255,255,0.4);
}

.navbar-scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-get-started {
    background-color: var(--brand-yellow);
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 25px;
    border: none;
    transition: all 0.3s;
}

.btn-get-started:hover {
    background-color: #fff;
    color: var(--primary-blue);
    transform: translateY(-1px);
}

.navbar-scrolled .btn-get-started {
    background-color: var(--brand-yellow);
    color: var(--text-dark);
}

.navbar-scrolled .btn-get-started:hover {
    background-color: #fff;
    color: var(--primary-blue);
}

.btn-join-now {
    background-color: #1c45df;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 25px;
    border: none;
    transition: all 0.3s;
}

.btn-join-now:hover {
    background-color: #0b2c67;
    color: #fff;
    transform: translateY(-1px);
}

/* ===================== HERO SECTION ===================== */
.hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/globe.png') center/cover no-repeat;
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(78, 181, 247, 0.75); /* #4eb5f7 at 75% opacity */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 90px 0 160px;
}

.hero-company {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.hero-title-line2, .hero-title-line3 {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Times New Roman', Times, serif;
    color: var(--primary-blue);
    line-height: 1.1;
    letter-spacing: 0px;
}

.hero-title-line3 {
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background-color: #1c45df;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 25px;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-hero-primary:hover {
    background-color: var(--primary-blue);
    color: #fff;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 25px;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-whatsapp:hover {
    background-color: #1da851;
    color: #fff;
    transform: translateY(-2px);
}

/* Glassmorphism elements */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 30px;
}

.hero-image-stack {
    position: relative;
    width: 310px;
    height: 520px;
    margin-left: auto;
    overflow: hidden;
}

.glass-panel {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    top: 0;
    bottom: 0;
}

.panel-1 {
    left: -40px;
    right: 40px;
    transform: scale(0.9);
    z-index: 1;
}

.panel-2 {
    left: -20px;
    right: 20px;
    transform: scale(0.95);
    z-index: 2;
}

.main-hero-img {
    position: relative;
    z-index: 3;
    border-radius: 16px;
    width: 310px;
    height: 470px;
    object-fit: cover;
    object-position: center bottom;
}

.hero-floating-badge {
    position: absolute;
    z-index: 10;
}

.glass-pill {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px 18px;
    border-radius: 12px;
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.badge-left {
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.badge-right {
    right: -40px;
    bottom: 40px;
}

.hero-shield-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    z-index: 15;
}

.shield-mockup {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f0a500, #ffcc33);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: #fff;
    font-size: 1.5rem;
}

.hero-wave {
    position: absolute;
    bottom: -5px; /* slight overlap to prevent gap */
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ===================== ABOUT SECTION ===================== */
.intro-section {
    padding: 40px 0;
    background: var(--light-bg);
}

.intro-wrapper {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 30px 36px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.intro-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 8px;
}

.about-section {
    padding: 80px 0;
    background: #fff;
}

.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-green);
    margin-bottom: 10px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 16px;
    line-height: 1.25;
}

.about-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 440px;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-card {
    text-align: center;
    padding: 30px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #fff;
    transition: all 0.3s;
}

.about-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    transform: translateY(-4px);
}

.about-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.about-card-icon.blue {
    background: #e8f0fe;
    color: var(--primary-blue);
}

.about-card-icon.yellow {
    background: #fef3d6;
    color: var(--brand-yellow);
}

.about-card-icon.green {
    background: #d6f5e8;
    color: var(--brand-green);
}

.about-card-icon.teal {
    background: #d6f0f5;
    color: #0e7c8a;
}

.about-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.about-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===================== PROGRAMS SECTION ===================== */
.programs-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.program-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.program-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.program-card-img {
    width: 100%;
    height: 175px;
    object-fit: cover;
}

.program-card-body {
    padding: 22px 18px 26px;
    text-align: center;
    position: relative;
}

.program-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    margin-top: -46px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(11,44,103,0.3);
}

.program-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 12px 0 8px;
}

.program-card-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.programs-notice {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px 24px;
    text-align: center;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.programs-notice i {
    font-size: 1.6rem;
    color: var(--primary-blue);
}

.programs-notice span {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===================== STATS SECTION ===================== */
.stats-section {
    background: var(--primary-blue);
    background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 55px 0;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 44, 103, 0.88);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 20px 15px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.2);
}

.stat-icon {
    font-size: 2rem;
    color: var(--brand-yellow);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
    font-weight: 400;
}

/* ===================== WHY CHOOSE US ===================== */
.why-section {
    padding: 80px 0;
    background: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.why-grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

.why-card {
    text-align: center;
    padding: 24px 14px;
}

.why-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
    background: #e8f0fe;
    color: var(--primary-blue);
}

.why-card h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.why-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===================== EFT ACADEMY ===================== */
.eft-section {
    padding: 80px 0;
    background: #fff;
}

.eft-logo {
    height: 140px;
    width: auto;
    object-fit: contain;
}

.eft-category-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 30px 24px;
    height: 100%;
    transition: all 0.3s;
}

.eft-category-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.eft-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.eft-category-icon.embassy {
    background: #fee2e2;
    color: #dc2626;
}

.eft-category-icon.english {
    background: #dbeafe;
    color: #2563eb;
}

.eft-category-icon.special {
    background: #fef3c7;
    color: #d97706;
}

.eft-category-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.eft-course-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eft-course-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.eft-course-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.eft-course-list li:first-child {
    padding-top: 0;
}

.eft-flag {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.eft-badge {
    background: #fee2e2;
    color: #dc2626;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    height: fit-content;
    margin-top: 2px;
}

.eft-badge.grade {
    background: #dbeafe;
    color: #2563eb;
}

.eft-badge.tour {
    background: #d1fae5;
    color: #059669;
}

.eft-course-list li strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
}

.eft-course-list li p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.eft-features {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
}

.eft-features li {
    font-size: 0.76rem;
    color: var(--text-muted);
    padding: 2px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: none !important;
}

.eft-features li i {
    color: var(--brand-green);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* ===================== FUTURE SERVICES ===================== */
.future-services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0d3a7a 50%, #092558 100%);
}

.future-service-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 36px 30px;
    height: 100%;
    transition: all 0.3s;
    backdrop-filter: blur(6px);
}

.future-service-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.future-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 18px;
}

.future-service-icon.yellow {
    background: var(--brand-yellow);
    color: var(--text-dark);
}

.future-service-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}

.future-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.future-service-list li {
    padding: 7px 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}

.future-service-list li i {
    color: var(--brand-yellow);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ===================== CTA SECTION ===================== */
.cta-top-section {
    padding: 40px 0;
    background: #fff;
}

.cta-section {
    padding: 0 0 80px;
    background: #fff;
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0d3a7a 50%, var(--brand-green) 100%);
    border-radius: 18px;
    padding: 50px 50px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
}

.cta-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.65;
    margin-bottom: 24px;
}

.btn-cta {
    background-color: var(--brand-yellow);
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 25px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-cta:hover {
    background-color: #e09800;
    color: var(--text-dark);
    transform: translateY(-2px);
}

.cta-plane {
    position: relative;
    z-index: 2;
}

.cta-plane img {
    max-height: 200px;
    filter: brightness(1.1);
}

.cta-plane-bg {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
    height: 260px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    z-index: 1;
}

/* ===================== FOOTER ===================== */
.site-footer {
    background: #051a3f;
    background-image: url('./../images/footer_bg_v3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 60px 0 0;
    color: rgba(0,0,0,0.7);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(78, 181, 247, 0.75);
    z-index: 0;
}

.site-footer > .container {
    position: relative;
    z-index: 1;
}

.footer-brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.footer-brand-icon i {
    color: #fff;
    font-size: 1.1rem;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.footer-brand-name {
    font-size: 1rem;
    font-weight: 800;
    color: #000;
    letter-spacing: 1px;
}

.footer-brand-sub {
    font-size: 0.5rem;
    font-weight: 600;
    color: rgba(0,0,0,0.7);
    letter-spacing: 0.5px;
}

.footer-brand-sub-sm {
    font-size: 0.45rem;
    font-weight: 500;
    color: rgba(0,0,0,0.6);
}

.footer-desc {
    font-size: 0.85rem;
    color: rgba(0,0,0,0.7);
    line-height: 1.7;
    margin-top: 10px;
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(0,0,0,0.7);
    transition: color 0.2s;
    text-decoration: none;
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    color: rgba(0,0,0,0.7);
}

.footer-contact li i {
    color: #000;
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 50px;
    padding: 25px 0;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: #000;
    margin: 0;
}

/* ===================== SCROLL ANIMATIONS ===================== */
.anim-hidden {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-fade-up {
    transform: translateY(50px);
}

.anim-fade-down {
    transform: translateY(-50px);
}

.anim-fade-left {
    transform: translateX(-60px);
}

.anim-fade-right {
    transform: translateX(60px);
}

.anim-zoom-in {
    transform: scale(0.85);
}

.anim-zoom-out {
    transform: scale(1.1);
}

.anim-flip-x {
    transform: perspective(800px) rotateX(25deg);
}

.anim-flip-y {
    transform: perspective(800px) rotateY(25deg);
}

.anim-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotateX(0deg) rotateY(0deg);
}

.anim-stagger > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.anim-stagger.anim-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.anim-stagger.anim-visible > *:nth-child(1) { transition-delay: 0s; }
.anim-stagger.anim-visible > *:nth-child(2) { transition-delay: 0.1s; }
.anim-stagger.anim-visible > *:nth-child(3) { transition-delay: 0.2s; }
.anim-stagger.anim-visible > *:nth-child(4) { transition-delay: 0.3s; }
.anim-stagger.anim-visible > *:nth-child(5) { transition-delay: 0.4s; }
.anim-stagger.anim-visible > *:nth-child(6) { transition-delay: 0.5s; }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(11,44,103,0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #091f50;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(11,44,103,0.4);
}

.anim-slide-counter {
    transform: translateY(30px);
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-animate {
    animation: fadeInUp 0.7s ease forwards;
    opacity: 0;
}

.hero-animate-left {
    animation: fadeInLeft 0.7s ease forwards;
    opacity: 0;
}

.hero-animate-right {
    animation: fadeInRight 0.8s ease forwards;
    opacity: 0;
}

.hero-animate-zoom {
    animation: scaleIn 0.8s ease forwards;
    opacity: 0;
}

/* ===================== PAGE HEADER (Subpages) ===================== */
.page-header {
    background: #051a3f;
    background-image: url('../images/globe.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0 150px;
    text-align: center;
}

.page-header-services {
    background-image: url('../images/services_hero.jpg');
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(78, 181, 247, 0.75);
    z-index: 0;
}

.page-header > .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1199px) {
    .hero-title-line1,
    .hero-title-line2,
    .hero-title-line3 {
        font-size: 2.2rem;
    }

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

    .why-grid,
    .why-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .hero-content {
        padding: 200px 15px 50px;
        text-align: center;
    }

    .hero-title-line1,
    .hero-title-line2,
    .hero-title-line3 {
        font-size: 2rem;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 220px;
        margin-bottom: 12px;
    }

    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }

    .text-lg-end .btn {
        display: block;
        margin-bottom: 12px;
        margin-right: 0 !important;
    }

    .text-lg-end .btn:last-child {
        margin-bottom: 0;
    }

    .hero-image-wrapper {
        margin-top: 30px;
        padding-top: 0;
        justify-content: center;
    }

.hero-image-stack img {
    width:100%;
    height:100%;
    object-fit: cover;
    object-position: center bottom;
}

.main-hero-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

    .hero-shield-icon {
        right: 15px;
        bottom: -5px;
        transform: scale(0.85);
    }

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

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

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .why-grid,
    .why-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-banner {
        padding: 40px 30px;
        text-align: center;
        flex-direction: column;
    }

    .cta-plane {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .top-bar-item {
        font-size: 0.75rem;
        margin-right: 12px;
    }

    .hero-title-line1,
    .hero-title-line2,
    .hero-title-line3 {
        font-size: 1.6rem;
    }

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

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

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

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

    .stat-item::after {
        display: none !important;
    }

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

    .cta-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 575px) {
    .top-bar .row {
        flex-direction: column;
        gap: 4px;
    }

    .top-bar .col-md-6 {
        text-align: center !important;
    }

    .top-bar-socials {
        margin-left: 0;
        margin-top: 2px;
    }

    .hero-content {
        padding: 200px 15px 40px;
    }

    .hero-title-line1,
    .hero-title-line2,
    .hero-title-line3 {
        font-size: 1.35rem;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        padding: 10px 22px;
        font-size: 0.82rem;
    }

    .hero-buttons {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

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

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

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

    .cta-banner {
        padding: 30px 20px;
        border-radius: 14px;
    }

    .cta-plane {
        display: none;
    }
}

@media (max-width: 768px) {

    .hero-image-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 30px;
    }

    .hero-image-stack {
        width: 85%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    .main-hero-img {
        width: 100%;
        max-width: 350px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

}

.about-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {

    .about-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

}