/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
/* For accent headings */

:root {
    --primary: #004494;
    --primary-dark: #002a5c;
    --secondary: #608CA7;
    --gold: #D4AF37;
    /* Premium Gold Accent */
    --light-bg: #F9FAFB;
    --dark-bg: #0B1120;
    --text-body: #4A5568;
    --gradient-overlay: linear-gradient(180deg, rgba(0, 20, 50, 0.6) 0%, rgba(0, 40, 80, 0.2) 100%);
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-body);
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- Typography --- */
h1,
h2,
h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    color: var(--primary-dark);
}

.serif-font {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gold);
}

/* --- Premium Buttons --- */
.btn-glow {
    position: relative;
    padding: 16px 40px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 68, 148, 0.4);
    border: none;
    z-index: 1;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 68, 148, 0.5);
    color: green;
}

/* --- Navbar (Frosted Glass) --- */
.navbar {
    padding: 25px 0;
    transition: 0.4s;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link {
    font-weight: 600;
    color: white !important;
    margin: 0 12px;
    font-size: 0.95rem;
}

.navbar.scrolled .nav-link {
    color: var(--primary-dark) !important;
}

/* assets/css/style.css */

.navbar-brand img {
    height: 60px;
    /* Strict height limit */
    width: auto;
    /* Maintain aspect ratio */
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Optional: Make it slightly smaller on mobile */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 45px;
    }
}

.navbar.scrolled .navbar-brand img {
    filter: none;
}

/* --- Cinematic Hero Slider --- */
.hero-slider-wrapper {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    animation: kenBurns 18s infinite alternate;
    /* The Premium Motion Effect */
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    padding-left: 5%;
}

.hero-line {
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.3s;
}

.hero-title {
    font-size: 4.5rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.5s;
}

.hero-sub {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.7s;
}

.hero-btns {
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.9s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Floating Stats Card (Glass) --- */
.stats-floater {
    position: absolute;
    bottom: 50px;
    right: 5%;
    z-index: 20;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 20px;
    color: white;
    width: 300px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: none;
    /* Hidden on mobile, shown on lg */
}

@media(min-width: 992px) {
    .stats-floater {
        display: block;
    }
}

/* --- Broken Grid About Section --- */
.about-premium {
    padding: 120px 0;
    position: relative;
}

.img-stack {
    position: relative;
    height: 500px;
}

.img-stack-1 {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.img-stack-2 {
    width: 50%;
    height: 60%;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 10px solid white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.pattern-dots {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--secondary) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
}

/* --- Features (Hover Lift) --- */
.feature-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    transition: 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 68, 148, 0.08);
    border-color: transparent;
}

.icon-soft {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: rgba(0, 68, 148, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: 0.3s;
}

.feature-box:hover .icon-soft {
    background: var(--primary);
    color: white;
}

/* --- Footer (Straight & Premium) --- */
.footer-arch {
    background-color: var(--dark-bg);
    color: #A0AEC0;
    padding-top: 80px;
    position: relative;
    /* Removed clip-path and negative margin */
    border-top: 4px solid var(--gold);
    /* Premium accent line at the top */
}

.footer-title {
    color: white;
    margin-bottom: 30px;
    margin-top: -50px;
}

.footer-link {
    display: block;
    color: #A0AEC0;
    text-decoration: none;
    margin-bottom: 15px;
    transition: 0.3s;
}

.footer-link:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 50px;
    display: flex;
}

.newsletter-input {
    background: transparent;
    border: none;
    color: white;
    padding: 10px 20px;
    width: 100%;
}

.newsletter-input:focus {
    outline: none;
    background: transparent;
    color: white;
}

.newsletter-btn {
    background: var(--gold);
    color: var(--primary-dark);
    border-radius: 50px;
    padding: 10px 25px;
    border: none;
    font-weight: 700;
}

/* Mobile Adjustments */
@media(max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-content {
        padding-left: 15px;
        text-align: center;
    }

    .hero-line {
        margin: 0 auto 20px auto;
    }

    .img-stack {
        height: 350px;
        margin-bottom: 40px;
    }

    .footer-arch {
        clip-path: none;
        margin-top: 0;
    }
}

