:root {
    --navy: #0a2351;
    --sky-blue: #6fceeb;
    --gold: #d4af37;
    --white: #ffffff;
    --iaf-blue: #003366;
    --sky-light: #e3f2fd;
    --accent-gold: #c5a059;
    --saffron: #FF9933;
    --green: #128807;
    --glass: rgba(0, 0, 0, 0.39);
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.12);
    --navy-dark: #001830;
    --text-gray: rgba(255, 255, 255, 0.7);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    overflow-x: hidden;
    font-size: 16px;
}

a {
    text-decoration: none;
}

/* --- HEADER --- */
header {
    width: 98%;
    max-width: 1200px;
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    /* padding-top: 20px; */
}

.nav-portal-frame {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.frame-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 10px 30px 0px 30px; */
    position: absolute;
    width: 95%;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
}

.frame-contact {
    display: flex;
    gap: 20px;
}

.frame-contact a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.94);
}

.frame-contact i {
    color: var(--sky-blue);
    margin-right: 8px;
}

.frame-apps {
    display: flex;
    gap: 10px;
    align-items: center;
}

.frame-apps a {
    color: var(--white);
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 15px;
    background: rgba(80, 80, 80, 0.39);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.frame-apps a:hover {
    background: var(--saffron);
}

/* --- NAVIGATION --- */
.inner-nav-pill {
    background: var(--navy);
    height: 65px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.57);
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
}

.logo-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 110;
}

.logo-container img {
    height: 135px;
    width: auto;
    border-radius: 50%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 40%;
}

.nav-links.right {
    justify-content: flex-end;
}

.nav-links li a,
.nav-link-btn {
    text-decoration: none;
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
    background: none;
    border: none;
    cursor: pointer;

}

.nav-links li a:hover,
.nav-link-btn:hover {
    color: var(--sky-blue);
}

/* --- FIXED DROPDOWN FORMAT --- */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    background: var(--navy);
    border: 1px solid var(--sky-blue);
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: none;
    list-style: none;
    min-width: 220px;
    margin: 0;
    top: 100%;
}

@media (min-width: 992px) {
    .dropdown:hover>.dropdown-menu {
        display: block;
    }
}

.dropdown-item {
    color: white !important;
    font-size: 14px;
    padding: 8px 20px;
    display: block;
    text-decoration: none;
    transition: 0.3s;
}

.dropdown-item:hover {
    background: var(--sky-blue);
    color: var(--navy) !important;
}

