/* Ensure carousel arrows are always visible and styled */
.carousel-arrow {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s;
    z-index: 10;
}
.carousel-arrow:hover {
    background: var(--primary-color);
    color: #fff;
}
.carousel-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/* Mission & Vision Section */
.mission-vision {
    padding: 60px 0;
    background: #fff;
}

body.dark-mode .mission-vision {
    background: #111;
}
.mission-vision-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}
.mission-block, .vision-block {
    background: var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    padding: 40px 48px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.mission-block .section-tag, .vision-block .section-tag {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 40px;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.mission-block .section-title, .vision-block .section-title {
    font-size: 28px;
    font-weight: 800; /* match About title weight */
    color: #fff;
    margin-bottom: 20px; /* match .section-title spacing */
}
.mission-block .about-text, .vision-block .about-text {
    color: #fff;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.6;
}

/* Make first box larger and second smaller */
.mission-block {
    flex: 2 1 700px;
    min-width: 500px;
    max-width: 1000px;
}
.vision-block {
    flex: 1 1 700px;
    min-width: 500px;
    max-width: 1000px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 48px;
    padding-right: 48px;
}
@media (max-width: 900px) {
    .mission-vision-content {
        flex-direction: column;
        gap: 24px;
    }
    .mission-block, .vision-block {
        max-width: 100%;
        min-width: 0;
        padding: 32px 12px;
    }
    .mission-block .about-text, .vision-block .about-text {
        font-size: 18px;
    }
}
body.dark-mode .testimonial-item {
    color: #111 !important;
    background: #fff !important;
}
body.dark-mode .testimonial-item p {
    color: #111 !important;
}
body.dark-mode .testimonial-item .testimonial-author span {
    color: #111 !important;
}
body.dark-mode .industries {
    background-color: var(--primary-green) !important;
}

/* Force green footer in all modes */
.footer {
    background: var(--primary-green) !important;
}
body.dark-mode .footer {
    background: var(--primary-green) !important;
}
.footer, .footer a, .footer p, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6,
.footer .footer-links a,
.footer .footer-contact span,
.footer .footer-contact a,
.footer .footer-contact p,
.footer .footer-subscribe,
.footer .footer-subscribe input,
.footer .footer-subscribe button,
.footer .footer-phone,
.footer .footer-phone a,
.footer .footer-phone span,
.footer .footer-phone p,
.footer .footer-social a,
.footer .footer-social span,
.footer .footer-social p,
.footer .footer-social h4,
.footer .footer-social h5,
.footer .footer-social h6,
.nav-links a,
.nav-links li,
.nav-links span,
.nav-links p,
.nav-links h2,
.nav-links h3,
.nav-links h4,
.nav-links h5,
.nav-links h6,
.about-content .section-title,
.about-content .section-title,
{}
.footer .footer-subscribe input {
    background: #fff;
    color: #222;
    font-weight: 700;
}
.footer .footer-phone a {
    color: #FFD700;
    font-weight: 700;
}
/* ===== CSS VARIABLES ===== */
:root {
        --primary-green: #2E8B57;
    /* Green and Yellow color scheme from Haseeb Cables logo */
    --primary-color: #2E8B57;        /* Sea Green - Main brand color */
    --primary-dark: #1E6B47;         /* Darker green */
    --primary-light: #3CB371;        /* Medium sea green */
    --accent-color: #FFD700;         /* Golden Yellow */
    --accent-dark: #DAA520;          /* Goldenrod */
    --red-color: #C41E3A;            /* Brand Red */
    --red-dark: #9A1830;             /* Dark Red */
    --secondary-color: #1A3A2A;      /* Dark green-black */
    --dark-color: #0D1F15;           /* Very dark green */
    --light-color: #F0F8F0;          /* Light green tint */
    --white: #FFFFFF;
    --gray-100: #E8F0E8;
    --gray-200: #CCCCCC;
    --gray-300: #999999;
    --gray-600: #666666;
    --gray-800: #333333;
    --text-color: #333333;
    --text-light: #666666;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Keep section subtitles on a single line with graceful truncation on small widths */
.section-subtitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 700px) {
    .section-subtitle {
        white-space: normal;
    }
}

/* ===== DARK MODE TOGGLE BUTTON ===== */
.dark-mode-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
    transform: rotate(20deg);
}

.dark-mode-toggle i {
    transition: var(--transition);
}

/* ===== DARK MODE STYLES ===== */
body.dark-mode {
    --text-color: #E8E8E8;
    --text-light: #BBBBBB;
    background-color: #121212;
}

body.dark-mode .about,
body.dark-mode .products,
body.dark-mode .contact {
    background-color: #0D0D0D !important;
}

body.dark-mode .about {
    background-color: #0D0D0D !important;
}

body.dark-mode .products {
    background-color: var(--primary-green) !important;
}

body.dark-mode .services,
body.dark-mode .why-choose-us {
    background-color: var(--primary-green) !important;
}

body.dark-mode .testimonials {
    background-color: #0D0D0D !important;
}

body.dark-mode .services {
    background-color: var(--primary-green) !important;
}

body.dark-mode .section-title {
    color: var(--white);
}

body.dark-mode .about-text,
body.dark-mode .service-card p,
body.dark-mode .product-info p,
body.dark-mode .testimonial-text,
body.dark-mode .advantage-card p,
body.dark-mode .contact-info > p {
    color: var(--text-light);
}

/* Make About paragraph more readable in dark mode */
body.dark-mode #about .about-text {
    color: var(--text-color) !important;
}

