/*
Theme Name: MSE Engineering
Theme URI: https://mseeng.co.za/
Author: Equipped Solutions
Author URI: https://equippedsolutions.co.za/
Description: Modern, responsive WordPress theme for MSE Engineering - specializing in aluminium & glazing, concrete slabs, and air conditioning solutions.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: mse-engineering
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* CSS Custom Properties for Modern Design System */
:root {
    /* Primary Colors */
    --primary-blue: #0d47a1;
    --primary-blue-light: #42a5f5;
    --primary-blue-dark: #01579b;
    --primary-color: #0d47a1;
    
    /* Secondary Colors */
    --secondary-orange: #ff8c00;
    --secondary-orange-light: #ffb74d;
    --secondary-orange-dark: #e65100;
    --secondary-color: #ff8c00;
    
    /* Neutral Colors */
    --dark-gray: #263238;
    --dark-color: #263238;
    --medium-gray: #546e7a;
    --text-color: #546e7a;
    --light-gray: #eceff1;
    --light-bg: #eceff1;
    --border-color: #eceff1;
    --white: #ffffff;
    --off-white: #fafafa;
    
    /* Accent Colors */
    --success-green: #4caf50;
    --success-color: #4caf50;
    --warning-amber: #ff9800;
    --error-red: #f44336;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Font Sizes */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-6xl: 3.75rem;   /* 60px */
    
    /* Spacing */
    --spacing-xs: 0.25rem;   /* 4px */
    --spacing-sm: 0.5rem;    /* 8px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-2xl: 3rem;     /* 48px */
    --spacing-3xl: 4rem;     /* 64px */
    --spacing-4xl: 6rem;     /* 96px */
    
    /* Border Radius */
    --radius-sm: 0.25rem;    /* 4px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
    
    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 75px; /* Account for fixed header */
    margin: 0;
    padding-bottom: 0;
}


/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--medium-gray);
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-blue-dark);
}

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

/* Utility Classes */
.container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 640px) {
    .container { padding: 0 var(--spacing-lg); }
}

@media (min-width: 1024px) {
    .container { padding: 0 var(--spacing-xl); }
}

.section {
    padding: var(--spacing-4xl) 0;
}

.section--dark {
    background-color: var(--dark-gray);
    color: var(--white);
}

.section--light {
    background-color: var(--light-gray);
}

/* Button Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

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

.btn--primary:hover {
    background-color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background-color: var(--secondary-orange);
    color: var(--white);
    border-color: var(--secondary-orange);
}

.btn--secondary:hover {
    background-color: var(--secondary-orange-dark);
    border-color: var(--secondary-orange-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

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

.btn--large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

.btn--small {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
}

/* Card Components */
.card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

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

.card__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card__content {
    padding: var(--spacing-lg);
}

.card__title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.card__text {
    color: var(--medium-gray);
    margin-bottom: var(--spacing-md);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid--3,
    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Color Utilities */
.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--secondary-orange); }
.text-gray { color: var(--medium-gray); }
.text-dark { color: var(--dark-gray); }
.text-white { color: var(--white); }

.bg-primary { background-color: var(--primary-blue); }
.bg-secondary { background-color: var(--secondary-orange); }
.bg-light { background-color: var(--light-gray); }
.bg-dark { background-color: var(--dark-gray); }
.bg-white { background-color: var(--white); }

/* Section Title Component */
.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-orange));
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--medium-gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-3xl);
}

/* ===== HEADER STYLES ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.header--sticky {
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.header__logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-blue);
}

.logo-image {
    height: 45px;
    margin-right: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.header__menu-item {
    position: relative;
}

.header__menu-link {
    display: block;
    padding: 0.5rem 0;
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.header__menu-link:hover,
.header__menu-link.current {
    color: var(--primary-blue);
}

.header__menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.header__menu-link:hover::after,
.header__menu-link.current::after {
    width: 100%;
}

/* Dropdown menu */
.header__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
    z-index: var(--z-dropdown);
}

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

.header__submenu-item {
    position: relative;
}

.header__submenu-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
}

.header__submenu-link:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

/* Second-level dropdown */
.header__submenu-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--white);
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: var(--transition-normal);
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
    z-index: calc(var(--z-dropdown) + 1);
}

.header__submenu-item--dropdown:hover .header__submenu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.header__submenu-item--dropdown > .header__submenu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__submenu-item--dropdown > .header__submenu-link i {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: var(--transition-fast);
}

.header__submenu-item--dropdown:hover > .header__submenu-link i {
    transform: rotate(90deg);
}

.header__contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.header__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.header__toggle-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 3px 0;
    transition: var(--transition-fast);
}

.header__toggle.active .header__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle.active .header__toggle-line:nth-child(2) {
    opacity: 0;
}

.header__toggle.active .header__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.8) 0%, rgba(38, 50, 56, 0.7) 100%);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    animation: heroBackgroundRotate 20s infinite;
}

