:root {
    --primary-color: #0a2342;
    /* Deep Navy */
    --primary-dark: #051626;
    --secondary-color: #ff9800;
    /* Orange */
    --secondary-light: #ffc107;
    /* Amber/Yellow */
    --text-dark: #2c3e50;
    --text-light: #607d8b;
    --white: #ffffff;
    --off-white: #f9f9f9;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 15px 40px rgba(10, 35, 66, 0.15);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

/* --- Base Reset & Typography --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* overflow-x: hidden; REMOVED TO FIX STICKY NAVBAR */
}

body {
    font-family: var(--font-body);
    background-color: var(--off-white);
    color: var(--text-dark);
    line-height: 1.8;
}

/* --- Content Protection --- */
img,
.lightbox-content {
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout & Grid --- */
.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
    position: relative;
}

.bg-light {
    background: #f4f6f9;
}

.bg-dark {
    background: var(--primary-dark);
    color: var(--white);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.text-center {
    text-align: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.w-100 {
    width: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Margin Utilities */
.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-60 {
    margin-top: 60px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* --- Header & Top Bar --- */
.top-header-section {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.header-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 10px 0;
}

/* Ensure branding text aligns center */
.header-layout .company-branding {
    text-align: center;
    margin-bottom: 0;
}

/* Contact Info Styles (If re-added later) */
.contact-header-right {
    display: none;
}

/* --- Glassmorphic Navbar --- */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: center;
    /* Center the links on desktop */
    align-items: center;
    position: relative;
    padding: 0;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-color);
    padding: 10px 15px;
    display: block;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 5px;
}

/* Hover Animation: Background Pill + Text Change */
.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
    background: rgba(197, 160, 89, 0.1);
    /* Subtle Gold Background */
    transform: translateY(-2px);
    /* Slight Lift */
}

/* Remove old underline if we use background */
.nav-links a::after {
    display: none;
}

/* Enforce Hidden Toggle on Desktop */
.mobile-toggle {
    display: none;
    /* Default hide on desktop (no !important so mobile can override) */
}

/* --- Info Modal (Glassmorphism) --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    /* Flex to center */
    opacity: 1;
}

.modal-box {
    background: rgba(255, 255, 255, 0.95);
    /* High opacity for readability */
    padding: 40px;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-height: 80vh;
    overflow-y: auto;
}

.modal-overlay.show .modal-box {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.modal-title {
    color: var(--primary-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
}

.modal-body-content {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    text-align: justify;
}

.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: scale(1.1);
    pointer-events: none;
    /* Prevent clicks on invisible slides */
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1s, transform 6s;
    pointer-events: auto;
    /* Enable clicks on active slide */
}

/* Desktop: Adjust Slide 1 Background Focus */
@media (min-width: 1025px) {
    .slide-0 {
        background-position: center top !important;
        /* Focus on top part where text likely is */
    }
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 35, 66, 0.7), rgba(10, 35, 66, 0.5));
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
}

.slide-content h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-glow {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.4);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.6);
}

.btn-cta-large {
    background: var(--white);
    color: var(--primary-color);
    padding: 20px 60px;
    font-size: 1.2rem;
}

.btn-cta-large:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* --- Cards (Mission/Vision) --- */
.card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-strong);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--secondary-color);
    transition: 0.4s;
}

.card:hover .icon-circle {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

/* --- Counters (Glass 3D) --- */
.counters-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #a67c33 100%);
    padding: 120px 0;
    position: relative;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}

.counter-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: var(--white);
    transition: 0.4s;
}

.counter-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.c-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.counter-box:hover .c-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotateY(180deg);
    box-shadow: 0 0 15px var(--secondary-color);
}

.counter {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    color: var(--primary-color);
}

/* --- Footer --- */
footer {
    background: #0b0d17;
    color: #fff;
    padding: 90px 0;
    border-top: 5px solid var(--secondary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-text h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-text p {
    color: #8892b0;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #8892b0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
    color: #555;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white);
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: rotate(360deg);
}

/* --- Floating Icons --- */
.floating-icons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.whatsapp {
    background: #25d366;
}

.telegram {
    background: #0088cc;
}

/* --- Dropdown Menu --- */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-strong);
    border-radius: 10px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.3s ease;
    border: var(--glass-border);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--primary-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    text-align: left;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: var(--secondary-color);
    color: var(--white);
    padding-left: 25px;
}

