/* Variable Definitions */
:root {
    /* Color Palette */
    --color-primary-sage: #98CA93;
    --color-primary-grass: #98CA93;
    --color-green-dark: #98CA93;

    --color-secondary-white: #F8F9FA;
    --color-secondary-brown: #7C411B;

    --color-text-main: #7C411B;
    --color-text-light: #7C411B;
    --color-white: #ffffff;

    /* Spacing & Layout */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;

    --border-radius: 12px;
    --container-width: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: #F0F7F4;
    min-width: 320px;
    padding-top: 50px;
    /* Compensate for fixed header */
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-primary {
    background-color: #7C411B;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-white);
    color: #7C411B;
    border: 2px solid #7C411B;
    transform: translateY(-2px);
}

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

/* Header */
.main-header {
    background-color: #98CA93;
    /* Light green from design */
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-container {
    /* display: flex;  <-- REMOVED flex here to use Grid in media query or default */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 15px;
    /* Added padding for mobile */
    width: 100%;
}

/* Desktop Header Layout */
@media (min-width: 1281px) {
    .header-container {
        display: flex;
        /* Reverted to flex for space-between */
        justify-content: space-between;
        align-items: center;
        max-width: 98%;
        /* Maximized width to prevent overlap at smaller screens */
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
        /* For absolute centering of nav */
    }

    .main-nav {
        position: absolute;
        left: 58%;
        transform: translateX(-50%);
        width: auto;
        /* Allow it to fit content */
        /* No grid props needed */
    }

    .main-nav ul {
        justify-content: center;
    }

    /* Ensure actions stay on right on desktop */
    .header-actions {
        margin-left: auto;
    }
}

/* Logo Styles */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-circle {
    width: 170px;
    height: 170px;
    background-color: transparent;
    border-radius: 50%;
    /* border: 4px solid #1B5E20; Removed border */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: absolute;
    /* Take out of flow to overlap */
    top: -10px;
    /* Adjusted top to hang better */
    left: 10px;
    /* Slight offset from edge */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 200;
}

@media (max-width: 768px) {
    .logo-circle {
        display: flex;
        transform: scale(0.70);
        transform-origin: top left;
        top: 0;
        left: 5px;
    }

    /* RTL Support for Mobile Logo */
    html[dir="rtl"] .logo-circle {
        left: auto;
        right: 5px;
        transform-origin: top right;
    }


    .brand-image {
        display: none;
    }
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;

}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin-left: 175px;
    padding-top: 0;
}

.brand-image {
    height: 40px;
    width: auto;
    object-fit: contain;
    max-width: none;
}


/* Navigation Styles */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #7C411B;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid transparent;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: white;
    background-color: transparent;
    border: 2px solid transparent;
    text-decoration: none;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: calc(100% - 40px);
}

/* Hide mobile-only items on desktop */
.mobile-only-item {
    display: none !important;
}



/* Special styling for Our Products button - Animated Underline */
.main-nav a[href="#products"]::after {
    display: block !important;
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px;
    width: calc(100% - 40px);
    height: 3px;
    background-color: #7C411B;
    animation: underline-wiggle 3s ease-in-out infinite;
}

.main-nav a[href="#products"]:hover::after {
    background-color: white;
    animation: none;
}