/* --- MOBILE TOGGLER --- */
.navbar-toggler {
    border: none;
    padding: 0;
    color: white;
    font-size: 1.5rem;
    z-index: 1002;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

@media (max-width: 991px) {
    header {
        width: 95%;
        top: 25px;
    }

    .frame-top-row {
        display: none;
    }

    .inner-nav-pill {
        padding: 0 20px;
        height: 60px;
    }

    .nav-links:not(.left-mobile-fixed) {
        display: none !important;
    }

    .left-mobile-fixed {
        display: flex !important;
        width: auto;
    }

    .logo-container img {
        height: 90px;
    }

    .mobile-collapse {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--navy);
        flex-direction: column;
        padding: 15px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 999;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-collapse.show {
        display: flex !important;
    }

    .mobile-collapse a {
        color: var(--white);
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        padding: 12px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: block;
        width: 100%;
    }

    .mobile-collapse a:last-child {
        border-bottom: none;
    }

    .mobile-collapse a:hover {
        color: var(--sky-blue);
    }
}



/* ======================offcanvas================= */
/* Offcanvas Custom */

.btn-close {
    opacity: 1;
}

.offcanvas {
    background: var(--navy);
    color: white;
}

.offcanvas .nav-link {
    color: white !important;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
}

.offcanvas-body .nav-item a {
    background: transparent;
    margin: 5px 0px;
    border-radius: 20px;
    padding: 8px 20px;
}

.offcanvas-body .dropdown-menu {
    width: 100%;
    background: var(--navy);
    padding: 10px;
    border-radius: 20px;
}

/* Hide desktop nav items on mobile */
@media (max-width: 991px) {
    .main-navbar .navbar-nav {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .main-nav {
        display: none;
    }

    .top-info {
        display: none;
    }

    .nav-bar-light {
        display: none;
    }
}

.offcanvas-logo {
    width: 100%;
    max-width: 100px;
}


/* ======================offcanvas END============ */

/* --- HERO CAROUSEL --- */
.hero-carousel {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.carousel-container {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 8s linear;
}

.slide.active img {
    transform: scale(1);
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(5, 22, 53, 0.72), rgba(5, 22, 53, 0.4), transparent);
}

.slide-content {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1250px;
    color: white;
    padding: 0 50px;
}

.tagline {
    display: block;
    color: var(--sky-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.slide-content h2 {
    font-size: 4rem;
    font-family: 'Oswald', sans-serif;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 800px;
}

.slide-content p {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.8);
}

/* --- CAROUSEL NAV --- */
.carousel-nav {
    position: absolute;
    bottom: 50px;
    right: 5%;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 15px;
}

.carousel-nav button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav button:hover {
    background: var(--sky-blue);
    color: var(--navy);
    border-color: var(--sky-blue);
}

.dash-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dot {
    width: 25px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: 0.4s ease;
    cursor: pointer;
}

.dot.active {
    background: var(--sky-blue);
    width: 60px;
}

@media (max-width: 768px) {
    .slide-content h2 {
        font-size: 2.2rem;
    }

    .slide-content {
        padding: 0 20px;
    }

    .carousel-nav {
        right: 50%;
        transform: translateX(50%);
        bottom: 30px;
    }
}


/* --- ABOUT SECTION  --- */

.about-section {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(rgb(255, 255, 255), rgba(175, 219, 255, 0.87)), url('../images/bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.tricolor-mini {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.tricolor-mini span {
    width: 30px;
    height: 6px;
    border-radius: 2px;
}

h1 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(3.5rem, 8vw, 5rem);
    color: var(--iaf-blue);
    line-height: 0.9;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.location-text {
    color: var(--iaf-blue);
    font-weight: bold;
    margin-top: 0px;
    letter-spacing: 5px;
    margin-bottom: 25px;
    display: block;
}

.sub-title {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
}

.description-box {
    background: rgba(255, 255, 255, 0.61);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border-left: 4px solid var(--iaf-blue);
    margin-bottom: 25px;
}

.description-box h2 {
    margin-top: 0;
    color: var(--iaf-blue);
    font-size: 1.4rem;
    text-transform: uppercase;
}

.read-more {
    color: var(--iaf-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
}

.read-more:hover {
    color: var(--saffron);
    transform: translateX(5px);
}

.photo-frame {
    width: 100%;
    height: 480px;
    background: white;
    padding: 3px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-radius: 18px;
    position: relative;
    transition: 0.4s ease;
}

.photo-frame::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 80px;
    height: 80px;
    border-top: 6px solid var(--iaf-blue);
    border-right: 6px solid var(--iaf-blue);
    z-index: 1;
    border-top-right-radius: 14px;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.mv-box {
    background: var(--iaf-blue);
    color: white;
    padding: 18px;
    border-radius: 10px;
    height: 100%;
}

.mv-box h3 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    color: var(--saffron);
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mv-box i {
    font-size: 1.2rem;
}

.mv-box p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

.flag-left {
    position: absolute;
    width: 400px;
    opacity: 0.25;
    top: -10px;
    left: 0px;
    pointer-events: none;
}

.flag-right {
    position: absolute;
    width: 400px;
    opacity: 0.25;
    top: -10px;
    right: 0px;
    pointer-events: none;
}

.eco-section {
    padding: 50px 0;
    background: radial-gradient(circle at top right, #4da6ff, transparent), linear-gradient(135deg, #335382 0%, #000 100%);
    position: relative;
    overflow: hidden;
    color: white;
    font-family: 'Inter', sans-serif;
}

.eco-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/heli.svg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.18;
    z-index: 1;
    pointer-events: none;
}

.eco-section .container {
    position: relative;
    z-index: 2;
}

.tactical-header {
    text-align: left;
    margin-bottom: 50px;
    position: relative;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    color: var(--saffron);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.eyebrow::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to right, var(--saffron), transparent);
}

.main-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.dashboard-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dashboard-card:hover {
    transform: translateY(-10px);
    background: var(--glass-hover);
    border-color: var(--saffron);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-large {
    grid-column: span 7;
}

.card-medium {
    grid-column: span 5;
}

.card-full {
    grid-column: span 12;
}

.card-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 153, 51, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--saffron);
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 153, 51, 0.1);
}

.card-label {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.card-body-text {
    font-weight: 300;
    line-height: 1.7;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
}

.highlight {
    color: var(--saffron);
    font-weight: 600;
}

.infra-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.infra-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.infra-tag i {
    color: var(--saffron);
}

.infra-tag:hover {
    background: var(--saffron);
    color: var(--iaf-blue);
}

.infra-tag:hover i {
    color: var(--iaf-blue);
}

/* --- RESPONSIVE FIXES (REQUIRED FOR MOBILE) --- */
@media (max-width: 991px) {
    .about-section {
        text-align: center;
    }

    .tricolor-mini {
        justify-content: center;
    }

    .description-box {
        border-left: none;
        border-top: 4px solid var(--iaf-blue);
    }

    .photo-frame {
        height: 380px;
        margin-top: 50px;
    }

    .photo-frame::before {
        display: none;
    }

    .mv-box h3 {
        justify-content: center;
    }

    .card-large,
    .card-medium {
        grid-column: span 12;
    }

    .eco-section::before {
        background-attachment: scroll;
    }

    /* Font size adjustment for small screens */
    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {

    .flag-left,
    .flag-right {
        display: none;
    }

    /* Hide flags to prevent horizontal scrolling on small phones */
    .infra-tag {
        width: 100%;
        justify-content: center;
    }

}






/* Message  */

.section-padding {
    position: relative;
    padding: 50px 0;
    background: linear-gradient(rgb(255, 255, 255), rgba(175, 219, 255, 0.87)), url('../images/bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.message-tab {
    background: var(--sky-light);
    display: flex;
    align-items: center;
    padding: 4px 9px 4px 4px;
    border: 1px solid var(--sky-blue);
    transition: 0.3s ease;
    color: var(--iaf-blue) !important;
}

.message-tab.active {
    background: var(--iaf-blue) !important;
    color: var(--white) !important;
    border: 1px solid var(--iaf-blue);
    padding: 5px 10px 5px 5px;
}

/* --- FIXED ROUNDING LOGIC --- */
.message-img-round {
    padding: 3px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.large-round-profile {
    width: 350px;
    max-width: 100%;
    height: 350px;
    margin: 0 auto;
}

.fw-bold {
    color: var(--navy);
}

.author-info h5 {
    color: var(--iaf-blue);
    font-family: 'Oswald', sans-serif;
}

.viewall-gallery {
    color: var(--iaf-blue);
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.viewall-gallery:hover {
    color: var(--saffron);
}


/* What We Offer  */


.dashboard-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.dashboard-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.dashboard-card:hover {
    transform: translateY(-8px);
    background: var(--glass-hover);
    border-color: var(--saffron);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Inline Header Format */
.card-header-inline {
    display: flex;
    align-items: center;
    gap: 15px;
}

.col-r1 {
    grid-column: span 4;
}

.col-r2 {
    grid-column: span 6;
}

@media (max-width: 991px) {

    .col-r1,
    .col-r2 {
        grid-column: span 12;
    }

    .eco-section {
        padding: 60px 0;
    }
}



/* News  Section    */



.news-section {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(175, 219, 255, 0.85) 100%),
        url('../images/hero_bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    border-bottom: 5px solid var(--saffron);
}

.tactical-header1 {
    text-align: left;
    position: relative;
}

.hero-headline1 {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
}


.swiper-container {

    overflow: hidden;
}

.st-mary-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 53, 102, 0.08);
    border: 1px solid rgba(0, 53, 102, 0.05);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.st-mary-card:hover {
    transform: translateY(-5px);
    border-color: var(--saffron);
}

.card-img-top {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.date-tag {
    background: var(--saffron);
    color: #000;
    padding: 4px 12px;
    border-radius: 4px 12px 12px 4px;
    font-weight: 800;
    font-size: 0.65rem;
    position: absolute;
    top: 15px;
    left: 0;
    z-index: 2;
}

.card-body-mini {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: var(--iaf-navy);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-text {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.3em;
}

.btn-iaf-enroll1 {
    background: var(--saffron);
    color: #000;
    font-weight: 800;
    border-radius: 50px;
    padding: 6px 20px;
    text-transform: uppercase;
    font-size: 0.7rem;
    text-decoration: none;
    margin-top: auto;
    display: inline-block;
}


.controls-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.nav-btn {
    background: var(--iaf-blue);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10;
}

.nav-btn:hover {
    background: var(--saffron);
    color: #000;
}

.view-all-link {
    border: 2px solid var(--iaf-blue);
    color: var(--iaf-blue);
    padding: 6px 25px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    text-decoration: none;
}

.view-all-link:hover {
    background-color: var(--saffron);
    border-color: var(--iaf-blue);
    color: #fff;
    transition: all 0.3s ease;
}




/* Gallery  */



.iaf-gallery-section {
    padding: 50px 0;
    background: radial-gradient(circle at top right, #4da6ff, transparent), linear-gradient(135deg, #335382 0%, #000 100%);
    position: relative;
    overflow: hidden;
    color: white;
    font-family: 'Inter', sans-serif;
}

.iaf-gallery-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/heli.svg') no-repeat center center;
    background-attachment: scroll;
    background-size: auto;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.18;
    z-index: 1;
    pointer-events: none;
}


.text-lg-end .small.text-muted {
    font-family: 'Oswald', sans-serif;
    color: rgba(255, 255, 255, 0.7) !important;
    /* Assuming it's over the blue background */
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-right: 15px;
}

.text-lg-end .small.text-muted::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--saffron);
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}


.btn-mission-control {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    color: #fff !important;
    border: 1px solid rgba(255, 153, 51, 0.3);
    border-radius: 12px;
    padding: 12px 25px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.btn-mission-control::before,
.btn-mission-control::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: #0000;
    border-style: solid;
    transition: 0.3s;
}

.btn-mission-control::before {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;

}

.btn-mission-control::after {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;

}

.btn-mission-control:hover {
    background: var(--saffron);
    color: var(--iaf-blue) !important;
    border-color: var(--saffron);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.4);
}

.btn-mission-control:hover::before,
.btn-mission-control:hover::after {
    width: 100%;
    height: 100%;
    border-color: var(--iaf-blue);
    opacity: 0.2;
}


.btn-mission-control i {
    font-size: 1.1rem;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--saffron);
    transition: 0.3s;
}

.btn-mission-control:hover i {
    color: var(--iaf-blue);
    transform: rotate(90deg);
}

.mission-flex-container {
    display: flex;
    width: 100%;
    height: 500px;
    gap: 15px;
}

.mission-card {
    position: relative;
    flex: 1;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.25, 1, 0.3, 1);
    cursor: pointer;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mission-card:hover {
    flex: 4;

    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.3);
}

.Gswiper {
    width: 100%;
    height: 100%;
}

.Gallery-Swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) grayscale(30%);
    transition: 0.6s;
}

.mission-card:hover .Gallery-Swiper {
    filter: brightness(0.9) grayscale(0%);
}


.mission-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--saffron);
    color: var(--iaf-blue);
    padding: 8px 15px;
    border-radius: 15px;
    text-align: center;
    min-width: 65px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Oswald', sans-serif;
    line-height: 1;
}

