/* =========================================
   GLOABL TOKENS & RESET
   ========================================= */
:root {
    /* Brand Colors extracted from Disha */
    --clr-navy: #0F204B;       /* Deep Navy Blue - Trust, Premium */
    --clr-navy-light: #1A3673; /* Lighter Navy */
    --clr-charcoal: #14161A;   /* Near-black charcoal for footer */
    --clr-red: #E31837;        /* Vibrant Red - Action */
    --clr-red-hover: #C1122C;  /* Darker Red for hover */
    
    /* Neutrals */
    --clr-white: #FFFFFF;
    --clr-light-bg: #F8F9FA;
    --clr-gray-blue: #E2E8F0;
    --clr-text-main: #334155;
    --clr-text-light: #64748B;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-title: 'Anton', sans-serif;
    --font-tagline: 'Dancing Script', cursive;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 4px 6px -1px rgba(15, 32, 75, 0.05), 0 2px 4px -1px rgba(15, 32, 75, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(15, 32, 75, 0.08), 0 4px 6px -2px rgba(15, 32, 75, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(15, 32, 75, 0.1), 0 10px 10px -5px rgba(15, 32, 75, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --space-1: clamp(0.5rem, 1.5vw, 0.75rem);
    --space-2: clamp(0.75rem, 2vw, 1rem);
    --space-3: clamp(1rem, 2.5vw, 1.5rem);
    --space-4: clamp(1.5rem, 3vw, 2rem);
    --space-5: clamp(2rem, 4vw, 3rem);
    --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
    --fs-h1: clamp(2rem, 6vw, 4rem);
    --fs-h2: clamp(1.6rem, 4.5vw, 2.5rem);
    --fs-h3: clamp(1.2rem, 3.5vw, 1.6rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: var(--clr-text-main);
    background-color: var(--clr-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Global Content Wrapping Failsafes */
p, h1, h2, h3, h4, h5, h6, .brand-text {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

img, svg, video {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-navy);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   UTILITIES & COMPONENTS
   ========================================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-3);
}

.section {
    padding: var(--space-5) 0;
}

.section-light {
    background-color: var(--clr-light-bg);
}

.section-dark {
    background-color: var(--clr-navy);
    color: var(--clr-white);
}

/* Shared inner page title banner (About/Services/Projects/Contact) */
.page-header {
    position: relative;
    overflow: hidden;
    padding: 10rem 0 4.5rem;
    text-align: center;
    background: linear-gradient(120deg, #0f204b 0%, #13295f 45%, #0d1c42 100%);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: -20% -10%;
    background:
        radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.1), transparent 42%),
        radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.07), transparent 38%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(245, 247, 250, 0.3) 70%, rgba(245, 247, 250, 0.8) 100%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: clamp(2rem, 4.3vw, 3rem);
    color: var(--clr-white);
    margin: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Section Titles styling */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    margin-bottom: 1.8rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--clr-red);
}

.section-dark .section-title h2 {
    color: var(--clr-white);
}

/* Headings that use a separate .heading-divider div — suppress the ::after line to avoid doubling */
.section-title .section-heading::after {
    display: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--clr-red);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: var(--clr-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--clr-navy);
    color: var(--clr-navy);
}

.btn-outline:hover {
    background-color: var(--clr-navy);
    color: var(--clr-white);
}

.btn-outline-red {
    background-color: transparent;
    border: 2px solid var(--clr-red);
    color: var(--clr-red);
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-align: center;
    text-transform: uppercase;
}

.btn-outline-red:hover {
    background-color: var(--clr-red);
    color: var(--clr-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-cta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* =========================================
   NAVBAR
   ========================================= */
/* Navbar & Branding Refinement */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff !important; /* Force Solid White at all times */
    border-bottom: 2px solid var(--clr-gray-blue);
    padding: 0.75rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 1.5rem;
    flex-wrap: nowrap;
    gap: 1.5rem;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

/* Make dropdown wrappers flex so they don't add extra height vs plain links */
.dropdown {
    display: flex;
    align-items: center;
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--clr-white);
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 4px;
    z-index: 1001;
    padding: 0.5rem 0;
}

.dropdown-content a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: var(--clr-navy);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: rgba(227, 24, 55, 0.05);
    color: var(--clr-red);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.logo-lockup {
    display: flex;
    align-items: center; /* Vertical alignment with the entire text block */
    gap: 15px; /* Slightly more breathe room */
    min-width: 0; /* Allows shrinking */
}

.logo-img {
    height: 80px; /* Slightly reduced as requested */
    width: auto;
    object-fit: contain;
    margin-top: -2px; /* Maintaining correct vertical alignment */
    flex-shrink: 0; /* Prevents logo from squishing */
    transition: var(--transition);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Allows text to wrap or scale down */
}

.brand-title {
    font-family: var(--font-title); /* Restored to Anton font */
    font-size: 1.85rem; /* Shrunk slightly to match icon */
    color: #FF0000;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 0.6px; /* Very slight spacing added */
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.reg-symbol {
    font-size: 0.65em; /* Larger per request */
    font-family: 'Arial', sans-serif;
    vertical-align: top;
    position: relative;
    top: -8px; /* Slightly higher per request */
    font-weight: 700;
    margin-left: 4px;
    display: inline-block;
    color: #FF0000; /* Ensuring it's the brand red */
    transition: var(--transition);
}

.tagline-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%; /* Stretch to perfectly match the title width */
    margin-top: 2px;
}

.brand-tagline {
    font-family: var(--font-tagline);
    font-size: 1.25rem; /* Proportional increase for better balance with large logo */
    color: #1A3673; /* Elegant Blue Script */
    font-weight: 700;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
    text-align: center; /* Centers the script within the full-width block */
    width: 100%;
    transition: var(--transition);
}

.tagline-lines {
    height: 10px; /* Thicker distinct lines */
    width: 100%;
    border-top: 3px solid #FFD600; /* Bold vibrant yellow */
    border-bottom: 3px solid #FFD600; /* Bold vibrant yellow */
    margin-top: 5px;
}

/* Scroll behavior refinements */
.navbar.scrolled .logo-img { height: 54px; }
.navbar.scrolled .brand-title { font-size: 1.6rem; color: #FF0000; }
.navbar.scrolled .reg-symbol { color: #FF0000; }
.navbar.scrolled .brand-tagline { font-size: 1rem; }

/* Footer Branding Sync */
.footer-logo-lockup .brand-title {
    color: #ffffff;
    display: flex;
    align-items: center;
}

.footer-logo-lockup .reg-symbol {
    color: #ffffff;
}

.footer-logo-lockup .brand-tagline {
    color: #ffffff;
}

.footer-logo-lockup .tagline-lines {
    border-top-color: #FFD700;
    border-bottom-color: #FFD700;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--clr-navy); /* Dark by default */
    position: relative;
    padding-bottom: 5px;
}

.navbar.scrolled .mobile-toggle {
    color: var(--clr-navy);
}

.footer-logo-lockup {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 76px; /* Proportionally increased with header logo */
    width: auto;
    margin-top: -2px; /* Consistent elevation with header logo */
}



.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--clr-navy);
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0.25rem;
    touch-action: manipulation;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--clr-red);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}


.mobile-toggle.active i {
    color: var(--clr-red);
}

/* Mobile drawer nav (shown via JS class toggle) */
.mobile-nav {
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    background: var(--clr-white);
    border-top: 1px solid var(--clr-gray-blue);
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.mobile-nav nav {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 1rem 1rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--clr-gray-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-navy);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.mobile-nav-link.btn-mobile-quote {
    border-bottom: 0;
    margin-top: 0.4rem;
    background-color: var(--clr-red);
    color: var(--clr-white);
    border-radius: 4px;
    text-align: center;
    padding: 0.9rem 1rem;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--clr-navy);
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 32, 75, 0.95) 0%, rgba(15, 32, 75, 0.5) 100%);
    z-index: -1;
}

