/* --- Attractive Industries Page Styles --- */
.industries-section {
    background: var(--light-bg-color);
    padding: 60px 0 40px 0;
}
.industries-section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: -1px;
}
.industries-section-intro {
    text-align: center;
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 40px;
}
.industry-category-section {
    margin-bottom: 32px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    transition: none;
}
.industry-category-section:hover {
    box-shadow: 0 8px 32px rgba(17,142,201,0.13);
}
.category-title {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}
.category-description {
    color: var(--text-color);
    font-size: 1.05rem;
    margin-bottom: 24px;
}
.industry-grid {
    display: block;
    gap: 0;
}
.industry-card-flipper {
    perspective: none;
}
.industry-card {
    background: var(--light-bg-color);
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    transition: none;
    min-height: auto;
    display: block;
    position: static;
    margin-bottom: 18px;
}
.industry-card-front {
    background-size: cover;
    background-position: center;
    min-height: 120px;
    height: 120px;
    width: 100%;
    display: block;
    padding: 0;
    border-radius: 0;
}
.card-front-content-bottom {
    background: linear-gradient(0deg, rgba(10,37,64,0.85) 80%, rgba(10,37,64,0.0) 100%);
    width: 100%;
    padding: 10px 12px 8px 12px;
    border-radius: 0;
}
.industry-card-front h3 {
    color: #fff;
    font-size: 1.18rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.5px;
}
.industry-card-back {
    background: var(--white-color);
    padding: 10px 12px 10px 12px;
    display: block;
    border-radius: 0;
}
.industry-card-back p {
    color: var(--text-color);
    font-size: 1.05rem;
    margin: 0;
}

@media (max-width: 900px) {
    .industry-category-section {
        padding: 20px 6px 16px 6px;
    }
    .industry-grid {
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .industries-section {
        padding: 30px 0 10px 0;
    }
    .industry-category-section {
        padding: 10px 2px 8px 2px;
    }
    .industry-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    /* ...existing code... */
    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 10px 0;
        background: var(--light-bg-color);
    }
    /* Only the first mega menu (Services) should be scrollable */
    .nav-item.has-megamenu:first-child .mega-menu-content {
        max-height: 60vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .mega-menu-content {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }
}
/* --- Mobile Friendly Enhancements --- */
/* Ensure you add this to your HTML <head>: <meta name="viewport" content="width=device-width, initial-scale=1"> */

@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 750px;
    }
    .main-nav {
        padding: 0 10px;
    }
    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .main-header {
        height: 70px;
    }
    .main-nav {
        flex-direction: row;
        height: 70px;
    }
    .logo {
        width: 140px;
    }
    .nav-links {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 8px;
    }
    .main-header {
        height: 60px;
    }
    .main-nav {
        height: 60px;
    }
    .logo {
        width: 110px;
    }
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 60px);
        background: var(--bg-color);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 30px 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 9999;
        box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    }
    .nav-links.open {
        transform: translateX(0);
    }
    .nav-item>a {
        color: var(--heading-color);
        padding: 18px 0;
        font-size: 1.1rem;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    .hamburger-menu {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10001;
    }
    .mega-menu, .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 10px 0;
        background: var(--light-bg-color);
    }
    .mega-menu-content {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.1rem; }
    .btn, .btn-primary, .btn-secondary, .btn-outline-white {
        padding: 10px 16px;
        font-size: 1rem;
    }
    .logo img { height: 28px; }
    .footer-grid { gap: 20px; }
}
/* --- General Setup & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #118ec9;
    --primary-gradient: #118ec9;
    --secondary-color: #0a2540;
    --accent-color: #00bfa5;
    --accent-gradient: linear-gradient(45deg, #00bfa5, #00d9c4);
    --bg-color: #ffffff;
    --light-bg-color: #f8f9fc;
    --border-color: #e6ebf1;
    --text-color: #525f7f;
    --heading-color: #0a2540;
    --white-color: #fff;
    --box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    --soft-glow: 0 0 25px rgba(17, 142, 201, 0.3);
    --transition-speed: 0.3s ease;
}

/* --- Utility Classes --- */
.mt-large {
    margin-top: 80px;
}
.mt-medium {
    margin-top: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    cursor: default;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--white-color);
    opacity: 0.2;
    transition: width var(--transition-speed);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white-color);
}

