/* CSS Design System */
:root {
    --primary-color: #002651;
    /* Dark Blue from screenshot */
    --accent-color: #004a99;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --header-height: 90px;
    --top-bar-height: 45px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-padding: 0 8%;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    height: var(--top-bar-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    font-size: 0.85rem;
}

.top-bar .contact-info {
    display: flex;
    gap: 20px;
}

.top-bar .contact-info a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar .social-icons {
    display: flex;
    gap: 15px;
}

.top-bar .social-icons a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
}

/* Header */
header {
    background: white;
    /* Semi-transparent white */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* Frosted glass effect */
    position: fixed;
    top: var(--top-bar-height);
    /* Sit below the top bar initially */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 8%;
    /* Slightly reduced padding for larger logo */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    /* Light tech border */
    box-shadow: 0 8px 32px 0 rgba(0, 38, 81, 0.08);
    /* Subtle premium shadow */
}

header.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    /* Sightly more opaque for readability on scroll */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 8%;
    box-shadow: 0 10px 30px rgba(0, 38, 81, 0.12);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.logo img {
    height: 120px;
    /* Increased from 90px */
    width: auto;
    display: block;
    transition: var(--transition);
    border-radius: 8px;
}

.menu-toggle {
    display: none;
    /* Hide by default on desktop */
}

header.scrolled .logo {
    padding: 5px 15px;
}

header.scrolled .logo img {
    height: 90px;
    /* Increased from 70px */
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    /* Increased boldness */
    font-size: 0.95rem;
    position: relative;
    padding: 10px 0;
    transition: var(--transition);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    /* Spacing between icon and text */
}

nav a i {
    font-size: 0.9rem;
    opacity: 0.9;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 8px;
    /* Lifted up slightly */
    left: 0;
    width: 100%;
    height: 3px;
    /* Stronger underline like screenshot */
    background-color: var(--primary-color);
}

.header-btn .btn-quote {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.header-btn .btn-quote:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Hero Slider */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    z-index: 1;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 6s ease;
    /* Longer transition for zoom effect */
}

.slide.active img {
    transform: scale(1.15);
    /* Zoom in effect when active */
}

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

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-content .btn-services {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    display: inline-block;
}

.hero-content .btn-services:hover {
    background-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Page Hero Section (Subpages)
   ========================================================================== */
.page-hero {
    position: relative;
    height: 700px;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: calc(var(--header-height) + var(--top-bar-height));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 75, 151, 0.9) 0%, rgba(0, 74, 153, 0.7) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    text-transform: capitalize;
}

.page-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 400;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
}

.breadcrumbs a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.breadcrumbs i {
    font-size: 0.8rem;
    opacity: 0.5;
}

.breadcrumbs span {
    color: var(--white);
}

/* Specific Page Backgrounds */
.about-hero {
    background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80&w=1920');
}

.product-hero {
    background-image: url('https://images.unsplash.com/photo-1555664424-778a1e5e1b48?auto=format&fit=crop&q=80&w=1920');
}

.service-hero {
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=1920');
}

.contact-hero {
    background-image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&q=80&w=1920');
}