.hero-content {
    color: var(--clr-white);
    max-width: 800px;
    padding-top: 5rem;
}

.hero-subtitle {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background-color: var(--clr-red);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.hero-title {
    font-size: 4rem;
    color: var(--clr-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-stats-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    margin-bottom: 0;
}

.hero-stats {
    background-color: var(--clr-white);
    padding: 2.5rem 4rem;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 4px solid var(--clr-red);
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--clr-navy);
    font-weight: 800;
    display: inline-block;
}

.stat-item span {
    font-size: 3.5rem;
    color: var(--clr-red);
    font-weight: 800;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--clr-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    align-items: center;
    padding-top: 2rem;
}

.section-subtitle {
    color: var(--clr-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

.section-heading {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: none;
}

.heading-divider {
    width: 60px;
    height: 4px;
    background-color: var(--clr-red);
    margin: 0 auto 2rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    margin-bottom: 3rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

.mv-card h4 {
    margin: 1rem 0 0.5rem;
    font-size: 1.2rem;
}

.mv-card p {
    font-size: 0.95rem;
    color: var(--clr-text-light);
}

.highlight-icon {
    font-size: 2rem;
    color: var(--clr-red);
}

.about-images {
    position: relative;
    height: 600px;
}

.img-main {
    width: 80%;
    height: 500px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.img-main img, .img-secondary img, .service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-secondary {
    width: 55%;
    height: 350px;
    position: absolute;
    bottom: 0px;
    left: 0;
    border: 10px solid var(--clr-light-bg);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    align-items: start;
}

.service-card {
    background-color: var(--clr-white);
    padding: 3rem 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--clr-gray-blue);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--clr-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(227, 24, 55, 0.05); /* Very light Red overlay */
    color: var(--clr-red);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--clr-red);
    color: var(--clr-white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
}

/* Keep Core Values cards equal size on About page */
#core-values .services-grid {
    align-items: stretch;
}

#core-values .service-card {
    height: 100%;
}

.service-link {
    color: var(--clr-navy);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.service-link i {
    transition: var(--transition);
}
.service-link:hover {
    color: var(--clr-red);
}
.service-link:hover i {
    transform: translateX(5px);
}

/* Know More button — pinned to bottom of card */
.know-more-btn {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-heading);
    cursor: pointer;
    margin-top: auto;
    padding-top: 1.2rem;
}
.know-more-btn i {
    transition: transform 0.3s ease;
}
.know-more-btn.active i {
    transform: rotate(180deg);
}

/* Slide-down Panel — shown via JS class */
.service-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}
.service-panel.active {
    max-height: 300px;
}
.service-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--clr-gray-blue);
    padding-top: 1rem;
}
.service-panel ul li {
    padding: 0.4rem 0;
    font-size: 0.92rem;
    color: var(--clr-text-light);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.service-panel ul li i {
    color: var(--clr-red);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* =========================================
   PROJECTS SECTION
   ========================================= */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background-color: var(--clr-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.project-img {
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background-color: #f0f0f0;
    display: block;
    transition: transform 0.5s ease;
}


.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.3rem 1rem;
    color: var(--clr-white);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    z-index: 2;
}

.project-status.ongoing {
    background-color: var(--clr-red);
}

.project-status.completed {
    background-color: var(--clr-navy);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.location {
    color: var(--clr-text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.location i {
    color: var(--clr-red);
    margin-right: 5px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--clr-gray-blue);
    padding-top: 1rem;
    color: var(--clr-navy);
    font-weight: 600;
    font-size: 0.9rem;
}

.project-meta i {
    color: var(--clr-red);
    margin-right: 5px;
}

/* =========================================
   FOUNDER CARDS
   ========================================= */
.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.founder-card {
    background: var(--clr-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 32, 75, 0.10);
    border: 1px solid rgba(15, 32, 75, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.founder-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(15, 32, 75, 0.18);
}

/* Portrait photo panel — fixed height, consistent across both cards */
.founder-photo {
    width: 100%;
    height: 380px;
    overflow: hidden;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

.founder-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

/* Info body */
.founder-info {
    padding: 1.6rem 1.8rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.founder-info h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--clr-navy);
    margin-bottom: 0.2rem;
}

.founder-title {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--clr-red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

/* Credential badge pills */
.founder-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.credential-badge {
    display: inline-block;
    padding: 0.22rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    background-color: rgba(15, 32, 75, 0.06);
    color: var(--clr-navy);
    border: 1px solid rgba(15, 32, 75, 0.14);
}

/* Divider */
.founder-divider {
    height: 1px;
    background: var(--clr-gray-blue);
    margin: 0 0 1.1rem;
}

/* Career highlight list */
.founder-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.founder-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.875rem;
    color: var(--clr-text-light);
    line-height: 1.55;
}

.founder-highlights li i {
    color: var(--clr-red);
    font-size: 0.72rem;
    margin-top: 0.32rem;
    flex-shrink: 0;
}

/* Previous Employer tag */
.founder-employer-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 1.1rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--clr-navy-light);
    border-top: 1px solid var(--clr-gray-blue);
}

.founder-employer-tag i {
    color: var(--clr-red);
}

@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}



/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--clr-charcoal);
    color: var(--clr-white);
    padding-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding-bottom: 3rem;
}