@keyframes heroBackgroundRotate {
    /* Hero background images are loaded via PHP with proper WordPress paths */
    /* See functions.php -> mse_engineering_scripts() for implementation */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 2rem 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero-content h1 .highlight {
    color: var(--secondary-orange);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

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

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
}

/* Number counter animation effect */
.hero-stat-number[data-animated="true"],
.company-stat__number[data-animated="true"] {
    animation: numberComplete 0.4s ease-out;
}

@keyframes numberComplete {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Animation for counting up effect */
.hero-stat-number,
.company-stat__number {
    position: relative;
}

.hero-stat-number::after,
.company-stat__number::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.hero-stat-number[data-animated="true"]::after,
.company-stat__number[data-animated="true"]::after {
    transform: translateX(100%);
}

.hero-stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.9;
    margin-top: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Animation for text elements */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.hero-content h1.animate-text {
    animation-delay: 0.3s;
}

.hero-content p.animate-text {
    animation-delay: 0.6s;
}

.hero-content .btn.animate-text {
    animation-delay: 0.9s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
}

/* About Section */
#about {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px; /* Increase space between paragraphs */
    line-height: 1.6;
}

.about-text p:last-of-type {
    margin-bottom: 30px; /* Extra space before the button */
}

.about-text .btn {
    margin-top: 10px; /* Add space above the button */
    display: inline-block;
    padding: 12px 25px; /* Slightly larger button */
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ===== DIVISIONS SECTION ===== */
.divisions-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Ensure three columns on desktop */
@media (min-width: 769px) {
    .divisions-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem;
    }
}

.division-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--light-gray);
    position: relative;
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.division-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(13, 71, 161, 0.2);
}

.division-card:hover::before {
    opacity: 0.05;
}

.division-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.division-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.division-card:hover .division-card-image img {
    transform: scale(1.08);
}

.division-card-content {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

.division-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.division-card:hover .division-card-icon {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.division-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.division-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.division-features {
    list-style: none;
    margin-bottom: 2rem;
}

.division-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--medium-gray);
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.division-features li:hover {
    transform: translateX(5px);
}

.division-features li::before {
    content: '✓';
    color: var(--primary-blue);
    font-weight: bold;
    margin-right: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(13, 71, 161, 0.1);
    border-radius: 50%;
    font-size: 0.8rem;
}

/* ===== FRONT PAGE ABOUT SECTION ===== */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ddd" opacity="0.5"/><circle cx="80" cy="80" r="1" fill="%23ddd" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about__content {
    padding-right: 2rem;
}

.about__title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about__subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.about__features {
    margin-bottom: 3rem;
}

.about__feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.about__feature:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.about__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    margin-right: 1.5rem;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.about__feature:hover .about__feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.about__feature-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.about__feature-content p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 1rem;
}

.about__image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about__image-element {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about__image:hover .about__image-element {
    transform: scale(1.05);
}

.about__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(13, 71, 161, 0.8) 0%, rgba(25, 118, 210, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about__image:hover .about__image-overlay {
    opacity: 1;
}

.about__play-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 50%;
    font-size: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.about__play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    border-radius: 2px;
}

.why-choose__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.why-choose__item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.why-choose__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 71, 161, 0.1), transparent);
    transition: left 0.6s ease;
}

.why-choose__item:hover::before {
    left: 100%;
}

.why-choose__item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(13, 71, 161, 0.15);
}

.why-choose__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.why-choose__item:hover .why-choose__icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px rgba(13, 71, 161, 0.3);
}

.why-choose__title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.why-choose__item:hover .why-choose__title {
    color: var(--primary-blue);
}

.why-choose__description {
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
}

/* ===== SERVICES GRID ===== */
.services-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(13, 71, 161, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.service-card-header {
    padding: 2rem 2rem 0;
    text-align: center;
}

.service-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: var(--white);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.service-card-body {
    padding: 0 2rem 2rem;
}

.service-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.service-features li::before {
    content: '•';
    color: var(--primary-blue);
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Solutions Section - Updated to match Services */
#solutions {
    padding: 100px 0;
    background-color: var(--white);
}

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

.solution-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.solution-image {
    overflow: hidden;
    height: 200px;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.1);
}

.solution-content {
    padding: 20px;
}

.solution-content h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.solution-content p {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

/* Solution Modal Styles */
.solution-modal {
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    border-radius: 12px;
}

.solution-modal::-webkit-scrollbar {
    width: 8px;
}

.solution-modal::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.solution-modal::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.solution-modal::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-orange);
}

.sub-solutions {
    display: none;
}

.sub-solutions.active {
    display: block;
}

.sub-solutions-container {
    margin-top: 20px;
}

.sub-solution {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    gap: 30px;
}

.sub-solution:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Updated sub-solution-slider to remove white background */
.sub-solution-slider {
    flex: 1 1 40%;
    min-width: 300px;
    position: relative;
    margin-bottom: 25px;
    padding: 8px;
    /* Removed the white background */
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Adjust slider container to maintain proper spacing */
.slider-container {
    width: 100%;
    height: 300px; /* Taller for better visibility */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    padding: 0;
    margin-bottom: 15px;
    border: 5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.slider-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.3s ease;
    padding: 0;
}

.slider-container .slide.active {
    opacity: 1;
    transform: scale(1.01); /* Subtle scale effect for active slide */
}

.slider-container .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Add hover effect on image */
.slider-container:hover .slide.active img {
    transform: scale(1.03);
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.7;
}

.slider-control:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.slider-control.prev {
    left: 15px;
}

.slider-control.next {
    right: 15px;
}

.sub-solution-content {
    flex: 1 1 55%;
    min-width: 300px;
    padding: 15px 0 15px 15px;
}

.sub-solution-content h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.7rem;
    border-left: 4px solid var(--secondary-orange);
    padding-left: 15px;
}

.sub-solution-content p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .solution-modal {
        padding: 25px;
    }
    
    .sub-solution {
        flex-direction: column;
        gap: 20px;
    }
    
    .sub-solution-content {
        padding-left: 0;
    }
    
    .slider-container {
        height: 250px;
        border-width: 3px;
    }
    
    .slider-control {
        width: 40px;
        height: 40px;
    }
}

/* Values Section */
#values {
    padding: 100px 0;
    background-color: var(--white);
}

.values-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    margin-top: 40px; /* Consistent top margin for content containers */
}

