/* ==========================================================================
   Base Styles
   ========================================================================== */
:root {
    --primary-color: #d17b13;
    /* Main orange color */
    --primary-dark: #a85f0a;
    --secondary-color: #444444;
    /* Dark gray */
    --light-gray: #eeeeee;
    --medium-gray: #999999;
    --dark-gray: #333333;
    --white: #ffffff;
    --black: #000000;
    --text-color: #444444;
    --text-light: #666666;
    --border-radius: 4px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    z-index: 10001;
    border-radius: var(--border-radius);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 20px;
    outline: 3px solid var(--primary-dark);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container .logo {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

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

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
}

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

.nav-links a:not(.btn):hover {
    color: var(--primary-color);
}

.nav-links a.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.social-icon a {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.social-icon a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.42) 100%),
        linear-gradient(135deg, rgba(209, 123, 19, 0.07) 0%, transparent 50%);
    z-index: 0;
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        padding-top: 110px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 100px;
        min-height: 520px;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease-out 0.2s, transform 0.7s ease-out 0.2s;
}

.hero-section.loaded .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-overline {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 14px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 400;
}

.hero-accent {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-hero-cta {
    box-shadow: 0 4px 20px rgba(209, 123, 19, 0.4);
}

.btn-hero-cta:hover {
    box-shadow: 0 6px 28px rgba(209, 123, 19, 0.5);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    width: 100%;
}

/* 1. Visual hook: subtle gradient + accent line */
.about-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8e8e8 50%, var(--light-gray) 100%);
    z-index: 2;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.about-section.in-view .about-content {
    opacity: 1;
    transform: translateY(0);
}

.about-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.about-headline {
    font-size: 2.25rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
    line-height: 1.25;
}

.about-accent {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    margin-bottom: 16px;
}

.about-tagline {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.about-text {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.75;
}

/* 4. Proof line */
.about-proof {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 28px;
}

.about-proof i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* 2 & 3. Image: overlap into content, card look, light overlay */
.about-image-full {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 40px 40px 20px;
    margin-left: -30px;
    z-index: 1;
}

.about-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out 0.15s, transform 0.7s ease-out 0.15s;
}