.footer-col h2 {
    color: var(--clr-white);
    margin-bottom: 1rem;
}

.footer-col h2 span {
    color: var(--clr-red);
}

.footer-col p {
    color: var(--clr-gray-blue);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-col h3 {
    color: var(--clr-white);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--clr-red);
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: var(--clr-gray-blue);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--clr-red);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--clr-gray-blue);
}

.contact-info i {
    color: var(--clr-red);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--clr-white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--clr-red);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #0a0c0f;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    color: var(--clr-gray-blue);
}

/* =========================================
   DROPDOWN & SIDE TAB
   ========================================= */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--clr-white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    top: 100%;
    left: 0;
    border-radius: 4px;
    overflow: hidden;
    border-top: 3px solid var(--clr-red);
}

.dropdown-content a {
    color: var(--clr-navy);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: var(--clr-light-bg);
    color: var(--clr-red);
    padding-left: 20px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Floating Side Tab */
.side-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tab-btn {
    position: relative;
    right: -110px;
    width: 160px;
    background-color: var(--clr-navy);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 15px;
    transition: right 0.3s ease;
    border-radius: 4px 0 0 4px;
    gap: 15px;
}
.tab-btn i {
    font-size: 1.3rem;
}
.tab-btn span {
    font-size: 0.9rem;
    font-weight: 600;
}
.tab-btn:hover {
    right: 0;
    background-color: var(--clr-red);
}
.tab-btn.whatsapp:hover {
    background-color: #25D366;
}
.tab-btn.quote {
    background-color: #b8860b;
}
.tab-btn.quote:hover {
    background-color: #d4a00b;
}

/* =========================================
   PRELOADER
   ========================================= */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.14), rgba(15, 32, 75, 0.92) 48%, rgba(7, 15, 36, 0.98) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