.mission-date-badge b {
    display: block;
    font-size: 1.4rem;
}

.mission-date-badge span {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.mission-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(transparent, rgba(0, 31, 63, 0.95));
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s 0.3s;
    z-index: 10;
    pointer-events: none;
}

.mission-card:hover .mission-overlay {
    opacity: 1;
    transform: translateY(0);
}

.mission-title {
    font-family: 'Anton';
    font-size: 2rem;
    text-transform: uppercase;
    margin: 0;
}

.mission-sub {
    color: var(--saffron);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Oswald';
}

.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--saffron) !important;
    opacity: 1;
}

@media (max-width: 992px) {
    .mission-flex-container {
        flex-direction: column;
        height: auto;
    }

    .mission-card {
        height: 350px;
        flex: none !important;
    }

    .mission-overlay {
        opacity: 1;
        transform: none;
    }
}





/* Banner  */


.iaf-hero {
    position: relative;
    padding: 50px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(175, 219, 255, 0.85) 100%),
        url('../images/bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    border-bottom: 5px solid var(--saffron);
}


.founding-tag-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.founding-tag {
    background: var(--saffron);
    color: #000;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 5px 15px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.flying-plane {
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    color: var(--saffron);
    font-size: 1.1rem;
    z-index: 1;
    animation: flyAcross 6s linear infinite;
}

