/* 
 * PROSOL Website Stylesheet
 * Optimized for performance with critical CSS inlined in HTML
 * Consider minifying this file for production (remove comments, whitespace)
 */
:root {
    --primary-color: #1a2b49; /* Dark Blue */
    --accent-color: #f0f0f0;
    --text-color: #333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
}

/* Prevent layout shifts - add explicit dimensions to images */
img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove inline spacing to prevent shift */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    z-index: 1000;
    padding: 5px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, transform 0.3s ease;
    transform: translateY(0);
}

.sticky-header.header-hidden {
    transform: translateY(-100%);
}

/* .sticky-header.scrolled {
    padding: 5px 0;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
} */

.sticky-header:has(.header-right.menu-open),
.sticky-header.menu-open {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 15px 15px;
    position: relative;
}

/* New Header Right Wrapper */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
    min-height: 80px; /* Reserve space to prevent layout shift */
}

/* Navigation centered */
.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-actions {
    margin-left: auto;
}

.logo-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-left span {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
    text-align: center;
}

.logo-left a {
    display: inline-block;
    text-decoration: none;
}

.logo-left img, .logo-right img {
    padding-top: 5px;
    height: 45px; /* Adjust based on actual logo aspect ratio */
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block; /* Prevent layout shift */
}

.header-mobile-right {
    display: none;
    align-items: center;
    gap: 15px;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

.main-nav{
    background-color: #fff;
    padding: 8px 30px;
    border-radius: 20px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #012ad0;
    
}

.btn-enquire {
    background-color: #fff;
    color: var(--primary-color);
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.btn-enquire:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
    top: 0;
    background-image: url('images/hero-oil-gas.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-inner-container {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: 400px; /* Reserve space to prevent layout shift */
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: var(--white);
    gap: 50px;
}

.hero-text {
    flex: 1;
    min-height: 180px; /* Reserve space for text to prevent layout shift */
}

.hero-text h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.69);
    margin: 0; /* Remove default margins to prevent shift */
    padding: 0;
}

.hero-description {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 20px;
    border-left: 1px solid rgb(255, 255, 255); /* Optional visual separator idea */
}

.hero-description p {
    font-size: 1.1rem;
    /* margin-bottom: 30px; */ /* Removed as CTA is separate now */
    max-width: 500px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-cta-container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.btn-primary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s;
}

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

/* Clients Hero Section */
.clients-hero {
    position: relative;
    height: 75vh;
    min-height: 300px;
    background-image: url('images/clients.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

/* Partners Hero Section */
.partners-hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    background-image: url('images/partners-hero-2.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    padding-top: 80px;
}

.partners-hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 400px; /* Reserve space to prevent layout shift */
}

.partners-hero-content {
    margin-top: 4rem;
    color: var(--primary-color);
    max-width: 600px;
    min-height: 200px; /* Reserve space for text to prevent layout shift */
}

.partners-hero-content h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    margin-top: 0; /* Remove default margins to prevent shift */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0;
}

.partners-hero-content p {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.6;
    color: #fff;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Products Hero Section */
.products-hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    background-image: url('images/product-hero.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    padding-top: 80px;
}

.products-hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 400px; /* Reserve space to prevent layout shift */
}

.products-hero-content {
    margin-top: 4rem;
    color: #fff;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    min-height: 200px; /* Reserve space for text to prevent layout shift */
}

.products-hero-content h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 4px 4px 8px rgb(0, 0, 0);
    padding: 0;
}

.products-hero-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #fff;
    margin: 0;
    margin-top: 0;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgb(0, 0, 0);
}

/* Industries Hero Section */
.industries-hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    background-image: url('images/AdobeStock_378019545.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    padding-top: 80px;
}

.industries-hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 400px; /* Reserve space to prevent layout shift */
}

.industries-hero-content {
    margin-top: 4rem;
    color: #fff;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    min-height: 200px; /* Reserve space for text to prevent layout shift */
}

