/* filepath: /c:/Users/YourName/Desktop/maya-aviation-academy/style.css */
:root {
    --primary-red: #d32f2f;
    --dark-red: #b71c1c;
    --light-red: #ffebee;
    --dark-bg: #1a1a1a;
    --gray-bg: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 24px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.7rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
}

.logo i {
    color: var(--primary-red);
    font-size: 2rem;
}

.red-text {
    color: var(--primary-red);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--primary-red);
}

.dropdown-menu {
    position: absolute;
    top: 40px;
    left: 0;
    background: white;
    box-shadow: var(--shadow);
    min-width: 220px;
    border-radius: 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 99;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: 30px;
}

.dropdown-menu li {
    padding: 6px 20px;
}

.dropdown-menu a {
    display: block;
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-red);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.hero h1 span {
    color: var(--primary-red);
}

.btn-primary {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

/* Cards */
.section-title {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    margin: 15px auto 0;
    border-radius: 4px;
}

.course-grid,
.about-subgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 28px 20px;
    text-align: center;
}

.card i {
    font-size: 2.8rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-whatsapp,
.float-call {
    background: #25D366;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: 0.2s;
}

.float-call {
    background: var(--primary-red);
}

.float-whatsapp:hover,
.float-call:hover {
    transform: scale(1.08);
}

/* Footer */
.main-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding-top: 60px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.2s;
}

.footer-col a:hover {
    color: var(--primary-red);
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.3rem;
}

.subscribe-form {
    display: flex;
    gap: 8px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px;
    border-radius: 30px;
    border: none;
    outline: none;
}

.subscribe-form button {
    background: var(--primary-red);
    border: none;
    padding: 0 18px;
    border-radius: 30px;
    color: white;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid #2d3a5e;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        background: white;
        flex-direction: column;
        width: 80%;
        height: 100vh;
        padding: 40px 20px;
        transition: 0.3s;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
        gap: 25px;
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown>a i {
        float: right;
    }
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    height: 240px;
    background: #f0f0f0;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Professor Cards */
.professor-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
}

.professor-img {
    height: 250px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-red);
}

.contact-info li i {
    width: 30px;
    color: var(--primary-red);
}

.hero-img img {
    max-width: 100%;
    border-radius: 40px;
}

.logo-img {
    height: 60px;
    /* Adjust as needed */
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        height: 45px;
    }
}

.stats-grid div {
    text-align: center;
    background: var(--white);
    padding: 20px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hero-img img {
    width: 100%;
    border-radius: 40px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* filepath: style.css */
:root {
    --primary-red: #d32f2f;
    --dark-red: #b71c1c;
    --light-red: #ffebee;
    --dark-bg: #1a1a1a;
    --gray-bg: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 24px;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--primary-red);
}

.dropdown-menu {
    position: absolute;
    top: 40px;
    left: 0;
    background: white;
    box-shadow: var(--shadow);
    min-width: 220px;
    border-radius: 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 99;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: 30px;
}

.dropdown-menu li {
    padding: 6px 20px;
}

.dropdown-menu a {
    display: block;
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-red);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.hero h1 span {
    color: var(--primary-red);
}

.btn-primary {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

/* Cards */
.section-title {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    margin: 15px auto 0;
    border-radius: 4px;
}

.course-grid,
.about-subgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 28px 20px;
    text-align: center;
}

.card i {
    font-size: 2.8rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
}

.card:hover {
    transform: translateY(-10px);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-whatsapp,
.float-call {
    background: #25D366;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.float-call {
    background: var(--primary-red);
}

/* Footer */
.main-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding-top: 60px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--primary-red);
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.3rem;
}

.subscribe-form {
    display: flex;
    gap: 8px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px;
    border-radius: 30px;
    border: none;
    outline: none;
}

.subscribe-form button {
    background: var(--primary-red);
    border: none;
    padding: 0 18px;
    border-radius: 30px;
    color: white;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid #2d3a5e;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        background: white;
        flex-direction: column;
        width: 80%;
        height: 100vh;
        padding: 40px 20px;
        transition: 0.3s;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
        gap: 25px;
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}