@keyframes underline-wiggle {

    0%,
    85%,
    100% {
        transform: translateX(0);
    }

    87% {
        transform: translateX(-3px);
    }

    89% {
        transform: translateX(3px);
    }

    91% {
        transform: translateX(-3px);
    }

    93% {
        transform: translateX(3px);
    }

    95% {
        transform: translateX(0);
    }
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* Modern Quotation Button */
.btn-quotation,
.btn-generic-action {
    background: linear-gradient(135deg, #7C411B 0%, #5D3616 100%);
    color: var(--color-white);
    padding: 12px 28px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-shadow:
        0 4px 15px rgba(124, 65, 27, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-quotation::before,
.btn-generic-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-quotation:hover::before,
.btn-generic-action:hover::before {
    left: 100%;
}

.btn-quotation:hover,
.btn-generic-action:hover {
    background: linear-gradient(135deg, #5D3616 0%, #7C411B 100%);
    box-shadow:
        0 6px 25px rgba(124, 65, 27, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.02);
}

/* Modern Language Switcher */
.lang-switcher {
    position: relative;
    cursor: pointer;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #7C411B 0%, #5D3616 100%);
    padding: 8px 12px;
    border-radius: 50px;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 4px 15px rgba(124, 65, 27, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.lang-current::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
}

.lang-current:hover::before {
    width: 100%;
}

.lang-current:hover {
    background: linear-gradient(135deg, #5D3616 0%, #7C411B 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 6px 25px rgba(124, 65, 27, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.lang-current span {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.lang-current i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.lang-switcher:hover .lang-current i {
    transform: rotate(180deg);
}

.lang-flag {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-radius: 16px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(124, 65, 27, 0.1);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    overflow: visible;
    /* Changed from hidden to visible to allow outside bridge */
}

.lang-dropdown::before {
    content: '';
    position: absolute;
    top: -30px;
    /* Increased height */
    left: -20px;
    /* Wider hit area */
    right: -20px;
    height: 30px;
    background: transparent;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #7C411B;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(124, 65, 27, 0.08);
    position: relative;
}

.lang-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #7C411B 0%, #5D3616 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.lang-option:hover::before {
    transform: scaleY(1);
}

.lang-option:last-child {
    border-bottom: none;
    border-radius: 0 0 16px 16px;
}

.lang-option:first-child {
    border-radius: 16px 16px 0 0;
}

.lang-option:hover {
    background: linear-gradient(90deg, rgba(124, 65, 27, 0.08) 0%, rgba(124, 65, 27, 0.02) 100%);
    padding-left: 22px;
    color: #5D3616;
}

.menu-toggle {
    display: none;
    background: linear-gradient(135deg, #7C411B 0%, #5D3616 100%);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    /* Circle shape */
    box-shadow: 0 4px 15px rgba(124, 65, 27, 0.2);
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1001;
    /* Ensure above header elements */
}

.menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(124, 65, 27, 0.3);
}

.menu-toggle:active {
    transform: scale(0.95);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: var(--color-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: -1;
}

.hero-text {
    max-width: 600px;
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary-sage);
    margin-bottom: var(--spacing-sm);
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

/* Presentation Section */
.presentation-section {
    padding: var(--spacing-xl) 0;
    background-color: #F0F7F4;
    /* Fallback */
    background: linear-gradient(180deg, #F0F7F4 0%, #D4EADD 100%);
}

.content-box {
    background-color: var(--color-secondary-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.content-box h2 {
    color: var(--color-secondary-brown);
    margin-bottom: var(--spacing-md);
}

.content-box .lead {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

/* Enhanced Presentation Section */
.presentation-content {
    text-align: left;
    padding: var(--spacing-lg);
}

.presentation-content p {
    text-align: justify;
    text-align-last: left;
}

.presentation-content h2.section-title,
.section-title-styled {
    text-align: center;
    font-size: 2.2rem;
    letter-spacing: 2px;
    margin-bottom: 40px;
    position: relative;
    display: block;
    color: var(--color-secondary-brown);
}

.presentation-content h2.section-title::after,
.section-title-styled::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary-sage);
    margin: 15px auto 0;
}

.presentation-intro p {
    font-size: 1.05rem;
    color: #4a4a4a;
    margin-bottom: 1.2rem;
    line-height: 1.8;
    text-align: justify;
    text-align-last: left;
}

.intro-paragraph {
    margin-bottom: 20px;
}

.presentation-product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.pres-product-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(152, 202, 147, 0.3);
}

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

.pres-product-card .card-text {
    font-size: 1.1rem;
    color: var(--color-text-main);
    line-height: 1.4;
    white-space: normal;
    /* Changed from nowrap to prevent overflow */
}

.pres-product-card .card-text .small-desc {
    font-size: 0.85em;
    color: #666;
    display: inline-block;
}

.strengths-box {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(to right, #ffffff, #f9f9f9);
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.strengths-box h3 {
    color: var(--color-secondary-brown);
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(124, 65, 27, 0.1);
    padding-bottom: 10px;
    display: inline-block;
}

.strengths-list {
    list-style: none;
    /* Remove default bullets */
}

.strengths-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text-main);
}

.strengths-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary-sage);
    font-weight: bold;
    font-size: 1.2rem;
}

.closing-text {
    font-style: italic;
    font-weight: 600;
    text-align: center;
    margin-top: 40px;
    color: var(--color-secondary-brown);
    font-size: 1.1rem;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

/* Agricultural Aggregation Section */
.aggregation-section {
    padding: var(--spacing-xl) 0;
    background-color: #F0F7F4;
}

.aggregation-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--color-primary-sage);
    max-width: 1200px;
    margin: 0 auto;
}

.aggregation-card h2 {
    color: var(--color-secondary-brown);
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.aggregation-content p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
    text-align-last: left;
}

.aggregation-content p:last-child {
    margin-bottom: 0;
}

.highlight-text {
    color: var(--color-primary-grass);
    font-weight: 700;
}

.logistics-card {
    margin-top: 30px;
}

.logistics-list {
    margin: 15px 0 25px 25px;
    list-style-type: none;
}

.logistics-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    color: var(--color-text-light);
    font-size: 1.05rem;
}

.logistics-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary-grass);
    font-weight: bold;
}

.logistics-banner-image {
    width: 100%;
    /* height: auto;  Let content determine height */
    margin-top: 50px;
    margin-bottom: 0px;
    display: block;
    /* Ensure block layout */
}

.logistics-banner-image img {
    display: block;
    /* Remove inline-img gap */
    width: 100%;
    height: auto;
    /* Maintain aspect ratio */
    object-fit: cover;
    /* CHANGED to cover for better fill */
    /* max-height removed for full flexibility */
}

/* Action Buttons */
.action-buttons-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    /* Increased separation */
    padding: 60px 0;
    flex-wrap: wrap;
}

.action-btn {
    display: block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    position: relative;
    text-decoration: none;
    backface-visibility: hidden;
    /* Prevent text blur */
    transform: translateZ(0);
    /* Hardware acceleration */
}

.action-btn:hover {
    transform: scale(1.03);
    /* Scale instead of lift to avoid shadow issues */
}

.action-btn img {
    width: 100%;
    height: auto;
    display: block;
}

.btn-text {
    position: absolute;
    top: 50%;
    left: 35%;
    /* Moved further left */
    transform: translate(0, -50%);
    color: #6d4c41;
    /* Brown color from screenshot */
    font-weight: 800;
    font-size: 1.3rem;
    /* Slightly smaller */
    line-height: 1.2;
    text-align: center;
    width: 60%;
    /* Wider container */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    white-space: normal;
    /* Allow text wrapping on multiple lines */
    word-wrap: break-word;
}

/* Certifications Carousel */
.certifications-section {
    background-color: var(--color-secondary-white);
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid #eee;
    overflow: hidden;
    /* Hide overflow */
}

.cert-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.cert-track {
    display: flex;
    width: 3040px;
    /* (160 + 30) * 16 */
    animation: carousel-scroll 30s linear infinite;
    gap: 30px;
    will-change: transform;
}

.cert-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 160px;
    /* Reduced width */
    background: #fff;
    border-radius: 12px;
    padding: 15px 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(152, 202, 147, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

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

    100% {
        transform: translateX(-1520px);
        /* (160 + 30) * 8 */
    }
}

/* Adjust animation speed or logic for responsiveness if needed */
@media (max-width: 768px) {
    .cert-track {
        animation-duration: 15s;
    }
}

/* Products Section */
.products-section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    color: var(--color-secondary-brown);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

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

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        /* Center the single card */
    }
}

