:root {
    --primary-blue: #2D5DA7; /* Picked from your logo */
    --accent-red: #E31E24;
    --dark-navy: #0A1221;
    --light-bg: #F4F7FA;
    --white: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --container-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Roboto, sans-serif; color: var(--text-main); line-height: 1.6; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

/* Navbar Styling */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 2000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}
.navbar.scrolled {
    background: var(--white);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 70px; }

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li a {
    color: var(--white);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    transition: 0.3s;
}
.navbar.scrolled .nav-links li a { color: var(--dark-navy); }
.nav-links li a:hover, .nav-links li a.active { color: var(--primary-blue); }

.nav-btn {
    background: var(--primary-blue);
    color: white !important;
    padding: 10px 25px;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
    background: #000;
}
#hero-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 1; filter: brightness(45%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { font-size: 4rem; line-height: 1.1; margin: 20px 0; }
.hero h1 span { color: var(--primary-blue); }
.hero .subtitle { letter-spacing: 4px; color: var(--accent-red); font-weight: 700; }
.hero-btns { margin-top: 30px; display: flex; justify-content: center; gap: 20px; }

.btn-primary { 
    background: var(--primary-blue); color: white; padding: 15px 35px; 
    text-decoration: none; border-radius: 4px; font-weight: 600; transition: 0.3s;
}
.btn-secondary {
    border: 2px white solid; color: white; padding: 13px 35px;
    text-decoration: none; border-radius: 4px; font-weight: 600;
}
.btn-primary:hover { background: var(--accent-red); transform: translateY(-3px); }

/* Stats Section */
.stats { background: var(--white); padding: 50px 0; margin-top: -50px; position: relative; z-index: 5; }
.stats-grid { 
    display: grid; grid-template-columns: repeat(4, 1fr); 
    background: var(--white); padding: 40px; border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05); text-align: center;
}
.stat-item h2 { font-size: 2.8rem; color: var(--primary-blue); }
.stat-item p { color: var(--text-muted); font-weight: 600; }