.values-text {
    flex: 2;
    min-width: 300px;
}

.values-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transform: rotate(2deg);
    transition: all 0.5s ease;
}

.values-image:hover {
    transform: rotate(0) scale(1.05);
}

.values-image img {
    width: 100%;
    height: auto;
    display: block;
}

.value-item {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-item:hover {
    transform: translateX(10px);
    border-left-color: var(--secondary-orange);
}

.value-item h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.value-item p {
    color: var(--dark-gray);
}

/* Contact Section */
#contact {
    padding: 100px 0;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 1.2rem;
    border-radius: 50%;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.contact-info-item:hover i {
    background-color: var(--secondary-orange);
    transform: scale(1.1);
}

/* Contact links styling */
.contact-link {
    display: flex;
    align-items: flex-start;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-blue);
}

.contact-link:hover i {
    background-color: var(--secondary-orange);
    transform: scale(1.1);
}

.contact-info-item .contact-link div {
    flex: 1;
}

.contact-form {
    flex: 1;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 153, 221, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Success message styling */
.success-message {
    background-color: #e6f7ff;
    border-left: 4px solid var(--primary-blue);
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
    text-align: center;
}

.success-message h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* ===== FOOTER STYLES ===== */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
}

/* ===== PROJECTS PAGE STYLES ===== */
.projects-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
}

/* ===== PAGE TEMPLATE STYLES ===== */
.page-section {
    padding: 4rem 0;
    min-height: 60vh;
}