@keyframes flyAcross {
    0% {
        left: -50px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 110%;
        opacity: 0;
    }
}


.hero-headline {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    /* Reduced Font Size */
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #111;

}

.highlight-blue {
    color: var(--iaf-blue);
}


.stats-container {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    background: rgba(26, 69, 163, 0.05);
    padding: 10px 20px;
    border-radius: 12px;
    width: fit-content;
}

.stat-unit {
    border-left: 3px solid var(--saffron);
    padding-left: 12px;
}

.stat-count {
    display: block;
    font-size: 1.6rem;
    font-family: 'Anton', sans-serif;
    line-height: 1;
    color: var(--iaf-blue);
}

.stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #555;
    font-weight: 700;
}


.glass-sidebar {
    background: var(--glass-bg-light);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 53, 102, 0.1);
}

.glass-sidebar h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: var(--iaf-blue);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.icon-sq {
    background: var(--saffron);
    color: #000;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1rem;
    flex-shrink: 0;
}

.info-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #666;
    font-weight: 800;
    display: block;
}

.info-data {
    font-weight: 700;
    font-size: 0.85rem;
    color: #222;
}


.btn-iaf-enroll {
    background: var(--saffron);
    color: #000;
    font-weight: 800;
    border-radius: 50px;
    padding: 10px 25px;
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-block;
}