/* About Us */
.about { padding: 100px 0; background: var(--white); }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; border-radius: 10px; box-shadow: 20px 20px 0 var(--primary-blue); }
.experience-badge {
    position: absolute; top: -20px; left: -20px; background: var(--accent-red);
    color: white; padding: 20px; border-radius: 5px; font-weight: 700; width: 120px; text-align: center;
}
.section-tag { color: var(--primary-blue); font-weight: 800; letter-spacing: 2px; }
.about-text h1 { font-size: 2.8rem; margin: 15px 0; line-height: 1.2; }
.about-text h1 span { color: var(--primary-blue); }
.contact-strip { display: flex; gap: 30px; margin-top: 30px; border-top: 1px solid #eee; padding-top: 30px; }
.info-box { display: flex; align-items: center; gap: 15px; }
.info-box i { font-size: 1.5rem; color: var(--primary-blue); }
.info-box span { font-size: 0.8rem; color: var(--text-muted); }
.info-box p { font-weight: 700; }

/* Footer */
.footer { background: var(--dark-navy); color: white; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer-logo { height: 60px; margin-bottom: 25px; }
.footer-col h3 { margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { 
    content: ''; position: absolute; left: 0; bottom: 0; 
    width: 40px; height: 3px; background: var(--primary-blue); 
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: #aaa; text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--primary-blue); padding-left: 5px; }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { 
    width: 40px; height: 40px; background: rgba(255,255,255,0.05); 
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
    color: white; text-decoration: none; transition: 0.3s;
}
.social-links a:hover { background: var(--primary-blue); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 25px 0; text-align: center; color: #777; font-size: 0.9rem; }

/* Client Slider */
/* Client Slider Header */
.clients-section { padding: 80px 0 50px; background: #fff; }
.clients-header { text-align: center; margin-bottom: 40px; }

.client-swiper { padding: 20px 0; }
.client-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
    transition: 0.3s;
}
.client-swiper .swiper-slide:hover { opacity: 1; }
.client-swiper img { width: 150px; height: auto; filter: grayscale(100%); transition: 0.3s; }
.client-swiper img:hover { filter: grayscale(0%); }

/* Testimonial Improvements */
.testimonial-swiper { padding-bottom: 50px; }
.t-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f1f1f1;
    height: 100%;
}

/* Fix for Swiper height and card spacing */
.services-swiper {
    padding: 20px 0 50px 0; 
}

.services-swiper .swiper-slide {
    height: auto; 
    display: flex;
}

.services-swiper .service-card {
    width: 100%;
    margin: 0; 
}

/* Blue Quote Icon */
.quote-icon { color: var(--primary-blue); font-size: 2.5rem; margin-bottom: 20px; }

.user-name { 
    font-weight: 800 !important; 
    color: var(--dark-navy); 
    font-size: 1.1rem; 
    margin-bottom: 2px;
}
.user-desig { color: var(--accent-red); font-size: 0.85rem; font-weight: 600; }

.swiper-pagination-bullet-active { background: var(--primary-blue) !important; }

.services { padding: 100px 0; background: var(--light-bg); }
.section-header { text-align: center; margin-bottom: 50px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { 
    background: var(--white); 
    padding: 50px 30px; 
    border-radius: 10px; 
    transition: 0.4s; 
    position: relative;
    border-bottom: 4px solid transparent;
}
.service-card:hover { transform: translateY(-10px); border-bottom-color: var(--primary-blue); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.service-card.active { background:   white; }
.s-icon { font-size: 3rem; color: var(--primary-blue); margin-bottom: 20px; }
.service-card h3 { margin-bottom: 15px; font-size: 1.5rem; }
.service-card p { color: var(--text-muted); margin-bottom: 20px; }
.service-card.active p { color: #ccc; }
.s-link { text-decoration: none; color: var(--primary-blue); font-weight: 700; font-size: 0.9rem; }

/* Testimonials */
.testimonials { padding: 100px 0; background: #fff; }

.testimonial-swiper {
    padding: 20px 20px 60px 20px; 
}

.t-card { 
    background: var(--white); 
    padding: 50px 40px; 
    border-radius: 15px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    position: relative;
    height: 100%; 
    border: 1px solid #f0f0f0;
}

/* Blue Quote Icon */
.t-card .quote { 
    color: var(--primary-blue); 
    font-size: 2.2rem; 
    margin-bottom: 20px;
    opacity: 0.8;
}

.t-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Bold Name Styling */
.user-name { 
    font-weight: 800 !important; 
    color: var(--dark-navy); 
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.t-user span {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Swiper Pagination Color */
.swiper-pagination-bullet-active {
    background: var(--primary-blue) !important;
}

/* Fix Client Slider to show 5 at once */
.client-swiper { padding: 30px 0; }
.client-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Blogs */
.blogs { padding: 100px 0; background: #fff; }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.blog-card { border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.blog-img img { width: 100%; height: 250px; object-fit: cover; transition: 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.1); }
.blog-content { padding: 30px; }
.blog-date { color: var(--accent-red); font-size: 0.8rem; font-weight: 700; display: block; margin-bottom: 10px; }
.blog-content h3 { margin-bottom: 15px; font-size: 1.4rem; }
.read-more { color: var(--primary-blue); text-decoration: none; font-weight: 700; }

@media (max-width: 768px) {
    .services-grid, .testimonial-wrapper, .blog-grid { grid-template-columns: 1fr; }
}

/* Roadmap Section */
.roadmap { padding: 100px 0; background: var(--light-bg); overflow: hidden; }

.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
}

/* The Vertical Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #ddd;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* Alternating Sides */
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }

/* The Number Dots */
.timeline-dot {
    position: absolute;
    width: 40px;
    height: 40px;
    right: -20px;
    background-color: var(--white);
    border: 3px solid var(--primary-blue);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary-blue);
    transition: 0.4s;
}

.timeline-item:nth-child(even) .timeline-dot { left: -20px; }

.timeline-item:hover .timeline-dot {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
    transform: scale(1.2);
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--white);
    position: relative;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.timeline-content:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Responsive Roadmap */
@media (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left !important; }
    .timeline-dot { left: 10px !important; right: auto; }
    .timeline-item:nth-child(even) { left: 0%; }
}

/* Footer Contact Styling */
.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px !important;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-top: 5px;
}

.footer-contact span {
    color: #aaa;
    line-height: 1.4;
    font-size: 0.95rem;
}

/* Ensure footer grid stays balanced */
.footer-grid {
    grid-template-columns: 1.5fr 1fr 1.2fr !important;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: left;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .about-container, .footer-grid, .stats-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
}




/* --- Navbar Enhancements --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5000;
    padding: 25px 0;
    transition: all 0.4s ease;
    background: transparent;
}

/* Scrolled State */
.navbar.scrolled {
    background: white;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Logo handling: White on transparent, Original on scrolled */
.navbar .logo {
    /*filter: brightness(0) invert(1);*/ 
    transition: 0.3s;
}
.navbar.scrolled .logo {
    filter: none; /* Shows original colors */
}

/* Nav Links Color Logic */
.nav-links li a {
    color: white !important;
    font-weight: 600;
    transition: 0.3s;
}
.navbar.scrolled .nav-links li a:not(.nav-btn) {
    color: var(--dark-navy) !important;
}
.navbar.scrolled .nav-links li a:hover {
    color: var(--primary-blue) !important;
}

/* Desktop Dropdown Positioning */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 0.3s ease;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Sidebar Logic */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--dark-navy);
        flex-direction: column;
        padding: 50px 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex !important; /* Override Tailwind hidden */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin: 0 !important;
    }

    .nav-links li a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        color: white !important;
    }

    .dropdown-menu {
        position: static;
        background: rgba(255,255,255,0.05);
        display: none; /* Toggled via JS */
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 10px;
    }
    
    .dropdown.open .dropdown-menu {
        display: block;
    }
} 