/* Gallery Section */
.gallery-section {
    padding: var(--spacing-xl) 0;
    background-color: #F0F7F4;
}

.slider-wrapper {
    width: 100%;
    max-width: 1200px;
    /* Match aggregation card width */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.slider.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
    scroll-snap-type: none;
    /* Disable snap while dragging for smoother feeling */
    scroll-behavior: auto;
}

.slider::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar */
}

.slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
    height: 500px;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Product Flip Cards */
.product-flip-card {
    background-color: transparent;
    width: 100%;
    height: 600px;
    /* Updated height as requested */
    perspective: 1000px;
    /* Remove if you want flat 2d flip */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.product-flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flip-card-front {
    background-color: #fff;
    color: black;
    padding: 0;
    /* Remove padding to let image fill card */
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Cover the entire card face */
    border-radius: 12px;
    margin-bottom: 0;
}


.flip-card-back {
    background-color: var(--color-primary-sage);
    color: white;
    transform: rotateY(180deg);
}

.flip-card-back .card-details {
    text-align: left;
    padding: 0 15px;
    font-size: 0.9rem;
    overflow-y: auto;
    max-height: 100%;
}

html[dir="rtl"] .flip-card-back .card-details {
    text-align: right;
}

html[dir="rtl"] .flip-card-back ul {
    margin-left: 0;
    margin-right: 20px;
}

.flip-card-back h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.flip-card-back h4 {
    color: #e8f5e9;
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
}

.flip-card-back p {
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.flip-card-back ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.flip-card-back li {
    margin-bottom: 3px;
}

/* Logistics Section */
.logistics-section {
    padding: var(--spacing-xl) 0;
    background-color: #f0f7f4;
}

.logistics-content {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.map-placeholder {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    display: inline-block;
    color: var(--color-text-light);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--color-primary-grass);
    margin-bottom: var(--spacing-sm);
}

.google-map iframe {
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Media Section */
.media-section {
    padding: var(--spacing-xl) 0;
    background-color: #F0F7F4;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

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

.video-placeholder {
    background-color: #000;
    height: 180px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    cursor: pointer;
    position: relative;
}

.video-placeholder:hover i {
    transform: scale(1.1);
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    transition: transform 0.2s;
}

.media-item h4 {
    color: var(--color-text-main);
}

/* Footer */
.main-footer {
    background-color: var(--color-secondary-brown);
    color: #d7ccc8;
    /* Light brown/grey text */
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-col h3,
.footer-col h4 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.footer-col.about p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a:hover {
    color: var(--color-primary-sage);
}

.footer-col.contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    font-size: 1.2rem;
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive Navigation Button Sizes */
/* Small screens - 1280px breakpoint */
@media (max-width: 1280px) {
    .main-nav a {
        font-size: 14px;
        font-weight: 700;
    }

    /* Mobile Header Layout */
    .header-container {
        display: flex;
        justify-content: space-between;
    }

    .header-actions {
        order: 3;
        margin-left: auto !important;
        margin-right: 10px;
    }

    .menu-toggle {
        display: block;
        order: 4;
        margin-left: 8px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: linear-gradient(180deg, #98CA93 0%, #88BB83 100%);
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        z-index: 999;
    }

    .main-nav.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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

    .main-nav ul {
        flex-direction: column;
        gap: 16px;
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }

    .main-nav li {
        animation: slideInItem 0.5s ease-out backwards;
    }

    .main-nav li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .main-nav li:nth-child(2) {
        animation-delay: 0.15s;
    }

    .main-nav li:nth-child(3) {
        animation-delay: 0.2s;
    }

    .main-nav li:nth-child(4) {
        animation-delay: 0.25s;
    }

    .main-nav li:nth-child(5) {
        animation-delay: 0.3s;
    }

    @keyframes slideInItem {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }

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

    .main-nav a {
        display: block;
        padding: 14px 20px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        color: #7C411B;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }

    .main-nav a:hover {
        background: #7C411B;
        color: white;
        transform: translateX(5px);
    }

    .main-nav a[href="#products"] {
        background: linear-gradient(135deg, #7C411B 0%, #5D3616 100%);
        color: white;
        box-shadow: 0 4px 12px rgba(124, 65, 27, 0.3);
    }

    .main-nav a[href="#products"]:hover {
        background: linear-gradient(135deg, #5D3616 0%, #7C411B 100%);
        transform: translateX(5px) scale(1.02);
    }

    .main-nav a[href="#products"]::after {
        display: none;
    }

    /* Keep header-actions visible on mobile */
    .header-actions {
        display: flex;
        gap: 12px;
    }

    /* Make buttons smaller on mobile */
    .btn-quotation {
        padding: 12px 24px;
        font-size: 12px;
    }

    .lang-current {
        padding: 6px 10px;
    }

    .lang-flag {
        width: 22px;
        height: 22px;
    }

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

/* Medium screens - between 1281px and 1440px */
@media (min-width: 1281px) and (max-width: 1440px) {
    .main-nav a {
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* Large screens - between 1441px and 1600px */
@media (min-width: 1441px) and (max-width: 1600px) {
    .main-nav a {
        font-size: 14px;
        padding: 11px 18px;
    }
}

/* Extra large screens - 1600px and above */
@media (min-width: 1601px) {
    .main-nav a {
        font-size: 15px;
        padding: 12px 20px;
    }
}

/* Gallery Section - Creative Mosaic Layout */
.gallery-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #F0F7F4 0%, #ffffff 50%, #E8F5E9 100%);
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary-sage), transparent);
}

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

.gallery-subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-style: italic;
    margin-top: 10px;
    opacity: 0.8;
}

.photo-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(152, 202, 147, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    grid-column: span 1;
    grid-row: span 1;
}

/* Mosaic Pattern - Tall and Wide items */
.photo-item.tall {
    grid-row: span 2;
}

.photo-item.wide {
    grid-column: span 2;
}

.photo-item.span-3 {
    grid-column: span 3;
}

.photo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(152, 202, 147, 0.1) 0%,
            transparent 50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.photo-item:hover::before {
    opacity: 1;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1) contrast(1.05);
}

.photo-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25),
        0 0 0 2px var(--color-primary-sage);
    z-index: 10;
}

.photo-item:hover img {
    transform: scale(1.2) rotate(3deg);
    filter: brightness(0.9) contrast(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(124, 65, 27, 0.98) 0%,
            rgba(124, 65, 27, 0.85) 40%,
            rgba(124, 65, 27, 0.3) 70%,
            transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-content {
    color: white;
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.photo-item:hover .photo-content {
    transform: translateY(0);
}

.photo-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.photo-item:hover .photo-icon {
    opacity: 1;
    transform: scale(1);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.photo-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.photo-content p {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(152, 202, 147, 0.3);
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lightbox-close:hover {
    background: var(--color-primary-sage);
    transform: rotate(90deg) scale(1.1);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    text-align: center;
    padding: 15px 30px;
    background: rgba(124, 65, 27, 0.9);
    border-radius: 30px;
    max-width: 80%;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px 15px;
    background: rgba(152, 202, 147, 0.7);
    border-radius: 5px;
    transition: all 0.3s ease;
    user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-primary-sage);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
    .gallery-section {
        padding: 40px 15px;
    }

    .gallery-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .photo-mosaic {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 140px;
        gap: 8px;
        padding: 0 5px;
    }

    .photo-item {
        border-radius: 10px;
        overflow: hidden;
    }

    .photo-item.tall,
    .photo-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Make last item (team photo) full width */
    .photo-item:last-child {
        grid-column: span 2;
        grid-row: span 1;
        height: 180px;
    }

    .photo-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .photo-item .photo-overlay {
        padding: 10px;
    }

    .photo-item .photo-overlay h3 {
        font-size: 0.9rem;
    }

    .photo-item .photo-overlay p {
        font-size: 0.75rem;
        display: none;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 70vh;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 15px 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 35px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .gallery-section {
        padding: 50px 20px;
    }

    .photo-mosaic {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
        gap: 12px;
    }

    .photo-item {
        border-radius: 12px;
        overflow: hidden;
    }

    .photo-item.tall,
    .photo-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Make last item (team photo) span 3 columns */
    .photo-item:last-child {
        grid-column: span 3;
        height: 220px;
    }

    .photo-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .photo-item .photo-overlay h3 {
        font-size: 1rem;
    }

    .photo-item .photo-overlay p {
        font-size: 0.8rem;
    }
}

/* Media & Press Section */
.media-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #f9f9f9 0%, var(--color-white) 100%);
}

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


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

.media-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.media-item h4 {
    padding: 20px;
    text-align: center;
    color: var(--color-secondary-brown);
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(to right, #ffffff, #f9f9f9);
}

/* Responsive adjustments for media section */
@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

/* ======================================
   MODERN PROFESSIONAL FOOTER
   ====================================== */

.modern-footer {
    margin-top: 80px;
    position: relative;
}

/* Footer Top Section - Brown Background */
.footer-top {
    background: linear-gradient(135deg, #7c411b 0%, #8b4513 50%, #7c411b 100%);
    padding: 40px 0;
    position: relative;
}



.footer-top-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr 0.5fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Logo Section */
.footer-logo-section {
    text-align: center;
}

.footer-logo img {
    max-width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.copyright-text {
    color: white;
    font-size: 0.9rem;
    margin: 0;
    opacity: 1;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: capitalize;
    text-align: center;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 0.95rem;
}

.contact-item i {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Social Icons in Footer Top */
.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social-icons .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icons .social-icon:hover {
    background: var(--color-primary-sage);
    transform: translateY(-3px);
}

/* Addresses */
.footer-addresses {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.address-block h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.address-block p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 3px 0;
    line-height: 1.5;
}

/* Round Logo */
.footer-round-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-round-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}

/* Footer Bottom Bar - Green Background */
.footer-bottom-bar {
    background: linear-gradient(90deg, #98ca93 0%, #7fb878 50%, #98ca93 100%);
    padding: 15px 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-left-info,
.footer-center-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.info-item {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.info-separator {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* Language Switcher */
.footer-language-switcher {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary-brown);
}

/* Footer Responsive Design */
@media (max-width: 1200px) {
    .footer-top-content {
        grid-template-columns: 1fr 1.2fr 1.2fr 0.6fr;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .footer-top-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-round-logo {
        display: none;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 30px 0;
    }

    .footer-top-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-contact-info {
        align-items: center;
    }

    .contact-item {
        justify-content: center;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-addresses {
        gap: 20px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }

    .footer-left-info,
    .footer-center-info {
        justify-content: center;
        font-size: 0.85rem;
    }

    .footer-top::after {
        display: none;
    }
}

@media (max-width: 480px) {

    .footer-left-info,
    .footer-center-info {
        flex-direction: column;
        gap: 8px;
    }

    .info-separator {
        display: none;
    }

    .footer-language-switcher {
        justify-content: center;
    }
}




.footer-sticky-wave-image {
    position: absolute;
    bottom: 0px;
    right: 0;
    width: auto;
    max-width: 550px;
    height: auto;
    z-index: 1001;
    pointer-events: none;
}

.footer-sticky-wave-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.footer-sticky-wave-image:hover img {
    transform: scale(1.02);
}


@media (max-width: 1200px) {
    .footer-sticky-wave-image {
        max-width: 480px;
    }
}

@media (max-width: 992px) {
    .footer-sticky-wave-image {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .footer-sticky-wave-image {
        position: absolute;
        bottom: 0px;
        right: 0;
        max-width: 60%;
        margin: 0;
        padding: 0 0px;
    }
}

@media (max-width: 480px) {
    .footer-sticky-wave-image {
        max-width: 320px;

    }
}

/* Quotation Modal Styles */
.quotation-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.quotation-modal.show {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.quotation-content {
    background: linear-gradient(135deg, #98CA93 0%, #a8d9a4 100%);
    margin: 3% auto;
    padding: 30px 25px 25px;
    border-radius: 24px;
    width: 550px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transform: scale(0.9);
    transform-origin: center center;
    opacity: 0;
    transition: transform 0.3s ease-out,
        opacity 0.3s ease-out;
}

.quotation-modal.show .quotation-content {
    transform: scale(1);
    opacity: 1;
}

/* Modal Title */
.quotation-title {
    text-align: center;
    color: #fff;
    font-size: 1.8rem;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: font-size 0.3s ease, margin 0.3s ease;
}

/* Close Button */
.quotation-close {
    float: right;
    font-size: 24px;
    font-weight: bold;
    background: #fff;
    color: #7C411B;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quotation-close:hover {
    background-color: #7C411B;
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}

.quotation-close:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Products List */
.quotation-products {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    transition: gap 0.3s ease, margin-top 0.3s ease;
}

.quotation-item {
    background-color: #fff;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(124, 65, 27, 0.3);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        padding 0.3s ease,
        border-radius 0.3s ease;
}

.quotation-modal.show .quotation-item {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation delays */
.quotation-item:nth-child(1) {
    transition-delay: 0.1s;
}

.quotation-item:nth-child(2) {
    transition-delay: 0.15s;
}

.quotation-item:nth-child(3) {
    transition-delay: 0.2s;
}

.quotation-item:nth-child(4) {
    transition-delay: 0.25s;
}

.quotation-item:nth-child(5) {
    transition-delay: 0.3s;
}

.quotation-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(124, 65, 27, 0.6);
}

.quotation-item.has-quantity {
    border-color: #98CA93;
    background: linear-gradient(135deg, #fff 0%, #f0fdf0 100%);
}

.q-item-image {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid #eee;
    transition: transform 0.3s ease;
}

.quotation-item:hover .q-item-image {
    transform: scale(1.05);
}

.q-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image Filters */
.img-light {
    filter: brightness(1.1);
}



.img-dark {
    filter: brightness(0.6) contrast(1.2);
}

.q-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.q-item-details h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #7C411B;
    font-weight: 800;
}

.q-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.q-btn-minus,
.q-btn-plus {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #98CA93;
    color: #7C411B;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.q-btn-minus:hover,
.q-btn-plus:hover {
    background-color: #7fb878;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.q-btn-minus:active,
.q-btn-plus:active {
    transform: scale(0.95);
}

.q-btn-minus:focus,
.q-btn-plus:focus {
    outline: 2px solid #7C411B;
    outline-offset: 2px;
}

.q-input {
    width: 45px;
    text-align: center;
    border: none;
    font-weight: bold;
    font-size: 1.3rem;
    color: #7C411B;
    background: transparent;
    transition: transform 0.2s ease;
}

.q-input:focus {
    outline: none;
}

.q-input.pulse {
    animation: numberPulse 0.3s ease;
}

@keyframes numberPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
        color: #98CA93;
    }
}

/* Hide spin buttons */
.q-input::-webkit-outer-spin-button,
.q-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.q-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.q-btn-refresh {
    background: none;
    border: none;
    color: #7C411B;
    cursor: pointer;
    font-size: 1.1rem;
    margin-left: auto;
    border: 2px solid #7C411B;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.q-btn-refresh:hover {
    background-color: #7C411B;
    color: #fff;
    transform: rotate(180deg);
}

.q-btn-refresh:active {
    transform: rotate(180deg) scale(0.9);
}

.q-btn-refresh:focus {
    outline: 2px solid #7C411B;
    outline-offset: 2px;
}

/* Action Button */
.quotation-action {
    margin-top: 25px;
    text-align: center;
}

.btn-complete {
    background: linear-gradient(135deg, #7C411B 0%, #5D3616 100%);
    color: #fff;
    border: none;
    padding: 14px 35px;
    font-size: 1.15rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(124, 65, 27, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-complete::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-complete:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #5a2e12, 0 12px 25px rgba(0, 0, 0, 0.4);
}

.btn-complete:hover::before {
    width: 300px;
    height: 300px;
}

.btn-complete:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #5a2e12, 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-complete:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

.btn-complete:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}



/* Full HD and above (1920px × 1080px) - 100% */
@media (min-width: 1920px) {
    .quotation-modal.show .quotation-content {
        transform: scale(1.0);
    }
}

/* HD+ screens (1600px × 900px) - 80% */
@media (max-width: 1919px) and (min-width: 1600px) {
    .quotation-modal.show .quotation-content {
        transform: scale(0.80);
    }
}

/* HD screens (1360px × 768px) - 67% */
@media (max-width: 1599px) and (min-width: 1360px) {
    .quotation-modal.show .quotation-content {
        transform: scale(0.67);
    }
}

/* Laptop screens (1024px - 1359px) - 63% */
@media (max-width: 1359px) and (min-width: 1025px) {
    .quotation-modal.show .quotation-content {
        transform: scale(0.80);
    }
}

/* Tablet screens (769px - 1024px) - 75% */
@media (max-width: 1024px) and (min-width: 769px) {
    .quotation-modal.show .quotation-content {
        transform: scale(0.75);
    }
}


/* Mobile Responsive Styles */
@media (max-width: 768px) and (min-width: 481px) {
    .quotation-modal.show .quotation-content {
        transform: scale(0.80);
    }
}

/* Small Mobile Responsive Styles (341px - 480px) */
@media (max-width: 450px) and (min-width: 320px) {
    .quotation-modal.show .quotation-content {
        transform: scale(0.80);
        width: 95%;
        margin: 10px auto;
        padding: 20px 10px;
    }

    .quotation-item {
        padding: 10px 8px;
        gap: 8px;
    }

    .q-item-image {
        width: 50px;
        height: 50px;
        margin-right: 8px;
    }

    .q-item-details h3 {
        font-size: 0.9rem;
    }

    .q-item-controls {
        gap: 5px;
    }

    .q-btn-minus,
    .q-btn-plus,
    .q-btn-refresh {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .q-input {
        width: 30px;
        font-size: 1rem;
    }
}

/* Extra Small Mobile (≤ 355px) - Fixed Width: 410px */
@media (max-width: 355px) {
    .quotation-content {
        width: 320px;
    }


    .quotation-modal.show .quotation-content {
        transform: scale(0.60);
    }
}

/* Shake animation for errors */
@keyframes shake {

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

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.quotation-content.shake {
    animation: shake 0.5s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .quotation-content {
        padding: 25px 15px 15px;
        max-width: 95%;
    }

    .quotation-title {
        font-size: 1.5rem;
    }

    .q-item-image {
        width: 60px;
        height: 50px;
    }

    .q-item-details h3 {
        font-size: 1rem;
    }

    .q-btn-minus,
    .q-btn-plus,
    .q-btn-refresh {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .q-input {
        width: 35px;
        font-size: 1.1rem;
    }
}

/* ======================================
   CONTACT MODAL STYLES
   ====================================== */

.contact-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.contact-modal.show {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}


.contact-close {
    float: right;
    font-size: 24px;
    font-weight: bold;
    background: #fff;
    color: #7C411B;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
}

.contact-close:hover {
    background-color: #7C411B;
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}

.contact-close:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 35px 30px 30px;
    background: rgba(255, 255, 255, 0.03);
}

.form-row {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

.form-row:first-child {
    grid-template-columns: 1fr 1fr;
}

.form-row:nth-child(3) {
    grid-template-columns: 140px 1fr;
}

/* Phone row with country code */
.form-row.phone-row {
    display: flex;
    gap: 10px;
}

.country-code-select {
    flex: 0 0 140px;
    min-width: 140px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 0.96rem;
    color: #5D3616;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 65, 27, 0.15),
        0 8px 20px rgba(124, 65, 27, 0.2);
    transform: translateY(-2px);
}

.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='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 110px;
    max-height: 180px;
    line-height: 1.5;
}

/* Submit Button */
.form-action {
    margin-top: 8px;
    padding-bottom: 5px;
}

.btn-submit-quote {
    background: linear-gradient(135deg, #7C411B 0%, #9a5524 50%, #7C411B 100%);
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 8px 0 #5a2e12,
        0 10px 25px rgba(0, 0, 0, 0.35),
        0 0 0 2px rgba(255, 255, 255, 0.1);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.btn-submit-quote:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 0 #5a2e12,
        0 14px 30px rgba(0, 0, 0, 0.45),
        0 0 0 2px rgba(255, 255, 255, 0.2);
}

.btn-submit-quote:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #5a2e12, 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Contact Content - New Design */
.contact-content {
    background-image: url('../images/contact-popup-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 1190px;
    max-width: 95%;
    height: 456px;
    border-radius: 20px;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    /* Align form to right */
    align-items: center;
    /* Vertically center form */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: none;
    /* Reset old styles */
    margin: 3% auto;
    position: relative;
}

.contact-form {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    background: transparent;
    /* Text/inputs directly on bg image */
}

/* Mobile Responsiveness for Contact */
@media (max-width: 768px) {
    .contact-content {
        width: 95%;
        height: auto;
        min-height: auto;
        flex-direction: column;
        justify-content: center;
        background-image: none !important;
        background: linear-gradient(135deg, #A8D5BA 0%, #8FCB92 100%) !important;
        padding: 25px 20px;
        border-radius: 20px;
        margin: 20px auto;
    }

    .contact-form {
        width: 100%;
        padding: 0;
        background: transparent;
        border-radius: 0;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .contact-form .form-row.phone-row {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-form .form-row.phone-row .country-code-select {
        flex: 1 1 120px;
        min-width: 120px;
    }

    .contact-form .form-row.phone-row input[type="tel"] {
        flex: 2 1 150px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px;
        /* Prevents zoom on iOS */
        padding: 14px 18px;
    }

    .contact-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .contact-send-btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* Small Mobile (355px - 480px) */
@media (max-width: 480px) and (min-width: 356px) {
    .contact-content {
        width: 98%;
        padding: 20px 15px;
        margin: 10px auto;
    }

    .contact-form .form-row.phone-row {
        flex-direction: column;
    }

    .contact-form .form-row.phone-row .country-code-select,
    .contact-form .form-row.phone-row input[type="tel"] {
        width: 100%;
        flex: 1 1 100%;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 12px 14px;
        font-size: 15px;
        border-radius: 20px;
    }

    .contact-send-btn {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .contact-close {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
}

/* Extra Small Mobile (≤ 355px) */
@media (max-width: 355px) {
    .contact-content {
        width: 100%;
        padding: 15px 10px;
        margin: 5px;
        border-radius: 15px;
    }

    .contact-form .form-row {
        gap: 8px;
    }

    .contact-form .form-row.phone-row {
        flex-direction: column;
    }

    .contact-form .form-row.phone-row .country-code-select,
    .contact-form .form-row.phone-row input[type="tel"] {
        width: 100%;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 18px;
    }

    .contact-form textarea {
        min-height: 80px;
    }

    .contact-send-btn {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .contact-close {
        top: 5px;
        right: 5px;
        width: 26px;
        height: 26px;
        font-size: 16px;
    }
}

/* Fix for Contact Us Form Layout (Full Width Inputs) */
#main-contact-form .form-row,
#aggregation-form .form-row {
    grid-template-columns: 1fr !important;
}

/* Ensure Contact Send Button is Styled (Unified) */
.contact-send-btn {
    background: linear-gradient(135deg, #7C411B 0%, #9a5524 50%, #7C411B 100%);
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(93, 54, 22, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 100%;
    margin-top: 15px;
    text-transform: uppercase;
}

.contact-send-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 0 #5a2e12,
        0 14px 30px rgba(0, 0, 0, 0.45);
}

.contact-send-btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #5a2e12, 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ------------------------------------------------------------------------- */
/* Quotation Mode Override (Part 2 of Quote) */
/* ------------------------------------------------------------------------- */
.contact-content.quotation-mode {
    background-image: none;
    background: linear-gradient(135deg, #A8D5BA 0%, #8FCB92 100%);
    width: 500px;
    height: auto;
    min-height: auto;
    display: block;
    padding: 25px;
    justify-content: center;
    position: relative;
}

.contact-content.quotation-mode .contact-form {
    width: 100%;
    padding: 0;
    background: transparent;
}

.contact-content.quotation-mode .contact-close {
    color: #fff;
    background: rgba(124, 65, 27, 0.8);
    z-index: 100;
    pointer-events: auto;
    cursor: pointer;
}

.contact-content.quotation-mode .contact-close:hover {
    background: rgba(124, 65, 27, 1);
}

/* Title styling for quotation mode */
.contact-content.quotation-mode .form-title-mobile {
    color: #5D3616;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: center;
}

/* Form fields styling for quotation mode */
.contact-content.quotation-mode input,
.contact-content.quotation-mode select,
.contact-content.quotation-mode textarea {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 25px;
    padding: 12px 18px;
    font-size: 0.95rem;
    color: #5D3616;
    margin-bottom: 10px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-content.quotation-mode input:focus,
.contact-content.quotation-mode select:focus,
.contact-content.quotation-mode textarea:focus {
    outline: none;
    box-shadow: 0 4px 15px rgba(93, 54, 22, 0.15);
    background: #fff;
}

.contact-content.quotation-mode input::placeholder,
.contact-content.quotation-mode textarea::placeholder {
    color: #888;
}

.contact-content.quotation-mode select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%235D3616%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 10px auto;
}

.contact-content.quotation-mode .form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.contact-content.quotation-mode .form-row input,
.contact-content.quotation-mode .form-row select {
    margin-bottom: 0;
}

.contact-content.quotation-mode textarea {
    border-radius: 15px;
    min-height: 100px;
    resize: vertical;
}




/* ------------------------------------------------------------------------- */
/* Notification System */
/* ------------------------------------------------------------------------- */
.notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 90%;
    max-width: 400px;
    pointer-events: none;
}

.notification-toast {
    background: #fff;
    color: #333;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    pointer-events: auto;
    animation: slideDownFade 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    position: relative;
    overflow: hidden;
    border-left: 4px solid #ddd;
}

.notification-toast.hiding {
    animation: fadeOutScale 0.3s ease forwards;
}

.notification-success {
    border-left-color: #4CAF50;
    background: #f1f8f1;
}

.notification-error {
    border-left-color: #f44336;
    background: #fdf2f2;
}

.notification-info {
    border-left-color: #2196F3;
    background: #f0f7ff;
}

.notification-warning {
    border-left-color: #FF9800;
    background: #fff8eb;
}

.notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    margin-top: 2px;
}

.notification-success .notification-icon {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.15);
}

.notification-error .notification-icon {
    color: #f44336;
    background: rgba(244, 67, 54, 0.15);
}

.notification-info .notification-icon {
    color: #2196F3;
    background: rgba(33, 150, 243, 0.15);
}

.notification-warning .notification-icon {
    color: #FF9800;
    background: rgba(255, 152, 0, 0.15);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #2d3748;
}

.notification-message {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.4;
}

.notification-close {
    background: transparent;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    font-size: 18px;
    padding: 2px;
    line-height: 1;
    transition: color 0.2s;
    margin-top: 2px;
}

.notification-close:hover {
    color: #4a5568;
}

@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeOutScale {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

@media (max-width: 480px) {
    .notification-container {
        width: 95%;
        top: 10px;
    }

    .notification-toast {
        padding: 14px 16px;
    }
}