.btn-primary:hover {
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white-color);
    border-color: var(--white-color);
}

.btn-outline-white:hover {
    background-color: var(--white-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* --- Animation: Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.preloader-logo {
    max-width: 150px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.loaded .preloader {
    opacity: 0;
    visibility: hidden;
}


/* --- Header & Navigation --- */
.main-header {
    background-color: transparent;
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    transition: background-color 0.4s ease, height 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease-in-out;
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 80px;
}

.main-header.is-footer-visible {
    transform: translateY(-100%);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    transition: height 0.4s ease;
}

.logo {
    position: relative;
    display: block;
    width: 180px;
    height: 100%;
}

.logo img {
    height: 40px;
    width: auto;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: opacity 0.4s ease-in-out, filter 0.4s ease;
}

.logo-main {
    opacity: 0;
}

.main-header.scrolled .logo-main {
    opacity: 1;
}

.logo-white {
    opacity: 1;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
}

.main-header.scrolled .logo-white {
    opacity: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-item>a {
    color: var(--white-color);
    font-weight: 500;
    padding: 30px 0;
    display: inline-block;
    position: relative;
    transition: color 0.4s ease;
}

.main-header.scrolled .nav-item>a {
    color: var(--heading-color);
}

.nav-item>a i {
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-item>a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 25px;
    left: 0;
    background-color: var(--white-color);
    transform-origin: center;
    transition: transform 0.3s ease-out;
}

.main-header.scrolled .nav-item>a::after {
    background-color: var(--primary-color);
}

.nav-item.active>a::after,
.nav-item>a:hover::after {
    transform: scaleX(1);
}

.hamburger-menu {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--white-color);
    cursor: pointer;
    transition: color 0.4s ease;
}

.main-header.scrolled .hamburger-menu {
    color: var(--heading-color);
}

.nav-btn {
    background: transparent;
    border-color: var(--white-color);
    color: var(--white-color);
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
}

.main-header.scrolled .nav-btn {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--white-color);
}

/* Dropdown & Mega Menu */
.has-dropdown, .has-megamenu {
    position: relative;
}

.mega-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--light-bg-color);
    border-bottom: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    z-index: 999;
}

.main-header:not(.scrolled) .mega-menu {
    top: 100px;
}

.mega-menu-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 20px;
}

