:root {
    --primary-blue: #004aad;
    --light-blue: #eef4ff;
    --text-dark: #1a2a3a;
    --text-light: #5a6a7a;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--primary-blue);
}

/* Hero */
/* Hero Section Base */

/*
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);

   background-image: url('./images/vid/landing.png');

    background-size: cover;
    background-position: center;
}


.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;

    background: transparent; 
}

*/

.hero {
       position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);

  
    background-size: cover;
    background-position: center;
}

/* The fallback image is applied to a separate div or pseudo-element 
   to prevent it from interfering with the video object */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('./images/vid/landing.png');
    background-size: cover;
    background-position: center;
    z-index: -3; /* Lowest layer */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2; /* Sits ABOVE the background image */
    background: transparent;
}


/* Dark Overlay for Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 20, 50, 0.6); /* Deep blue tint */
    z-index: -1;
}

/* Ensure Content stays on top */
.hero-container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white); /* Changed to white for video contrast */
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 150px 0 100px;
    }
}

.btn-primary {
    padding: 15px 35px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #003580;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 20px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--primary-blue);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-top: 10px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-highlight {
    background: var(--light-blue);
    padding: 40px;
    border-left: 5px solid var(--primary-blue);
    font-style: italic;
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    padding: 40px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--primary-blue);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

/* Tiers */
.tier-category {
    margin-top: 50px;
}

.tier-category h3 {
    text-align: center;
    margin-bottom: 30px;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tier-card {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    text-align: center;
    border-radius: 8px;
}

.tier-card.active {
    background: var(--primary-blue);
    color: white;
}

.tier-card h4 { margin-bottom: 10px; }

/* Reporting */
.reporting-section {
    margin-top: 60px;
    display: flex;
    gap: 20px;
}

.report-box {
    flex: 1;
    background: var(--light-blue);
    padding: 30px;
    border-radius: 8px;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-links ul { list-style: none; }
.footer-links a { color: #ccc; text-decoration: none; }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 20px; font-size: 0.8rem; color: #888; }

/* Mobile Menu */
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background-color: var(--text-dark); margin: 5px; }

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 80px;
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }
    .nav-links li { opacity: 0; margin: 20px 0; }
    .burger { display: block; }
    .about-grid { grid-template-columns: 1fr; }
    .reporting-section { flex-direction: column; }
    .hero h1 { font-size: 2.5rem; }
}

.nav-active { transform: translateX(0%); }

@keyframes navLinkFade {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0px); }
}

/* Logo Styling */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 50px; /* Adjust this height to fit your preference */
    width: auto;  /* Maintains aspect ratio */
    display: block;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.02); /* Subtle hover effect */
}

/* Adjust mobile styles if the logo is too wide */
@media (max-width: 480px) {
    .nav-logo {
        height: 40px;
    }
}

/* About Section Logo Styling */
.about-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px; /* Space between logo and "Who We Are" */
}

.about-logo-mark {
    height: 170px; /* Slightly larger than the navbar version */
    width: auto;
    opacity: 0.9; /* Slight transparency for a sophisticated look */
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.05));
    transition: var(--transition);
}

.about-logo-mark:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* Adjusting the Section Title for better spacing */
.about .section-title {
    margin-bottom: 50px;
}


/* Service Card Image Styling */
.image-card {
    padding: 0; /* Remove padding so image touches the edges */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-image-wrapper {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crops image to fit the container */
    transition: transform 0.5s ease;
}

.card-content {
    padding: 30px; /* Add padding back to the text area */
}

/* Hover Effect: Zoom the image slightly */
.image-card:hover .service-img {
    transform: scale(1.1);
}

.image-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* Optional: Add a subtle blue overlay to images to match the theme */
.card-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 74, 173, 0.1); /* Very faint primary blue tint */
    pointer-events: none;
}



/* Modern Layout Styling */
.services-detail {
    background: #fcfdfe;
    padding: 20px 0;
}

.modern-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.modern-row.reverse {
    direction: rtl; /* Flip the row for Z-pattern */
}

.modern-row.reverse .modern-text {
    direction: ltr; /* Reset text direction */
}

.modern-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.15);
    transition: transform 0.4s ease;
}

.modern-image:hover img {
    transform: translateY(-10px);
}

.tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.modern-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.curiosity-point {
    margin-top: 30px;
    padding: 20px;
    border-left: 4px solid var(--primary-blue);
    background: white;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Vision Cards (Reporting/Forecasting) */
.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vision-card {
    background: var(--primary-blue);
    color: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
}

.vision-card h3 { margin: 20px 0; font-size: 1.8rem; }
.vision-card .vision-icon { font-size: 3rem; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .modern-row, .modern-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .vision-grid { grid-template-columns: 1fr; }
}



/* Insights Section Styling */
.insights-section {
    background-color: #f8faff;
    padding: 100px 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.insight-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 74, 173, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 74, 173, 0.05);
}

.insight-card:hover {
    transform: translateY(-10px);
}

.insight-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insight-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-blue);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.insight-content {
    padding: 40px;
}

.insight-content h3 {
    color: var(--primary-blue);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.insight-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.insight-list {
    list-style: none;
    padding: 0;
}

.insight-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.insight-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
    .insight-content {
        padding: 25px;
    }
}



/* Footer Base */
.footer {
    background-color: #050b18; /* Premium deep navy */
    color: #e0e6ed;
    padding: 100px 0 0;
    font-size: 0.95rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 80px;
}

/* Brand Section */
.footer-logo {
    height: 45px;
    margin-bottom: 25px;
   
}

.footer-brand p {
    line-height: 1.8;
    color: #a0aec0;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

/* Links & Groups */
.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
}

.footer-group ul {
    list-style: none;
    padding: 0;
}

.footer-group ul li {
    margin-bottom: 15px;
}

.footer-group ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-group ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* Contact Info */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #a0aec0;
}

.contact-item svg {
    color: var(--primary-blue);
    flex-shrink: 0;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #718096;
    font-size: 0.85rem;
}

.footer-legal a {
    color: #718096;
    text-decoration: none;
    margin-left: 20px;
}

/* Mobile Responsive Footer */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}