/* --- Clients --- */
.clients-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.client-logo {
    width: 120px;
    height: 80px;
    /* Smaller size */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* --- Contact Page Styles --- */
.contact-form-area {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    outline: none;
    transition: 0.3s;
    font-family: var(--font-body);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.1);
}

.contact-details .detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.detail-item i {
    width: 50px;
    height: 50px;
    background: rgba(10, 35, 66, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
}

.detail-item:hover i {
    background: var(--secondary-color);
    color: var(--white);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.office-timings {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
    margin-top: 30px;
    box-shadow: var(--shadow-soft);
}

.office-timings h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-timings ul li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1rem;
}

.office-timings ul li:last-child {
    border-bottom: none;
}

.office-timings strong {
    color: var(--primary-color);
    width: 150px;
    /* Fixed width for alignment */
    display: inline-block;
}

/* --- Portfolio --- */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid rgba(10, 35, 66, 0.1);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 35, 66, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: 0.3s;
    transform: translateY(20px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-overlay h4 {
    color: var(--white);
    margin-bottom: 5px;
    transform: translateY(0);
}

.portfolio-overlay p {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* --- Services Page Fix --- */
.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-icon-box {
    width: 100px;
    height: 100px;
    background: var(--white);
    box-shadow: var(--shadow-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}


/* --- FIXED VISUALS --- */

/* Footer Edge Images */
.footer-edge-img {
    position: absolute;
    bottom: 0;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
    height: 300px;
    /* Adjust as needed */
    width: auto;
}

.footer-edge-left {
    left: 0;
}

.footer-edge-right {
    right: 0;
    transform: scaleX(-1);
}

/* Hide Floating Phone Text, Keep Icons */
.float-number {
    display: none !important;
}

/* Goal Titles - GOLD */
.innovative-box h2 {
    color: var(--secondary-color) !important;
}

/* Core Values Alignment */
.flow-graph-container {
    justify-content: space-evenly !important;
    gap: 20px !important;
}

.flow-node {
    margin: 0 !important;
    width: 220px !important;
    height: 180px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Ensure flow arrows are hidden if any remain in HTML (though we'll remove them) */
.flow-arrow {
    display: none !important;
}

/* --- Logo Sizing --- */
/* --- Logo Sizing --- */
.logo-img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    transition: 0.3s;
}

@media (min-width: 992px) {
    .logo-img {
        max-height: 100px;
        /* Increased to match contact box ~110px */
    }
}

@media (max-width: 768px) {
    .logo-img {
        max-height: 50px;
    }
}

/* --- Company Branding (Header) --- */
.logo-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Ensure logo stays left */
    padding-left: 0;
}

.company-branding {
    flex: 2.5;
    /* Give it slightly more space than sides if needed, or keep 2 */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 40px;
    /* Increased margin for clear separation on desktop */
    /* Ensure it doesn't touch logo or contact */
}

/* Ensure the parent container has a strong gap to prevent overlapping */
.top-header-section .flex-between {
    gap: 40px;
    width: 95%;
    /* Use more width on desktop to prevent cramping */
    max-width: 1400px;
    /* Allow it to stretch on large screens */
    margin: 0 auto;
}

.contact-header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Push content to right */
    align-items: center;
    /* Vertically center the wrapper */
}

.header-contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    /* IMPORTANT: Align items to the LEFT so icons line up */
    background: rgba(10, 35, 66, 0.03);
    /* Subtle background for polish */
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
    /* Premium accent */
}

.contact-row {
    display: flex;
    align-items: center;
    /* Vertically align icon and text */
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.icon-box {
    width: 35px;
    height: 35px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    /* Gold Icon */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Subtle depth */
    font-size: 1rem;
    flex-shrink: 0;
    /* Prevent icon from squishing */
}

.email-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align emails left */
}

.contact-text {
    font-weight: 500;
}

.email-link {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.email-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Address Constraint */
.contact-row:last-child .contact-text {
    max-width: 250px;
    font-size: 0.85rem;
}

.company-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2rem;
    /* Slightly reduced for better fit */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.company-tagline {
    font-family: var(--font-body);
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    margin-top: 5px;
}

.company-tagline::before,
.company-tagline::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--secondary-color);
    opacity: 0.6;
}

.company-tagline::before {
    left: -40px;
}

.company-tagline::after {
    right: -40px;
}

/* --- Core Values Redesign --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value-card {
    padding: 40px 30px;
    text-align: center;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Gold line at top */
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card .icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: 0.4s ease;
}