body.dark-mode .service-card,
body.dark-mode .testimonial-card,
body.dark-mode .advantage-card {
body.dark-mode .testimonials {
    background-color: #0D0D0D !important;
    /* Force dark black background for testimonials section in dark mode */
}
    background-color: #1E1E1E;
    border-color: #333;
}

body.dark-mode .service-card h3,
body.dark-mode .advantage-card h3,
body.dark-mode .testimonial-author h4 {
    color: var(--white);
}

body.dark-mode .feature-item span {
    color: var(--white);
}

/* Prevent section titles from overlaying content in dark mode */
body.dark-mode .section-title {
    font-size: 42px !important;
    position: static !important;
    z-index: auto !important;
    color: var(--white) !important;
}

body.dark-mode .about-image img {
    border: 2px solid #333;
}

/* Make mission & vision paragraph text match light-mode brightness in dark mode */
body.dark-mode .mission-block .about-text,
body.dark-mode .vision-block .about-text,
body.dark-mode #about .mission-vision .about-text {
    color: #ffffff !important;
}

/* Keep Mission & Vision titles the same size in dark mode as light mode */
body.dark-mode .mission-block .section-title,
body.dark-mode .vision-block .section-title,
body.dark-mode #about .mission-vision .section-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
}

/* Ensure About section title has no background patch in dark mode */
body.dark-mode #about .section-header .section-title,
body.dark-mode .about .section-title,
body.dark-mode .about-content .section-title {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    margin-top: 12px !important;
    font-size: 36px !important;
    line-height: 1.2 !important;
    color: var(--white) !important;
}
body.dark-mode #about .section-header .section-title::before,
body.dark-mode #about .section-header .section-title::after,
body.dark-mode .about .section-title::before,
body.dark-mode .about .section-title::after {
    display: none !important;
    content: none !important;
}