@media (max-width: 768px) {
    .page-hero {
        height: 450px;
        min-height: 450px;
    }

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

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* About Section */
.about-section {
    padding: 100px 8%;
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-images {
    flex: 1;
    position: relative;
    padding-left: 50px;
    /* Space for the background shape */
    height: 600px;
    display: flex;
    align-items: center;
}

/* Light gray decorative background shape */
.about-images::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    background-color: #f2f2f2;
    z-index: 0;
}

.main-img {
    width: 70%;
    height: 520px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.about-logo-badge {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    padding: 25px;
    border-radius: 4px;
    text-align: center;
    z-index: 3;
    width: 180px;
    box-shadow: 0 10px 40px rgba(0, 38, 81, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 38, 81, 0.05);
}

.about-logo-badge img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.side-img {
    position: absolute;
    right: 30px;
    bottom: 20px;
    width: 200px;
    height: 180px;
    object-fit: cover;
    z-index: 4;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-content {
    flex: 1;
}

.about-content .subtitle {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-content .subtitle::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.about-content h2 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0, 38, 81, 0.05);
}

.about-content .description {
    color: var(--text-light);
    margin-bottom: 35px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.features-grid {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 4px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-item i {
    color: var(--primary-color);
    margin-top: 5px;
    font-size: 1.1rem;
}

.feature-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
}

.btn-read {
    background: var(--primary-color);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
    transition: var(--transition);
}

.btn-read:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1100px) {
    .about-section {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .about-images {
        margin: 0 auto;
    }

    .features-grid {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-content h2 {
        font-size: 2.2rem;
    }

    .experience-badge {
        left: 0;
        width: 120px;
        padding: 20px;
    }

    /* Reduce About Image heights for mobile */
    .about-images {
        height: 350px;
    }

    .main-img {
        height: 320px;
    }

    .side-img {
        width: 150px;
        height: 130px;
        bottom: 10px;
        right: 10px;
    }
}

/* Existing Sections: Services & Stats */
.section {
    padding: 100px 8%;
}

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

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

/* Footer Redesign - Exact Match */
.site-footer {
    background: white;
}

.footer-top {
    padding: 80px 8%;
    text-align: center;
    background-color: #f8fafc;
}

.footer-logo-container {
    max-width: 400px;
    margin: 0 auto 30px;
}

.footer-logo-container img {
    width: 100%;
    height: auto;
}

.footer-top h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-top p {
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-social-links a {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-social-links a:hover {
    transform: translateY(-5px);
    color: var(--accent-color);
}

.footer-bottom {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 8% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 60px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 35px;
    font-weight: 700;
    color: white;
    position: relative;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.6;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    padding-left: 8px;
    opacity: 1;
}

.footer-column ul li i {
    font-size: 0.85rem;
    margin-top: 5px;
    color: white;
}

/* Contact Info specific icons (Envelop, Phone, Location) */
.footer-column ul li .fa-envelope,
.footer-column ul li .fa-phone,
.footer-column ul li .fa-location-dot {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.copyright-bar {
    padding-top: 40px;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.8;
}

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

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

    .footer-top h2 {
        font-size: 1.8rem;
    }

    .footer-top p {
        font-size: 1rem;
    }
}

/* Products Section - Refined Overlap Design */
.products-parallax-stats {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80&w=1920');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 220px;
    /* Increased bottom space for better visual balance */
    z-index: 1;
}

.products-parallax-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    /* Darker overlay for high-end look */
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 0 5%;
    text-align: center;
    color: white;
}

.stat-counter h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.04em;
    color: white;
    /* Maintain white on primary bg */
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-counter p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
    max-width: 200px;
    margin: 0 auto;
}

/* Main Content Area */
.products-main-section {
    background-color: var(--primary-color);
    position: relative;
    z-index: 5;
    padding-bottom: 100px;
}

.products-title-area {
    padding: 0 8%;
    position: relative;
}

.products-overlap-box {
    background-color: var(--primary-color);
    padding: 70px 80px;
    /* Exact requested padding range */
    max-width: 650px;
    width: 100%;
    margin-top: -150px;
    /* Substantial overlap into the parallax section */
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 20;
    left: 0;
    /* Ensures left alignment */
}

.products-overlap-box h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.products-overlap-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    opacity: 0.9;
}

.products-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 80px 8% 0;
    position: relative;
    z-index: 5;
}

.product-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 50px 60px;
    border-radius: 8px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.02);
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.product-card i {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: white;
}

.product-card h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
}

.product-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.8;
    color: white;
}

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

    .products-overlap-box {
        max-width: 90%;
        padding: 60px 50px;
        margin-top: -80px;
        /* Reduced overlap for tablets */
    }
}