.value-card:hover .icon-wrapper {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.value-card p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Lighting/Sheen Animation */
.value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: 0.5s;
    z-index: 1;
    pointer-events: none;
}

.value-card:hover::after {
    left: 100%;
    transition: 0.7s ease-in-out;
}

/* Pulse Glow on Icon */
/* Pulse Glow on Icon */
.value-card:hover .icon-wrapper {
    animation: pulseGold 1.5s infinite;
    background: var(--secondary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(197, 160, 89, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}

/* Tech Pattern Background */
.bg-tech-pattern {
    background-color: #fcfcfc;
    background-image: radial-gradient(#c5a059 0.5px, transparent 0.5px), radial-gradient(#c5a059 0.5px, #fcfcfc 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    position: relative;
}

.bg-tech-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95));
    pointer-events: none;
}

/* Core Values Grid Centering */
.values-grid {
    justify-content: center;
    /* Center cards on large screens */
    padding: 20px 0;
}

/* Value List Formatting */
.list-wrapper {
    display: inline-block;
    text-align: left;
    width: 100%;
}

.value-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.value-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
    transition: 0.3s;
}

.value-list li::before {
    content: '\f00c';
    /* FontAwesome Check */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--secondary-color);
    font-size: 0.8rem;
}

/* --- PREMIUM FOCUS EFFECT --- */
/* When hovering the grid, dim non-hovered cards */
.values-grid:hover .value-card:not(:hover) {
    opacity: 0.6;
    filter: grayscale(0.4) blur(1px);
    transform: scale(0.98);
    transition: 0.5s ease;
}

/* Active Card Pop */
.value-card:hover {
    opacity: 1;
    filter: none;
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(197, 160, 89, 0.2);
    z-index: 2;
    border-color: var(--secondary-color);
}

.value-card:hover li {
    color: #000;
    transform: translateX(5px);
}

/* --- 3D FLIP CARDS (Goals & Objectives) --- */
.perspective-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    perspective: 1000px;
    padding: 20px;
}

.p-card-wrapper {
    background-color: transparent;
    height: 350px;
    perspective: 1000px;
}

.p-card {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.p-card-wrapper:hover .p-card {
    transform: rotateY(180deg);
}

/* Common Front/Back Styles */
.p-card-front,
.p-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* FRONT Styling */
.p-card-front {
    background-color: #fff;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
}

.p-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.p-card-front h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.p-card-front p {
    color: #777;
    font-weight: 500;
}

.p-arrow {
    margin-top: 30px;
    font-size: 1.2rem;
    color: var(--secondary-color);
    animation: bounceRight 2s infinite;
}

@keyframes bounceRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

/* BACK Styling */
.p-card-back {
    background-color: var(--secondary-color);
    color: white;
    transform: rotateY(180deg);
    background-image: linear-gradient(135deg, var(--secondary-color) 0%, #b08d45 100%);
}

.p-card-back h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.p-card-back ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.p-card-back li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.p-card-back li:last-child {
    border-bottom: none;
}

/* --- TECH STACK (Why Choose Us) --- */
.tech-stack-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.tech-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.15);
    border-left-color: var(--secondary-color);
}

.tech-icon {
    width: 50px;
    height: 50px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--secondary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-right: 20px;
    flex-shrink: 0;
    transition: 0.3s;
}

.tech-card:hover .tech-icon {
    background: var(--secondary-color);
    color: white;
}

.tech-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 700;
}

.tech-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* --- PROCESS TIMELINE (What We Offer) --- */
.process-timeline {
    position: relative;
    border-left: 2px dashed rgba(197, 160, 89, 0.3);
    margin-left: 20px;
    padding-left: 30px;
}

.process-item {
    position: relative;
    margin-bottom: 30px;
}

.process-item:last-child {
    margin-bottom: 0;
}

.p-dot {
    position: absolute;
    left: -39px;
    /* Adjust based on padding/border */
    top: 5px;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    z-index: 2;
    transition: 0.3s;
}

.process-item:hover .p-dot {
    background: var(--secondary-color);
    box-shadow: 0 0 0 5px rgba(197, 160, 89, 0.2);
}

.p-content h5 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