body.dark-mode .contact-form-wrapper {
    background-color: #0D0D0D !important;
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form select,
body.dark-mode .contact-form textarea {
    background-color: #2A2A2A;
    border-color: #444;
    color: var(--white);
}

body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder {
    color: #888;
}

body.dark-mode .contact-item i {
    background-color: #2A2A2A;
}

body.dark-mode .contact-item h4 {
    color: var(--white);
}

body.dark-mode .contact-item p {
    color: var(--text-light);
}

body.dark-mode .category-btn {
    border-color: var(--primary-color);
    color: var(--primary-light);
}

body.dark-mode .category-btn:hover,
body.dark-mode .category-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

body.dark-mode .dark-mode-toggle {
    background: var(--accent-color);
    color: #121212;
}

body.dark-mode .dark-mode-toggle:hover {
    background: transparent;
    color: var(--accent-color);
}

body.dark-mode .header.scrolled {
    background: #0D0D0D;
}

body.dark-mode .header.scrolled .logo h1 {
    color: var(--white);
}

body.dark-mode .header.scrolled .nav-links a {
    color: var(--white);
}

body.dark-mode .header.scrolled .dark-mode-toggle {
    background: var(--accent-color);
    color: #121212;
    border-color: var(--accent-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-red {
    background: #C41E3A !important;
    color: #FFFFFF !important;
    border: none;
}

.btn-red:hover {
    background: #9A1830 !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-red-outline {
    background: #C41E3A !important;
    color: #FFFFFF !important;
    border: 2px solid #C41E3A;
}

.btn-red-outline:hover {
    background: #9A1830 !important;
    border-color: #9A1830;
}

.btn-full {
    width: 100%;
}

/* ===== SECTION STYLING ===== */
.section-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: normal;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #000 !important;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 22px;
    color: #fff !important;
    max-width: 700px;
    font-weight: 600;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    height: 80px;
    overflow: visible;
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.header.scrolled .logo h1 {
    color: var(--primary-color) !important;
}

.header.scrolled .logo h1 span {
    color: var(--accent-color) !important;
}

.header.scrolled .nav-links a {
    color: var(--secondary-color);
}

.header.scrolled .dark-mode-toggle {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.header.scrolled .dark-mode-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 30px 0 30px;
    max-width: 100%;
    margin: 0 auto;
}

.logo h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
    /* Ensure HASEEB is always green */
    display: inline-block;
    transform-origin: left center;
    transform: scale(1.25); /* visually larger without affecting header layout */
}

.logo h1 span {
    color: var(--accent-color);
    /* Ensure CABLES is always yellow */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: -6px;
}

.logo-img {
    height: 100px;
    width: auto;
    border-radius: 5px;
    margin-top: -10px;
    margin-bottom: -10px;
    max-height: 120px;
    transform-origin: left center;
    transform: scale(1.12); /* visually enlarge logo without changing layout height */
}

@media (max-width: 768px) {
    .logo h1, .logo-img {
        transform: none; /* don't scale on small screens */
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-top: -4px;
}

.nav-links a {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.nav-red {
    color: #C41E3A !important;
    font-weight: 700;
}

.header.scrolled .nav-links a.nav-red {
    color: #C41E3A !important;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: -4px;
}

.nav-cta .btn-primary {
    padding: 12px 24px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 20px 80px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 1400px;
    margin-left: 100px;
    margin-right: auto;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.1;
    white-space: nowrap;
}

.hero-title span {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 100%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 60px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--primary-color);
    padding: 80px 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 120px;
}

.stats-section .stat-item {
    text-align: center;
}

.stats-section .stat-item h3 {
    font-size: 72px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stats-section .stat-item p {
    font-size: 20px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

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

.stat-item h3 {
    font-size: 56px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-item p {
    font-size: 18px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    max-width: 800px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge h3 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.experience-badge p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content .section-title {
    font-size: 36px;
}

.about-text {
    color: #1a1a1a;
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.feature-item span {
    font-weight: 600;
    font-size: 16px;
}

/* ===== SERVICES SECTION ===== */
/* Why Choose Us section yellow background */
.why-choose-us {
    background: var(--primary-green);
}

.why-choose-us .service-card {
    background: var(--primary-green);
    border-color: var(--primary-dark);
}
/* Make section title and subtitle white in services section */
#services .section-title,
#services .section-subtitle {
    color: #fff;
}
.services {
    padding: 120px 0 0 0;
    background: var(--primary-green);
}

.services-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 100%;
    margin: 0;
    padding: 60px;
    background: var(--primary-green);
    margin-top: 50px;
}

.services-carousel {
    overflow: hidden;
    flex: 1;
}

.services-carousel-inner {
    display: flex;
    gap: 25px;
    transition: transform 0.5s ease;
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 10;
}

.carousel-arrow:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* Position carousel arrows at the left/right edges of the wrapper */
.services-carousel-wrapper .carousel-prev,
.services-carousel-wrapper .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.services-carousel-wrapper .carousel-prev {
    left: 24px;
}
.services-carousel-wrapper .carousel-next {
    right: 24px;
}

@media (max-width: 992px) {
    .services-carousel-wrapper .carousel-prev,
    .services-carousel-wrapper .carousel-next {
        display: none; /* hide arrows on small screens where touch/swipe is used */
    }
}

.service-card {
    position: relative;
    flex: 0 0 calc((100% - 50px) / 3);
    height: 520px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.service-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-info h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* ===== PROCESS SECTION ===== */
.process {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.process-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.process-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.process .container {
    position: relative;
    z-index: 2;
}

.process .section-tag,
.process .section-title,
.process .section-subtitle {
    color: var(--white);
}

.process .section-subtitle {
    font-size: 20px;
    font-weight: 500;
}

.process .section-tag {
    color: var(--accent-color);
}

.process .section-title {
    color: var(--primary-color);
}

/* Dark-mode: remove any background/strip behind the Process header and keep it green */
body.dark-mode #process .section-header .section-title,
body.dark-mode #process h2.section-title,
body.dark-mode #process .section-title {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: block !important;
    color: var(--primary-color) !important;
}
body.dark-mode #process .section-header .section-title::before,
body.dark-mode #process .section-header .section-title::after,
body.dark-mode #process .section-title::before,
body.dark-mode #process .section-title::after {
    display: none !important;
    content: none !important;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

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

.process-step::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    font-size: 72px;
    font-weight: 900;
    color: var(--primary-light);
    opacity: 0.9;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    -webkit-text-stroke: 2px var(--primary-light);
}

.step-content h3 {
    font-size: 26px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-content p {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.9;
    font-weight: 600;
}

.process-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-lg {
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    padding: 120px 0;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.project-card.large {
    grid-row: span 2;
}

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

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.project-overlay h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 5px;
}

.project-overlay p {
    color: var(--gray-200);
    font-size: 14px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 120px 0;
    background: var(--light-color);
    overflow: hidden;
}

.testimonials-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.testimonials-marquee-wrapper::before,
.testimonials-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonials-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--light-color), transparent);
}

.testimonials-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--light-color), transparent);
}

.testimonials-marquee {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-testimonials 45s linear infinite;
}

.testimonials-marquee:hover {
    animation-play-state: paused;
}

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

.testimonial-item {
    flex-shrink: 0;
    width: 380px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    display: inline-block;
}

.testimonial-item .testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-item .testimonial-rating i {
    color: #FFD700;
    font-size: 16px;
}

.testimonial-item p {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-item .testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.testimonial-item .testimonial-author h4 {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 600;
}

.testimonial-item .testimonial-author span {
    font-size: 13px;
    color: var(--text-light);
}

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

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 18px;
}

.testimonial-text {
    font-size: 17px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 3px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== CTA SECTION ===== */
.cta {
    position: relative;
    padding: 100px 0;
    background: var(--primary-color);
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.95) 0%, rgba(30, 107, 71, 0.95) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.cta-content p {
    font-size: 22px;
    margin-bottom: 35px;
    opacity: 1;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info .section-title {
    font-size: 36px;
}

.contact-info > p {
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--light-color);
    padding: 50px;
    border-radius: 2px;
    border: 3px solid #b22234;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    background: var(--white);
    color: var(--text-color);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray-300);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-green) !important;
    padding: 40px 0 0;
    min-height: 250px;
    height: auto;
    overflow: visible;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent !important;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    border-radius: 5px;
    margin-top: -10px;
    margin-bottom: -10px;
    max-height: 100px;
}