.page-header-simple {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-excerpt {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
}

.featured-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content {
    line-height: 1.8;
    color: var(--dark-gray);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.page-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
    text-align: center;
}

.page-links a {
    display: inline-block;
    margin: 0 0.25rem;
    padding: 0.5rem 1rem;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.page-links a:hover {
    background: var(--secondary-blue);
}

.projects-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.projects-hero__subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.projects-filter {
    background-color: var(--light-gray);
    padding: 2rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.projects-filter__tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    color: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition-normal);
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.projects-gallery {
    padding: 4rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.project-card__image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-card__image img {
    transform: scale(1.05);
}

.project-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

.project-view-btn {
    background: var(--secondary-orange);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.project-view-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.project-card__content {
    padding: 1.5rem;
}

.project-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.project-card__category {
    color: var(--secondary-orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card__description {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.project-year,
.project-location {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.projects-stats {
    background: var(--light-gray);
    padding: 4rem 0;
}

.projects-stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--dark-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.projects-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.projects-cta__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.projects-cta__description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.projects-cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer__main {
    padding: 2.5rem 0 1rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
}

.footer__brand-name {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer__brand-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer__title {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-orange);
}

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

.footer__menu li {
    margin-bottom: 0.5rem;
}

.footer__menu-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer__menu-link:hover {
    color: var(--secondary-orange);
}

.footer__contact {
    margin-bottom: 1.5rem;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer__contact-item i {
    width: 20px;
    margin-right: 0.75rem;
    color: var(--secondary-orange);
}

.footer__contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer__contact-item a:hover {
    color: var(--secondary-orange);
}

.footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer__social-link:hover {
    background-color: var(--secondary-orange);
    transform: translateY(-2px);
}

.footer__cta h5 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.footer__bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__legal-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer__legal-link:hover {
    color: var(--white);
}

.footer__separator {
    color: rgba(255, 255, 255, 0.4);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 0;
    padding: 0;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%) translateY(-50px);
    opacity: 0;
    transition: all 0.5s ease;
    
    /* Center positioning */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-50px);
}

.modal.show .modal-content {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--dark-gray);
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
}

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

.modal-body {
    display: flex;
    flex-wrap: wrap;
}

.modal-image {
    flex: 1 1 300px;
    padding: 20px;
}

.modal-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.modal-details {
    flex: 1 1 300px;
    padding: 20px;
}

.modal-title {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.modal-description {
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Partners Section */
#partners {
    padding: 80px 0;
    background-color: var(--light-gray);
    overflow: hidden;
}

.partners-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
    padding: 20px 0;
}

.partners-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.partner-logo {
    flex: 0 0 200px;
    height: 100px;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

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

/* Vision & Mission Section - Updated with FontAwesome icons */
#vision-mission {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.vision-mission-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px; /* Consistent top margin for content containers */
}

.vision-box, .mission-box {
    flex: 1;
    min-width: 300px;
    padding: 20px 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.vision-box:hover, .mission-box:hover {
    transform: translateY(-5px);
}

/* Icon styling */
.vision-icon, .mission-icon {
    font-size: 80px;
    color: var(--primary-blue);
    margin-bottom: 25px;
    text-align: center;
    transition: all 0.5s ease;
}

.vision-icon i, .mission-icon i {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border-radius: 50%;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(0, 0, 0, 0.05);
    display: inline-block;
}

.vision-box:hover .vision-icon i, 
.mission-box:hover .mission-icon i {
    transform: scale(1.1) rotate(10deg);
}

.vision-box h3, .mission-box h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.vision-box h3::after, .mission-box h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-orange);
}

.vision-box p, .mission-box p {
    color: var(--dark-gray);
    line-height: 1.6;
}

.mission-box p:first-of-type {
    margin-bottom: 15px;
}

/* Gallery Section - Animated continuous slider */
#gallery {
    padding: 100px 0;
    background-color: var(--white);
    overflow: hidden;
}

.gallery-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
    padding: 15px 0;
}

.gallery-track {
    display: flex;
    width: max-content;
    animation: gallery-scroll 40s linear infinite;
}

/* Pause animation on hover */
.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-item {
    position: relative;
    flex: 0 0 400px;
    height: 250px;
    margin: 0 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .gallery-item {
        flex: 0 0 350px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 300px;
        height: 200px;
    }
    
    .gallery-track {
        animation: gallery-scroll 30s linear infinite;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        flex: 0 0 250px;
        height: 180px;
    }
    
    .gallery-overlay {
        padding: 15px;
    }
    
    .gallery-overlay h3 {
        font-size: 1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.8rem;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .divisions-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

/* Mobile Menu Body Lock */
body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Reduced for mobile */
    }
    
    .admin-bar body {
        padding-top: 116px; /* 70px header + 46px mobile admin bar */
    }
    
    .header__content {
        padding: 0.5rem 0; /* Reduced header padding */
    }
    
    /* Fix hero section being cut off by header on mobile */
    /* .hero-section {
        height: 100vh; /* Full viewport height */
        /* min-height: 600px; */
        /* margin-top: -70px; Offset the body padding-top */
        /* padding-top: 70px; Add padding to push content below header */
    /* } */ */
    
    .admin-bar .hero-section {
        margin-top: -116px; /* Offset the body padding-top for admin bar */
        padding-top: 116px; /* Add padding to push content below header + admin bar */
    }
    
    .header__nav {
        position: fixed;
        top: 70px; /* Position below mobile header */
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        padding: 1rem 0;
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .header__nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .header__menu {
        flex-direction: column;
        gap: 0;
        padding: 0 1rem;
    }
    
    .header__menu-item {
        border-bottom: 1px solid var(--light-gray);
    }
    
    .header__menu-link {
        padding: 1rem 0;
        display: block;
        color: var(--dark-gray);
        font-weight: 500;
        position: relative;
        transition: all 0.3s ease;
    }
    
    /* Mobile "Go to Page" links - hidden on desktop */
    .header__submenu-item--mobile-only,
    .header__submenu-dropdown-item--mobile-only {
        display: none;
    }
    
    .header__submenu-link--page {
        background: var(--primary-blue) !important;
        color: white !important;
        font-weight: 600;
        border-radius: var(--radius-sm);
        margin-bottom: 0.5rem;
        transition: all 0.3s ease;
    }
    
    .header__submenu-link--page:hover {
        background: var(--secondary-blue) !important;
        transform: translateX(5px);
    }
    
    .header__submenu-link--page i {
        margin-right: 0.5rem;
        font-size: 0.8rem;
    }
    
    .header__menu-link:hover {
        color: var(--primary-blue);
    }
    
    /* Add brief highlight effect for tap feedback */
    .header__menu-link:active,
    .header__submenu-link:active {
        background-color: rgba(13, 71, 161, 0.1);
        transform: scale(0.98);
    }
    
    /* Ensure mobile dropdowns are properly displayed */
    .header__menu-item--dropdown .header__submenu {
        width: 100%;
        position: relative;
        z-index: 10;
        min-height: 0;
    }
    
    .header__menu-item--dropdown.active .header__submenu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Show "Go to Page" links only on mobile */
    .header__submenu-item--mobile-only,
    .header__submenu-dropdown-item--mobile-only {
        display: block;
    }
    
    .header__submenu {
        display: none; /* Hidden by default on mobile */
        background: var(--light-gray);
        margin-top: 0.5rem;
        border-radius: var(--radius-md);
        padding: 0.5rem;
        max-height: none; /* Allow full height */
        overflow: visible; /* Ensure all items are visible */
        position: static; /* Keep in normal flow */
        opacity: 1;
        visibility: visible;
        border: 1px solid var(--border-color);
    }
    
    .header__menu-item--dropdown.active .header__submenu {
        display: block; /* Show when parent is active */
        animation: slideDown 0.3s ease-out;
    }
    
    .header__submenu-item {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .header__submenu-item:last-child {
        border-bottom: none;
    }
    
    .header__submenu-link {
        color: var(--dark-gray);
        padding: 1rem;
        display: block;
        font-weight: 400;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: var(--radius-sm);
    }
    
    .header__submenu-link:hover {
        color: var(--primary-blue);
        background-color: rgba(13, 71, 161, 0.1);
    }
    
    .header__submenu-dropdown {
        display: none; /* Hidden by default */
        background: var(--border-color);
        margin-top: 0.5rem;
        margin-left: 0; /* Remove left margin for better mobile view */
        border-radius: var(--radius-md);
        padding: 0.5rem;
        border: 1px solid rgba(0, 0, 0, 0.1);
        max-height: none;
        overflow: visible;
    }
    
    .header__submenu-item--dropdown.active .header__submenu-dropdown {
        display: block; /* Show when parent is active */
        animation: slideDown 0.3s ease-out;
    }
    
    .header__submenu-item--dropdown > .header__submenu-link {
        position: relative;
    }
    
    .header__submenu-item--dropdown > .header__submenu-link i {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }
    
    .header__submenu-item--dropdown.active > .header__submenu-link i {
        transform: translateY(-50%) rotate(90deg);
    }
    
    .header__toggle {
        display: flex;
        order: 2;
        z-index: 1001;
        margin-left: auto; /* Push to the right */
    }
    
    .header__toggle.open .header__toggle-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .header__toggle.open .header__toggle-line:nth-child(2) {
        opacity: 0;
    }
    
    .header__toggle.open .header__toggle-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .header__toggle-line {
        background-color: var(--dark-gray);
    }
    
    .header__logo {
        order: 1;
        flex: 1; /* Take available space */
        display: flex; /* Ensure logo is visible */
        align-items: left; /* Align logo to the left */
    }
    
    .header__contact {
        display: none; /* Hide contact info on mobile to make room */
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .logo-image {
        height: 35px;
    }
}
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .divisions-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }

/* Improve spacing throughout the site for consistency */
section {
    padding: 100px 0;
}

p {
    line-height: 1.6; /* Better line spacing for all paragraphs */
}

/* ===== SERVICES OVERVIEW ===== */
.services-overview {
    padding: 6rem 0;
    background: var(--white);
}

.services-overview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-overview-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--light-gray);
    position: relative;
}

.service-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-overview-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(13, 71, 161, 0.2);
}

.service-overview-card:hover::before {
    opacity: 0.05;
}

.service-overview-card__image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.service-overview-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-overview-card:hover .service-overview-card__image img {
    transform: scale(1.08);
}

.service-overview-card__content {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

.service-overview-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-overview-card:hover .service-overview-card__icon {
    transform: translateY(-5px) rotate(10deg);
    box-shadow: var(--shadow-lg);
}

.service-overview-card__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-overview-card__description {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.service-overview-card__features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-overview-card__features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--medium-gray);
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.service-overview-card__features li:hover {
    transform: translateX(5px);
}

.service-overview-card__features li i {
    color: var(--primary-blue);
    margin-right: 0.75rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(13, 71, 161, 0.1);
    border-radius: 50%;
}

.service-overview-card__action {
    margin-top: auto;
}

/* ===== CHILD PAGE SERVICE CARDS ===== */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--light-gray);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(13, 71, 161, 0.2);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card__image img {
    transform: scale(1.05);
}

.service-card__content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.service-card:hover .service-card__icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.service-card__title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-card__title {
    color: var(--primary-blue);
}

.service-card__description {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.service-card__features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card__features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--medium-gray);
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.service-card__features li:hover {
    transform: translateX(3px);
}

.service-card__features li i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
    font-size: 0.8rem;
    width: 16px;
}

.service-card__benefits {
    background: rgba(13, 71, 161, 0.05);
    padding: 1rem;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-blue);
}