.nav-item.menu-open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-column h4 {
    margin-bottom: 15px;
    color: var(--heading-color);
    padding-bottom: 10px;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.mega-menu-column a {
    display: block;
    padding: 10px 0;
    color: var(--text-color);
    font-weight: 500;
    transition: transform 0.2s ease, color 0.2s ease;
}

.mega-menu-column a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown {
    position: absolute;
    top: 90%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    border-radius: 8px;
    border: 1px solid rgba(220, 220, 220, 0.4);
    list-style: none;
    padding: 15px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: all var(--transition-speed);
    transform-origin: top center;
    z-index: 1001;
}

.nav-item.menu-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    font-weight: 500;
    border-radius: 5px;
    transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.dropdown a:hover {
    color: var(--primary-color);
    background-color: var(--light-bg-color);
    transform: translateX(5px);
}

.who-we-are-megamenu .mega-menu-content {
    justify-content: flex-start;
    gap: 60px;
}

.mega-menu-column.featured-column {
    margin-left: auto;
}

.featured-item {
    display: flex;
    gap: 20px;
    align-items: center;
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all var(--transition-speed);
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    color: var(--text-color);
}

.featured-item img {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.featured-item-content strong {
    display: block;
    color: var(--heading-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.featured-item-content p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}


/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 0 15vh 5vw;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: zoom-in-out 20s infinite ease-in-out;
}

@keyframes zoom-in-out {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero .hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: left;
    max-width: 800px;
    padding: 0;
}

.hero-content h1 {
    color: var(--white-color);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.6rem;
    max-width: 650px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Core Animations --- */
@keyframes revealUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.reveal-wrapper {
    overflow: hidden;
}

.reveal-wrapper > * {
    will-change: transform;
    transform: translateY(100%);
    animation: revealUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-from-left {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-from-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.is-visible,
.animate-from-left.is-visible,
.animate-from-right.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.animate-on-scroll > * {
    transition-delay: 0.2s;
}

.text-reveal {
    transform: translateY(100%);
}
.animate-on-scroll.is-visible .text-reveal {
    animation: revealUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: scroll !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}


/* --- Homepage Sections --- */
.home-section {
    padding: 100px 0;
    text-align: left;
    position: relative;
}

.home-section .section-text,
.home-section .tagline {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1rem 0 2rem 0;
}

.home-section:nth-child(even) {
    background-color: var(--light-bg-color);
}

.who-we-are {
    background-color: var(--light-bg-color);
    height: 100vh; /* Set height to full screen */
    display: flex; /* Enable flexbox for alignment */
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
}
.who-we-are-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: center;
}
.who-we-are-title {
    padding-right: 50px;
    position: relative; 
}
.who-we-are-title::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background-color: var(--border-color);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.who-we-are-title.is-visible::after {
    transform: scaleY(1);
}

.who-we-are-title h2 {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}
.who-we-are-text p {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8;
    margin: 0;
}

.home-section h2 {
    margin-bottom: 1rem;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--heading-color);
}

.section-cta-container {
    text-align: center;
    margin-top: 50px;
}

/* --- Stats Counter --- */
.stats-section {
    padding: 80px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    color:var(--heading-color);
}

/* --- Services Overview (Homepage) --- */
.services-overview {
    background-image: url('../img/bg1.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(10, 37, 64, 0.8);
    z-index: -1;
}


.service-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.services-overview .tagline {
    color: white;
}

.services-overview h2.text-reveal {
    color: var(--white-color);
    margin-bottom: 1rem;
    display: block; 
    text-align: left;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.service-block {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    padding: 30px 25px;
    transition: all var(--transition-speed);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.service-block h3, 
.service-block i,
.service-block p {
    position: relative;
    z-index: 2;
    color: var(--white-color);
}

.service-block h3 {
    position: relative;
    padding-bottom: 10px;
    transition: color var(--transition-speed);
}

.service-block p {
    color: rgba(255, 255, 255, 0.8);
}


.service-block i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.service-block:hover {
    transform: translateY(-8px);
    box-shadow: var(--soft-glow);
}

.service-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, 
        var(--primary-color) 0%, 
        var(--accent-color) 50%, 
        var(--primary-color) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotate 8s linear infinite;
    z-index: 1;
}

.service-block::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background-color: rgba(10, 37, 64, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
    border-radius: 0;
}

.service-block:hover::before {
    opacity: 1;
}

.service-block h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-block:hover h3 {
    color: var(--accent-color);
}

.service-block:hover h3::after {
    transform: scaleX(1);
}


/* --- Industries Highlight Section --- */
.industries-highlight {
    background-color: var(--light-bg-color);
}

.industries-highlight .container > .btn-secondary {
    display: block;
    width: fit-content;
    margin: 40px auto 0 auto;
}

.industry-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.industry-highlights-grid .industry-card-flipper:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}

/* --- Get Started CTA --- */
.get-started-cta {
    color: var(--white-color);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url('../img/bg1.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.get-started-cta .btn {
    background: var(--primary-gradient);
    color: var(--white-color);
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all var(--transition-speed);
}
.get-started-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 70%, var(--accent-color) 100%);
    opacity: 0.4;
    animation: aurora 20s linear infinite;
    z-index: 1;
}

.get-started-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 37, 64, 0.85);
    z-index: 0;
}

.get-started-cta .container {
    position: relative;
    z-index: 2;
}

@keyframes aurora {
    0% {
        transform: translateX(-50%) translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) translateY(-50%) rotate(360deg);
    }
}

.get-started-cta h2,
.get-started-cta p {
    color: var(--white-color);
}

.get-started-cta p {
    max-width: 600px;
    margin: 1rem auto 2rem auto;
}

/* --- Footer --- */
.main-footer {
    background: #000;
    color: var(--white-color);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 40px;
}

.footer-column .footer-logo {
    display: block;
    margin-bottom: 20px;
}

.footer-column .footer-logo img {
    height: 45px;
    width: auto;
}

.footer-column h4 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column p,
.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    display: block;
}

.footer-column .contact p {
    display: flex;
    align-items: center;
}

.footer-column p i {
    width: 20px;
    min-width: 20px;
    margin-right: 10px;
    text-align: center;
}

.footer-flag {
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    margin-right: 10px;
    background-size: cover;
    background-position: center;
}

.uk-flag {
    background-image: url('https://flagcdn.com/gb.svg');
}

.in-flag {
    background-image: url('https://flagcdn.com/in.svg');
}

.footer-column a:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white-color);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- Inner Page Styles --- */
.page-header {
    background-color: var(--light-bg-color);
    padding: 180px 0 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 0 auto;
}

.service-details-section {
    padding: 80px 0;
}

/* --- Industries Page --- */
.industries-page-section {
    padding: 80px 0;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 4vw, 2rem);
}

.industry-card-flipper {
    min-height: 320px;
    position: relative;
    perspective: 1000px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    cursor: pointer;
}

.industry-card-flipper:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}

.industry-card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all var(--transition-speed);
}

.industry-card-front,
.industry-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
}

.industry-card-front {
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    transition: transform 0.4s ease;
}

.industry-card-flipper:hover .industry-card-front {
    transform: scale(1.05);
}

.card-front-content-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    text-align: left;
}
.card-front-content-bottom h3 {
    font-size: 1.4rem;
    color: var(--white-color);
    margin: 0;
    line-height: 1.3;
}

.industry-card-back {
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 1;
}

.industry-card-back::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(10, 37, 64, 0.6);
    z-index: -1;
}

.industry-card-flipper:hover .industry-card-back {
    transform: translateY(0);
}

.card-back-content {
    text-align: center;
}

.card-back-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.7);
}

.industry-category-section {
    margin-bottom: 90px;
}

.industry-category-section:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.category-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 40px;
    color: var(--text-color);
}

/* --- Contact Page --- */
.contact-section {
    padding: 100px 0;
    background-color: var(--light-bg-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: flex-start;
    background: var(--white-color);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

.contact-details h3,
.contact-form-wrapper h3 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.contact-details h3::after,
.contact-form-wrapper h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    transition: all var(--transition-speed);
    padding: 10px;
    border-radius: 8px;
}
.contact-item:hover {
    background-color: var(--light-bg-color);
}
.contact-item:hover i {
    color: var(--accent-color);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
    transition: color var(--transition-speed);
}

.contact-item p {
    margin-bottom: 0.25rem;
}

.contact-item strong {
    color: var(--heading-color);
    font-weight: 600;
}

.form-group.floating-label-group {
    position: relative;
    margin-bottom: 35px;
}

.floating-label-group input,
.floating-label-group select,
.floating-label-group textarea {
    width: 100%;
    padding: 12px 0 8px 0;
    border: none;
    border-bottom: 2px solid var(--border-color);
    background-color: transparent;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    position: relative;
    z-index: 1;
}

.floating-label-group label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 1rem;
    color: var(--text-color);
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 0;
}