.btn-iaf-enroll:hover {

    color: #ffff;
}


.btn-iaf-call {
    border: 2px solid var(--iaf-blue);
    color: var(--iaf-blue);
    font-weight: 700;
    border-radius: 50px;
    padding: 8px 25px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-block;
}

.btn-iaf-call:hover {
    border: 2px solid var(--iaf-blue);
    background: var(--saffron);
    color: #ffff
}

@media (max-width: 991px) {
    .iaf-hero {
        text-align: center;
    }

    .stats-container {
        margin: 0 auto 20px auto;
    }

    .glass-sidebar {
        margin-top: 30px;
        text-align: left;
    }
}





/* Footer  */

/* --- Footer Main Styling --- */
.iaf-footer {
    background: var(--navy-dark);
    color: #ffffff;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--saffron);
}

/* Tactical Grid Overlay */
.iaf-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 153, 51, 0.03) 1px, transparent 0);
    background-size: 30px 30px;
    pointer-events: none;
}

/* --- Column 1: Logo Centered, Text Left --- */
.footer-brand-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Keeps text left-aligned */
}

.footer-logo {
    display: block;
    max-width: 85px;
    filter: drop-shadow(0 0 10px rgba(255, 153, 51, 0.3));
}

.footer-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 0;
    text-align: left;
}

.text-saffron {
    color: var(--saffron);
}

.legacy-text {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-top: 15px;
    text-align: left;
}

/* --- Global Column Headings --- */
.column-heading {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: var(--saffron);
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 153, 51, 0.2);
    display: inline-block;
    padding-bottom: 5px;
    width: 100%;
}

/* --- Links & Contacts --- */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--saffron);
    margin-right: 10px;
}

.footer-links a:hover {
    color: var(--saffron);
    transform: translateX(8px);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--saffron);
    font-size: 1.1rem;
}

.contact-item p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--text-gray);
}

/* --- Mobile Terminal (Buttons) --- */
.app-btn-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-app-mini {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    transition: 0.3s;
    flex: 1;
}

.btn-app-mini i {
    font-size: 1.2rem;
    color: var(--saffron);
}

.btn-app-mini:hover {
    background: var(--saffron);
    color: var(--iaf-blue);
    border-color: var(--saffron);
}

.btn-app-mini:hover i {
    color: var(--iaf-blue);
}

