/* =========================================
   CSS Custom Properties & Variables
   ========================================= */
:root {
    --primary-color: #0f2a44;
    /* Deep Blue */
    --primary-color-alt: #163c61;
    --secondary-color: #1c9c7d;
    /* Teal Green */
    --secondary-color-alt: #178368;
    --text-color: #333333;
    --text-color-light: #666666;
    --bg-color: #ffffff;
    --bg-color-alt: #f4f7f6;
    --white: #ffffff;
    --border-color: #e0e0e0;

    /* Typography */
    --body-font: 'Poppins', sans-serif;
    --h1-font-size: 3rem;
    --h2-font-size: 2.25rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;

    /* Spacing */
    --mb-0-5: 0.5rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-3: 3rem;

    /* Transition */
    --transition: .3s;
    /* Box Shadow */
    --box-shadow: 0 10px 30px rgba(15, 42, 68, 0.08);
}

/* Responsive Typography */
@media screen and (max-width: 968px) {
    :root {
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.25rem;
    }
}

/* =========================================
   Base Resets
   ========================================= */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--primary-color);
    font-weight: 600;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea {
    font-family: var(--body-font);
    outline: none;
    border: none;
}

/* =========================================
   Reusable CSS Classes
   ========================================= */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: var(--h2-font-size);
    color: var(--primary-color);
    margin-bottom: var(--mb-3);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 5px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.d-none-sm {
    display: none;
}

@media screen and (min-width: 968px) {
    .d-none-sm {
        display: inline-block;
    }
}

/* =========================================
   1. Header
   ========================================= */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: transparent;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
}

.logo img {
    height: 100px;
}

.nav-list {
    display: flex;
    column-gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color);
}

.active-link {
    color: var(--secondary-color);
}

.nav-close,
.nav-toggle {
    display: none;
}

/* Scroll Header */
.scroll-header {
    background-color: var(--white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.scroll-header .nav-link {
    color: var(--primary-color);
}

.scroll-header .nav-link:hover,
.scroll-header .active-link {
    color: var(--secondary-color);
}

/* =========================================
   Inner Page Overrides
   ========================================= */
/* Solid header for inner pages */
.inner-page .header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.inner-page .nav-link {
    color: var(--primary-color);
}

.inner-page .nav-link:hover,
.inner-page .active-link {
    color: var(--secondary-color);
}

/* Inner Page Hero Banner */
.inner-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-alt) 50%, var(--secondary-color) 100%);
    padding: 140px 0 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.inner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/hero-bg.png') center/cover no-repeat;
    opacity: 0.08;
    z-index: 0;
}

.inner-hero .container {
    position: relative;
    z-index: 1;
}

.inner-hero h1 {
    font-size: var(--h1-font-size);
    margin-bottom: 12px;
    color: var(--white);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.inner-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 550px;
    margin: 0 auto 1.5rem;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* Inner Hero Bottom Wave */
.inner-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.inner-hero-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.inner-hero-wave .shape-fill {
    fill: var(--white);
}

/* Inner Page Section Enhancements */
.inner-page .section {
    padding: 4rem 0;
}

.inner-page .content-block {
    margin-bottom: 3rem;
}


/* Mobile Menu */
@media screen and (max-width: 968px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--white);
        width: 70%;
        height: 100vh;
        padding: 3rem;
        box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
        transition: .4s;
        z-index: 100;
    }

    .nav-list {
        flex-direction: column;
        row-gap: 2rem;
    }

    .nav-link {
        color: var(--primary-color);
        font-size: var(--h3-font-size);
    }

    .show-menu {
        right: 0;
    }

    .nav-close,
    .nav-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary-color);
    }

    .nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    /* Keep toggle icon legible even on transparent header if needed */
    body:not(.inner-page) .header:not(.scroll-header):not(.header-v2) .nav-toggle {
        color: var(--white);
    }
}

/* =========================================
   2. Hero Section
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #0a1f36 0%, #0f2a44 40%, #163c61 100%);
    padding-top: 80px;
    overflow: hidden;
}

/* Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(28, 156, 125, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(28, 156, 125, 0.1) 0%, transparent 40%);
    z-index: 1;
}

/* Decorative Shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    background: rgba(28, 156, 125, 0.06);
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -100px;
    background: rgba(28, 156, 125, 0.04);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

/* Hero Label */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(28, 156, 125, 0.15);
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(28, 156, 125, 0.25);
}

.hero-title {
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: var(--mb-1-5);
    line-height: 1.15;
    letter-spacing: -1px;
    font-weight: 700;
}

.text-secondary {
    color: var(--secondary-color);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    margin-bottom: var(--mb-2);
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--mb-3);
    flex-wrap: wrap;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-item i {
    color: var(--secondary-color);
}

/* Hero Visual (Right Side) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, var(--secondary-color), rgba(28, 156, 125, 0.4));
    border-radius: 24px;
    z-index: -1;
}

.hero-main-img {
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Floating Badges */
.hero-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 3;
    animation: floatBadge 3s ease-in-out infinite;
}

.hero-float-badge strong {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.hero-float-badge span {
    font-size: 0.75rem;
    color: var(--text-color-light);
}

.badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.badge-1 {
    top: 15%;
    right: -10px;
    animation-delay: 0s;
}

.badge-1 .badge-icon {
    background: rgba(28, 156, 125, 0.1);
    color: var(--secondary-color);
}

.badge-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 1s;
}

.badge-2 .badge-icon {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.badge-3 {
    bottom: 5%;
    right: 5%;
    animation-delay: 2s;
}

.badge-3 .badge-icon {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Wave Shape Divider */
.custom-shape-divider-bottom-1683401730 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 2;
}

.custom-shape-divider-bottom-1683401730 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.custom-shape-divider-bottom-1683401730 .shape-fill {
    fill: #FFFFFF;
}

/* Hero Responsive */
@media screen and (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 2rem;
    }

    .hero-float-badge {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
}

/* =========================================
   3. About Section
   ========================================= */
.about {
    position: relative;
    padding-bottom: 8rem;
    /* space for wave */
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-list {
    margin: var(--mb-2) 0;
}

.about-list li {
    margin-bottom: var(--mb-1);
    display: flex;
    align-items: center;
}

.about-list li i {
    font-size: 1.25rem;
    margin-right: 1rem;
}

.about-img {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-img-file {
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: var(--box-shadow);
    width: 100%;
}

.about-img-bg {
    position: absolute;
    top: 2rem;
    right: -2rem;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 20px;
    z-index: 1;
}

.custom-shape-divider-bottom-about {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-about svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* =========================================
   4. Services Section
   ========================================= */
.bg-alt {
    background-color: var(--bg-color-alt);
}

/* =========================================
   4. Services Section (Reference Style)
   ========================================= */
.services-ref {
    padding: 5rem 0;
    background: url('assets/images/services-bg.png') center right/cover no-repeat;
    background-color: #eef3f7;
    position: relative;
}

.services-ref::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, #eef3f7 50%, transparent);
    z-index: 0;
}

.services-ref .container {
    position: relative;
    z-index: 1;
}

.services-ref-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
}

.services-ref-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.svc-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.svc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background: var(--white);
}

.svc-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.svc-icon.green {
    background: rgba(28, 156, 125, 0.12);
    color: #1c9c7d;
}

.svc-icon.blue {
    background: rgba(52, 152, 219, 0.12);
    color: #2980b9;
}

.svc-icon.navy {
    background: rgba(15, 42, 68, 0.1);
    color: var(--primary-color);
}

.svc-icon.teal {
    background: rgba(0, 128, 128, 0.1);
    color: #008080;
}

.svc-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.svc-text p {
    font-size: 0.82rem;
    color: var(--text-color-light);
    line-height: 1.5;
    margin: 0;
}

@media screen and (max-width: 968px) {
    .services-ref-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .services-ref-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   7. Why Choose Us
   ========================================= */
.why-choose {
    background: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

/* Left Side */
.why-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(28, 156, 125, 0.1);
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 1.2rem;
}

.why-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    line-height: 1.25;
    margin-bottom: 1.2rem;
}

.why-desc {
    color: var(--text-color-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.why-counters {
    display: flex;
    gap: 0;
}

.why-counter {
    text-align: center;
    flex: 1;
    padding: 0 1rem;
    border-right: 1px solid var(--border-color);
}

.why-counter:last-child {
    border-right: none;
}

.why-counter:first-child {
    padding-left: 0;
}

.why-counter strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.why-counter span {
    font-size: 0.82rem;
    color: var(--text-color-light);
    font-weight: 500;
}

/* Right Side */
.why-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.why-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-color-alt);
    border-radius: 14px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.why-feature:hover {
    background: var(--white);
    border-color: rgba(28, 156, 125, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.why-feat-num {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.why-feat-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.why-feat-content p {
    font-size: 0.82rem;
    color: var(--text-color-light);
    line-height: 1.5;
    margin: 0;
}

@media screen and (max-width: 968px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .why-right {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 576px) {
    .why-right {
        grid-template-columns: 1fr;
    }

    .why-counters {
        flex-direction: column;
        gap: 1.5rem;
    }

    .why-counter {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 0 0 1rem;
    }

    .why-counter:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.service-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 156, 125, 0.03), rgba(15, 42, 68, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 42, 68, 0.12);
    border-bottom-color: var(--secondary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--mb-1-5);
    display: inline-flex;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(28, 156, 125, 0.1), rgba(15, 42, 68, 0.05));
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(28, 156, 125, 0.3);
}

.service-title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
}

.service-description {
    color: var(--text-color-light);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-color);
}

@media screen and (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-img-bg {
        right: 1rem;
    }

    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .services-container {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   5. Industries We Serve
   ========================================= */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.industry-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.industry-card i {
    font-size: 2.2rem;
    color: var(--secondary-color);
    transition: all 0.4s ease;
}

.industry-card:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-color: transparent;
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(28, 156, 125, 0.25);
}

.industry-card:hover i {
    color: var(--white);
    transform: scale(1.15);
}

@media screen and (max-width: 968px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   6. Clients Section
   ========================================= */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.client-badge {
    background-color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: var(--small-font-size);
    font-weight: 500;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.client-badge:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* =========================================
   7. Why Choose Us
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-item:hover::after {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.feature-item i {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    display: block;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.feature-item p {
    color: var(--text-color-light);
    font-size: var(--small-font-size);
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   8. Work Process
   ========================================= */
.process-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 6px rgba(15, 42, 68, 0.15), 0 10px 25px rgba(15, 42, 68, 0.2);
    transition: all 0.4s ease;
}

.process-step:hover .process-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color-alt));
    box-shadow: 0 0 0 6px rgba(28, 156, 125, 0.15), 0 10px 25px rgba(28, 156, 125, 0.25);
    transform: scale(1.1);
}

.process-step h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.process-step p {
    color: var(--text-color-light);
    font-size: var(--small-font-size);
}

/* Connectors */
@media screen and (min-width: 769px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 30px;
        left: 50%;
        width: 100%;
        height: 2px;
        background-color: var(--border-color);
        z-index: -1;
    }
}

@media screen and (max-width: 768px) {
    .process-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
}

@media screen and (max-width: 576px) {
    .process-container {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   9. Call To Action
   ========================================= */
.cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 3.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.cta-title {
    color: var(--white);
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-0-5);
}

.cta-description {
    color: var(--bg-color-alt);
}

@media screen and (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

/* =========================================
   10. Contact Section
   ========================================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-info-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.contact-info-title {
    font-size: var(--h3-font-size);
}

.contact-info-subtitle {
    font-size: var(--normal-font-size);
    color: var(--text-color-light);
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-content-input {
    margin-bottom: 1.5rem;
}

.contact-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: var(--small-font-size);
    font-weight: 500;
}

.contact-input {
    width: 100%;
    background-color: var(--bg-color-alt);
    color: var(--text-color);
    padding: 1rem;
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-input:focus {
    border-color: var(--secondary-color);
}

@media screen and (max-width: 968px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .contact-inputs {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   11. Footer
   ========================================= */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-description {
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    display: inline-flex;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 50%;
    font-size: 1.15rem;
    transition: var(--transition);
}

.footer-social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-title {
    margin-bottom: 1.5rem;
    font-size: var(--h3-font-size);
}

.footer-links,
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link,
.footer-contacts li {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--secondary-color);
}

.footer-contacts i {
    color: var(--secondary-color);
}

.footer-copy {
    text-align: center;
    padding: 1.5rem 0;
    font-size: var(--small-font-size);
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media screen and (max-width: 968px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Inner Pages Specific Styles
   ========================================= */
.inner-hero {
    position: relative;
    padding: 120px 0 60px 0;
    text-align: center;
    color: var(--white);
    background-size: cover !important;
    background-position: center !important;
}

.inner-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 42, 68, 0.9) 0%, rgba(28, 156, 125, 0.8) 100%);
    z-index: 1;
}

.inner-hero .container {
    position: relative;
    z-index: 2;
}

.content-block {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    border-left: 4px solid var(--secondary-color);
}

.content-block h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.content-block ul {
    list-style: none;
    padding-left: 0;
}

.content-block ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.content-block ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.stats-counter {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.stats-counter h2 {
    color: var(--secondary-color);
}

/* Fix grid on smaller screens */
@media screen and (max-width: 768px) {
    .full-client-list {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================
   Alternating Content Layout & Image Blocks
   ========================================= */
.image-text-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.image-text-block.reverse {
    direction: rtl;
}

.image-text-block.reverse>* {
    direction: ltr;
}

.content-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 42, 68, 0.1);
}

.content-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.content-image-wrapper:hover img {
    transform: scale(1.04);
}

.content-text-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

@media screen and (max-width: 968px) {
    .image-text-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .image-text-block.reverse {
        direction: ltr;
        /* Reset text direction for mobile */
    }
}

/* =========================================
   Universal Mobile Overrides (Fixing overflows/overlapping)
   ========================================= */
@media screen and (max-width: 576px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0;
    }
    
    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        word-wrap: break-word;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        overflow-x: hidden;
    }
}

/* =========================================
   Logo Visibility Override
   ========================================= */
/* Make logo white on the dark transparent header of the homepage */
body:not(.inner-page) .header:not(.scroll-header):not(.header-v2) .logo img {
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: all 0.3s ease;
}

/* =========================================
   Services Page Fixes
   ========================================= */
.services-content-wrapper {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem;
    margin-bottom: 4rem;
}

@media screen and (max-width: 768px) {
    .services-content-wrapper {
        grid-template-columns: 1fr;
    }
}