.about-section.in-view .about-image-wrap {
    opacity: 1;
    transform: translateY(0);
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(209, 123, 19, 0.06) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.about-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive */
@media (max-width: 992px) {
    .about-section {
        height: auto;
        min-height: auto;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding: 40px 24px;
    }

    .about-content,
    .about-image-wrap {
        opacity: 1;
        transform: none;
    }

    .about-image-full {
        height: 380px;
        padding: 0 24px 40px;
        margin-left: 0;
    }

    .about-image-wrap {
        min-height: 340px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }

    .about-headline {
        font-size: 1.85rem;
    }
}

@media (max-width: 576px) {
    .about-content {
        padding: 32px 20px;
    }

    .about-headline {
        font-size: 1.6rem;
    }

    .about-image-full {
        height: 320px;
        padding: 0 20px 32px;
    }

    .about-image-wrap {
        min-height: 280px;
    }
}

/* ==========================================================================
   Products / Services Section
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, #fafafa 50%, var(--white) 100%);
}

.section-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Rounded Images */
.rounded-img {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

/* Single product block: card feel + accent + scroll-in */
.single-product-section {
    margin-bottom: 60px;
}

.single-product-container {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06), 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.services-section.in-view .single-product-container {
    opacity: 1;
    transform: translateY(0);
}

.single-product-image {
    flex: 1;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease-out 0.1s, transform 0.6s ease-out 0.1s;
}

.services-section.in-view .single-product-image {
    opacity: 1;
    transform: translateX(0);
}

.single-product-image img {
    width: 100%;
    max-width: 400px;
    height: 400px;
}

.single-product-content {
    flex: 1;
}

.single-product-content h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.product-accent {
    display: block;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    margin-bottom: 14px;
}

.product-benefit {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.single-product-content .single-product-text,
.single-product-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Second Division - Two Column Layout */
.dual-products-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.dual-product-card {
    background-color: var(--light-gray);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

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

.dual-product-image {
    margin-bottom: 25px;
}

.dual-product-image img {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.dual-product-content h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.dual-product-content p {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .single-product-container {
        flex-direction: column;
        padding: 40px 30px;
    }

    .single-product-container,
    .single-product-image {
        opacity: 1;
        transform: none;
    }

    .single-product-image img {
        max-width: 300px;
        height: 300px;
    }

    .dual-products-section {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .single-product-container {
        padding: 30px 20px;
    }

    .single-product-image img {
        max-width: 250px;
        height: 250px;
    }

    .dual-product-image img {
        width: 180px;
        height: 180px;
    }
}

/* Distributors Section */
.distributors-section {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.distributors-heading {
    text-align: center;
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
    position: relative;
}

.distributors-heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.distributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.distributor-card {
    background: var(--white);
    border-radius: 12px;
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.35s ease, border-color 0.35s ease;
    opacity: 0;
    transform: translateY(20px);
}

.services-section.in-view .distributor-card:nth-child(1) { transition-delay: 0.1s; }
.services-section.in-view .distributor-card:nth-child(2) { transition-delay: 0.2s; }

.services-section.in-view .distributor-card {
    opacity: 1;
    transform: translateY(0);
}

.distributor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
    border-color: rgba(209, 123, 19, 0.2);
    transition-delay: 0s;
}

.distributor-card a {
    display: block;
    color: inherit;
}

.distributor-card a:hover {
    color: inherit;
}

.distributor-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
}

.distributor-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.distributor-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.distributor-card:has(.distributor-card-actions) > a p {
    margin-bottom: 0;
}

.distributor-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.distributor-card-actions .btn {
    min-width: 140px;
}

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

    .distributor-card {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Partners Section
   ========================================================================== */
.partners-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--light-gray) 0%, #e6e6e6 50%, var(--light-gray) 100%);
}

.partners-section-header .section-label {
    margin-bottom: 10px;
}

.partners-accent {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    margin: 0 auto 24px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    background-color: var(--white);
    padding: 28px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.35s ease, border-color 0.35s ease;
}

.partners-section.in-view .partner-logo:nth-child(1) { transition-delay: 0.05s; }
.partners-section.in-view .partner-logo:nth-child(2) { transition-delay: 0.12s; }
.partners-section.in-view .partner-logo:nth-child(3) { transition-delay: 0.19s; }
.partners-section.in-view .partner-logo:nth-child(4) { transition-delay: 0.26s; }

.partners-section.in-view .partner-logo {
    opacity: 1;
    transform: translateY(0);
}

.partner-logo:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 6px 14px rgba(0, 0, 0, 0.06);
    border-color: rgba(209, 123, 19, 0.25);
    transition-delay: 0s;
}

.partner-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: inherit;
}

.partner-logo a:hover {
    color: inherit;
}

.partner-logo img {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .partner-logo {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Clients Section
   ========================================================================== */
.clients-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, #f5f5f5 50%, var(--white) 100%);
}

.clients-section-header .section-label {
    margin-bottom: 10px;
}

.clients-accent {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    margin: 0 auto 24px;
}

.clients-marquee {
    overflow: hidden;
    position: relative;
    margin: 50px 0;
}

.clients-track {
    display: flex;
    gap: 30px;
    width: calc(250px * 20);
}

@media (prefers-reduced-motion: no-preference) {
    .clients-track {
        animation: scroll 30s linear infinite;
    }
}

@media (prefers-reduced-motion: reduce) {
    .clients-track {
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
}

.client-logo {
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.client-logo:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    border-color: rgba(209, 123, 19, 0.2);
}

.client-logo img {
    max-height: 100%;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: var(--transition);
}

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

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

    100% {
        transform: translateX(calc(-250px * 10));
    }
}

.testimonial {
    background-color: var(--white);
    padding: 48px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.clients-section.in-view .testimonial {
    opacity: 1;
    transform: translateY(0);
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial .client-name {
    font-weight: 700;
    color: var(--primary-color);
}

.stars {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .clients-section .testimonial {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--light-gray) 0%, #e6e6e6 50%, var(--light-gray) 100%);
}

.gallery-section-header .section-label {
    margin-bottom: 10px;
}

.gallery-accent {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    margin: 0 auto 24px;
}

.gallery-events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-bottom: 0;
}

.gallery-event-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.gallery-section.in-view .gallery-event-card-wrap:nth-child(1) { transition-delay: 0.05s; }
.gallery-section.in-view .gallery-event-card-wrap:nth-child(2) { transition-delay: 0.12s; }
.gallery-section.in-view .gallery-event-card-wrap:nth-child(3) { transition-delay: 0.19s; }

.gallery-section.in-view .gallery-event-card-wrap {
    opacity: 1;
    transform: translateY(0);
}

.gallery-event-card {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 65%;
    border: none;
    border-radius: 12px;
    background-color: var(--light-gray);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.gallery-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.gallery-event-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-event-caption {
    margin: 14px 0 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: center;
    line-height: 1.35;
}

/* Gallery modal (lightbox) */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    padding: 60px 80px;
}

.gallery-modal[hidden] {
    display: none !important;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.gallery-modal-close:hover {
    background: var(--primary-color);
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.gallery-modal-prev {
    left: 24px;
}

.gallery-modal-next {
    right: 24px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: var(--primary-color);
}

.gallery-modal-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gallery-modal-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .gallery-modal {
        padding: 50px 16px 70px;
    }

    .gallery-modal-prev {
        left: 12px;
    }

    .gallery-modal-next {
        right: 12px;
    }

    .gallery-modal-close {
        top: 12px;
        right: 12px;
    }
}

.gallery-grid--empty {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-empty {
    color: var(--text-light);
    font-size: 1.05rem;
    margin: 0;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.35s ease, border-color 0.35s ease;
}

.gallery-section.in-view .gallery-item:nth-child(1) { transition-delay: 0.05s; }
.gallery-section.in-view .gallery-item:nth-child(2) { transition-delay: 0.12s; }
.gallery-section.in-view .gallery-item:nth-child(3) { transition-delay: 0.19s; }
.gallery-section.in-view .gallery-item:nth-child(4) { transition-delay: 0.26s; }

.gallery-section.in-view .gallery-item {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 6px 14px rgba(0, 0, 0, 0.06);
    border-color: rgba(209, 123, 19, 0.2);
    transition-delay: 0s;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .gallery-item {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, #fafafa 50%, var(--white) 100%);
}

.contact-section-header .section-label {
    margin-bottom: 10px;
}

.contact-accent {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    margin: 0 auto 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.contact-section.in-view .contact-grid {
    opacity: 1;
    transform: translateY(0);
}

.contact-map h2,
.contact-map h3,
.contact-form h2,
.contact-form h3 {
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.contact-map,
.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Open Sans', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(209, 123, 19, 0.2);
}

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

@media (max-width: 768px) {
    .contact-section .contact-grid {
        opacity: 1;
        transform: none;
    }

    .contact-map,
    .contact-form {
        padding: 28px 24px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background: linear-gradient(180deg, var(--secondary-color) 0%, #3a3a3a 50%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 70px 0 0;
    border-top: 4px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    padding-top: 10px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

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

.footer-links a {
    color: #bbb;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #bbb;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    color: #bbb;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

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

    .about-image {
        order: -1;
    }

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 110px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 110px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

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

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

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

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

    .testimonial {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .logo-container .logo {
        height: 60px;
        width: auto;
    }

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

    .hero-content h2 {
        font-size: 1.5rem;
    }

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

    .section-header h2 {
        font-size: 1.8rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-social {
        flex-direction: column;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Modify your existing section styles */
.services-section,
.products-section,
.partners-section,
.clients-section,
.gallery-section,
.contact-section {
    scroll-margin-top: 100px;
    padding-top: 50px;
}

@media (max-width: 768px) {
    .services-section,
    .products-section,
    .partners-section,
    .clients-section,
    .gallery-section,
    .contact-section {
        scroll-margin-top: 80px;
        padding-top: 30px;
    }
}