.industries-hero-content h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 4px 4px 8px rgb(0, 0, 0);
    margin: 0; /* Remove default margins to prevent shift */
    padding: 0;
}

.industries-hero-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #fff;
    margin: 0;
    margin-top: 0;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgb(0, 0, 0);
}

/* About Us Hero Section */
.about-us-hero {
    position: relative;
    height: 75vh;
    min-height: 400px;
    background-image: url('images/AdobeStock_415156437.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-top: 80px;
    padding-bottom: 5px;
}

.about-us-hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5px;
    min-height: 400px; /* Reserve space to prevent layout shift */
}

.about-us-hero-content {
    margin-top: 0;
    margin-bottom: 5px;
    color: #fff;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    min-height: 150px; /* Reserve space for text to prevent layout shift */
}

.about-us-hero-content h1 {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #fff;
    margin: 0;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgb(0, 0, 0);
    padding: 0;
}

/* Products Grid Section */
.products-grid-section {
    padding: 80px 0;
    background-color: #fafafa;
}

.products-section-header {
    text-align: left;
    margin-bottom: 60px;
    max-width: 800px;
}

.products-section-heading {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5rem;
    color:var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.products-section-intro {
    font-size: 1.1rem;
    color: var(--primary-color);
    line-height: 1.6;
    margin: 0;
}

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

.products-grid-section .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .products-grid-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid-section .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-category-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-category-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.product-category-card[onclick]:hover {
    cursor: pointer;
}

.product-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.products-grid-section .product-card-image {
    height: 200px;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-category-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-category-card h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #333;
    font-weight: 700;
    margin: 20px 20px 10px 20px;
    text-transform: none;
    line-height: 1.3;
}

.products-grid-section .product-category-card h3 {
    font-size: 1.2rem;
    margin: 24px 24px 12px 24px;
}

.product-category-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0 20px 20px 20px;
    line-height: 1.5;
}

.products-grid-section .product-category-card p {
    font-size: 1rem;
    margin: 0 24px 24px 24px;
}

/* Product Category Sections */
.product-category-section {
    padding: 80px 40px;
    background-color: var(--white);
}

.product-category-section:nth-child(even) {
    background-color: #f9f9f9;
}

.category-section-heading {
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}

/* Product Item Cards (Smaller cards for individual products) */
.product-item-card {
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.product-item-card:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.product-item-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.product-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item-card:hover .product-item-image img {
    transform: scale(1.05);
}

.product-item-card h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
    margin: 12px 15px;
    text-transform: none;
    line-height: 1.3;
}

.product-category-section .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Clients Section */
.clients-section {
    padding: 0px 40px;
    padding-top: 20px;
    background-color: var(--white);
}

.clients-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.clients-heading {
    flex: 0 0 auto;
}

.clients-heading h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.clients-heading h2 br {
    display: block;
}

.clients-description {
    flex: 1;
}

.clients-description p {
    font-size: 1.5rem;
    color: #000000;
    line-height: 1.8;
    max-width: 600px;
}

/* Clients Grid Section */
.clients-grid-section {
    padding: 80px 0;
    background-color: var(--white);
}

.sector-heading {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 40PX;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.client-card {
    background-color: #f5f5f5;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    min-height: 200px;
}

.client-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.client-card:hover::after {
    background-color: var(--primary-color);
}

.client-logo {
    max-height: 80px;
    width: auto;
    height: 80px; /* Explicit height to prevent layout shift */
    min-height: 80px; /* Reserve space */
    object-fit: contain;
    margin-bottom: 20px;
    display: block; /* Prevent inline spacing */
}

.client-card h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #000000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0;
    transition: letter-spacing 0.3s ease;
}

.client-card:hover h3 {
    letter-spacing: 2px;
}

/* Partners Grid Section */
.partners-grid-section {
    padding-bottom: 80px;
    background-color: var(--white);
}

.partners-section-heading {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.partner-card {
    background-color: #f5f5f5;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    min-height: 200px;
}

.partner-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.partner-card:hover::after {
    background-color: var(--primary-color);
}

.partner-logo {
    width: 150px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.partner-card h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #000000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0;
    transition: letter-spacing 0.3s ease;
}

.partner-card:hover h3 {
    letter-spacing: 2px;
}

/* Stats Section */
.stats-bar {
    padding: 80px 0;
    background-color: var(--white);
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: start;
}

.stats-left {
    display: flex;
    align-items: flex-start;
}

.stats-divider {
    width: 1px;
    background-color: #e0e0e0;
    align-self: stretch;
    margin: 0;
}

.stats-heading {
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    color: #333;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.br-desktop {
    display: block;
}

.br-mobile {
    display: none;
}

.text-carousel {
    position: relative;
    display: inline-block;
    min-width: 400px;
    height: 1.2em;
    vertical-align: bottom;
}

.carousel-item {
    position: absolute;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    left: 0;
    white-space: nowrap;
    top: 0;
    color: rgb(4, 184, 4);
}

.carousel-item.active {
    position: relative;
    opacity: 1;
    display: inline-block;
}

.sector-text {
    color: #333;
}

.stats-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stats-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.stat-number {
    font-size: 2.5rem;
    color: rgb(7, 63, 167);
    font-weight: 500;
    margin-bottom: 5px;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    color: rgb(4, 184, 4);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 0;
    background-color: var(--white);
}

.portfolio-container {
    position: relative;
}

.portfolio-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.portfolio-intro p {
    font-size: 1.8rem;
    color: var(--primary-color);
    line-height: 1.4;
    font-weight: 500;
}

.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-grid a {
    text-decoration: none;
}

.portfolio-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    padding: 0;
    overflow: hidden;
    min-height: 600px;
}

.portfolio-text {
    width: 100%;
    background-color: var(--white);
    padding: 30px;
}

.portfolio-card h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.portfolio-card p {
    font-size: 1.1rem;
    color: #494949;
    line-height: 1.6;
    max-width: 100%;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),  /* grey overlay */
    url("images/prosol-sec.jpeg") center/cover no-repeat; 
    min-height: 70vh;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content {
    flex: 0 0 65%;
    max-width: 65%;
    padding: 60px 80px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-content p {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-our-story {
    color: var(--primary-color);
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    align-self: flex-start;
}

.btn-our-story:hover {
    color: #555;
}

/* Contact Section - Trusted by Industry Leaders */
.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}

/* Presence Section */
.presence-section {
    padding: 80px 0;
    background-color: var(--primary-color);
}

.presence-heading {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.world-map-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background-color: #0d1a2e;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.world-map-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.location-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #ff6b35;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.3);
    transform: translate(-50%, -50%);
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-dot:hover {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 0 6px rgba(255, 107, 53, 0.5);
}

.dot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background-color: #ff6b35;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.location-tooltip {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%) translateX(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 20;
    pointer-events: none;
    margin-left: 15px;
}

.location-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(-100%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #ff6b35;
}

.location-dot:hover .location-tooltip,
.location-dot.active .location-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.tooltip-content {
    background-color: #ff6b35;
    color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    min-width: 220px;
    max-width: 260px;
    font-size: 0.75rem;
    line-height: 1.5;
}

.tooltip-content h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tooltip-content p {
    margin: 4px 0;
    color: #ffffff;
    font-size: 0.7rem;
}

.tooltip-content p:first-of-type {
    margin-top: 0;
}

.tooltip-content p:last-of-type {
    margin-bottom: 0;
}

.trusted-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.trusted-section h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.2;
    flex-shrink: 0;
}

.trusted-section h2 br {
    display: block;
}

.logos-carousel-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logos-carousel {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: scroll-logos 20s linear infinite;
    width: fit-content;
}