@media (max-width: 768px) {
    .products-parallax-stats {
        padding: 60px 0 80px;
        /* Reduced from 140px/160px */
    }

    .stat-counter h2 {
        font-size: 3rem;
        /* Reduced from 5rem */
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Keep 2 columns on mobile for compactness */
        gap: 30px;
        padding-bottom: 0;
    }

    .products-overlap-box {
        margin-top: 0;
        max-width: 100%;
        padding: 40px 8%;
        /* Reduced padding */
        box-shadow: none;
    }

    .products-overlap-box h2 {
        font-size: 2.2rem;
        /* Matches About Us mobile size */
        margin-bottom: 15px;
    }

    .products-cards-grid {
        grid-template-columns: 1fr;
        padding: 30px 8% 0;
        /* Reduced padding */
        gap: 20px;
    }

    .product-card {
        padding: 30px 35px;
        /* Reduced from 50px/60px */
    }
}



@media (max-width: 768px) {
    :root {
        --container-padding: 0 5%;
    }

    .top-bar {
        display: none;
    }

    header {
        position: fixed;
        top: 0;
        background: white;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 15px 5%;
        flex-direction: row;
        /* Keep logo and menu-toggle on same line */
        justify-content: space-between;
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .logo img {
        height: 70px;
        /* Increased from 50px */
    }

    .header-btn {
        display: none;
        /* Hide 'Get a Quote' on mobile to save space */
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background: white;
        color: var(--primary-color);
        border-radius: 6px;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid #eee;
    }

    nav.active {
        display: flex;
    }

    nav a {
        width: 100%;
        padding: 18px 25px;
        color: #333;
        font-size: 1.2rem;
        font-weight: 500;
        border-bottom: 1px solid #f0f0f0;
        text-align: left;
        display: block;
    }

    nav a:last-child {
        border-bottom: none;
    }

    /* Active/Home Link Background on Mobile */
    nav a.active {
        background-color: #555;
        color: white;
    }

    nav a.active::after {
        display: none;
        /* Hide the underline on mobile */
    }

    .hero {
        height: 60vh;
        margin-top: 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: -0.03em;
        text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Effects */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active .stagger-item {
    opacity: 1;
    transform: translateY(0);
}

.reveal.active .stagger-item:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal.active .stagger-item:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal.active .stagger-item:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal.active .stagger-item:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal.active .stagger-item:nth-child(5) {
    transition-delay: 0.5s;
}

.reveal.active .stagger-item:nth-child(6) {
    transition-delay: 0.6s;
}

.reveal.active .stagger-item:nth-child(7) {
    transition-delay: 0.7s;
}


/* Services Section Redesign */
.electronic-services {
    padding: 100px 8%;
    background-color: #f8fafc;
    text-align: center;
}

.services-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-subtitle::before,
.services-subtitle::after {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--accent-color);
}

.electronic-services h2 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.service-card-new {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 38, 81, 0.1);
}

.service-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: #f8fafc;
    /* Subtle fallback background */
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill the container completely, removing gaps */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Service Card Slideshow Enhancements */
.service-img-wrapper.service-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.service-img-wrapper.service-slideshow img.active {
    opacity: 1;
    z-index: 2;
}

/* Specific styling for stickers slideshow images (as requested via inline styles previously) */
#stickers-slideshow img {
    object-fit: contain;
    background-color: white;
}

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

.service-info-new {
    padding: 35px 30px;
}

.service-info-new h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-info-new p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

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

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

    .electronic-services h2 {
        font-size: 2.5rem;
    }

    /* Reduce Service Image height for mobile */
    .service-img-wrapper {
        height: 200px;
    }
}

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

.contact-info-boxes {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.info-box:hover {
    transform: translateX(10px);
}

.info-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: #f0f4f9;
    padding: 15px;
    border-radius: 50%;
    height: 55px;
    width: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-box h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-box p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form-card {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-form-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 38, 81, 0.1);
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Page Hero Section (for About, Products, etc.) */
.page-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Sticky effect on scroll */
    margin-top: 0;
    /* Hero starts at the very top */
    padding-top: 60px;
    /* Offset for content within hero */
}