.service-card__benefits h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.service-card__benefits ul {
    list-style: none;
    margin: 0;
}

.service-card__benefits ul li {
    color: var(--medium-gray);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    position: relative;
    padding-left: 1rem;
}

.service-card__benefits ul li::before {
    content: '•';
    color: var(--primary-blue);
    position: absolute;
    left: 0;
}

/* ===== OUR SERVICES SECTION ===== */
.our-services {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f8fafc 100%);
}

.our-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 71, 161, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 71, 161, 0.15);
    border-color: var(--primary-blue);
}

.service-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.service-item:hover .service-item__icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px rgba(13, 71, 161, 0.3);
}

.service-item__title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-item:hover .service-item__title {
    color: var(--primary-blue);
}

.service-item__description {
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-item__features {
    list-style: none;
    position: relative;
    z-index: 2;
}

.service-item__features li {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
    transition: transform 0.2s ease;
}

.service-item__features li:hover {
    transform: translateX(3px);
}

.service-item__features li::before {
    content: '•';
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===== ENERGY EFFICIENCY SECTION ===== */
.energy-efficiency {
    padding: 6rem 0;
    background: var(--white);
}

.energy-efficiency__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.energy-efficiency__image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    height: 600px;
}

.energy-efficiency__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.energy-efficiency__image:hover img {
    transform: scale(1.05);
}

.efficiency-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.energy-efficiency__text {
    padding-left: 2rem;
}

.energy-efficiency__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.energy-efficiency__subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.efficiency-features {
    margin-bottom: 3rem;
}

.efficiency-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    background: rgba(13, 71, 161, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.efficiency-feature:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.efficiency-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    margin-right: 1.5rem;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.efficiency-feature:hover .efficiency-feature__icon {
    transform: scale(1.1) rotate(10deg);
}

.efficiency-feature__content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.efficiency-feature__content p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.energy-stats {
    display: flex;
    gap: 2rem;
}

.energy-stat {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    min-width: 120px;
}

.energy-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.energy-stat__number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.energy-stat__label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== BRANDS SLIDESHOW ===== */
.brands {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f8fafc 100%);
    overflow: hidden;
}

.brands__slideshow {
    margin-top: 3rem;
    overflow: hidden;
    position: relative;
}

.brands__track {
    display: flex;
    gap: 2rem;
    animation: slideLeft 30s linear infinite;
    width: fit-content;
}

.brands__track:hover {
    animation-play-state: paused;
}

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

.brand-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    min-width: 280px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
    flex-shrink: 0;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.brand-card__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.brand-card:hover .brand-card__logo {
    transform: scale(1.1) rotate(10deg);
}

.brand-card__name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.brand-card__description {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .our-services__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
    }
    
    .service-item {
        padding: 2rem 1.5rem;
    }
    
    .energy-efficiency__content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .energy-efficiency__image {
        height: 300px;
        order: 1;
    }
    
    .energy-efficiency__text {
        padding-left: 0;
        order: 2;
    }
    
    .energy-efficiency__title {
        font-size: 2rem;
    }
    
    .energy-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .energy-stat {
        min-width: auto;
    }
    
    .brands__track {
        gap: 1rem;
    }
    
    .brand-card {
        min-width: 220px;
        padding: 1.5rem;
    }
    
    .brand-card__logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ===== EXPANDABLE SERVICE CARDS ===== */
.expandable-card {
    position: relative;
    overflow: visible;
}

.expandable-card .service-card__expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.expandable-card.expanded .service-card__expandable {
    max-height: 500px;
    opacity: 1;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease 0.2s;
}

.expand-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    width: 100%;
}

.expand-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.expand-btn i {
    transition: transform 0.3s ease;
}

.expandable-card.expanded .expand-btn i {
    transform: rotate(180deg);
}