.floating-label-group input:focus,
.floating-label-group select:focus,
.floating-label-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.floating-label-group input:focus + label,
.floating-label-group input:not(:placeholder-shown) + label,
.floating-label-group textarea:focus + label,
.floating-label-group textarea:not(:placeholder-shown) + label,
.floating-label-group select:valid + label {
    top: -14px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.floating-label-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23525f7f' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    cursor: pointer;
}


#resume-upload-field {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, margin-bottom 0.5s ease-out;
}

#resume-upload-field.visible {
    max-height: 100px;
    opacity: 1;
    margin-bottom: 20px;
}

#form-feedback {
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    display: none;
}

#form-feedback.success {
    background-color: #e0f8e9;
    color: #278c4f;
}

#form-feedback.error {
    background-color: #f8e0e0;
    color: #c0392b;
}

/* --- About Page --- */
.about-section { padding: 100px 0; }
.about-content-wrapper { max-width: 900px; margin: 0 auto; text-align: center; }
.about-content .lead-heading { font-size: 2.5rem; font-weight: 700; line-height: 1.4; color: var(--heading-color); margin-bottom: 1.5rem; }
.about-content p { font-size: 1.1rem; line-height: 1.8; }
.mission-vision-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 60px; text-align: left; }
.mission-vision-card {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all var(--transition-speed);
}
.mission-vision-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}
.mission-vision-card h3 { color: var(--heading-color); }
.mission-vision-card p { color: var(--text-color); }
.mission-vision-card h3 i {
    color: var(--primary-color);
    transition: all var(--transition-speed);
}
.mission-vision-card:hover h3 i {
    color: var(--accent-color);
    transform: scale(1.1) rotate(-5deg);
}

.values-section {
    padding: 100px 0;
    background-color: var(--light-bg-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.values-section .section-intro {
    text-align: center;
}
.values-section h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.values-section .section-intro p {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
    text-align: center;
    line-height: 1.8;
}

.value-card {
    background: var(--white-color);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-speed);
}

.value-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--heading-color);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--soft-glow);
}

/* --- Careers Page --- */
.careers-section { padding: 80px 0; }
.careers-container { max-width: 900px; margin: 0 auto; }
.section-intro { text-align: center; margin-bottom: 60px; }
.section-intro h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.page-header.careers-header-bg {
    background-image: url('../img/bg2.avif');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    height: 100vh;
    display: flex;
    align-items: flex-end; /* Now aligned to the bottom */
    justify-content: flex-start;
    padding: 0 0 15vh 5vw; /* Re-added bottom padding */
}

.page-header.careers-header-bg .container {
    margin: 0;
    position: relative;
    z-index: 1;
    text-align: left;
}

.page-header.careers-header-bg h1,
.page-header.careers-header-bg p {
    color: var(--white-color);
}

.page-header.careers-header-bg h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.page-header.careers-header-bg p {
    font-size: 1.5rem;
    max-width: 600px;
    margin-bottom: 2rem;
}
.job-listings-container { background-color: transparent; padding: 0; border-radius: 8px; }
.job-item { background: var(--white-color); border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); padding: 25px; margin-bottom: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; position: relative; overflow: hidden; transition: all var(--transition-speed); }
.job-item::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 4px; background: var(--primary-gradient); transform: scaleY(0); transform-origin: center; transition: transform 0.4s ease; }
.job-item:hover { transform: translateX(5px); box-shadow: var(--box-shadow); }
.job-item:hover::before { transform: scaleY(1); }
.job-info h4 { margin: 0; color: var(--heading-color); }
.job-meta { color: var(--text-color); font-weight: 500; }
.job-meta span { margin-right: 15px; }
.job-meta i { margin-right: 5px; }
.job-item .btn { padding: 10px 25px; }
.careers-cta { text-align: center; margin-top: 60px; }
.careers-cta h3 { margin-bottom: 1rem; }

.careers-intro-fullscreen {
    min-height: 100vh;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-bg-color);
}

.careers-intro-fullscreen .careers-intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.careers-intro-fullscreen .who-we-are-title h2 {
    font-size: 2.5rem;
}