.footer-contact-quick {
    margin-top: 20px;
}

.footer-contact-quick p {
    color: var(--gray-200);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-quick i {
    color: var(--accent-color);
}

.footer-about p {
    color: var(--gray-300);
    line-height: 1.8;
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--gray-300);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    color: var(--gray-300);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: var(--gray-300);
}

.newsletter-form button {
    padding: 14px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    background: var(--primary-green) !important;
    color: #fff !important;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    border: none !important;
}

.footer-bottom p {
    color: #fff !important;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
    background: transparent !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    margin: 0;
}

/* Nudge copyright slightly to the right and privacy/terms slightly left */
.footer-bottom p {
    margin-left: 18px; /* move copyright a bit right */
}
.footer-bottom-links {
    margin-right: 0; /* reset previous right margin */
    margin-left: -18px; /* shift privacy/terms further left */
}

/* On very small screens stack and center links for readability */
@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: 100%;
        margin-left: 0;
    }
    .footer-bottom p, .footer-bottom-links {
        margin: 0;
    }
    .footer-bottom-links {
        gap: 12px;
        justify-content: center;
        position: static;
        transform: none;
    }
}

.footer-bottom-links a {
    color: #fff !important;
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 52px;
    }
    
    .service-card {
        min-width: calc(50% - 15px);
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 15px 30px;
    }
    
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 40px;
        justify-content: center;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .experience-badge {
        right: 20px;
        bottom: -20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .project-card.large {
        grid-row: span 1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .process-step::after {
        display: none;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* Additional responsive polish for tablets and phones */
@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .hero-title {
        white-space: normal;
    }
}

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

    .hero {
        background-attachment: scroll; /* avoid fixed backgrounds on tablets */
        padding: 90px 16px 50px;
    }

    .hero-content {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        max-width: 720px;
        padding: 0 12px;
    }

    .hero-title {
        font-size: 36px;
    }

    .logo-img {
        height: 72px;
        max-height: 80px;
    }
}

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

    .product-card {
        height: auto; /* allow cards to size to content on small screens */
        min-height: 280px;
    }

    .hero-video {
        display: none; /* hide heavy video on small devices */
    }

    .logo-img {
        height: 56px;
        max-height: 64px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card {
        min-height: 220px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .logo-img {
        height: 48px;
        max-height: 56px;
    }

    /* Show CTA in mobile nav when menu is open */
    .nav-links.active + .nav-cta {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-top: 12px;
    }

    /* Make nav items touch-friendly */
    .nav-links.active a {
        font-size: 16px;
        padding: 12px 8px;
    }

    /* Ensure hero text doesn't overflow */
    .hero-subtitle {
        font-size: 15px;
    }
}

/* Make images fluid by default */
img, video {
    max-width: 100%;
    height: auto;
}

/* Tweak container padding on small viewports */
.container {
    padding-left: 16px;
    padding-right: 16px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-stats {
    animation: fadeInUp 1s ease forwards;
}

.hero-stats {
    animation-delay: 0.3s;
}

/* Mobile Navigation */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    padding: 30px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
}

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

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

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

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: 120px 0;
    background: var(--primary-green);
    color: #fff;
}

.product-categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 18px;
}