.logos-carousel:hover {
    animation-play-state: paused;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.company-logo {
    flex: 0 0 auto;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    max-height: 100px;
    width: auto;
    height: 100px; /* Explicit height to prevent layout shift */
    min-height: 100px; /* Reserve space */
    object-fit: contain;
    display: block; /* Prevent inline spacing */
}

/* Footer */
.footer {
    background: linear-gradient(to right, #000000, #1a2b49, #3a5174, #e3e2e2);
    color: var(--white);
    padding: 40px 0 70px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

/* Left Zone: Logo, About, Copyright */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo img {
    height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Right Zone: Link Columns */
.footer-right {
    display: flex;
    justify-content: flex-end;
}

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

.footer-link-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-col h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-link-col a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.6;
}

.footer-link-col a:hover {
    color: #0d1a2e;
    transition: color 0.3s;
}

.footer-link-col .social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.footer-link-col .social-icons a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-link-col .social-icons a:hover {
    color: #0d1a2e;
    transition: color 0.3s;
}

/* About Us Page Styles */
.our-story-section {
    padding: 20px 0 80px 0;
    background-color: var(--white);
}

.our-story-content {
    max-width: 900px;
    margin: 0 auto;
}

.section-heading {
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.story-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.story-text h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.story-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Organizational Chart Styles */
.organigram-section {
    padding: 80px 0 10px 0;
    background-color: #f5f5f5;
}

.organigram-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.organigram-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.organigram-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 600px;
}

/* Vision & Mission Section */
.vision-mission-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.vision-mission-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.vision-mission-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a5174 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.vm-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.vm-heading {
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vm-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Core Values Section */
.core-values-section {
    padding: 80px 0;
    background-color: var(--white);
}

.core-values-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a5174 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-icon i {
    font-size: 2rem;
    color: var(--white);
}

.value-card h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.value-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Our Standards Section */
.standards-section {
    padding: 0 0 80px 0;
    background-color: var(--white);
}

.standards-section .section-heading {
    margin-top: 0;
    margin-bottom: 30px;
}

.standards-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.standards-intro:last-of-type {
    margin-bottom: 60px;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.standard-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.standard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.standard-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a5174 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.standard-card:hover .standard-icon {
    transform: scale(1.1);
}

.standard-icon i {
    font-size: 2rem;
    color: var(--white);
}

.standard-content {
    width: 100%;
}

.standard-content h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.standard-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.standard-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Industries Section */
.industries-section {
    padding: 80px 0 60px;
    background-color: var(--white);
}

.industries-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.industries-main-heading {
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.industries-intro-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.industry-detail-section {
    padding: 0 0 80px;
    background-color: var(--white);
}

.industry-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.industry-card:last-child {
    margin-bottom: 0;
}

.industry-card.reverse {
    direction: rtl;
}

.industry-card.reverse > * {
    direction: ltr;
}

.industry-image-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.industry-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.industry-image-wrapper:hover .industry-image {
    transform: scale(1.05);
}

.industry-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b49 0%, #3a5174 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 40px;
}

.industry-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.industry-image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.industry-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.industry-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.industry-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.industry-services {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.industry-services li {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    padding-left: 25px;
    position: relative;
}

.industry-services li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

.industry-services li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-mobile-right .logo-right {
        display: none;
    }
    .stats-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stats-divider {
        display: none;
    }
    .stats-left {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 40px;
    }
    .stats-right {
        width: 100%;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .br-desktop {
        display: none;
    }
    .heading-line-1::after {
        content: ' ';
    }
    .heading-line-2::after {
        content: ' ';
    }

    .footer {
        padding: 35px 0 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-right {
        justify-content: flex-start;
    }

    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: auto;
        min-height: 80px;
        padding: 10px 20px;
        position: relative;
    }

    .logo-left {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-left img {
        height: 35px;
    }

    .logo-left span {
        font-size: 0.75rem;
        margin-bottom: 0;
        margin-top: 2px;
        line-height: 1.2;
    }

    .header-mobile-right {
        display: flex;
    }

    .header-mobile-right .logo-right {
        display: none;
    }

    .desktop-logo-right {
        display: none;
    }

    .logo-right img {
        height: 35px;
    }

    .hamburger-menu {
        display: flex;
    }

    .main-nav {
        position: static;
        transform: none;
    }

    .header-right {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1000;
        margin-left: 0;
    }

    .header-right.menu-open {
        max-height: 500px;
        padding-top: 30px;
        padding-bottom: 30px;
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin: 0;
        width: 100%;
    }

    .main-nav a {
        font-size: 16px;
    }

    .header-actions {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-left: 0;
    }

    .btn-enquire {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta-container {
        justify-content: center;
    }

    .stats-container{
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stats-divider {
        display: none;
    }
    .stats-left {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 40px;
    }
    .stats-right {
        width: 100%;
    }
    .stats-heading {
        font-size: 2rem;
    }
    .br-desktop {
        display: none;
    }
    .br-mobile {
        display: block;
    }
    .heading-line-1::after {
        content: ' ';
    }
    .heading-line-2::after {
        content: ' ';
    }
    .text-carousel {
        min-width: 250px;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .stat-item{
        max-width: none;
        align-items: center;
        text-align: center;
    }
    .stat-number{
        font-size: 1.8rem;
    }
    .stat-label {
        font-size: 1rem;
    }

    /* Hero Mobile Adjustments */
    .hero {
        min-height: 400px;
        padding-top: 80px;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-content {
        padding: 0 20px;
    }

    /* Industries Section Mobile */
    .industries-section {
        padding: 40px 0;
    }

    .industries-main-heading {
        font-size: 1.5rem;
    }

    .industries-intro-text {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .industry-detail-section {
        padding-bottom: 40px;
    }

    /* Portfolio Responsive */
    .portfolio-section {
        padding: 60px 0;
    }

    .portfolio-intro {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .portfolio-intro p {
        font-size: 1.4rem;
    }

    .portfolio-grid {
        gap: 40px;
        padding: 0 20px;
    }

    .portfolio-card {
        min-height: 300px;
    }

    .portfolio-text {
        padding: 20px;
    }

    .portfolio-card h3 {
        font-size: 1.3rem;
    }

    .portfolio-card p {
        font-size: 1rem;
    }

    /* About Section Responsive */
    .about-container {
        flex-direction: column;
        justify-content: center;
    }

    .about-content {
        flex: 1;
        max-width: 100%;
        width: 100%;
        padding: 40px 20px;
        text-align: center;
    }

    .about-content h2 {
        font-size: 2rem;
        text-align: center;
    }

    .about-content p {
        max-width: 100%;
        text-align: center;
    }

    .btn-our-story {
        align-self: center;
    }

    /* Contact Section Responsive */
    .contact-section {
        padding: 60px 0;
    }

    .trusted-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    /* Presence Section Responsive */
    .presence-section {
        padding: 60px 0;
    }

    .presence-heading {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .tooltip-content {
        min-width: 200px;
        max-width: 240px;
        padding: 12px;
        font-size: 0.7rem;
    }

    .tooltip-content h3 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .tooltip-content p {
        font-size: 0.65rem;
        margin: 4px 0;
    }

    .trusted-section h2 {
        font-size: 2rem;
        text-align: left;
        margin-bottom: 0;
    }

    .logos-carousel-wrapper {
        width: 100%;
    }

    .logos-carousel {
        gap: 30px;
    }

    .company-logo {
        min-width: 120px;
    }

    .company-logo img {
        max-height: 60px;
    }

    /* Footer Responsive */
    .footer {
        padding: 35px 0 25px;
    }

    .footer-content {
        gap: 35px;
    }

    .footer-right {
        justify-content: flex-start;
    }

    .footer-links-grid {
        gap: 30px;
    }

    /* Clients Section Responsive */
    .clients-hero {
        height: 50vh;
        min-height: 300px;
    }

    .partners-hero {
        height: 50vh;
        min-height: 300px;
        padding-top: 40px;
    }

    .industries-hero {
        height: 50vh;
        min-height: 300px;
        padding-top: 40px;
    }

    .industries-hero-content h1 {
        font-size: 2.5rem;
    }

    .industries-hero-content p {
        font-size: 1rem;
    }

    .partners-hero-content h1 {
        font-size: 2.5rem;
    }

    .partners-hero-content p {
        font-size: 1rem;
    }

    .products-hero {
        height: 50vh;
        min-height: 300px;
        padding-top: 40px;
    }

    .products-hero-content h1 {
        font-size: 2.5rem;
    }

    .products-hero-content p {
        font-size: 1rem;
    }

    .products-grid-section {
        padding: 60px 0;
    }

    .products-section-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .products-section-heading {
        font-size: 2rem;
    }

    .products-section-intro {
        font-size: 1rem;
    }

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

    .product-card-image {
        height: 180px;
    }

    .product-category-card h3 {
        font-size: 1rem;
        margin: 15px 15px 8px 15px;
    }

    .product-category-card p {
        font-size: 0.9rem;
        margin: 0 15px 15px 15px;
    }

    /* Product Category Sections Responsive */
    .product-category-section {
        padding: 60px 20px;
    }

    .category-section-heading {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .product-category-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-item-card {
        min-height: auto;
    }

    .product-item-image {
        height: 150px;
    }

    .product-item-card h3 {
        font-size: 0.85rem;
        padding: 10px;
    }

    .clients-section {
        padding: 60px 0;
    }

    .clients-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .clients-heading h2 {
        font-size: 2.5rem;
    }

    .clients-description p {
        max-width: 100%;
        font-size: 1rem;
    }

    /* Clients Grid Responsive */
    .clients-grid-section {
        padding: 60px 0;
    }

    .sector-heading {
        font-size: 2rem;
        margin-bottom: 30px;
    }

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

    .client-card {
        min-height: 180px;
        padding: 30px 15px;
    }

    .client-logo {
        max-height: 60px;
        margin-bottom: 15px;
    }

    .client-card h3 {
        font-size: 0.9rem;
    }

    /* Partners Grid Responsive */
    .partners-grid-section {
        padding-bottom: 60px;
    }

    .partners-section-heading {
        font-size: 2rem;
        margin-bottom: 30px;
    }

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

    .partner-card {
        min-height: 180px;
        padding: 30px 15px;
    }

    /* Industries Responsive */
    .industries-section {
        padding: 60px 0 40px;
    }

    .industries-main-heading {
        font-size: 2rem;
    }

    .industries-intro-text {
        font-size: 1rem;
    }

    .industry-detail-section {
        padding-bottom: 60px;
    }

    .industry-card {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .industry-card.reverse {
        direction: ltr;
    }

    .industry-image-wrapper {
        height: 300px;
    }

    .industry-title {
        font-size: 2rem;
    }

    .industry-description {
        font-size: 1rem;
    }

    .industry-services li {
        font-size: 0.95rem;
    }

    /* About Us Responsive */
    .about-us-hero {
        height: 50vh;
        min-height: 300px;
        padding-top: 40px;
    }

    .about-us-hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .our-story-section {
        padding: 60px 0;
    }

    .section-heading {
        font-size: 2rem;
    }

    .story-text h3 {
        font-size: 1.5rem;
    }

    .story-text p {
        font-size: 1rem;
    }

    .organigram-section {
        padding: 60px 0 5px 0;
    }

    .organigram-container {
        padding: 20px 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }

    .organigram-image {
        width: auto;
        min-width: 600px;
        max-width: none;
        height: auto;
    }

    .org-level {
        flex-direction: column;
        gap: 20px;
    }

    .org-level::after {
        display: none;
    }

    .org-box {
        min-width: 100%;
        padding: 15px 20px;
    }

    .org-box.director {
        min-width: 100%;
        padding: 20px 25px;
    }

    /* Vision & Mission Responsive */
    .vision-mission-section {
        padding: 60px 0;
    }

    .vision-mission-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .vm-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }

    .vm-icon i {
        font-size: 2rem;
    }

    .vm-heading {
        font-size: 1.5rem;
    }

    .vm-text {
        font-size: 1rem;
    }

    /* Core Values Responsive */
    .core-values-section {
        padding: 60px 0;
    }

    .core-values-intro {
        font-size: 1rem;
        margin-bottom: 40px;
    }

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

    .value-card {
        padding: 30px 20px;
    }

    .value-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .value-icon i {
        font-size: 1.8rem;
    }

    .value-card h3 {
        font-size: 1.1rem;
    }

    .value-card p {
        font-size: 0.95rem;
    }

    .organigram-container {
        padding: 20px 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }

    .organigram-image {
        width: auto;
        min-width: 600px;
        max-width: none;
        height: auto;
    }

    /* Standards Section Responsive */
    .standards-section {
        padding: 0 0 60px 0;
    }

    .standards-section .section-heading {
        margin-bottom: 20px;
    }

    .standards-intro {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .standards-intro:last-of-type {
        margin-bottom: 40px;
    }

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

    .standard-card {
        padding: 30px 20px;
    }

    .standard-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .standard-icon i {
        font-size: 1.8rem;
    }

    .standard-content h3 {
        font-size: 1.1rem;
    }

    .standard-title {
        font-size: 1rem;
    }

    .standard-description {
        font-size: 0.9rem;
    }

    .partner-logo {
        width: 120px;
        height: 60px;
        margin-bottom: 15px;
    }

    .partner-card h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: auto;
        min-height: 80px;
        padding: 10px 20px;
        position: relative;
    }

    .logo-left {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-left img {
        height: 40px;
    }

    .logo-left span {
        font-size: 0.85rem;
        margin-bottom: 0;
        margin-top: 2px;
        line-height: 1.2;
    }

    .header-mobile-right {
        display: flex;
    }

    .header-mobile-right .logo-right {
        display: none;
    }

    .desktop-logo-right {
        display: none;
    }

    .logo-right img {
        height: 40px;
    }

    .hamburger-menu {
        display: flex;
    }

    .main-nav {
        position: static;
        transform: none;
    }

    .header-right {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1000;
        margin-left: 0;
    }

    .header-right.menu-open {
        max-height: 500px;
        padding-top: 30px;
        padding-bottom: 30px;
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin: 0;
        width: 100%;
    }

    .main-nav a {
        font-size: 16px;
    }

    .header-actions {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-left: 0;
    }

    .btn-enquire {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }

    .stats-container{
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stats-divider {
        display: none;
    }
    .stats-left {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 40px;
    }
    .stats-right {
        width: 100%;
    }
    .stats-heading {
        font-size: 2.2rem;
    }
    .text-carousel {
        min-width: 280px;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .stat-item{
        max-width: none;
        align-items: center;
        text-align: center;
    }
    .stat-number{
        font-size: 2rem;
    }
    .stat-label {
        font-size: 1.1rem;
    }
}

@media (max-width: 700px) {
    .br-mobile {
        display: block;
    }
    .carousel-item {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .stats-heading {
        font-size: 1.5rem;
    }
    .br-desktop {
        display: none;
    }
    .br-mobile {
        display: block;
    }
    .heading-line-1::after {
        content: ' ';
    }
    .heading-line-2::after {
        content: ' ';
    }
    .text-carousel {
        min-width: 200px;
    }
    .stats-description {
        font-size: 0.9rem;
    }
    .stats-grid {
        gap: 10px;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 0.85rem;
    }

    .clients-section{
        padding: 20px 0;
    }
    .clients-grid-section{
        padding-top: 0;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    /* Product Category Sections Mobile */
    .product-category-section {
        padding: 40px 15px;
    }

    .product-category-section .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Hero Content Mobile Adjustments */
    .hero-text h1 {
        font-size: 2rem;
    }

    .products-hero-content h1,
    .partners-hero-content h1,
    .industries-hero-content h1,
    .about-us-hero-content h1 {
        font-size: 2rem;
    }

    .products-hero-content p,
    .partners-hero-content p,
    .industries-hero-content p {
        font-size: 0.9rem;
    }

    .about-us-hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    /* Trusted Section Mobile */
    .trusted-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .trusted-section h2 {
        font-size: 1.5rem;
        text-align: left;
    }

    .logos-carousel-wrapper {
        width: 100%;
        overflow-x: auto;
    }

    .logos-carousel {
        gap: 20px;
        min-width: max-content;
    }

    .company-logo {
        min-width: 100px;
    }

    .company-logo img {
        max-height: 60px;
    }

    /* Container Mobile Padding */
    .container {
        padding: 0 15px;
    }

    .footer {
        background: linear-gradient(to bottom, #000000, #1a2b49, #3a5174, #e3e2e2);
        padding: 30px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-left {
        text-align: left;
    }

    .footer-logo {
        display: flex;
        justify-content: flex-start;
    }

    .footer-right {
        justify-content: flex-start;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: left;
        width: 100%;
    }

    .footer-link-col {
        align-items: flex-start;
    }

    .footer-link-col .social-icons {
        justify-content: flex-start;
    }

    /* Presence Section Mobile - Additional */
    .presence-heading {
        padding: 0 15px;
    }


    .location-dot {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }

    .dot-pulse {
        width: 12px;
        height: 12px;
    }

    .tooltip-content {
        min-width: 100px;
        max-width: 240px;
        padding: 12px;
        font-size: 0.7rem;
    }

    .tooltip-content h3 {
        font-size: 0.65rem;
        margin-bottom: 8px;
    }

    .tooltip-content p {
        font-size: 0.45rem;
        margin: 3px 0;
    }

    /* UAE tooltip appears on left side on mobile */
    .location-dot[data-location="UAE"] .location-tooltip {
        left: auto;
        right: 100%;
        text-align: right;
        transform: translateY(-50%) translateX(-10px);
        margin-left: 0;
        margin-right: 15px;
    }

    .location-dot[data-location="UAE"]:hover .location-tooltip,
    .location-dot[data-location="UAE"].active .location-tooltip {
        transform: translateY(-50%) translateX(0);
    }

    .location-dot[data-location="UAE"] .location-tooltip::after {
        top: 50%;
        left: auto;
        right: 0;
        transform: translateY(-50%) translateX(100%);
        border-left: 8px solid #ff6b35;
        border-right: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }

    /* Hide Canada and USA dots when UAE tooltip is active */
    .world-map-container:has(.location-dot[data-location="UAE"].active) .location-dot[data-location="Canada"],
    .world-map-container:has(.location-dot[data-location="UAE"].active) .location-dot[data-location="USA"] {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Presence Section Mobile */
    .presence-section {
        padding: 40px 0;
    }

    .presence-heading {
        font-size: 1.5rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .world-map-container {
        margin: 0 15px;
        border-radius: 10px;
    }

    .world-map-image {
        border-radius: 10px;
    }

    /* About Us Page Mobile */
    .about-us-hero-content {
        padding: 0 15px;
    }

    .our-story-content {
        padding: 0 15px;
    }

    .vision-mission-content {
        gap: 40px;
        padding: 0 15px;
    }

    .core-values-intro {
        padding: 0 15px;
    }

    /* Sector Heading Mobile */
    .sector-heading {
        font-size: 1.5rem;
        padding: 0 15px;
    }

    .clients-grid-section {
        padding: 40px 15px;
    }

    .partners-grid-section {
        padding: 40px 15px;
    }

    .organigram-intro {
        padding: 0 15px;
        font-size: 0.95rem;
    }

    /* Additional Mobile Adjustments */
    .clients-heading h2 {
        font-size: 1.8rem;
    }

    .clients-description p {
        font-size: 0.95rem;
    }

    .partners-section-heading {
        font-size: 1.5rem;
    }

    .hero-text {
        padding: 0 20px;
    }

    .hero-cta-container {
        padding: 0 20px;
    }

    .portfolio-intro p {
        font-size: 1.2rem;
    }

    .about-content {
        padding: 30px 20px;
    }
}