.careers-intro-fullscreen .who-we-are-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.careers-intro-fullscreen .values-grid {
    width: 100%;
}
.careers-intro-fullscreen .service-blocks-grid {
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}


/* --- Engagement Page --- */
.process-section {
    padding: 100px 0;
}

.process-section .section-intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.process-steps {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background-color: var(--border-color);
}

.process-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}

.process-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    border: 3px solid var(--bg-color);
}

.process-step-content h4 {
    font-size: 1.8rem;
    color: var(--heading-color);
    margin-bottom: 0.75rem;
}

.step-highlights {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.step-highlights li {
    background-color: var(--light-bg-color);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.engagement-models-section {
    padding: 100px 0;
    background-color: var(--light-bg-color);
}

.engagement-models-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; 
}

.engagement-model-card { background: var(--white-color); padding: 30px; border-radius: 8px; border: 1px solid var(--border-color); text-align: center; transition: all var(--transition-speed); }
.engagement-model-card:hover { transform: translateY(-5px); box-shadow: var(--box-shadow); border-color: var(--primary-color); }
.engagement-model-card h4 { color: var(--heading-color); margin-bottom: 0.5rem; }
.engagement-model-card p { margin: 0; color: var(--text-color); font-weight: 500; }


/* --- Insights Page --- */
.insights-page-content { max-width: 900px; margin: 0 auto; }
.insights-category { margin-bottom: 60px; }
.insights-category h2 { font-size: 2rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border-color); }
.insights-category > p { font-size: 1.1rem; color: var(--text-color); max-width: 800px; margin-bottom: 2rem; }
.insight-article { margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.insight-article:last-child { border-bottom: none; }
.insight-article h3 { margin-bottom: 1rem; }
.insight-article footer { margin-top: 1rem; font-size: 0.9em; color: var(--text-color); }
.case-studies-grid, .toolkit-grid { display: grid; gap: 30px; margin-top: 2rem; }
.case-studies-grid { grid-template-columns: 1fr; }
.toolkit-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.case-study-item, .toolkit-item { background: var(--light-bg-color); padding: 30px; border-radius: 8px; border: 1px solid var(--border-color); box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: all var(--transition-speed); }
.case-study-item:hover, .toolkit-item:hover { transform: translateY(-5px); box-shadow: var(--box-shadow); }
.case-study-item h4, .toolkit-item h3 { color: var(--primary-color); margin-bottom: 1rem; }
.toolkit-item .subtitle { font-weight: 500; color: var(--text-color); margin-bottom: 1.5rem; }
.toolkit-item ol { margin-left: 20px; }
.toolkit-item ol > li { margin-bottom: 1rem; }
.toolkit-item ul { list-style-type: disc; margin-left: 20px; margin-top: 0.5rem; }
.toolkit-item ul li { margin-bottom: 0.5rem; }
.toolkit-item .download-info { margin-top: 1.5rem; padding: 15px; background: var(--white-color); border-radius: 4px; }
.toolkit-item .cta-p { margin-top: 1.5rem; }
.toolkit-item .cta-p .btn { margin-left: 10px; }

/* --- Services Page --- */
.service-category-section {
    padding: 100px 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.service-category-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
    text-align: left;
    max-width: 80%;
}
.service-blocks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Styles for Dark Sections */
.service-category-style-A { background-image: url('../img/bg1.avif'); background-size: cover; background-position: center; background-attachment: fixed; z-index: 1; }
.service-category-style-A::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(10, 37, 64, 0.85); z-index: -1; }
.service-category-style-A h2 { color: var(--white-color); border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.service-category-style-A .service-block {
    display: flex;
    flex-direction: column;
}

/* Styles for Light Sections */
.service-category-style-B {
    background-image: url('../img/bgg.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}
.service-category-style-B::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: -1;
}
.service-category-style-B h2 { color: var(--heading-color); border-bottom: 1px solid var(--border-color); }

.service-category-style-B .service-block {
    background-color: var(--light-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
}
.service-category-style-B .service-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}
.service-category-style-B .service-block::before,
.service-category-style-B .service-block::after {
    display: none;
}
.service-category-style-B .service-block h3 {
    color: var(--heading-color);
    padding-bottom: 0;
}
.service-category-style-B .service-block:hover h3 {
    color: var(--primary-color);
}
.service-category-style-B .service-block p {
    color: var(--text-color);
}


/* --- Back to Top Button --- */
#back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    line-height: 50px;
    z-index: 999;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

#back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#back-to-top-btn:hover {
    box-shadow: var(--soft-glow);
    transform: scale(1.1);
}

/* --- Mobile Nav & Responsive Design --- */
@media (max-width: 992px) {
    .nav-btn { display: none; }
    .hamburger-menu { display: block; z-index: 10000; } 

    .nav-overlay {
        position: fixed; top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0; visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 9999; 
    }

    body.mobile-nav-active .nav-overlay {
        opacity: 1;
        visibility: visible;
    }

    body.mobile-nav-active .main-header {
        z-index: 10002;
    }
    
    .nav-links {
        position: fixed; top: 0; left: 0;
        height: 100vh;
        width: 300px; max-width: 80%;
        background-color: var(--white-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 20px 20px;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.4s ease-in-out;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 10001;
    }
    
    body.mobile-nav-active .nav-links {
        transform: translateX(0);
    }
    
    .nav-item { width: 100%; }
    .nav-item > a {
        display: block; width: 100%;
        padding: 15px 10px;
        color: var(--heading-color) !important;
    }
    .nav-item > a::after { bottom: 10px; }
    
    .service-block:hover, .industry-highlight-item:hover, .value-card:hover {
        transform: none;
        box-shadow: none;
    }
    
    h1, .hero-content h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .page-header { padding: 140px 0 60px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 50px; padding: 30px; }

    .service-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .service-blocks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .who-we-are-grid { grid-template-columns: 1fr; gap: 30px; }
    .who-we-are-title { 
        border-right: none; 
        padding-right: 0; 
        padding-bottom: 30px; 
    }
    .who-we-are-title::after {
        top: auto;
        bottom: 0;
        right: auto;
        left: 0;
        width: 100%;
        height: 3px;
        transform-origin: left;
        transform: scaleX(0);
    }
    .who-we-are-title.is-visible::after {
        transform: scaleX(1);
    }

    .nav-links .has-dropdown > .dropdown,
    .nav-links .has-megamenu > .mega-menu {
        display: none;
        position: static;
        width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background-color: var(--light-bg-color);
        padding: 0;
        border: none;
        border-top: 1px solid var(--border-color);
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease, padding 0.5s ease;
    }
    .nav-links .nav-item.menu-open > .dropdown,
    .nav-links .nav-item.menu-open > .mega-menu {
        display: block;
        max-height: 1000px;
        padding: 10px 0;
    }
    .nav-links .nav-item.menu-open > a i {
        transform: rotate(180deg);
    }
    .nav-links .mega-menu-content {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    .nav-links .mega-menu-column {
        padding: 0 15px;
    }
    .nav-links .mega-menu-column h4 {
        display: none;
    }
    .nav-links .mega-menu-column a {
        padding: 12px 20px;
        border-bottom: 1px solid var(--border-color);
        margin: 0 -15px;
    }
    .nav-links .mega-menu-column:last-child a:last-child {
        border-bottom: none;
    }
    .nav-links .has-dropdown > .dropdown {
        padding-left: 15px;
    }
    .nav-links .dropdown a {
        padding: 12px 15px;
    }
    .engagement-models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1, .hero-content h1, .page-header.careers-header-bg h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    .hero-content p, .page-header.careers-header-bg p {
        font-size: 1.1rem;
    }
    h2 { font-size: 2rem; }
    
    .home-section, .about-section, .values-section, .careers-section, .process-section, .engagement-models-section, .contact-section {
        padding: 60px 0;
    }
    .stats-section { padding: 60px 0; }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-blocks,
    .service-blocks-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .who-we-are {
        padding: 80px 0;
        height: auto;
    }
    .who-we-are-grid {
        text-align: center;
    }
    .who-we-are-title h2 {
        font-size: 2.2rem;
    }
    .who-we-are-text p {
        font-size: 1.1rem;
    }

    .footer-grid {
        gap: 40px;
        text-align: center;
    }
    .footer-column .social-links, .footer-column .contact p {
        justify-content: center;
    }

    .process-steps { padding-left: 20px; }
    .process-step { padding-left: 45px; }
    .process-steps::before { left: 10px; }
    .process-step-number { left: -10px; width: 40px; height: 40px; }
    
    #back-to-top-btn {
        width: 45px; height: 45px;
        line-height: 45px; font-size: 18px;
        bottom: 20px; right: 20px;
    }
    
    .engagement-models-grid {
        grid-template-columns: 1fr;
    }
}

.careers-intro-fullscreen {
    min-height: 100vh;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-bg-color);
}

.careers-intro-fullscreen .careers-intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.careers-intro-fullscreen .who-we-are-title h2 {
    font-size: 2.5rem;
}

.careers-intro-fullscreen .who-we-are-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.careers-intro-fullscreen .values-grid {
    width: 100%;
}
.careers-intro-fullscreen .service-blocks-grid {
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

@media (max-width: 992px) {
    .careers-intro-fullscreen .service-blocks-grid {
       grid-template-columns: repeat(2, 1fr);
   }
}

@media (max-width: 768px) {
    .careers-intro-fullscreen {
        min-height: auto;
        padding: 60px 0;
    }
    .job-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .careers-intro-fullscreen .who-we-are-title h2 {
        font-size: 2.2rem;
    }
    .careers-intro-fullscreen .service-blocks-grid {
       grid-template-columns: 1fr;
   }
}


/* --- Products Page --- */
.dark-section {
    background-color: var(--light-bg-color);
    color: var(--white-color);
}
.dark-section h2, .dark-section h3 {
    color: var(--secondary-color);
}
.dark-section p {
    color: var(--secondary-color)
}
.dark-section .section-intro h2 {
    color: var(--secondary-color);
}
.dark-section .section-intro p {
    color: rgba(255, 255, 255, 0.7);
}

.product-intro-section {
    padding: 110px 0;
}

.product-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.product-intro-grid h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    position: relative;
    padding-bottom: 40px;
}

.product-intro-grid h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease 0.3s;
}