.expandable-card.expanded .expand-text::after {
    content: ' Less';
}

.expand-text::after {
    content: '';
}

/* ===== SERVICE DETAIL SECTIONS ===== */
.service-detail-section {
    padding: 8rem 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
    position: relative;
}

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

.service-detail--reverse {
    direction: rtl;
}

.service-detail--reverse > * {
    direction: ltr;
}

.service-detail__image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    height: 500px;
}

.service-detail__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-detail__image:hover img {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.service-detail__content {
    padding: 2rem;
}

.service-detail__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-detail__description {
    font-size: 1.2rem;
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: rgba(13, 71, 161, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
    background: rgba(13, 71, 161, 0.08);
}

.feature-item i {
    display: block;
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-detail__types h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.service-detail__types ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.service-detail__types li {
    color: var(--medium-gray);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.service-detail__types li:hover {
    color: var(--primary-blue);
}

.service-detail__types li i {
    color: var(--primary-blue);
    font-size: 0.8rem;
}

/* ===== HORIZONTAL PROCESS SECTION ===== */
.process__horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.process__step {
    flex: 1;
    max-width: 250px;
    text-align: center;
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--light-gray);
    position: relative;
}

.process__step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.process__step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
}

.process__step:hover .process__step-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px rgba(13, 71, 161, 0.3);
}

.process__step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--accent-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.process__step:hover .process__step-number {
    transform: scale(1.15);
    box-shadow: var(--shadow-lg);
}

.process__step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.process__step:hover .process__step-content h3 {
    color: var(--primary-blue);
}

.process__step-content p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.process__connector {
    color: var(--primary-blue);
    font-size: 1.5rem;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.process__connector:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    .service-detail {
        gap: 3rem;
    }
    
    .service-detail__image {
        height: 400px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process__horizontal {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .process__connector {
        display: none;
    }
    
    .process__step {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .service-detail--reverse {
        direction: ltr;
    }
    
    .service-detail__image {
        height: 300px;
        order: 1;
    }
    
    .service-detail__content {
        order: 2;
        padding: 1rem;
    }
    
    .service-detail__title {
        font-size: 2rem;
    }
    
    .service-detail__description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .service-detail__types ul {
        grid-template-columns: 1fr;
    }
    
    .process__horizontal {
        flex-direction: column;
        gap: 2rem;
    }
    
    .process__step {
        max-width: 100%;
        width: 100%;
    }
    
    .process__step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .process__step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: -12px;
        right: -12px;
    }
}

/* ===== SERVICE PROCESS ===== */
.service-process__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.process-step__content {
    max-width: 300px;
    margin: 0 auto;
}

.process-step__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: 12px;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.process-step__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.process-step__description {
    color: var(--text-color);
    line-height: 1.6;
}

/* ===== QUALITY ASSURANCE ===== */
.quality-assurance__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quality-assurance__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.quality-assurance__subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.quality-features {
    margin-bottom: 2rem;
}

.quality-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.quality-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.quality-feature__content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.quality-feature__content p {
    color: var(--text-color);
    line-height: 1.5;
}

.quality-assurance__stats {
    display: flex;
    gap: 2rem;
}

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

.quality-stat__number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.quality-stat__label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.quality-assurance__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== SERVICE AREAS ===== */
.service-areas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-area-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-area-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-area-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-area-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-area-card__description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-area-card__locations {
    list-style: none;
    text-align: left;
}

.service-area-card__locations li {
    padding: 0.25rem 0;
    color: var(--text-color);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1rem;
}

.service-area-card__locations li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta__content {
    max-width: 800px;
    margin: 0 auto;
}

.cta__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta__subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta__actions .btn {
    min-width: 200px;
}

/* ===== RESPONSIVE DESIGN FOR SERVICES ===== */
@media (max-width: 768px) {
    .services-overview__grid {
        grid-template-columns: 1fr;
    }
    
    .service-overview-card {
        max-width: 100%;
    }
    
    .service-process__steps {
        grid-template-columns: 1fr;
    }
    
    .quality-assurance__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quality-assurance__stats {
        justify-content: center;
    }
    
    .service-areas__grid {
        grid-template-columns: 1fr;
    }
    
    .cta__title {
        font-size: 2rem;
    }
    
    .cta__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta__actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== COMPREHENSIVE RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero__content {
        padding: 4rem 0;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
    
    .divisions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header__content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header__menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header__contact {
        text-align: center;
    }
    
    .hero__content {
        padding: 3rem 0;
        text-align: center;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .hero__cta {
        justify-content: center;
    }
    
    .divisions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__legal {
        justify-content: center;
    }
    
    .division-card {
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        margin-top: -70px; /* Keep consistent with larger mobile */
        padding-top: 80px; /* Slightly more padding for very small screens */
    }
    
    .hero__title {
        font-size: 1.75rem;
    }
    
    .hero__subtitle {
        font-size: 0.9rem;
    }
    
    .hero__cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .header__menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer__social {
        justify-content: center;
    }
    
    .footer__bottom-content {
        gap: 1rem;
    }
}

/* ===== PAGE HEADER STYLES ===== */
.page-header {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

.page-header__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.page-header__image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 8s ease-out;
}

.page-header:hover .page-header__image {
    transform: scale(1.05);
}

.page-header__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(13, 71, 161, 0.9) 0%, 
        rgba(38, 50, 56, 0.85) 50%,
        rgba(255, 140, 0, 0.4) 100%
    );
    z-index: 2;
}

.page-header__content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.page-header__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-header__subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.98;
    font-weight: 400;
    line-height: 1.5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Breadcrumb Styles */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.95;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
    color: var(--secondary-orange);
}

.breadcrumb__separator {
    color: var(--secondary-orange);
    opacity: 0.8;
}

.breadcrumb__current {
    color: var(--secondary-orange);
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--secondary-orange);
}

.breadcrumb__separator {
    font-size: 0.8rem;
    opacity: 0.7;
}

.breadcrumb__current {
    color: var(--secondary-orange);
    font-weight: 500;
}

/* ===== ENHANCED CONTACT FORM STYLES ===== */
.contact-main {
    padding: 5rem 0;
}

.contact-main__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info__title {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info__subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.contact-method:hover {
    background-color: var(--off-white);
    border-color: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-method__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.contact-method:hover .contact-method__icon {
    background: linear-gradient(135deg, var(--secondary-orange), var(--secondary-orange-light));
    transform: scale(1.1);
}

.contact-method__content h3 {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-method__content p {
    margin-bottom: 0.25rem;
    color: var(--medium-gray);
}

.contact-method__content a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.contact-method__content a:hover {
    color: var(--secondary-orange);
}

.contact-method__note {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-style: italic;
}

.emergency-contact {
    background: linear-gradient(135deg, var(--error-red), #ff6b6b);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 2rem;
}

.emergency-contact__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.emergency-contact h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.emergency-contact p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Enhanced Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-orange));
}

.contact-form__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-form__header h2 {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-form__header p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.contact-form__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group--checkbox {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--white);
    color: var(--dark-gray);
    font-family: var(--font-primary);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
    transform: translateY(-1px);
}

.form-input:invalid:not(:focus),
.form-select:invalid:not(:focus),
.form-textarea:invalid:not(:focus) {
    border-color: var(--error-red);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition-fast);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-input:checked + .checkbox-custom {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label .link {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.form-submit {
    grid-column: 1 / -1;
    margin-top: 1rem;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-submit:active {
    transform: translateY(0);
}

/* ===== WHY CHOOSE US ENHANCED STYLES ===== */
.why-choose-us {
    padding: 5rem 0;
}

.why-choose-us__header {
    text-align: center;
    margin-bottom: 3rem;
}

.why-choose-us__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-choose-us__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    border-left: 4px solid var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.why-choose-us__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--secondary-orange);
}

.why-choose-us__item i {
    font-size: 1.5rem;
    color: var(--success-green);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.why-choose-us__item:hover i {
    background: var(--success-green);
    color: var(--white);
    transform: scale(1.1);
}

.why-choose-us__item span {
    font-weight: 500;
    color: var(--dark-gray);
    line-height: 1.4;
}

/* ===== COMPANY OVERVIEW STYLES ===== */
.company-overview {
    padding: 5rem 0;
}

.company-overview__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.company-overview__title {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.company-overview__subtitle {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.company-overview__text {
    margin-bottom: 1.5rem;
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 1.05rem;
}

.company-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.company-stat {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: var(--radius-lg);
    color: var(--white);
    flex: 1;
    transition: var(--transition-normal);
}

.company-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.company-stat__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
}

.company-stat__label {
    font-size: 0.95rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-overview__image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.company-overview__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.company-overview__image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 71, 161, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.company-overview__image:hover .image-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-blue);
    cursor: pointer;
    transition: var(--transition-normal);
}

.play-button:hover {
    transform: scale(1.1);
    background: var(--secondary-orange);
    color: var(--white);
}

/* ===== MISSION VISION VALUES STYLES ===== */
.mission-vision {
    padding: 5rem 0;
}

.mission-vision__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.mvv-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-orange));
    transform: scaleX(0);
    transition: var(--transition-normal);
}

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

.mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.mvv-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.mvv-card:hover .mvv-card__icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: var(--shadow-lg);
}