/* --- Social Icons --- */
.social-recon {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-recon a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    transition: 0.3s;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-recon a:hover {
    background: var(--saffron);
    color: var(--iaf-blue);
    transform: translateY(-5px);
}

/* --- Map Styling --- */
.map-container {
    border: 2px solid rgba(255, 153, 51, 0.3);
    border-radius: 12px;
    overflow: hidden;
    padding: 4px;
    background: rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    border-radius: 8px;
    filter: grayscale(100%) invert(90%);
    transition: 0.5s;
}

.map-container:hover iframe {
    filter: grayscale(0%) invert(0%);
}

/* --- Bottom Bar --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--saffron);
    color: var(--iaf-blue);
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 99;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.scroll-top:hover {
    transform: translateY(-5px);
    background: #fff;
}


/* ========================Page Css======================= */


.hero-banner {
    background: linear-gradient(to right, #000000bd, #000000bd, #000000bd), url('../images/hero_bg.jpg') center/cover no-repeat;
    height: 360px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid var(--saffron);
}

.section-title {
    color: rgb(255, 255, 255);
    text-transform: uppercase;
}

.hero-divider {
    width: 130px;
    height: 4px;
    background-color: var(--Secondary-color);
    margin: 0 auto;
    border-radius: 30px;
}

.hero-title {
    z-index: 3;
    padding: 15px;
    border-radius: 100px;
    width: 80%;
    max-width: 1100px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%);
    height: 100px;
}

.section-page-padding {
    position: relative;
    padding: 70px 0;
    background: linear-gradient(rgb(255, 255, 255), rgba(175, 219, 255, 0.87)), url('../images/bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}


/* =================page-list================ */


.list-styling {
    padding: 0;
    margin: 0;
}

.list-styling li {
    position: relative;
    line-height: 28px;
    padding: 0px 0 0px 32px;
    list-style: none;
    margin: 8px 0;
}

.list-styling li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 14px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--iaf-blue);
    color: #ffffff;
    font-size: 12px;
    border-radius: 20px;
}


thead th {
    background: linear-gradient(180deg, var(--iaf-blue) 0%, var(--navy-dark) 100%);
    color: #fff !important;
    text-align: center;
    vertical-align: middle;
}

ol li {
    padding: 0px 0 0px 25px !important;
}

ol li::before {
    content: "\f061" !important;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 14px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    color: var(--saffron) !important;
    font-size: 14px !important;
    border-radius: 20px;
}



/* ===================According===================== */

.accordion {
    border: none;
}

.accordion-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
    position: relative;
    z-index: 9;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 18px;
    font-size: 1rem;
    color: #000;
    text-align: left;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
}

.accordion-body {
    border-radius: 10px;
}

.accordion-item:first-of-type,
.accordion-item:first-of-type .accordion-button {
    border-radius: 10px;
}

.accordion-button .hero-about {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    background-color: #967b7b;
    border: none;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.accordion-button span {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    color: #fff;
    padding: 3px 0px;
}

.accordion-button:hover span {
    transform: translateX(5px);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}


.accordion-button:not(.collapsed) {
    background: linear-gradient(180deg, var(--iaf-blue) 0%, var(--navy-dark) 100%);
    color: #fff;
    border-radius: 10px;
}


.accordion-header {
    margin-bottom: 5px;
    border-radius: 10px;
    background: var(--saffron);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.accordion-button:focus {
    outline: none;
    box-shadow: none;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-radius: 10px;
}

.accordion-button:not(.collapsed)::after {
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}



/* Vision & Mission  */

/* Section Container */
.mission-vision-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light background to make cards pop */
}

/* Base Card Styling */
.info-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Header & Icon */
.info-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
}

.info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #2d3436;
}

/* Specific Card Colors */
.vision-card .icon-wrapper {
    background: rgba(255, 126, 0, 0.1);
    color: #ff7e00;
}

.mission-card .icon-wrapper {
    background: rgba(0, 102, 204, 0.1);
    color: #0066cc;
}

/* Typography */
.info-card-content p {
    color: #636e72;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.accent-text {
    color: #2d3436;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 126, 0, 0.3); /* Subtle underline */
}

.motto-text {
    color: #0066cc;
    font-style: italic;
}

/* Responsive Tweak */
@media (max-width: 991px) {
    .info-card {
        padding: 30px;
    }
}
/* ==================================== */