/* Gallery, other pages */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 20px;
}

.hero-img img {
    max-width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow);
}

.stats-grid div {
    text-align: center;
    background: var(--white);
    padding: 20px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

/* ===== RED BORDER ON IMAGES WHEN HOVERED ===== */
.hero-img img,
.gallery-item img,
.card img,
.professor-card img,
img.rounded-img,
img:not(.logo-img) {
    transition: all 0.3s ease-in-out;
    border-radius: inherit;
}

.hero-img img:hover,
.gallery-item img:hover,
.card img:hover,
.professor-card img:hover {
    border: 3px solid var(--primary-red);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
    transform: scale(1.02);
}

/* ===== CREATIVE RED HOVER EFFECTS (NON-INTRUSIVE) ===== */

/* 1. Cards gain red border + slight lift + red shadow */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    border: 1px solid var(--primary-red);
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(211, 47, 47, 0.15);
}

/* 2. Buttons glow red on hover */
.btn-primary:hover {
    background: var(--dark-red);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.5);
    transform: translateY(-2px);
}

/* 3. Navigation links turn red with smooth underline */
.nav-menu a:hover {
    color: var(--primary-red);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

/* 4. Footer links turn red on hover */
.footer-col a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

/* 5. Social media icons get red background on hover */
.social-links a:hover {
    color: var(--white);
    background: var(--primary-red);
    padding: 5px;
    border-radius: 50%;
    transition: 0.2s;
}

/* 6. Red border on focus for form inputs (good UX) */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-red) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.2);
}

/* 7. Red underline for section titles (already there, but ensure no overlap) */
.section-title:after {
    background: var(--primary-red);
}

/* 8. Red shadow on floating WhatsApp & Call buttons */
.float-whatsapp:hover,
.float-call:hover {
    background: var(--dark-red);
    box-shadow: 0 0 12px var(--primary-red);
    transform: scale(1.1);
}

/* 9. Gallery items get red overlay on hover (creative) */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.gallery-item img {
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(211, 47, 47, 0);
    transition: all 0.3s ease;
    pointer-events: none;
    border-radius: 20px;
}

.gallery-item:hover::after {
    background: rgba(211, 47, 47, 0.15);
}

/* 10. Read more links turn red with arrow effect */
a[href="#"]:hover,
.card a:hover,
.blog-readmore:hover {
    color: var(--primary-red);
    transition: 0.2s;
}

/* 11. Subtle red border on current/active menu item (optional) */
.nav-menu li a.active {
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
}

/* ===== RED BORDER ON HOVER – ROUNDED CORNERS UNCHANGED ===== */
.hero-img img:hover,
.gallery-item img:hover,
.card img:hover,
.professor-card img:hover {
    border: 3px solid var(--primary-red) !important;
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.3);
    transition: all 0.3s ease;
}

/* Ensure the original border-radius is not overwritten */
.hero-img img,
.gallery-item img,
.card img,
.professor-card img {
    border-radius: inherit !important;
    /* keeps whatever radius they had */
}

/* ===== OPTIONAL: CREATIVE RED ACCENTS (WON'T AFFECT IMAGES) ===== */

/* Cards lift slightly + red border */
.card:hover {
    transform: translateY(-5px);
    border: 1px solid var(--primary-red);
    box-shadow: 0 15px 25px rgba(211, 47, 47, 0.1);
}

/* Buttons glow red */
.btn-primary:hover {
    background: var(--dark-red);
    box-shadow: 0 5px 12px rgba(211, 47, 47, 0.4);
}

/* Navigation links turn red */
.nav-menu a:hover {
    color: var(--primary-red);
}

/* Footer links turn red */
.footer-col a:hover {
    color: var(--primary-red);
}

/* WhatsApp/Call buttons red glow on hover */
.float-whatsapp:hover,
.float-call:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px var(--primary-red);
}