@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #ffffff;
    overflow-x: hidden; /* CRITICAL for the slider */
}
.quote1{
    background-color: #1540ad;
    border-radius: 20px;
    padding: 4px 15px;

}
.quote1:hover{
    color: #00164f !important;
    background-color: white !important;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

header.scrolled {
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 6%;
}
.logo {
    position: relative; /* This is the ANCHOR for the image */
    
    /* Set a height that matches your nav links */
    height: 80px; 

    /* Set a width to hold the space, 
       so nav links don't slide under the logo */
    width: 150px; /* <-- ADJUST this to your logo's width */
}
.logo img {
    position: absolute; /* Takes the image OUT of the layout flow */
    
    height: 120px; /* <-- *** SET YOUR DESIRED (BIG) HEIGHT HERE *** */
    width: auto;
    
    /* These two lines perfectly center the
       tall image against the 40px logo box */
    top: 50%;
    transform: translateY(-50%);
    
    left: 0; /* Aligns it to the left of the logo box */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center; /* Vertically align items */
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links li a:hover {
    color: #6FB1FC; /* Accent color */
}

/* --- NEW: Desktop Dropdown Styles --- */
.has-dropdown {
    position: relative;
}

.submenu {
    position: absolute;
    top: 150%; /* Position below the parent link */
    left: 50%;
    transform: translateX(-50%) scaleY(0.95);
    background-color: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.5rem;
    list-style: none;
    width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    
    /* Hide by default */
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.has-dropdown:hover > .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) scaleY(1);
    top: 120%;
}

.submenu li a {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    width: 100%;
    justify-content: flex-start;
}

.submenu li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.dropdown-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .desktop-arrow {
    transform: rotate(180deg);
}

.submenu-toggle-mobile {
    display: none; /* Hidden on desktop */
}

/* --- MOBILE RESPONSIVE STYLES (Includes mobile dropdown logic) --- */
@media (max-width: 768px) {
    /* Hamburger menu styles */
    .hamburger-menu { display: block; cursor: pointer; z-index: 1001; }
    .hamburger-menu .bar { width: 25px; height: 3px; background-color: #fff; margin: 5px 0; transition: all 0.4s ease; }
    
    /* Main mobile nav container */
    .nav-links { position: fixed; top: 0; right: 0; width: 100%; height: 100vh; background-color: rgba(18,18,18,0.95); backdrop-filter: blur(10px); flex-direction: column; justify-content: center; align-items: center; gap: 0; transform: translateX(100%); transition: transform 0.5s ease-in-out; }
    .nav-links.nav-active { transform: translateX(0%); }
    .nav-links > li { width: 100%; text-align: center; }
    .nav-links > li > a { font-size: 1.5rem; padding: 1rem 0; width: 100%; justify-content: center; }
    
    /* --- NEW: Mobile Dropdown Styles --- */
    .desktop-arrow { display: none; }
    .submenu-toggle-mobile {
        display: block;
        position: absolute;
        right: 25%;
        top: 0.7rem;
        background: none;
        border: none;
        color: #fff;
        padding: 0.75rem;
        cursor: pointer;
    }
    .submenu-toggle-mobile .dropdown-arrow { transition: transform 0.3s ease; }
    .has-dropdown.submenu-open > .submenu-toggle-mobile .dropdown-arrow { transform: rotate(180deg); }

    .submenu {
        position: static; /* No longer absolute */
        transform: none;
        width: 100%;
        background: none;
        backdrop-filter: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        margin-top: -0.5rem;
        margin-left: 220px;
        
        /* Hide with max-height for smooth transition */
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: max-height 0.4s ease-out;
    }
    
    .has-dropdown.submenu-open > .submenu {
        max-height: 500px; /* Animate to this height */
    }

    .submenu li a {
        font-size: 1.1rem;
        font-weight: 400;
        color: #aaa;
      
    }
}
/* --- GEOMETRIC FOOTER STYLES --- */
.geometric-footer {
    position: relative;
    background: #121212;
    color: #fff;
    padding: 120px 5% 40px 5%;
    overflow: hidden;
}

.footer-bg-shape {
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: #0d0d0d;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.footer-grid, .footer-bottom {
    position: relative;
    z-index: 2; /* Ensure content is above the background shape */
}

/* Re-using the standard, effective footer grid layout */
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1400px; margin: 0 auto; padding-bottom: 3rem; }
.footer-column h4 { font-size: 1.2rem; margin-bottom: 1rem; }
.footer-column h5 { font-size: 1rem; color: #aaa; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-column p { color: #888; line-height: 1.7; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { margin-bottom: 0.75rem; }
.footer-column ul a { color: #f0f0f0; text-decoration: none; transition: color 0.3s ease; }
.footer-column ul a:hover { color: #4364F7; }
.social-links { display: flex; gap: 1rem; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #555; border-radius: 50%; color: #fff; text-decoration: none; font-weight: 700; transition: all 0.3s ease; }
.social-links a:hover { background: #4364F7; border-color: #4364F7; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #333; color: #888; font-size: 0.9rem; }