.products-header-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    gap: 30px;
}

.products-section-header {
    text-align: center;
    margin-bottom: 0;
}

.products-section-header .section-subtitle {
    margin: 0 auto;
}

body.dark-mode .products-section-header .section-subtitle {
    color: var(--white) !important;
}

/* Allow longer subtitles to span wider horizontally for Products and Industries */
.products-section-header .section-subtitle,
.industries-section .section-header .section-subtitle {
    max-width: 1200px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

@media (max-width: 1100px) {
    .products-section-header .section-subtitle,
    .industries-section .section-header .section-subtitle {
        max-width: 100%;
        white-space: normal;
    }
}

.category-btn {
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-green);
    background: #fff;
    color: var(--primary-green);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-green);
    color: #fff;
}

body.dark-mode .category-btn {
    background: #000 !important;
    color: var(--white) !important;
    border-color: var(--primary-green) !important;
}

body.dark-mode .category-btn:hover,
body.dark-mode .category-btn.active {
    background: var(--primary-green) !important;
    color: #fff !important;
    border-color: var(--primary-green) !important;
}

/* also handle focus / active pseudo-states in dark mode */
body.dark-mode .category-btn:active,
body.dark-mode .category-btn:focus {
    background: var(--primary-green) !important;
    color: #fff !important;
    border-color: var(--primary-green) !important;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 400px;
    background: var(--primary-green);
    color: #fff;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.product-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.product-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--accent-color);
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 15px;
}

.product-features i {
    font-size: 10px;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 12px;
    width: fit-content;
}

/* ===== WHY CHOOSE US SECTION ===== */
/* Industries We Serve section green background */
.industries-section .section-title,
.industries-section .section-subtitle {
    color: #fff;
}
.industries-section {
    background: var(--primary-green);
}
/* Make section title and subtitle white in Why Choose Us section */
.why-choose-us .section-title,
.why-choose-us .section-subtitle {
    color: #fff;
}
.why-choose-us {
    padding: 120px 0;
    background: var(--primary-green);
}

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