.preloader-inner {
    position: relative;
    width: 130px;
    height: 130px;
    display: grid;
    place-items: center;
}

.preloader-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.preloader-ring.ring-outer {
    width: 130px;
    height: 130px;
    border-top-color: rgba(227, 24, 55, 0.95);
    border-right-color: rgba(227, 24, 55, 0.35);
    animation: spinClockwise 1.4s linear infinite;
}

.preloader-ring.ring-inner {
    width: 102px;
    height: 102px;
    border-bottom-color: rgba(255, 255, 255, 0.9);
    border-left-color: rgba(255, 255, 255, 0.3);
    animation: spinCounter 1s linear infinite;
}

.preloader-logo {
    height: 62px;
    width: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    animation: logoFloat 1.8s ease-in-out infinite;
    filter: drop-shadow(0 0 18px rgba(227, 24, 55, 0.4));
    z-index: 2;
}

.preloader-text {
    color: #ffffff;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-body);
    opacity: 0.9;
}

.preloader-text span {
    display: inline-block;
    animation: dotBlink 1.3s ease-in-out infinite;
}

.preloader-text span:nth-child(2) { animation-delay: 0.2s; }
.preloader-text span:nth-child(3) { animation-delay: 0.4s; }

@keyframes spinClockwise {
    to { transform: rotate(360deg); }
}

@keyframes spinCounter {
    to { transform: rotate(-360deg); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-3px); opacity: 0.92; }
}

@keyframes dotBlink {
    0%, 20%, 100% { opacity: 0.25; transform: translateY(0); }
    45% { opacity: 1; transform: translateY(-2px); }
}
/* Custom Cursor removed as per request */

/* =========================================
   TALK WITH US BOX
   ========================================= */
.talk-section {
    padding: 5rem 0;
    background-color: var(--clr-light-bg);
}

.talk-box {
    display: flex;
    background-color: var(--clr-navy);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 1100px;
    margin: 0 auto;
}

.talk-img {
    flex: 1;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.talk-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 2rem;
    background: linear-gradient(to top, rgba(15, 32, 75, 0.95) 0%, transparent 100%);
    color: var(--clr-white);
}

.talk-overlay h2 {
    color: var(--clr-white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.talk-form {
    flex: 1;
    padding: 4rem 3rem;
    background-color: var(--clr-white);
}

.talk-form h3 {
    margin-bottom: 2rem;
    color: var(--clr-navy);
    font-size: 1.8rem;
}

.talk-form input,
.talk-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--clr-gray-blue);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--clr-light-bg);
}

