/********** Flynexa Aviation Academy - Theme CSS **********/
:root {
    --primary: #1565C0;
    --primary-light: #1E88E5;
    --primary-dark: #0D47A1;
    --accent: #29B6F6;
    --secondary: #FF6F00;
    --light: #E3F2FD;
    --dark: #0D1B2A;
    --gradient: linear-gradient(135deg, #0D47A1 0%, #1565C0 50%, #1E88E5 100%);
    --gradient-sky: linear-gradient(180deg, #0D47A1 0%, #1565C0 40%, #29B6F6 100%);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background: var(--gradient);
    border: none;
}

.fw-medium { font-weight: 600; }
.fw-bold { font-weight: 700; }
.fw-black { font-weight: 900; }

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn { transition: .5s; font-weight: 500; }
.btn-primary,
.btn-outline-primary:hover {
    color: #fff;
    background: var(--gradient);
    border: none;
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21,101,192,0.4);
}
.btn-secondary,
.btn-outline-secondary:hover { color: var(--dark); }

.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }
.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand-text {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.navbar-brand-text .brand-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}
.navbar-brand-text .brand-name {
    line-height: 1.1;
}
.navbar-brand-text .brand-name span:first-child {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: 2px;
}
.navbar-brand-text .brand-name span:last-child {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 5px;
    padding: 25px 15px;
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
        padding-top: 10px;
    }
}

/*** Hero Section ***/
.hero-section {
    background: var(--gradient-sky);
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(5px);
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-title span {
    color: var(--accent);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 35px;
    line-height: 1.7;
}
.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}
.hero-stat-item {
    text-align: center;
    color: white;
}
.hero-stat-item .stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    display: block;
}
.hero-stat-item .stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}
.hero-plane-icon {
    font-size: 200px;
    color: rgba(255,255,255,0.08);
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
}
.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 30px;
    color: white;
}
.hero-card .info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.hero-card .info-item:last-child { border-bottom: none; }
.hero-card .info-icon {
    width: 40px;
    height: 40px;
    background: rgba(41,182,246,0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--accent);
    flex-shrink: 0;
}
.hero-card .info-text small {
    display: block;
    font-size: 10px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-card .info-text strong {
    font-size: 13px;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-stats { flex-wrap: wrap; gap: 15px; }
    .hero-plane-icon { font-size: 100px; }
}

/*** Page Header ***/
.page-header {
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}
.page-header::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.03'%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");
}
.page-header h1 { color: white !important; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.page-header .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.6); }
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a { font-size: 16px; color: rgba(255,255,255,0.8); }

/*** Section Title ***/
.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}
.section-title::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--gradient);
    border-radius: 2px;
}
.section-title::after {
    position: absolute;
    content: "";
    width: 120px;
    height: 2px;
    bottom: 1px;
    left: 70px;
    background: #e0e0e0;
    border-radius: 2px;
}
.section-title.text-center::before { left: 50%; transform: translateX(-50%); }
.section-title.text-center::after { left: 50%; transform: translateX(30px); }
.section-title .sub-title {
    display: inline-block;
    background: var(--light);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    border-left: 3px solid var(--primary);
}

/*** Feature Cards ***/
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(21,101,192,0.15);
    border-color: var(--primary-light);
}
.feature-card .icon-box {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
    transition: transform 0.3s;
}
.feature-card:hover .icon-box { transform: rotate(10deg) scale(1.1); }
.feature-card h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.feature-card p { color: #666; font-size: 14px; margin: 0; }

/*** Course Cards ***/
.course-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(21,101,192,0.2);
}
.course-card-header {
    background: var(--gradient);
    padding: 30px 25px 20px;
    position: relative;
    overflow: hidden;
}
.course-card-header::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 100px; height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.course-card-header .course-icon {
    font-size: 40px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
    display: block;
}
.course-card-header h5 {
    color: white;
    font-weight: 700;
    margin: 0;
    font-size: 16px;
}
.course-card-header .badge-discount {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.course-card-body { padding: 20px 25px; }
.course-card-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}
.course-card-body ul li {
    padding: 5px 0;
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}
.course-card-body ul li i {
    color: var(--primary);
    font-size: 12px;
    flex-shrink: 0;
}
.course-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/*** About Section ***/
.about-img-wrap { position: relative; }
.about-img-wrap img {
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient);
    color: white;
    padding: 20px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(21,101,192,0.4);
}
.about-badge .badge-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    display: block;
}
.about-badge .badge-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}
.about-feature-list { list-style: none; padding: 0; }
.about-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.about-feature-list li:last-child { border-bottom: none; }
.about-feature-list li .check-icon {
    width: 24px;
    height: 24px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

/*** Stats Section ***/
.stats-section {
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '\f072';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%) rotate(-30deg);
    font-size: 300px;
    color: rgba(255,255,255,0.04);
}
.stat-box {
    text-align: center;
    color: white;
    padding: 20px;
}
.stat-box .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent);
}
.stat-box .stat-count {
    font-size: 3rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}