.about-hero {
    background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80&w=1920');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 38, 81, 0.85);
    /* Dark blue overlay */
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.page-hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.page-hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.breadcrumbs {
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    opacity: 1;
    color: var(--accent-light);
}

.breadcrumbs i {
    font-size: 0.8rem;
    opacity: 0.6;
}

.breadcrumbs span {
    color: white;
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-hero {
        height: 350px;
        margin-top: 0;
        padding-top: 40px;
    }

    .page-hero-content h1 {
        font-size: 2.8rem;
    }

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

/* Interactive About Section Style */
.about-interactive-section {
    padding: 100px 8%;
    background: white;
}

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

.interactive-text h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.interactive-paragraphs p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.interactive-actions {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.phone-link i {
    font-size: 1.2rem;
}

.btn-services-interactive {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-services-interactive:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.interactive-image-slider {
    position: relative;
    width: 100%;
    height: 550px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-wrapper img.active {
    opacity: 1;
}

@media (max-width: 1100px) {
    .interactive-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .interactive-actions {
        justify-content: center;
    }

    .interactive-image-slider {
        height: 450px;
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .interactive-text h2 {
        font-size: 2.2rem;
    }

    .interactive-actions {
        flex-direction: column;
        gap: 20px;
    }

    .phone-link {
        font-size: 1.2rem;
    }

    .interactive-image-slider {
        height: 350px;
    }
}


/* Product Page & Marquee Styles */
.product-hero {
    background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.product-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 38, 81, 0.7);
}

.product-hero .page-hero-content {
    position: relative;
    z-index: 2;
}

.product-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.brands-marquee-section {
    padding: 80px 0;
    background-color: #f8fafc;
    overflow: hidden;
    perspective: 2500px;
    /* Enhanced 3D perspective */
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
    transform-style: preserve-3d;
}

.marquee-row {
    display: flex;
    width: 100%;
    overflow: hidden;
    user-select: none;
    transform-style: preserve-3d;
    /* Create a visible circular ring effect */
    transform: rotateX(8deg);
    padding: 15px 0;
    /* Vertical padding to prevent clipping of tilted circles */
}

.marquee-row.slide-left {
    transform: rotateX(-8deg);
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    gap: 25px;
    min-width: 100%;
    transform-style: preserve-3d;
}

.brand-box {
    width: 140px;
    /* Shorter/Smaller circles */
    height: 140px;
    background: white;

    border-radius: 50% !important;
    /* Force circular shape */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border: 3px solid #f0f4f8;
    /* Visible circle border */
    transition: var(--transition);
    flex-shrink: 0;
    /* Consistent floating animation for circular effect */
    animation: circularFloating 8s ease-in-out infinite alternate;
}

@keyframes circularFloating {
    0% {
        transform: translateY(0) rotate(-3deg) translateZ(0);
    }

    100% {
        transform: translateY(-10px) rotate(3deg) translateZ(20px);
    }
}

.brand-box:hover {
    transform: translateY(-15px) scale(1.1) rotate(0deg) translateZ(50px);
    border-color: var(--accent-color);
    z-index: 100;
}

.brand-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* FORCE ORIGINAL COLORS - Absolutely no grayscale */
    filter: none !important;
    -webkit-filter: grayscale(0%) !important;
    opacity: 1 !important;
    transition: var(--transition);
}

.brand-box:hover img {
    transform: scale(1.05);
}

.slide-right .marquee-content {
    animation: scrollRight 45s linear infinite;
}

.slide-left .marquee-content {
    animation: scrollLeft 45s linear infinite;
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%) translateZ(0);
    }

    100% {
        transform: translateX(0) translateZ(0);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0) translateZ(0);
    }

    100% {
        transform: translateX(-50%) translateZ(0);
    }
}

/* ==========================================================================
   Product Categories Section
   ========================================================================== */
.product-categories {
    padding: 100px 0;
    background: #f8fbff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 50px;
    padding: 0 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.category-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease, transform 0.8s ease;
    border: 1px solid rgba(0, 38, 81, 0.05);
    box-shadow: 0 4px 15px rgba(0, 38, 81, 0.03);
    height: 100%;
    text-decoration: none;
    /* Scroll Reveal Initial State */
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    visibility: hidden;
}

.category-card.reveal-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 38, 81, 0.08);
    background: #ffffff;
    border-color: var(--secondary-color);
}