.talk-form input:focus,
.talk-form textarea:focus {
    outline: none;
    border-color: var(--clr-red);
    background-color: var(--clr-white);
}

@media (max-width: 800px) {
    .talk-box { flex-direction: column; }
    .talk-img { min-height: 300px; }
    .talk-form { padding: 3rem 1.5rem; }
}

.office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .hero-title { font-size: 3rem; }
    .hero-stats { padding: 2rem; }
    .footer-container { gap: 1.5rem; }
}

@media (min-width: 768px) {
    .about-grid, .founders-grid, .office-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 2fr 1fr 1fr; text-align: left; }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: block; }
}

@media (min-width: 769px) {
    .mobile-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-grid, .founders-grid, .office-grid { grid-template-columns: 1fr; gap: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-col h3::after { left: 50%; transform: translateX(-50%); }
    .social-links { justify-content: center; }
    .contact-info li { justify-content: center; align-items: flex-start; }
    .hero-title { font-size: 2.5rem; }
    .hero-desc { font-size: 1rem; margin-bottom: 1.5rem; }
    .hero-stats { flex-direction: column; gap: 2rem; padding: 2rem; margin-top: -20px; }
    .section-title h2 { font-size: 2rem; }
    .mission-vision { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
    .about-images { height: auto; display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
    .img-main, .img-secondary { position: static; width: 100%; height: auto; aspect-ratio: 4/3; }
    .img-secondary { border: none; }
    .nav-container { padding: 0 1rem; }
    .page-header { padding: 8rem 0 3rem; }
    .section { padding: 4rem 0; }
    .hero-content { padding-top: 2rem; text-align: center; }
}

@media (max-width: 480px) {
    .btn { display: block; width: 100%; text-align: center; margin-bottom: 0.5rem; }
    .hero-actions { display: flex; flex-direction: column; gap: 0.5rem; }
    
    .logo-lockup { 
        gap: 8px; 
        max-width: calc(100vw - 70px); /* Strict boundary to reserve space for menu */
    }
    .logo-img { height: 48px; } /* Hard shrink for very top header balancing (removed !important) */
    .navbar.scrolled .logo-img { height: 38px; } /* Mobile scrolled state */
    
    .brand-title { 
        font-size: clamp(0.95rem, 4vw, 1.15rem); 
        letter-spacing: 0.5px; 
        white-space: normal; /* Allow wrap if necessary */
    }
    .navbar.scrolled .brand-title { font-size: clamp(0.85rem, 3.5vw, 1rem); color: #FF0000; }
    
    .reg-symbol { font-size: 0.45em; top: -3px; color: #FF0000; }
    .navbar.scrolled .reg-symbol { color: #FF0000; }
    
    .brand-tagline { 
        font-size: clamp(0.6rem, 2.5vw, 0.72rem); 
        white-space: normal; /* Critical to prevent overrun */
    }
    .navbar.scrolled .brand-tagline { font-size: clamp(0.5rem, 2.2vw, 0.65rem); }
    
    .tagline-lines { height: 4px; border-top-width: 1px; border-bottom-width: 1px; margin-top: 2px;}
    
    .stat-item h3, .stat-item span { font-size: 2.8rem; }
    .project-img { aspect-ratio: 4/3; }
    .service-card { padding: 2rem 1.5rem; }
    .container { padding: 0 1rem; }
    
    /* Footer Mobile Branding Sync */
    .footer-logo-lockup { 
        flex-direction: column; 
        justify-content: center; 
        gap: 12px; 
        align-items: center;
        max-width: 100vw;
    }
    .footer-logo-img { height: 60px; margin-top: 0; }
    
    .footer-logo-lockup .brand-text {
        align-items: center; /* Centers the title and tagline wrapper */
    }
    
    .footer-logo-lockup .brand-title { 
        font-size: 1.5rem; 
        white-space: normal;
        text-align: center;
    }
    
}

/* =========================================
   TESTIMONIALS: Infinite Auto-Scroll Marquee
   ========================================= */

.testimonials-section {
    background: #f8f9fb;
    padding-bottom: 5rem;
    overflow: hidden;
}

.testimonials-section .section-title {
    margin-bottom: 3rem;
}

/* Remove the red underline from the testimonials heading */
.testimonials-section .section-title h2::after {
    display: none;
}

/* =========================================
   OUR CLIENTS SECTION
   ========================================= */
.client-category-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--clr-red);
    margin-bottom: 0.8rem;
}

.client-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.client-badge {
    display: inline-block;
    padding: 0.45rem 1rem;
    background: var(--clr-white);
    border: 1px solid rgba(15, 32, 75, 0.12);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-navy);
    box-shadow: 0 1px 4px rgba(15, 32, 75, 0.06);
    transition: var(--transition);
}

.client-badge:hover {
    background: var(--clr-navy);
    color: var(--clr-white);
    border-color: var(--clr-navy);
}

/* =========================================
   PROJECTS DELIVERED — FLOATING CARD GRID
   ========================================= */
.pd-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8ecef 100%);
    background-image:
        linear-gradient(135deg, #f8f9fa 0%, #e8ecef 100%),
        radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
    background-size: 100% 100%, 28px 28px;
    padding: 5rem 0;
}

.projects-count-badge {
    display: inline-block;
    background: var(--clr-red);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    margin: 0.6rem auto 1.2rem;
}

/* Marquee wrapper — full width, clips overflow */
.pd-marquee-wrapper {
    overflow: hidden;
    padding: 1rem 0 1.5rem;
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

/* Track animates left to right (translateX: 0 → -50%) */
.pd-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: pdScrollLR 120s linear infinite;
}

.pd-marquee-wrapper:hover .pd-marquee-track {
    animation-play-state: paused;
}

@keyframes pdScrollLR {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.pd-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #c0392b;
    border-top: 1px solid rgba(192,57,43,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
    flex: 0 0 260px;
}

.pd-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-left-color: #e74c3c;
}

.pd-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.pd-num {
    display: none;
}

@media (max-width: 640px) {
    #client-testimonial .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.pd-icon {
    color: rgba(192,57,43,0.25);
    font-size: 1.1rem;
}

.pd-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

.pd-client {
    font-size: 13px;
    color: #7a7a8c;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pd-client i {
    color: var(--clr-red);
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Badge sits below heading, above subtitle — keep it centered */
.pd-section .section-title .projects-count-badge {
    display: block;
    width: fit-content;
    margin: 0.5rem auto 1.2rem;
}

@media (max-width: 540px) {
    .pd-card { flex: 0 0 220px; padding: 18px 20px; }
}


.testimonials-section .section-title p {
    color: #666;
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

/* The outer wrapper clips the overflow so cards glide off the edge */
.testimonials-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    /* Soft fade-out edges left & right for a modern feel */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* The scrolling track — pauses on hover */
.testimonials-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: marquee-scroll 38s linear infinite;
    padding: 10px 0 20px;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

/* Keyframe: scroll the full width of the first set (50% = one copy) */
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Individual testimonial card */
.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 30px 28px;
    width: 340px;
    flex-shrink: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Decorative quote icon */
.testimonial-quote-icon {
    color: #FF0000;
    font-size: 1.4rem;
    opacity: 0.2;
    line-height: 1;
}

/* Client quote text */
.testimonial-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    font-style: italic;
    flex-grow: 1;
}

/* Star rating row */
.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #F59E0B;
    font-size: 0.85rem;
}

/* Author section at the bottom */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

/* Avatar initials circle */
.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A3673 0%, #2a4d9d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.testimonial-avatar span {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Author name and role */
.testimonial-info h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-navy);
    margin: 0 0 2px;
}

.testimonial-info span {
    font-size: 0.78rem;
    color: #888;
    font-weight: 500;
}

/* Mobile: slow animation a touch to prevent visual blur */
@media (max-width: 768px) {
    .testimonial-card { width: 280px; padding: 24px 22px; }
    .testimonials-track { animation-duration: 30s; gap: 18px; }
}


#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--clr-white);
    color: var(--clr-navy);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid var(--clr-red);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success { border-left-color: #10B981; }
.toast.success i { color: #10B981; }

.toast.error { border-left-color: #EF4444; }
.toast.error i { color: #EF4444; }

@media (hover: none) and (pointer: coarse) {
    .cursor-dot { display: none !important; }
}

@media (hover: hover) and (pointer: fine) {
    a, button, .mobile-toggle, .know-more-btn, .service-link {
        cursor: pointer;
    }
}