.stat-box .stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-top: 5px;
}

/*** Contact ***/
.contact .btn-square {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(21,101,192,0.3);
}
.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    height: 100%;
}
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(21,101,192,0.15);
}
.contact-info-card .contact-icon {
    width: 60px; height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 24px;
    margin-bottom: 15px;
}
.contact-info-card h6 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-info-card p {
    color: #555;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}
.branch-card {
    background: var(--light);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--primary);
    margin-bottom: 15px;
}
.branch-card h6 { color: var(--primary-dark); font-weight: 700; margin-bottom: 8px; }
.branch-card p { margin: 0; font-size: 14px; color: #555; }
.payment-section {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    margin-top: 20px;
}
.payment-section h6 { color: var(--primary-dark); font-weight: 700; margin-bottom: 15px; }
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.payment-badge {
    background: white;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.payment-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 2px;
}

/*** Products/Course section background ***/
.product {
    background: linear-gradient(135deg, rgba(21,101,192,0.05) 0%, rgba(29,182,246,0.05) 100%);
}
.product-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    margin: 0 10px;
    width: 55px; height: 55px;
    display: flex; align-items: center; justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}
.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: #FFFFFF;
    color: var(--primary);
}
.product-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
}

/*** Footer ***/
.footer { color: #B0BEC5; }
.footer .footer-logo span:first-child {
    color: white;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
}
.footer .footer-logo span:last-child {
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}
.footer h4 { color: white; position: relative; padding-bottom: 15px; margin-bottom: 25px !important; }
.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--primary-light);
    border-radius: 2px;
}
.footer a { color: #B0BEC5 !important; text-decoration: none; transition: .3s; }
.footer a:hover { color: white !important; padding-left: 5px; }
.footer .btn-link {
    display: block;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    font-weight: normal;
}
.footer .btn-link::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-light);
    margin-right: 10px;
}
.footer .social-link {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: inline-flex;
    align-items: center; justify-content: center;
    color: white;
    transition: all 0.3s;
    margin-right: 8px;
}
.footer .social-link:hover {
    background: var(--primary) !important;
    transform: translateY(-3px);
}

.copyright { background: #0a0e1a; color: #607D8B; }
.copyright a:hover { color: #FFFFFF !important; }

/*** Admission Banner ***/
.admission-banner {
    background: linear-gradient(135deg, #FF6F00, #FFA000);
    border-radius: 16px;
    padding: 25px 30px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(255,111,0,0.3);
}
.admission-banner h4 { margin: 0; font-weight: 700; }
.admission-banner p { margin: 5px 0 0 0; opacity: 0.9; font-size: 14px; }
.btn-enroll {
    background: white;
    color: #FF6F00 !important;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 30px;
    white-space: nowrap;
    border: none;
    transition: all 0.3s;
}
.btn-enroll:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/*** Bank Details ***/
.bank-detail-box {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px 15px;
}
.bank-detail-box .bank-label {
    font-size: 10px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.bank-detail-box .bank-value {
    font-weight: 700;
    font-size: 14px;
    color: white;
    letter-spacing: 0.5px;
}

/*** Floating WhatsApp Button ***/
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 999;
    width: 55px;
    height: 55px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
    text-decoration: none;
    transition: all 0.3s;
    animation: whatsapp-pulse 2s infinite;
}
.whatsapp-float:hover {
    background: #1ebe5d;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37,211,102,0.6);
}
.whatsapp-float .wa-tooltip {
    position: absolute;
    right: 65px;
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }
@keyframes whatsapp-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/*** Eligibility Section ***/
.eligibility-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary);
    height: 100%;
}
.eligibility-card .edu-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.eligibility-card h6 { font-weight: 700; color: var(--dark); margin: 0; }
.eligibility-card p { color: #777; font-size: 13px; margin: 5px 0 0 0; }