.category-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon i {
    font-size: 36px;
    color: #0066cc;
    transition: var(--transition);
}

.category-card:hover .category-icon i {
    transform: scale(1.1);
    color: var(--primary-color);
}

.category-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #444;
    line-height: 1.4;
    margin: 0;
    transition: var(--transition);
}

.category-card:hover h3 {
    color: var(--primary-color);
}

.category-card.highlighted {
    background: #f0f0f0;
}

@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 15px;
    }

    .product-categories {
        padding: 60px 0;
    }
}

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

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background: #ffffff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Left: Contact Info */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-logo {
    margin-bottom: 20px;
}

.contact-logo img {
    height: 100px;
    width: auto;
}

.contact-title-area h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-tagline {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item .icon-box {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: #f0f7ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item .icon-box i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.info-item .icon-box-dual {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: fit-content;
}

.info-item .icon-box-dual a {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.info-item .icon-box-dual a:first-child {
    background: #f0f7ff;
}

.info-item .icon-box-dual a:first-child i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.info-item .icon-box-dual a:last-child {
    background: #e8faf0;
}

.info-item .icon-box-dual a:last-child i {
    font-size: 1.3rem;
    color: #25D366;
}

.info-item .icon-box-dual a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.info-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-text p,
.info-text a {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    text-decoration: none;
    transition: var(--transition);
}

.info-text a:hover {
    color: var(--accent-color);
}

/* Right: Contact Form */
.contact-form-column {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 38, 81, 0.08);
    border: 1px solid rgba(0, 38, 81, 0.05);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    padding: 12px 18px;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    background: #f8fbff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 74, 153, 0.1);
}

.btn-submit {
    grid-column: span 2;
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 38, 81, 0.15);
}

/* Map Section */
.location-map {
    width: 100%;
    height: 450px;
    overflow: hidden;
    line-height: 0;
    filter: grayscale(1) invert(0.1) opacity(0.85);
    /* Premium tech look */
    transition: all 0.5s ease;
}

.location-map:hover {
    filter: none;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 576px) {
    .contact-form {
        grid-template-columns: 1fr;
    }

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

    .btn-submit {
        grid-column: span 1;
    }

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

    .contact-form-column {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   Scroll to Top with Progress
   ========================================================================== */
.progress-wrap {
    position: fixed;
    right: 40px;
    bottom: 40px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(0, 38, 81, 0.1);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 400ms linear;
    background: #fff;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    position: absolute;
    font-family: 'Font Awesome 6 Free';
    content: '\f077';
    text-align: center;
    line-height: 50px;
    font-size: 16px;
    color: var(--primary-color);
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    z-index: 1;
    transition: all 400ms linear;
    font-weight: 900;
}

.progress-wrap:hover::after {
    opacity: 0;
}

.progress-wrap::before {
    position: absolute;
    font-family: 'Font Awesome 6 Free';
    content: '\f077';
    text-align: center;
    line-height: 50px;
    font-size: 16px;
    opacity: 0;
    background: var(--primary-color);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    z-index: 2;
    transition: all 400ms linear;
    font-weight: 900;
}

.progress-wrap:hover::before {
    opacity: 1;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: var(--primary-color);
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 400ms linear;
}

@media (max-width: 768px) {
    .progress-wrap {
        right: 20px;
        bottom: 20px;
        height: 45px;
        width: 45px;
    }

    .progress-wrap::after,
    .progress-wrap::before {
        line-height: 45px;
        width: 45px;
        height: 45px;
    }
}