.product-intro-grid .intro-title.is-visible h2::after {
    transform: scaleX(1);
}

.product-features {
    padding: 100px 0;
}

.product-features .section-intro {
    text-align: center;
    margin-bottom: 50px;
}

.product-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-feature-card {
    background: var(--secondary-color);
    border-radius: 8px;
    padding: 2px; /* For the gradient border */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.product-feature-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, var(--accent-color), var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotate 4s linear infinite;
    z-index: -2;
}

.product-feature-card:hover::before {
    opacity: 1;
}

.product-feature-card .card-content {
    background-color: #102a47; /* Slightly lighter than secondary */
    padding: 35px 30px;
    height: 100%;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: -1;
}

.product-feature-card .card-number {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.product-feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--white-color);
    transition: color var(--transition-speed);
}

.product-feature-card:hover h3 {
    color: var(--accent-color);
}

.product-feature-card p {
    margin: 0;
    flex-grow: 1;
    color: rgba(255, 255, 255, 0.7);
}


@media (max-width: 992px) {
    .product-intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .product-intro-grid h2::after {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        transform-origin: center;
    }
    .product-intro-grid .intro-title.is-visible h2::after {
        transform: translateX(-50%) scaleX(1);
    }
}

@media (max-width: 768px) {
    .product-features-grid {
        grid-template-columns: 1fr;
    }
}