.mvv-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mvv-card__title {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 600;
}

.mvv-card__description {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* ===== COMMITMENT SECTION ===== */
.our-commitment {
    padding: 6rem 0;
    background: var(--white);
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.commitment-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--light-gray);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.commitment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 71, 161, 0.1), transparent);
    transition: left 0.6s ease;
}

.commitment-item:hover::before {
    left: 100%;
}

.commitment-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(13, 71, 161, 0.15);
}

.commitment-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.commitment-item:hover .commitment-item__icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 30px rgba(13, 71, 161, 0.3);
}

.commitment-item__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.commitment-item:hover .commitment-item__title {
    color: var(--primary-blue);
}

.commitment-item__description {
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.commitment-item__expanded {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(-20px);
    position: relative;
    z-index: 2;
}

.commitment-item:hover .commitment-item__expanded {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 1rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f8fafc 100%);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="testimonial-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="%23ddd" opacity="0.4"/><circle cx="70" cy="70" r="1" fill="%23ddd" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23testimonial-grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.testimonial {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(13, 71, 161, 0.2);
}

.testimonial:hover::before {
    opacity: 0.05;
}

.testimonial__quote-icon {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--primary-blue);
    opacity: 0.3;
    z-index: 1;
}

.testimonial__content {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.testimonial__quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 0;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.testimonial__avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.testimonial__info {
    flex: 1;
}

.testimonial__name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.testimonial__position {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.testimonial__rating {
    display: flex;
    gap: 0.25rem;
}

.testimonial__rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .page-header {
        height: 50vh;
        min-height: 350px;
    }
    
    .page-header__title {
        font-size: 2.5rem;
    }
    
    .page-header__subtitle {
        font-size: 1.1rem;
    }
    
    .contact-main__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-form__form {
        grid-template-columns: 1fr;
    }
    
    .company-overview__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .company-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .company-stat {
        min-width: 120px;
    }
    
    .why-choose-us__list {
        grid-template-columns: 1fr;
    }
    
    .mission-vision__grid {
        grid-template-columns: 1fr;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
    }
    
    /* Front Page Responsive */
    .divisions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about__content {
        padding-right: 0;
        order: 2;
    }
    
    .about__image {
        order: 1;
    }
    
    .about__title {
        font-size: 2.2rem;
    }
    
    .about__feature {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .about__feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .why-choose__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-choose__item {
        padding: 2rem;
    }
    
    .why-choose__icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    /* About Page Responsive */
    .commitment-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Services Page Responsive */
    .services-overview__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Service Cards Responsive */
    .service-card__content {
        padding: 1.5rem;
    }
    
    .service-card__icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Tablet responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .divisions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .divisions-grid .division-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about__content {
        padding-right: 1rem;
    }
    
    /* About Page Tablet */
    .commitment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Services Page Tablet */
    .services-overview__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .services-overview__grid .service-overview-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Service Cards Tablet */
    .services-overview__grid .service-card:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {

    .hero-section {
        margin-top: -70px; /* Keep consistent with larger mobile */
        padding-top: 80px; /* Slightly more padding for very small screens */
    }
    
    .page-header {
        height: 40vh;
        min-height: 300px;
    }
    
    .page-header__content {
        padding: 0 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
    
    .company-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mvv-card {
        padding: 2rem 1.5rem;
    }
    
    /* Front Page Mobile */
    .about__title {
        font-size: 1.8rem;
    }
    
    .about__subtitle {
        font-size: 1.1rem;
    }
    
    .about__feature {
        padding: 1rem;
    }
    
    .about__feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .why-choose__item {
        padding: 1.5rem;
    }
    
    .why-choose__icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .why-choose__title {
        font-size: 1.2rem;
    }
    
    /* About Page Mobile */
    .commitment-item {
        padding: 1.5rem;
    }
    
    .commitment-item__icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
    
    .testimonial__quote-icon {
        font-size: 1.5rem;
        top: 0.75rem;
        right: 1rem;
    }
}

/* Large screens - Better spacing for divisions grid */
@media (min-width: 1200px) {
    .divisions-grid {
        gap: 3rem;
    }
    
    .division-card-content {
        padding: 3rem;
    }
    
    .about__grid {
        gap: 5rem;
    }
    
    .why-choose__grid {
        gap: 3rem;
    }
}

/* Five-column layout for aluandwindows page */
@media (min-width: 1400px) {
    .page-aluandwindows .services-overview__grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
}

/* Three-column layout for other service pages */
@media (min-width: 1024px) {
    .services-overview__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .page-aluandwindows .services-overview__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .page-aluandwindows .services-overview__grid .service-card:nth-child(4),
    .page-aluandwindows .services-overview__grid .service-card:nth-child(5) {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }
}

/* ===== FAQ EXPANDABLE FUNCTIONALITY ===== */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.expandable-faq {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.expandable-faq:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.faq-item__question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: background-color 0.3s ease;
}

.faq-item__question:hover {
    background: var(--light-gray);
}

.faq-item__question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-item__icon {
    color: var(--primary-blue);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.expandable-faq.expanded .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    background: var(--white);
}

.expandable-faq.expanded .faq-item__answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-item__answer p {
    margin: 0;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== SERVICE MAP STYLES ===== */
.service-map__container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.service-map__full-width {
    width: 100%;
    margin: 0;
    padding: 0;
}

.map-wrapper {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.openstreet-map {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

/* Custom Leaflet marker styles */
.primary-marker {
    background-color: var(--accent-orange);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.secondary-marker {
    background-color: var(--primary-blue);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Custom popup styles */
.leaflet-popup-content-wrapper {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.leaflet-popup-content {
    margin: 0.8rem 1rem;
    font-family: var(--font-family);
}

.popup-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.popup-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

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

.popup-services li {
    padding: 0.2rem 0;
    font-size: 0.85rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.popup-services i {
    color: var(--primary-blue);
    font-size: 0.8rem;
}

/* Checkbox styling */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: var(--white);
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkbox-input:checked + .checkbox-custom {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-input:checked + .checkbox-custom::after {
    opacity: 1;
}

.checkbox-custom:hover {
    border-color: var(--primary-blue);
}

.checkbox-text {
    flex: 1;
}

.checkbox-text a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.checkbox-text a:hover {
    color: var(--primary-blue-dark);
}

.map-legend {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.legend-marker.primary {
    background: var(--accent-orange);
}

.legend-marker.secondary {
    background: var(--primary-blue);
}

.legend-item span {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.province-info {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    min-height: 300px;
}

.province-info__title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.province-info__description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.province-info__services li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.province-info__services li:last-child {
    border-bottom: none;
}

.province-info__services i {
    color: var(--primary-blue);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-map__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .map-wrapper {
        padding: 1.5rem;
    }
    
    .province-info {
        padding: 1.5rem;
        min-height: 200px;
    }
    
    .map-legend {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 20px rgba(13, 71, 161, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(13, 71, 161, 0.4);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:active {
    transform: translateY(0) scale(0.95);
}

/* Mobile responsiveness for scroll button */
@media (max-width: 768px) {
    .scroll-top-btn {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1.1rem;
    }
}

/* Ensure body has no extra bottom margin/padding */
html, body {
    margin: 0;
    padding-bottom: 0;
    overflow-x: hidden;
}

/* Remove any potential WordPress extra spacing */
#page, .site, .site-content, .content-area, main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure footer is flush with bottom */
.footer {
    margin-bottom: 0;
}

/* Remove any potential extra space from the last content elements */
.footer__bottom {
    margin-bottom: 0;
    padding-bottom: 1rem;
}