.advantage-card {
    background: var(--primary-green);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

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

.advantage-image {
    width: 100%;
    height: 180px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

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

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

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.advantage-icon i {
    font-size: 32px;
    color: var(--white);
}

.advantage-card h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Products Section Responsive */

/* Force all footer text to bright white in both modes */
.footer, .footer * {
    color: #fff !important;
}
body.dark-mode .product-card {
    background: #111 !important;
    color: var(--white) !important;
}
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo h1 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .product-categories {
        gap: 10px;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
}

/* Force specific section titles to white */
#products .section-title,
#process .section-title,
#services .section-title,
#whychoose .section-title,
#industries .section-title {
    color: #ffffff !important;
}

/* Also ensure subtitles in those sections are white where applicable */
#products .section-subtitle,
#process .section-subtitle,
#services .section-subtitle,
#whychoose .section-subtitle,
#industries .section-subtitle {
    color: #ffffff !important;
}

/* Extra high-specificity selectors for section headers (targets the exact markup seen in HTML) */
#products .section-header .section-title,
#process .section-header .section-title,
#services .section-header .section-title,
#whychoose .section-header .section-title,
#industries .section-header .section-title {
    color: #ffffff !important;
}

/* Fallback: target h2 elements directly under those sections */
#products h2.section-title,
#process h2.section-title,
#services h2.section-title,
#whychoose h2.section-title,
#industries h2.section-title {
    color: #ffffff !important;
}

/* Light-mode: make specific headings green without affecting dark mode */
body:not(.dark-mode) #about .about-content .section-title,
body:not(.dark-mode) #process .section-title,
body:not(.dark-mode) .testimonials .section-title,
body:not(.dark-mode) #contact .section-title {
    color: var(--primary-color) !important;
}

/* Ensure Mission & Vision headings are white regardless of other overrides */
#about .mission-vision .mission-block .section-title,
#about .mission-vision .vision-block .section-title,
#about .mission-vision h2.section-title {
    color: #ffffff !important;
}

/* Make the Process section subtitle a bit larger and bolder */
#process .section-subtitle {
    font-size: 24px !important;
    font-weight: 700 !important;
    max-width: 800px !important;
}

/* Dark-mode: make specific main section headings green */
body.dark-mode #about .about-content .section-title,
body.dark-mode #process .section-title,
/* ===== Contact form submission modal (professional styling) ===== */
.form-message{font-weight:600}
.form-message.success{color:#1e7e34}
.form-message.error{color:#dc3545}

/* Modal styles matching site theme */
.site-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;z-index:2000}
.site-modal[aria-hidden="false"]{display:flex}
.site-modal .modal-overlay{position:absolute;inset:0;background:rgba(0,0,0,0.55)}
.site-modal .modal-content{position:relative;z-index:2;background:var(--card-bg, #fff);width:90%;max-width:820px;border-radius:12px;padding:28px 32px;box-shadow:0 24px 48px rgba(0,0,0,0.35);color:var(--text-color,#222)}
.site-modal .modal-content h2{margin:0 0 12px;color:var(--primary-color)}
.site-modal .modal-content .modal-body{max-height:60vh;overflow:auto;color:var(--muted,#444);line-height:1.65}
.site-modal .modal-close{position:absolute;right:14px;top:12px;border:none;background:transparent;font-size:28px;color:var(--primary-color);cursor:pointer}
.site-modal .modal-content p{margin:0 0 12px}

@media (prefers-color-scheme: dark){
    .site-modal .modal-content{background:#0f1a13;color:#e8f6ef}
    .site-modal .modal-content .modal-body{color:#cfe6d4}
}
.submit-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.submit-modal {
    background: #fff;
    color: #111;
    width: 680px;
    max-width: calc(100% - 40px);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    font-family: 'Open Sans', sans-serif;
}
.submit-modal h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
}
.submit-modal p {
    margin: 0 0 18px 0;
    color: #444;
}
.submit-modal .buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}
.btn--secondary {
    background: transparent;
    border: 2px solid #e6e6e6;
    color: #333;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
}
.btn--primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 700px) {
    .submit-modal { padding: 20px; }
    .submit-modal h3 { font-size: 18px; }
}
body.dark-mode .testimonials .section-title,
body.dark-mode #contact .section-title {
    color: var(--primary-color) !important;
}
