/* CSS Variables */
:root {
    --primary: #0B3C5D;
    --secondary: #dc2626; /* Vibrant Red accent */
    --accent: #D4AF37;
    --background: #ffffff;
    --footer-bg: #070c18;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #64748b;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* ------------------
   HEADER & NAVIGATION
------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid var(--secondary);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: 800;
    white-space: nowrap;
}

.brand-logo {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: var(--secondary);
}

.highlight-link {
    color: var(--secondary) !important;
    font-weight: 700;
}

.header-btn {
    background-color: var(--secondary);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.header-btn:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
}

/* Mega Menu Dropdown */
.mega-menu {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 3px solid var(--secondary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    padding: 30px 0;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mega-col h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 700;
}

.mega-col ul li {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.mega-col ul li i {
    color: var(--secondary);
    margin-right: 6px;
}

/* --------------------------------------------------
   HERO SLIDER
-------------------------------------------------- */
.hero-slider-section {
    position: relative;
    height: 88vh;
    min-height: 560px;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 6s ease;
    z-index: 1;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.1) 50%, 
        rgba(0, 0, 0, 0.45) 100%
    );
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
}

.slide-text-card {
    width: 100%;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-top: none !important;
    box-shadow: none !important;
    padding: 0 20px 48px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slide-badge {
    display: inline-block;
    background-color: var(--secondary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.slide-title {
    font-size: clamp(1.5rem, 3.2vw, 2.3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 6px;
    color: #ffffff;
    max-width: 1000px;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 12px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(0, 0, 0, 0.5);
}

.slide-desc {
    font-size: clamp(0.88rem, 1.4vw, 1rem);
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 12px;
    max-width: 850px;
    line-height: 1.4;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 10px rgba(0, 0, 0, 0.7);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.btn-primary {
    background-color: var(--secondary);
    color: #ffffff;
    border: none;
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    user-select: none;
}

.arrow-icon {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
    display: block;
}

.slider-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 40;
}

.dot {
    width: 100px;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.dot.active {
    background: var(--secondary);
    width: 28px;
    border-radius: 10px;
}

/* ------------------
   SECTIONS GENERAL
------------------- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lead-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 15px 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
}

/* Services Section */
.services-section { background: #f8fafc; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

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

.card-icon {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Video Block Styling */
.service-block-media {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: #0f172a;
    aspect-ratio: 16 / 9;
}

.service-block-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Registration Form Section */
.registration-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group input, .form-group select {
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
}

/* FAQ Accordion Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: #f8fafc;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

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

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

/* Contact Info Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 6px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--secondary);
}

/* ------------------
   FOOTER
------------------- */
.footer {
    background-color: var(--footer-bg);
    color: var(--text-light);
    padding-top: 70px;
    border-top: 4px solid var(--secondary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.company-tagline {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.social-link:hover {
    background: var(--secondary);
}

.footer-title {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
}

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

.footer-contact-info p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-info i { color: var(--secondary); }

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* ------------------
   MOBILE MENU & OVERLAY
------------------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Full-Screen Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-modal-card {
    background: #ffffff;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeInFull 0.3s ease-out forwards;
}

@keyframes fadeInFull {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.mobile-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    flex-shrink: 0;
}

.mobile-logo-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.mobile-logo-text {
    color: var(--secondary);
    font-size: 1.1rem;
    font-weight: 800;
    white-space: nowrap;
}

.mobile-modal-logo {
    height: 38px;
    width: auto;
}

.mobile-modal-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0 0.5rem;
}

.mobile-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    -webkit-overflow-scrolling: touch;
}

.m-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.m-link:hover, 
.m-link:active {
    background: #f3f4f6;
    color: var(--secondary);
}

.m-highlight {
    color: var(--secondary);
    font-weight: 700;
}

.m-btn {
    margin-top: 1rem;
    background: var(--secondary);
    color: #ffffff;
    text-align: center;
    justify-content: center;
}

.m-btn:hover,
.m-btn:active {
    background: #b91c1c;
    color: #ffffff;
}

/* Accordion Submenu Styles */
.m-dropdown { width: 100%; }

.m-icon {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.m-dropdown.open .m-icon {
    transform: rotate(180deg);
}

.m-submenu {
    display: none;
    padding: 0.5rem 0 0.5rem 0.75rem;
    margin-left: 0.5rem;
    border-left: 2px solid #e5e7eb;
}

.m-dropdown.open .m-submenu {
    display: block;
}

.m-group { margin-bottom: 1rem; }
.m-group:last-child { margin-bottom: 0; }

.m-group-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.m-group-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.m-sublink {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
}

.m-sublink:hover,
.m-sublink:active {
    color: var(--secondary);
    background: #f9fafb;
}

/* ------------------
   MEDIA QUERIES
------------------- */
@media (max-width: 992px) {
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .about-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hero-slider-section {
        height: 80vh;
        min-height: 500px;
    }

    .slide-text-card {
        padding: 0 14px 42px 14px;
    }

    .slide-title {
        font-size: 1.25rem;
    }

    .slide-desc {
        font-size: 0.82rem;
        -webkit-line-clamp: 2;
    }

    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }

    .slider-btn {
        width: 38px;
        height: 38px;
        top: 35%;
    }

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



/* 3-Column Responsive Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* Slideshow Container */
.gallery-card {
    position: relative;
    height: 260px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slideshow-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 0.4s ease;
}

.slide-img.active {
    opacity: 1;
}

.gallery-card:hover .slide-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(11, 60, 93, 0.9));
    color: #fff;
    padding: 15px;
    text-align: center;
}

/* Fullscreen Lightbox */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active { display: flex; }

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 6px;
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 10px;
    font-size: 1.1rem;
}

.lightbox-close {
    position: absolute;
    top: 20px; right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }