/* Global Styles */
/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #006eff;
    --secondary: #000000;
    --dark: #1c1c1c;
    --light: #ffffff;
    --gray: #4a4a4aa1;
    --accent-glow: #1E90FF; /* Dodger Blue for the glow */
}



html {
    scroll-behavior: smooth;
}

body {
    color: var(--light);
    background-color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 32px);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(0, 0, 0, 0.206);
    color: white;
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid var(--primary);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    
}

.btn::after {
    content: "";
    position: absolute;
    top: -45%;
    left: -120%;
    width: 85%;
    height: 180%;
    background: linear-gradient(120deg, rgb(3, 120, 255) 10%, rgba(102, 188, 255, 0.35) 50%, rgba(0, 119, 255, 0.14) 90%);
    transform: translateX(-120%) rotate(18deg);
    opacity: 0;
    mix-blend-mode: screen;
    filter: blur(1px);
    pointer-events: none;
}

.btn:hover,
.btn:focus-visible {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 0 12px rgba(26, 130, 255, 0.45), 0 10px 22px rgba(5, 36, 105, 0.35);
    animation: btn-border-heartbeat 2.8s ease-in-out infinite;
}

.btn:hover::after,
.btn:focus-visible::after {
    opacity: 1;
    animation: btn-glass-pulse 3.6s ease-in-out infinite;
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 130, 255, 0.25), 0 0 14px rgba(26, 130, 255, 0.35);
    animation: btn-border-heartbeat 2.8s ease-in-out infinite;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--dark);
}

section {
    padding: clamp(48px, 8vw, 80px) 0;
}

.section-title {
    text-align: center;
    margin-bottom: clamp(24px, 6vw, 40px);
}

.section-title h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 10px;
    color: white;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    opacity: 0.8;
}

/*======================================================================================================*/
/* Background                                                    */
/*======================================================================================================*/
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    z-index: -1;
    background: linear-gradient(rgba(0, 0, 0, 0.219), rgb(0, 0, 0)),
        url('/Images/Website.png') no-repeat center center;
    background-size: cover; /* Changed from 'cover' to 'contain' */
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: 0.5s;
    background: rgba(28, 28, 28, 0.5);
    backdrop-filter: blur(10px);
}

header.sticky {
    padding: 10px 5%;
    background: var(--dark);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Logo styles */
.site-header .logo img {
    width: 130px;
    height: auto;
    display: block;
}

/* New style to control the logo container height */
.logo {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    position: relative;
    color: var(--light);
    font-weight: 500;
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 70%;
    height: 2px;
    background: var(--primary);
    transition: transform 0.35s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-links a.active {
    color: var(--primary);
}


.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--light);
}

/* Styles for the button-like links */
.nav-links li a.button-like {
    padding: 8px 16px;
    background-color: var(--primary-orange);
    color: var(--white);
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-orange);
}

.nav-links li a.button-like:hover {
    background-color: transparent;
    color: var(--primary-orange);
    transform: translateY(-3px);
}

/* Shop Div Styling */
.Shop {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #006eff;
    border-radius: 5px;
    transition: all 0.3s ease;
    padding: 0;
    height: 26px;
    margin-top: 3px;
}

.Shop:hover {
    background-color: rgba(0, 110, 255, 0.1);
}

.Shop li {
    list-style: none;
    margin-bottom: 2px;
    padding: 0;
}

.Shop a {
    padding: 5px 8px;
    color: var(--light);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

/*======================================================================================================*/
/* Service Page                                                  */
/*======================================================================================================*/
.services-preview {
    background: rgba(28, 28, 28, 0.258);
    padding-top: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: clamp(16px, 4vw, 20px);
    width: min(300px, 90vw);
    border-radius: 10px;
    transition: 0.3s;
    border-left: 3px solid var(--primary);
    text-align: center;
}

.service-card:hover {
    background: rgba(116, 140, 148, 0.1);
    box-shadow: 0 10px 30px rgba(116, 140, 148, 0.1);
}

.service-card i {
    font-size: clamp(18px, 4vw, 20px);
    color: var(--primary);
    margin-bottom: 2px;
}

.service-card h3 {
    font-size: clamp(0.95rem, 4vw, 1rem);
    margin-bottom: 10px;
}

/* Services Detail Page */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: rgba(28, 28, 28, 0.7);
}

.page-header h1 {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 8px;
    color: white;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

.services-grid-section {
    padding: 60px 0;
    background: rgba(28, 28, 28, 0.7);
}

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

.service-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid transparent;
    transition: transform 0.4s ease-in-out, background-color 0.4s ease-in-out, border-color 0.4s ease-in-out;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.7);
    gap: clamp(0.25rem, 0.8vw, 0.5rem); /* Responsive gap between icon and text */
    min-width: 0; /* Allows items to shrink below content size */

}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgb(0, 132, 255);
    animation: live-glow 1.6s ease-in-out infinite alternate;
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: clamp(18px, 5vw, 25px);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h2 {
    font-size: clamp(1.35rem, 4.5vw, 1.8rem);
    color: white;
    margin-bottom: clamp(8px, 3vw, 12px);
}

.service-content p {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    opacity: 0.8;
    margin-bottom: clamp(12px, 4vw, 18px);
}

.service-content ul {
    list-style: none;
    margin-bottom: clamp(12px, 4vw, 18px);
    padding-left: 0;
}

.service-content li {
    display: flex;
    align-items: center;
    margin-bottom: clamp(6px, 3vw, 10px);
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    opacity: 0.9;
    padding-left: 0;
}

.service-content li i {
    color: var(--primary);
    margin-right: 8px;
}

.service-content .btn {
    margin-top: auto;
    align-self: center;
}

.button {
    margin-top: 10px;
}

.service-detail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: clamp(40px, 10vw, 60px);
    gap: clamp(20px, 6vw, 40px);
}

.service-content {
    flex: 1;
    min-width: min(320px, 100%);
    padding-right: clamp(12px, 5vw, 30px);
}

.service-content h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: clamp(12px, 4vw, 18px);
    color: white;
}

.service-content p {
    margin-bottom: clamp(12px, 4vw, 18px);
    opacity: 0.8;
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
}

.service-content ul {
    list-style: none;
    margin: clamp(12px, 4vw, 18px) 0;
}

.service-content li {
    margin-bottom: clamp(6px, 3vw, 12px);
    display: flex;
    align-items: center;
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
}

.service-content li i {
    color: var(--primary);
    margin-right: 8px;
}

.service-image {
    flex: 1;
    min-width: min(320px, 100%);
}

.service-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(116, 140, 148, 0.2);
}

.services-alt {
    background: rgba(28, 28, 28, 0.7);
}

.services-alt .service-detail {
    flex-direction: row-reverse;
}

.services-alt .service-content {
    padding-right: clamp(12px, 5vw, 30px);
    padding-left: clamp(12px, 5vw, 30px);
}
/*======================================================================================================*/
/* About Page                                                    */
/*======================================================================================================*/
.about {
    display: block; 
    flex-wrap: wrap;
    margin-bottom: clamp(40px, 12vw, 60px);
    padding-inline: clamp(12px, 6vw, 24px);
}

.about .container {
    display: flex; 
    flex-direction: column;
    align-items: center;
    gap: clamp(20px, 6vw, 32px);
    flex-wrap: wrap; /* Allows stacking on small screens */
    max-width: 950px;
    margin: 0 auto;
}
/* ------------------------------------------- */
/*======================================================================================================*/
/*                                                About Page                                            */
/*======================================================================================================*/
/* --- 1. Full-Screen Image Container (your class) --- */
.our-story-header-image {
    min-height: clamp(520px, 68vh, 620px);
    width: 100%;
    background: url('/Images/Managed.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 80px;
    padding: clamp(130px, 11vw, 170px) clamp(6%, 8vw, 12%) clamp(100px, 9vw, 140px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: clamp(28px, 3.5vw, 52px);
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    scroll-margin-top: 140px;
}

.our-story-header-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.our-story-header-image > * {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* --- 3. Our Story Stats Positioning --- */
.our-story-stats {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(18px, 4vw, 48px);
    z-index: 3;
}

.our-story-stats .stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: clamp(82px, 7.5vw, 96px);
    height: clamp(82px, 7.5vw, 96px);
    padding: clamp(10px, 1.4vw, 14px);
    gap: clamp(6px, 1.2vw, 10px);
}

.our-story-stats .stat-icon {
    font-size: clamp(1.05rem, 2.6vw, 1.35rem);
    margin-bottom: 0;
    color: rgb(148, 148, 148);
}

.our-story-stats .stat-text {
    font-size: clamp(0.65rem, 0.95vw, 0.8rem);
    line-height: 1.2;
    text-align: center;
}

/* --- 2. Content Placement and Styling --- */
.about-content {
    position: relative;
    color: white;
    z-index: 3;
    max-width: clamp(600px, 52vw, 760px);
    padding: 0;
}


.about-content h1 {
    font-size: 3rem; 
    line-height: 1;
    font-weight: 400;
    margin-bottom: 8px; /* Reduced margin to keep lines tight */
    margin-left: 0;
}

.about-content h1 span
{
    color: #006eff;
}

.about-content p {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    margin-bottom: 0;
    margin-top: clamp(12px, 2vw, 28px);
    margin-left: 0;
    max-width: 100%;
    width: 100%;
}

/* --- 3. Animation: Slide-in Effect --- */
.animated-content {
    animation: slideInFromLeft 1.2s ease-out forwards;
    opacity: 0;
    transform: translate(-60px, 0); 
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translate(-60px, 0);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* --- Tablet Media Query --- */
@media (max-width: 992px) {
    .our-story-header-image {
        min-height: clamp(480px, 68vh, 540px);
        margin-top: 90px;
        padding: clamp(130px, 18vw, 170px) 8% clamp(160px, 20vw, 200px);
        align-items: flex-start;
    }

    .about-content {
        position: static;
        transform: none;
        text-align: left;
        margin: 0 auto;
        max-width: 680px;
        padding: clamp(0.75rem, 4vw, 1.5rem) 0;
    }

    .about-content h1 {
        font-size: clamp(2.5rem, 4vw, 3rem);
        margin-left: 0;
    }

    .about-content p {
        font-size: clamp(1.1rem, 2.4vw, 1.4rem);
        margin: clamp(0.75rem, 3vw, 1.25rem) 0 0;
        text-align: left;
    }

    .our-story-stats {
        position: static;
        transform: none;
        margin: clamp(36px, 6vw, 52px) auto 0;
        gap: clamp(24px, 5vw, 48px);
        justify-content: center;
        max-width: 560px;
        flex-wrap: wrap;
    }
}

/* --- Mobile Media Query Adjustment for Positioning --- */
@media (max-width: 768px) {
    .our-story-header-image {
        min-height: clamp(480px, 78vh, 620px);
        padding: clamp(96px, 24vw, 168px) 8% clamp(64px, 18vw, 132px);
        align-items: flex-start;
        justify-content: space-between;
        background-position: center top;
        background-size: cover;
        background-repeat: no-repeat;
        background-color: rgba(0, 0, 0, 0.9);
        gap: clamp(6px, 1.8vw, 12px);
        margin-top: 15%;
    }

    .our-story-header-image .about-content {
        max-width: clamp(180px, 84%, 260px);
        width: 100%;
        padding: 0;
        text-align: left;
    }

    .our-story-header-image .about-content h1 {
        font-size: clamp(0.82rem, 2vw, 1.05rem);
        margin-bottom: clamp(1px, 0.8vw, 4px);
        letter-spacing: 0.015em;
    }

    .our-story-header-image .about-content p {
        font-size: clamp(0.34rem, 3vw, 0.42rem);
        line-height: 1.54;
        margin-top: clamp(2px, 1vw, 4px);
        max-width: clamp(180px, 100%, 260px);
        width: 100%;
    }

    .our-story-header-image .our-story-stats {
        position: static;
        transform: none;
        margin: clamp(12px, 3.5vw, 26px) auto 0;
        gap: clamp(6px, 3vw, 12px);
        justify-content: center;
        flex-wrap: nowrap;
        max-width: clamp(150px, 70%, 220px);
        width: 100%;
    }

    .our-story-header-image .stat-item {
        width: clamp(48px, 16vw, 66px);
        height: clamp(48px, 16vw, 66px);
        padding: clamp(4px, 1.4vw, 6px);
        background: rgba(0, 0, 0, 0.123); /* adds contrast so icons stay visible */
        backdrop-filter: blur(6px);
        gap: clamp(3px, 1.4vw, 5px);
        box-shadow: 0 0 6px rgba(30, 144, 255, 0.55);
    }

    .our-story-header-image .stat-icon {
        display: inline-flex;
        font-size: clamp(0.9rem, 3.2vw, 1.1rem);
        color: rgba(165, 165, 165, 0.9);
        margin: 0;
        line-height: 1;
    }

    .our-story-header-image .stat-text {
        font-size: clamp(0.36rem, 1.35vw, 0.52rem);
        line-height: 0.15;
        margin-top: 4px;
        padding: 0 1px;
        color: #ffffff;
    }

    .values {
        padding: 60px 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .value-item {
        padding: 22px;
    }

    .value-item h3 {
        font-size: clamp(1.2rem, 4vw, 1.4rem);
    }

    .value-item p {
        font-size: clamp(0.95rem, 3vw, 1.05rem);
    }

    /* Center "Connect With Us" icons on tablets and below */
    footer .social-icons,
    .footer-section .social-icons,
    .contact-header .social-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    footer .social-icons a,
    .footer-section .social-icons a,
    .contact-header .social-icons a {
        margin: 0;
    }
}

/* --- Extra Small Mobile Devices --- */
@media (max-width: 480px) {
    .our-story-header-image {
        min-height: clamp(240px, 50vh, 320px);
        padding: clamp(72px, 18vw, 110px) 6% clamp(80px, 22vw, 120px);
        background-position: center top;
        gap: clamp(16px, 4vw, 24px);
    }

    .about-content {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .about-content h1 {
        font-size: clamp(1.4rem, 5.2vw, 1.8rem);
        margin-bottom: clamp(4px, 2vw, 8px);
    }

    .about-content p {
        font-size: clamp(0.6rem, 2.4vw, 0.8rem);
        line-height: 1.45;
        margin-top: clamp(6px, 3vw, 10px);
        max-width: 100%;
        width: 100%;
    }

    .our-story-stats {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: clamp(12px, 5vw, 18px);
        margin-top: clamp(16px, 6vw, 24px);
    }

    .stat-item {
        width: clamp(64px, 28vw, 84px);
        height: clamp(64px, 28vw, 84px);
        padding: clamp(6px, 2.5vw, 10px);
        gap: clamp(4px, 2vw, 6px);
        box-shadow: 0 0 6px rgba(30, 144, 255, 0.6);
    }

    .stat-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: clamp(1rem, 5vw, 1.35rem);
        margin: 0;
        line-height: 1;
        color: rgba(156, 156, 156, 0.95);
    }

    .stat-text {
        font-size: clamp(0.6rem, 2.6vw, 0.75rem);
    }
}

/* The rest of your CSS remains unchanged */
.about {
    display: block; 
    margin-bottom: clamp(40px, 12vw, 60px);
    padding-inline: clamp(12px, 6vw, 24px);
}

.about .container {
    display: block;
}

.about-content {
    flex: initial;
    min-width: initial;
    padding-right: 0;
}

.about-image {
    display: none; 
}

/* This selector was incorrect and is now corrected above: .about-content h2 */
.about-content h2 {
    font-size: clamp(1.8rem, 6vw, 2.3rem);
    margin-bottom: clamp(12px, 5vw, 18px);
    color: white;
}

.about-content p {
    margin-bottom: clamp(8px, 4vw, 12px);
    opacity: 0.8;
    font-size: clamp(0.9rem, 4vw, 1.05rem);
    color: #ffffff;
}


.about-stats {
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-wrap: wrap; /* Allow items to wrap if more are added */
    margin: 3% auto 0; /* Center the container horizontally */
    padding: 10px 20px;
    gap: 20px; 
    border-radius: 8px;
    width: 100%; /* Full width to allow proper centering */
    max-width: 800px; /* Limit maximum width for better appearance */
}

.stat-item {
    width: clamp(88px, 10vw, 115px);
    height: clamp(88px, 10vw, 115px);
    border-radius: 50%;
    border: 1px solid rgba(1, 111, 255, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #0066ff;
    padding: clamp(8px, 2.2vw, 14px);
    background: transparent;
    backdrop-filter: none;
    gap: clamp(4px, 1.2vw, 8px);
    transition: transform 0.4s ease-in-out, background-color 0.4s ease-in-out, border-color 0.4s ease-in-out;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.7);
    gap: clamp(0.25rem, 0.8vw, 0.5rem); /* Responsive gap between icon and text */
    min-width: 0; /* Allows items to shrink below content size */
}

.stat-icon {
    font-size: clamp(1.4rem, 3.6vw, 2rem);
    margin-bottom: 0;
    color: var(--primary);
}

.stat-text {
    font-size: clamp(0.75rem, 1.1vw, 0.95rem);
    font-weight: 500;
    line-height: 1.25;
    margin: 0;
    padding: 0 4px;
    color: #ffffff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.value-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    shape-margin: 10px;
    transition: transform 0.4s ease-in-out, background-color 0.4s ease-in-out, border-color 0.4s ease-in-out;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.7);
    gap: clamp(0.25rem, 0.8vw, 0.5rem); /* Responsive gap between icon and text */
    min-width: 0; /* Allows items to shrink below content size */
}

.value-item:hover {
    transform: translateY(-10px);
    background: rgba(116, 140, 148, 0.1);
    box-shadow: 0 10px 30px rgba(116, 140, 148, 0.1);
    animation: live-glow 1.6s ease-in-out infinite alternate;
}


@keyframes live-glow {
    0% {
        box-shadow: 0 0 5px var(--accent-glow), 0 0 10px rgba(30, 144, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 15px var(--accent-glow), 0 0 30px var(--accent-glow), 0 10px 30px rgba(30, 144, 255, 0.7);
    }
    100% {
        box-shadow: 0 0 5px var(--accent-glow), 0 0 10px rgba(30, 144, 255, 0.5);
    }
}

.value-item i {
    font-size: 40px;
    color: gray;
    margin-bottom: 15px;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.value-item p {
    opacity: 0.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    background: rgba(116, 140, 148, 0.1);
    box-shadow: 0 10px 30px rgba(116, 140, 148, 0.1);
}

/* --- TEAM IMAGE FIX (MODIFIED) --- */
.team-member img {
    width: 620px; 
    height: auto; 
    border-radius: 10px; 
    object-fit: contain; 
    margin-bottom: 15px; 
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.team-member p {
    opacity: 0.8;
}

/*======================================================================================================*/
/* Contact Page                                                  */
/*======================================================================================================*/
/* General container and background styling */
.contact {
    /* Sets the background color to match the image's light gray tone */
    background-color: #e8e8e800;
    padding: 60px 0; /* Add some top/bottom padding */
    margin-top: 5%; 
}

/* Center and limit the width of the content */
.containers {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Layout Grid for Image and Content --- */
.contact-grid {
    /* Use grid to create two columns */
    display: grid;
    /* Defines the column sizes: Left is 40%, Right is 60% */
    grid-template-columns: 2fr 3fr; /* Or roughly 40% 60% */
    gap: 40px; /* Space between the image and content */
    align-items: start; /* Align items to the top */
}

/* Media query for smaller screens: stack the columns */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Single column layout on smaller screens */
        gap: 30px;
    }
    .image-left {
        max-width: 100%;
        margin: 0 auto;
        border-radius: 30px;
    }

    .image-left img {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 300px;
        border-radius: 30px; /* Ensure all 4 corners are rounded on mobile */
    }

    .contact-right-side {
        margin-top: 0;
        padding-top: 0;
    }

    .contact-header h2 {
        font-size: 2rem;
    }

    .contact-header p {
        font-size: 0.9rem;
    }
}

/* Additional mobile-specific fixes */
@media (max-width: 768px) {
    .contact {
        padding: 40px 0;
        margin-top: 80px; /* Account for fixed header */
        overflow-x: hidden;
    }

    .containers {
        padding: 0 12px;
        width: 100%;
        overflow-x: hidden;
        max-width: 100vw;
    }

    .contact-grid {
        overflow-x: hidden;
    }

    .image-left {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .image-left img {
        min-height: 250px;
        border-radius: 20px; /* Slightly smaller radius on small mobile */
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }

    .contact-right-side {
        width: 100%;
        overflow-x: hidden;
    }

    .contact-header {
        padding: 0;
    }

    .contact-header h2 {
        font-size: 1.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .contact-header p {
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .contact-header .contact-detail {
        justify-content: center;
        font-size: 0.9rem;
        gap: 8px;
    }

    .contact-header .contact-detail i {
        font-size: 1.05rem;
    }

    .contact-form {
        padding: 15px 0;
        width: 100%;
        overflow-x: hidden;
    }

    .form-group-name {
        flex-direction: column;
        gap: 15px;
    }

    .contact-form input[type="text"], 
    .contact-form input[type="email"], 
    .contact-form input[type="tel"],
    .contact-form select,
    .contact-form textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
    }
}

/* Extra small devices - further optimization */
@media (max-width: 480px) {
    .containers {
        padding: 0 10px;
    }

    .contact {
        padding: 30px 0;
    }

    .contact-grid {
        gap: 20px;
    }

    .image-left img {
        min-height: 200px;
        border-radius: 15px;
    }

    .contact-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .contact-header p {
        font-size: 0.8rem;
    }

    .contact-form {
        padding: 10px 0;
    }

    .form-group, .category {
        margin-bottom: 12px;
    }

    .contact-form input[type="text"], 
    .contact-form input[type="email"], 
    .contact-form input[type="tel"],
    .contact-form select,
    .contact-form textarea {
        padding: 8px;
        font-size: 15px;
    }

    textarea {
        min-height: 100px;
    }
}

/* --- Left Side Image Styling --- */
.image-left {
    border-radius: 15px;
    overflow: hidden;
    /* To help the image stretch to the height of the right column's content */
    align-self: stretch; /* Makes the grid item fill the full height of the row */
    
}

.image-left img {
    /* Makes the image fully cover the height of its container */
    border-radius: 15px; /* All 4 corners rounded */
    width: 100%; /* Responsive width */
    max-width: 600px; /* Maximum width on large screens */
    height: auto; /* Maintain aspect ratio */
    min-height: 400px; /* Minimum height for consistency */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    display: block;
    
}

/* --- Right Side Content Styling --- */
.contact-right-side {
    padding-top: 20px;
    margin-top: -5%;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.contact-header p {
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 20px;
}

.contact-details-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-details-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 220px;
}

.contact-details-column--right {
    margin-left: auto;
    flex: 0 1 390px;
}

.contact-header .contact-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0;
}

.contact-detail--address a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-header .contact-detail i {
    font-size: 1.2rem;
    color: #ffffff;
}

.contact-header .contact-detail a {
    color: #ffffff;
    text-decoration: none;
}

.contact-header .contact-detail a:hover {
    text-decoration: underline;
}

.social-icons {
    margin-top: 15px;
    margin-bottom: 30px;
}
.social-icons a {
    color: #ffffff;
    font-size: 1.5rem;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: #333;
}


/* --- Form Styling --- */
.contact-form {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Group for First Name and Last Name to be on the same line */
.form-group-name {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
}

.name-field {
    flex: 1; /* Ensures first/last name fields share space equally */
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

/* General form groups (Email, Message, Company, Contact, Service Category) */
.form-group, .category {
    margin-bottom: 15px;
    /* Ensure these containers fill the width */
    width: 100%;
    box-sizing: border-box;
}

/* IMPORTANT FIX: Force the select's container to use Flexbox */
/* This can help reset certain browser defaults on the select element */
.category {
    display: flex;
    flex-direction: column;
    width: 100%;
}

label {
    display: block;
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 5px;
    font-weight: 500;
}
.form-group-name .name-field:last-child label {
    font-size: 0.9rem;
}


/* CONSOLIDATED & ROBUST FIELD STYLING */
.contact-form input[type="text"], 
.contact-form input[type="email"], 
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    /* Critical property for full width */
    width: 100%;
    max-width: 100%;
    
    /* Using your specified semi-transparent black background */
    background-color: #0000004e; 
    
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 1rem;
    box-sizing: border-box;
    color: #333;
    
    /* Safety measure for Flexbox layout */
    min-width: 0;
    overflow: hidden;
    
    /* Force browser default reset for select elements */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ... (rest of the CSS for the button is unchanged) ... */

/* Styling for the 'SEND' button */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(0, 0, 0, 0.206);
    color: white;
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid var(--primary);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 0 10px rgba(26, 130, 255, 0.35), 0 10px 20px rgba(5, 36, 105, 0.3);
    animation: btn-border-heartbeat 2.8s ease-in-out infinite;
}


@keyframes btn-border-heartbeat {
    0%,
    100% {
        border-color: #1a82ff;
        box-shadow: 0 0 10px rgba(26, 130, 255, 0.35), 0 10px 20px rgba(5, 36, 105, 0.3);
    }
    30% {
        border-color: #4fb9ff;
        box-shadow: 0 0 22px rgba(79, 185, 255, 0.55), 0 14px 24px rgba(5, 36, 105, 0.35);
    }
    55% {
        border-color: #2d9cff;
        box-shadow: 0 0 16px rgba(45, 156, 255, 0.5), 0 12px 22px rgba(5, 36, 105, 0.32);
    }
    75% {
        border-color: #60c4ff;
        box-shadow: 0 0 28px rgba(96, 196, 255, 0.6), 0 16px 28px rgba(5, 36, 105, 0.4);
    }
}

/* Stats Section */
.stats {
    background: rgba(28, 28, 28, 0.7);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 15px;
    opacity: 0;
    transform: translateY(50px);
}

.stat-item.show {
    opacity: 1;
    transform: translateY(0);
    transition: 1s;
}

.stat-item i {
    font-size: 35px;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.8;
}

/* CTA Section */
.cta {
    text-align: center;
    background: rgba(28, 28, 28, 0.7);
    padding-top: 2%;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/*======================================================================================================*/
/* footer Page                                                   */
/*======================================================================================================*/
/* Hamburger Minimal Menu Styles */
#minimal-menu {
    position: fixed;
    top: 70px;
    right: 10px;
    width: 140px;
    max-height: 220px;
    background: rgba(0,0,0,0.97);
    color: #fff;
    z-index: 9999;
    padding: 8px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    overflow-y: auto;
}
#minimal-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
#minimal-menu ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 6px 12px;
    font-size: 15px;
    border-radius: 4px;
    transition: background 0.2s;
}
#minimal-menu ul li a:hover {
    background: rgba(0, 110, 255, 0.15);
}
#close-minimal-menu {
    margin: 8px 12px 0 12px;
    background: #222;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    width: calc(100% - 24px);
    font-size: 14px;
    transition: background 0.2s;
}
#close-minimal-menu:hover {
    background: #444;
}
/* ===== FOOTER SECTION ===== */
footer {
    background: #000000;
    color: #ffffff;
    padding: 70px 0 40px;
    font-size: 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin: 0 auto;
    justify-items: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    width: 100%;
}

.footer-logo img {
    width: 130px;
    max-width: 100%;
    height: auto;
    display: block;
}

.footer-logo p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 260px;
    text-align: center;
}

.footer-section h3 {
    color: #ffffff;
    margin: 0 auto 20px;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 5px;
}

.footer-section p,
.footer-section li {
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #0077ff;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.social-icons a {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #4e4e4e;
    transform: scale(1.1);
}

footer .copyright {
    text-align: center;
    padding-top: 25px;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0.5px;
}

footer a {
    color: #ffffff;
}

footer a:hover {
    color: #0479ff;
}

/* Category Dropdown */
.category {
    font-family: Arial, sans-serif;
    margin-bottom: 15px;
    width: 475px;
}

.category label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--light);
}

.category select {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--gray);
    border-radius: 6px;
    background-color: var(--dark);
    color: var(--light);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%239a9a9a" d="M10 12l-6-6h12z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: all 0.3s ease;
}

.category select:hover {
    background-color: #2e2e2e;
}

.category select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(116, 140, 148, 0.5);
}

.category option {
    background-color: var(--dark);
    color: var(--light);
}

/* ==================================================Partners Section=================================================== */
.partners {
    padding: 0 0;
    background: rgba(28, 28, 28, 0.7);
}

.partners .section-title {
    margin-bottom: 30px;
}

.partners .section-title h2 {
    color: var(--light);
    font-size: 20px;
}

.partners .section-title .divider {
    width: 100px;
    height: 2px;
    background: var(--primary);
    margin: 8px auto 0;
}

.logo-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==================================================Partners Section=================================================== */

.live-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/* * Key CSS for the smooth looping animation.
 */
.logo-track {
    display: flex;
    width: max-content;
    animation: scroll-logos-loop 95s linear infinite; /* Adjust duration (e.g., 35s) for speed */
}

/* * The keyframes scroll the track by exactly -50%.
 * Since the logo set is duplicated, scrolling 50% hides the first set and reveals the duplicate set seamlessly, 
 */
@keyframes scroll-logos-loop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50.1%); /* Crucial for the seamless loop */
    }
}

.logo-item {
    flex: 0 0 auto;
    margin: 0 22px;
    
}

.logo-item img {
    max-width: 120px;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-track {
        animation-duration: 25s; /* Shorter duration for smaller screens */
    }
    .logo-item img {
        max-width: 80px;
    }
}


/*======================================================================================================*/
/* approach Page                                                 */
/*======================================================================================================*/
.approach-steps {
    padding: 80px 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.approach-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease-in-out, background-color 0.4s ease-in-out, border-color 0.4s ease-in-out;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.7);
    gap: clamp(0.25rem, 0.8vw, 0.5rem); /* Responsive gap between icon and text */
    min-width: 0; /* Allows items to shrink below content size */
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);

    animation: live-glow 1.6s ease-in-out infinite alternate;
}

.card-icon {
    margin-bottom: 20px;
}

.card-icon img {
    width: 200px; 
    height: 200px;
    border-radius: 15%;
    object-fit: contain;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.approach-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.approach-card p {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header */
    header {
        padding: 15px 5%;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.5s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: block;
    }

    /* Hero */
    .hero {
        text-align: center;
        padding-top: 150px;
        padding-bottom: 50px;
    }

    .hero-content {
        /* Ensuring the content block is centered, if possible */
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        text-align: center; /* Explicitly center the heading in mobile */
    }

    .hero-content p {
        font-size: 1rem;
        text-align: center; /* Explicitly center the paragraph in mobile */
    }
    
    .hero-content .btn {
        margin-left: auto;
        margin-right: auto;
        /* Buttons are inline-block by default, so text-align: center on parent (.hero) helps, 
           but explicitly setting margins to auto ensures centering if they are block-level 
           or if the parent is not 100% width, which .hero-content is not. */
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    /* Service Detail Page */
    .service-detail {
        flex-direction: column;
        text-align: center;
    }
    
    /* About Page Mobile Centering */
    .about .container {
        /* Override initial settings for mobile */
        flex-direction: column;
        align-items: center;
    }

    .service-content,
    .about-content {
        padding-right: 0;
        padding-bottom: 30px;
        text-align: center; /* Ensures text is centered */
    }

    .services-alt .service-content {
        padding-left: 0;
        padding-top: 30px;
    }

    .services-alt .service-detail {
        flex-direction: column;
    }
    
    .about-image {
        /* Ensure image container is centered on mobile */
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Service Grid Item */
    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .service-content ul {
        text-align: left;
        margin: 0 auto 20px;
        width: fit-content;
    }

    /* Contact Form */
    .contact-grid {
        gap: 30px;
    }

    /* Footer */
    .footer-content {
        text-align: center;
    }

    .footer-section {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-section h3::after {
        margin-left: auto;
        margin-right: auto;
    }

    /* Approach Steps */
    .approach-grid {
        grid-template-columns: 1fr;
    }
}

/* Container for the entire section to apply the full-width dark background */
.brands-logo-showcase {
    /* Use the dark charcoal color from the image */
    background-color: #24292e6b; 
    /* REMOVE default top padding/margin that might exist on the section */
    padding-top: 0; 
    margin-top: 0;
    padding-bottom: 50px; 
}

/* Standard container for the logo grid */
.container {
    max-width: 1200px; /* Standard website max width, adjust if needed */
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Section Title Styling (Full-Width 50/50 Split, Boxed) --- */

.section-title-full-width {
    /* Create the 50/50 split */
    display: flex;
    align-items: stretch; /* Makes sure the two columns have equal height */
    justify-content: space-between;
    min-height: 450px; 
    width: 100%; 
    
    /* ADD: Outer border for the entire section */
    border: 1px solid #3d454a; 
    box-sizing: border-box; /* Include padding/border in the element's total width/height */
}

.title-section-left {
    width: 50%;
    /* Key to centering: Use flexbox on the left container */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the content group */
    align-items: center; /* Horizontally center the content group */
    text-align: center; /* Ensures text lines are centered */

    /* ADD: Inner border to divide the two halves */
    border-right: 1px solid #3d454a2c; 
    
    /* Add internal padding to create space around the centered text */
    padding: 20px; 
}

.title-section-right {
    width: 50%;
    height: 100%;
    overflow: hidden; 
}

/* Styling the image to fill its 50% container completely */
.title-section-right img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the image fills the space and crops cleanly */
    display: block; 
}

/* Main Heading Style (The large white text) */
.title-section-left h1 {
    font-size: 6em; 
    color: #c8c8c8; 
    width: 190px;
    margin: 0;
    font-weight: 300; /* Bolder for "Our Valued Clients" style */
    line-height: 1.1;
    text-transform: none;
    position: relative; /* needed so the pseudo-element can be positioned relative to the text */
    display: block;
    text-align: center;
}


.title-section-left h1 {
    font-size: 6em; 
    color: #c8c8c8; 
    width: 190px;
    margin: 0;
    font-weight: 300; /* Bolder for "Our Valued Clients" style */
    line-height: 1.1;
    text-transform: none;
    position: relative; 
    /* The line will be centered with the text due to align-items: center on parent */
}



/* Horizontal line below the main heading text */
.title-section-left h1::after {
    content: '';
    position: absolute;
    bottom: -10px; 
    /* Line is centered because its parent (h1) is centered in the box */
    left: 49.5%; 
    transform: translateX(-50%); 
    width: 460px; 
    height: 1px;
    background-color: #ffffff; 
}

/* Subtext Style (The small white, uppercase text) */
.title-section-left p {
    font-size: 1.9em;
    color: #777777; 
    letter-spacing: 2px;
    font-weight: 100;
    width: 460px;
    margin-top: 25px; 
    padding: 0;
    text-transform: uppercase;
    position: static; 
}

/* --- LOGO GRID Styling --- */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding-bottom: 50px;
    margin-top: 50px;
    justify-items: center;
}

.logo-item {
    background: #ffffff; 
    border: 0px solid #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    width: 70%;             /* ✅ Reduced container size slightly */
    height: auto;
    padding: 0; 
    box-shadow: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.logo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo-item img {
    max-width: 100%;          /* ✅ Keeps image size but fills more of smaller box */
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;     /* ✅ Preserves proportions */
    margin: 0;               /* ✅ Centers perfectly */
    transition: opacity 0.2s ease-in-out;
}

.logo-item:hover img {
    opacity: 1;
}

/* --- LOGO GRID Styling for Biliyon --- */
.logo-items {
    background:  #102331; 
    border: 0px solid #00000000;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    width: 70%;             /* ✅ Reduced container size slightly */
    height: auto;
    padding: 0; 
    box-shadow: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.logo-items img {
    max-width: 100%;          /* ✅ Keeps image size but fills more of smaller box */
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;     /* ✅ Preserves proportions */
    margin: 0;               /* ✅ Centers perfectly */
    transition: opacity 0.2s ease-in-out;
}

/* --- LOGO GRID Styling for Apcoat --- */
.logo-item-APCoat {
    background:  #063846; 
    border: 0px solid #00000000;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    width: 70%;             /* ✅ Reduced container size slightly */
    height: auto;
    padding: 0; 
    box-shadow: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.logo-item-APCoat img {
    max-width: 100%;          /* ✅ Keeps image size but fills more of smaller box */
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;     /* ✅ Preserves proportions */
    margin: 0;               /* ✅ Centers perfectly */
    transition: opacity 0.2s ease-in-out;
}

/* --- Mobile Responsiveness --- */

@media (max-width: 991px) {
    .section-title-full-width {
        flex-direction: column; 
        min-height: auto;
    }
    .title-section-left {
        width: 100%; 
        padding: 40px 15px 15px; 
        border-right: none; /* Remove right border on mobile stack */
        border-bottom: 1px solid #3d454a; /* Add a bottom border instead */
    }
    .title-section-left h1 {
        font-size: 3.5em; 
    }
    /* Center the line on mobile */
    .title-section-left h1::after {
        left: 50%;
        transform: translateX(-50%);
        width: 100px; 
    }
    .title-section-right {
        width: 100%; 
        height: 250px; 
    }
    
    .logo-grid {
        grid-template-columns: repeat(4, 1fr); 
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .logo-grid {
        grid-template-columns: repeat(3, 1fr); 
        gap: 20px;
    }
    .logo-item img {
        max-height: 60%; 
        max-width: 60%;
    }
}

@media (max-width: 479px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px;
    }
    .logo-item img {
        max-height: 70%;
        max-width: 70%;
    }
}