.legal-link-item {
    color: #ffffff !important;
    /* Pure White */
    font-size: 0.9rem;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

.legal-link-item:hover {
    color: #D4AF37 !important;
    /* Gold on Hover */
    opacity: 1;
    text-decoration: underline;
}

/* assets/css/style.css - Add this at the bottom */

/* --- Mobile Menu Premium Fix --- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98); /* Clean White Background */
        backdrop-filter: blur(15px); /* Frosted Glass Effect */
        -webkit-backdrop-filter: blur(15px);
        padding: 25px;
        border-radius: 20px; /* Modern Rounded Corners */
        margin-top: 15px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2); /* Deep Shadow for Depth */
        border: 1px solid rgba(255, 255, 255, 0.5);
    }

    /* Link Styling for Mobile (Dark Text on White Bg) */
    .navbar-nav .nav-link {
        color: var(--text-dark) !important;
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05); /* Subtle Divider */
        text-align: center;
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link.active {
        color: var(--primary) !important;
        font-weight: 800;
    }

    /* Adjust Buttons for Mobile */
    .navbar-nav .nav-item.ms-lg-3 {
        margin-left: 0 !important;
        margin-top: 20px;
    }

    .navbar-nav .btn-glow {
        width: 100%; /* Full width button looks better on mobile */
        display: block;
        margin-bottom: 10px;
    }

    /* Fix the Lock Icon Color on Mobile */
    .navbar-nav .fa-lock {
        color: var(--primary-dark);
        background: rgba(0, 68, 148, 0.1);
        padding: 10px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        line-height: 20px;
        text-align: center;
        margin: 10px auto;
        display: block;
    }
}

/* assets/css/style.css - Add to bottom */

/* --- Enhanced "Discover More" Button (Global) --- */
/* This fixes the "faint" look by adding a glass effect */
.btn-outline-white {
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 700;
    padding: 16px 40px; /* Match size of btn-glow */
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15); /* Slight white tint */
    backdrop-filter: blur(8px); /* Blur background image behind text */
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

.btn-outline-white:hover {
    background: #ffffff;
    color: var(--primary); /* Turns blue on hover */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: translateY(-3px);
}

/* --- Mobile Hero Button Stacking --- */
@media (max-width: 768px) {
    .hero-btns {
        display: flex;
        flex-direction: column; /* Stack vertically */
        align-items: center;    /* Center align */
        justify-content: center;
        gap: 15px;              /* Space between buttons */
        width: 100%;
        max-width: 280px;       /* Limit width for neatness */
        margin: 0 auto;         /* Center the container */
    }

    .hero-btns .btn {
        width: 100%;            /* Make buttons full width of container */
        display: block;
        margin: 0 !important;   /* Remove any side margins (me-3) */
        padding: 14px 20px;     /* Comfortable touch target */
    }
    
    /* Ensure Start Application is solid and prominent */
    .hero-btns .btn-glow {
        order: 1; /* Force to top (default, but ensures safety) */
    }
    
    /* Ensure Discover More is under */
    .hero-btns .btn-outline-white {
        order: 2;
        background: rgba(0, 0, 0, 0.4); /* Darker glass on mobile for max readability */
        border-color: rgba(255,255,255,0.5);
    }
}

/* assets/css/style.css - Add to bottom */

/* --- Mobile About Section Styling --- */
@media (max-width: 991px) {
    /* Target the text column in the About section */
    #about .col-lg-5, 
    #about .col-lg-6 {
        text-align: center !important; /* Center the Heading and Paragraph */
    }

    /* Reset the left padding used for Desktop */
    #about .ps-lg-5, 
    #about .offset-lg-1 {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-top: 30px; /* Add breathing room between Image and Text */
    }

    /* Style the "Read Our Story" Button specifically for mobile */
    #about .btn-outline-dark {
        display: block;          /* Make it a block element */
        width: 100%;             /* Stretch to full width */
        max-width: 280px;        /* Cap the width so it looks neat */
        margin: 25px auto 0;     /* Center it horizontally and add top space */
        padding: 14px 20px;      /* Comfortable touch size */
    }
}

/* assets/css/style.css - Add to bottom */

/* --- Fix Modal Z-Index Overlap --- */
.modal-backdrop {
    z-index: 5000 !important; /* Higher than Navbar (2000) */
}

.modal {
    z-index: 5001 !important; /* Higher than Backdrop */
}

/* assets/css/style.css - Replace the previous mobile block */

/* --- Mobile Navbar Optimization (Revised) --- */
@media (max-width: 991px) {
    /* 1. Balanced Logo Size */
    .navbar-brand img {
        height: 100px !important; /* Visible & Bold, but not overwhelming */
        width: auto;
        margin-top: 15px;
    }

    /* 2. Balanced Spacing */
    .navbar {
        padding: 12px 0 !important; /* Enough room to breathe */
    }

    /* 3. Align Hamburger Icon Vertical Center */
    .navbar-toggler {
        margin-top: 5px; /* Pushes icon down slightly to align with taller logo */
        border: none; /* Cleaner look */
    }
    
    /* Optional: Ensure the icon is white and visible */
    .navbar-toggler:focus {
        box-shadow: none; /* Removes the default blue glow box */
    }
}

/* assets/css/style.css - Add to bottom */

@media (max-width: 991px) {
    /* Optimize About Section Paragraph for Mobile */
    #about .lead {
        font-size: 1.05rem !important; /* Reduced from 1.25rem to fit mobile better */
        line-height: 1.6 !important;    /* Cleaner spacing between lines */
        font-weight: 500 !important;    /* Slightly bolder for better legibility on small screens */
        text-align: justify;            /* Optional: Makes the block look neater on phones */
    }
}