/* --- STRICT 5-COLUMN FOOTER (Flexbox Force) --- */
/* --- STRICT 5-COLUMN FOOTER (Grid Layout) --- */
@media (min-width: 992px) {
    .footer-content {
        display: grid;
        grid-template-columns: 200px 1.5fr 1fr 1.5fr 200px;
        /* Precise columns: Increased side cols for larger logos */
        gap: 30px;
        align-items: start;
        /* Align to top */
        padding: 0 20px;
    }

    /* Images */
    .footer-img-left,
    .footer-img-right {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-img-left img,
    .footer-img-right img {
        max-width: 100%;
        height: auto;
    }

    /* Text Sections */
    .footer-about,
    .footer-links,
    .footer-contact {
        text-align: left;
    }

    /* Headers */
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 20px;
        /* Consistent spacing */
        color: var(--secondary-color) !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        position: relative;
    }

    /* Decoration under headers */
    .footer-section h3::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 30px;
        height: 2px;
        background: var(--secondary-color);
    }

    /* Content Typography */
    .footer-section p,
    .footer-section li,
    .footer-section a {
        font-size: 0.95rem;
        /* Slightly larger for readability */
        line-height: 1.7;
        color: #e0e0e0 !important;
        text-decoration: none;
        margin-bottom: 15px;
        /* Consistent spacing between items */
    }

    /* Links List */
    .footer-links ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .footer-links li {
        margin: 0;
        padding: 0;
    }

    .footer-links a {
        display: inline-block;
        transition: transform 0.3s, color 0.3s;
    }

    .footer-links a:hover {
        color: var(--secondary-color) !important;
        transform: translateX(5px);
    }

    /* Contact Info Alignment */
    .footer-contact p {
        display: flex;
        align-items: flex-start;
        /* Align icon with first line of text */
        gap: 15px;
        margin-bottom: 15px;
    }

    .footer-contact i {
        min-width: 20px;
        /* Fixed width for perfect alignment */
        text-align: center;
        color: var(--secondary-color);
        margin-top: 5px;
        /* Visual optical alignment */
    }

    /* Hide Mobile/Tablet Specifics if any */
    .footer-edge-img {
        display: none !important;
    }
}

/* --- CONTACT PAGE STYLING --- */
.contact-form-area {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-map-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

/* Generalized Card Style for Helper Boxes */
.contact-card-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    display: block;
}

.office-timings {
    /* Now uses contact-card-box styles base */
}

.office-timings::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: var(--secondary-color);
}

.office-timings h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-timings ul {
    list-style: none;
    padding: 0;
}

.office-timings li {
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
}

.office-timings li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.contact-details .detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-details .detail-item i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* --- SERVICES PAGE STYLING --- */
.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-row:last-child {
    margin-bottom: 0;
}

/* Ensure images/icons center in their flex container */
.service-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-content {
    flex: 1.2;
}

/* Global Section Title Alignment */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
}

/* --- Ensure High Contrast Footer Text Globally (Mobile + Desktop) --- */
footer {
    background-color: var(--primary-dark) !important;
    /* Ensure background is dark */
    color: #ffffff !important;
    /* Force text white */
}

.footer-section h3 {
    color: var(--secondary-color) !important;
    /* Gold headings */
}

.footer-section p,
.footer-section li,
.footer-section a {
    color: #ffffff !important;
    /* Force content white */
    opacity: 0.9;
}

.footer-section a:hover,
.footer-links a:hover {
    color: var(--secondary-color) !important;
    /* Gold hover */
    opacity: 1;
}

/* --- Clients Infinite Marquee --- */
.clients-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
    margin-top: 30px;
    background: #fff;
    /* Optional: Add fade mask on sides */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 60px;
    /* Space between logos */
    animation: marquee-scroll 40s linear infinite;
}

.clients-marquee:hover .marquee-track {
    animation-play-state: paused;
}

.client-item {
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.6;
}

.client-item img {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
    /* Ensure logos scale nicely */
    transition: all 0.3s ease;
}

.client-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
    /* Pop effect */
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half way (since duplicate content) */
    }
}

/* Mobile Adjustments for Marquee */
@media (max-width: 768px) {
    .marquee-track {
        gap: 30px;
        animation-duration: 25s;
        /* Faster on mobile */
    }

    .client-item {
        width: 120px;
        height: 80px;
    }
}


