/* ==========================================
   Industrial Refined Design System
   Masdar Al-Adawat - Main Sections
   ========================================== */

/* Ensure no margin at top */
html, body {
    margin: 0;
    padding: 0;
}

/* Base already defined in header.css */

/* ==========================================
   Section Base Styles
   ========================================== */

section {
    padding: var(--section-padding) 2rem;
    position: relative;
    overflow: hidden;
}

/* Section background patterns */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image:
        linear-gradient(30deg, var(--accent-primary) 1px, transparent 1px),
        linear-gradient(-30deg, var(--accent-primary) 1px, transparent 1px);
    background-size: 60px 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header h1,
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--accent-primary);
    margin: 1.5rem auto;
    border-radius: 2px;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.5;
}

.section-divider::before {
    left: -16px;
}

.section-divider::after {
    right: -16px;
}

/* ==========================================
   Hero Section
   ========================================== */

#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    max-height: none;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide img,
.hero-slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.hero-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(13, 13, 13, 0.92) 0%, rgba(13, 13, 13, 0.75) 50%, rgba(13, 13, 13, 0.6) 100%),
        radial-gradient(ellipse at 30% 20%, rgba(212, 165, 116, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem 2rem;
    z-index: 2;
}

.hero-content {
    max-width: 1000px;
}

.hero-content h1,
.hero-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: none;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-shadow: none;
}

/* Hero Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content h1,
.hero-content h2,
.hero-content p,
.hero-cta {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-content h1,
.hero-content h2 {
    animation-delay: 0.2s;
}

.hero-content p {
    animation-delay: 0.4s;
}

.hero-cta {
    animation-delay: 0.6s;
    display: inline-block;
}

.hero-cta {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #B8956A 100%);
    color: var(--bg-primary);
    padding: 1rem 2.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.35);
    transition: all var(--transition-bounce);
}

.hero-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-primary) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 45px rgba(212, 165, 116, 0.45);
}

/* Hero Navigation */
.hero-slider-nav {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.hero-dots {
    display: flex;
    gap: 0.75rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all var(--transition-bounce);
    border: 2px solid transparent;
    padding: 0;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.15);
}

.hero-dot.active {
    background: var(--accent-primary);
    transform: scale(1.25);
    border-color: rgba(212, 165, 116, 0.5);
    box-shadow: 0 0 20px var(--accent-glow);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
}

.hero-nav:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
}

.hero-nav.prev {
    left: 2rem;
}

.hero-nav.next {
    right: 2rem;
}

/* ==========================================
   About Section
   ========================================== */

#about {
    background: var(--bg-secondary);
}

.about-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    opacity: 0.3;
    z-index: 0;
}

.about-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat-card {
    background: var(--bg-tertiary);
    padding: 1.75rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-primary);
}

.stat-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.stat-card h3 {
    font-family: var(--font-mono);
    font-size: 2.25rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-card h3.counter {
    display: inline-block;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-content h3 {
    font-size: 1.75rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.about-highlights {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.about-highlights h4 {
    color: var(--accent-primary);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.about-highlights ul {
    list-style: none;
}

.about-highlights li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.about-highlights li i {
    color: var(--accent-primary);
    font-size: 0.75rem;
}

/* ==========================================
   Services Section
   ========================================== */

#services,
#products_range {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

#services .section-header h2,
#services .section-header p,
#products_range .section-header h2,
#products_range .section-header p {
    color: var(--text-primary);
}

.services-grid,
.products-range-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card,
.product-range-card {
    background: rgba(37, 37, 37, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.75rem 2.5rem;
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before,
.product-range-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover,
.product-range-card:hover {
    transform: translateY(-10px);
    background: rgba(37, 37, 37, 0.9);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--accent-subtle);
}

.service-card:hover::before,
.product-range-card:hover::before {
    opacity: 1;
}

.service-icon,
.product-range-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #B8956A 100%);
    color: var(--bg-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    font-size: 2rem;
    transition: all var(--transition-bounce);
    position: relative;
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.3);
}

.service-card:hover .service-icon,
.product-range-card:hover .product-range-icon {
    transform: rotateY(360deg) scale(1.05);
    box-shadow: 0 12px 30px rgba(212, 165, 116, 0.5);
}

.service-card h3,
.product-range-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.service-card p,
.product-range-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-card:hover .service-icon i,
.product-range-card:hover .product-range-icon i {
    animation: spin 0.8s ease-in-out;
}

/* ==========================================
   Products Section
   ========================================== */

#products {
    background: var(--bg-primary);
}

.products-carousel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.products-carousel-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.products-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.products-carousel-controls {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.products-nav.prev-mobile,
.products-nav.next-mobile {
    display: none;
}

.products-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.products-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-nav {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #B8956A 100%);
    border: none;
    color: var(--bg-primary);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-bounce);
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.35);
    z-index: 10;
    flex-shrink: 0;
}

.products-nav:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.5);
}

.products-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.products-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-subtle);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    padding: 0;
}

.products-dot:hover {
    background: var(--text-secondary);
    transform: scale(1.2);
}

.products-dot.active {
    background: var(--accent-primary);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--accent-glow);
}

.products-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 480px;
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg), 0 0 30px var(--accent-subtle);
}

.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, var(--bg-secondary));
}

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

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

.product-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.product-info h3 {
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    line-height: 1.4;
    height: auto;
    overflow: visible;
    display: block;
    -webkit-line-clamp: unset;
}

.product-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-price {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.product-price span:first-child {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-primary);
    font-family: var(--font-mono);
}

.view-btn {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    white-space: nowrap;
    font-weight: 600;
}

.view-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* ==========================================
   Partners Section
   ========================================== */

#partners {
    background: var(--bg-secondary);
}

.partners-carousel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.partners-carousel-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.partners-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.partners-carousel-controls {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.partners-nav.prev-mobile,
.partners-nav.next-mobile {
    display: none;
}

.partners-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.partners-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.partners-nav {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #B8956A 100%);
    border: none;
    color: var(--bg-primary);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-bounce);
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.35);
    z-index: 10;
    flex-shrink: 0;
}

.partners-nav:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.5);
}

.partners-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.partners-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-subtle);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    padding: 0;
}

.partners-dot:hover {
    background: var(--text-secondary);
    transform: scale(1.2);
}

.partners-dot.active {
    background: var(--accent-primary);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--accent-glow);
}

.partners-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.partner-card {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    height: 360px;
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    justify-content: flex-start;
}

.partner-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-subtle);
}

.partner-logo {
    width: 160px;
    height: 100px;
    margin: 0 auto 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%) brightness(0.9);
    transition: all var(--transition-base);
}

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

.partner-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    line-height: 1.3;
    height: auto;
    overflow: visible;
    display: block;
    -webkit-line-clamp: unset;
}

.partner-card p {
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
    flex-grow: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    height: auto;
}

/* ==========================================
   Certificates Section
   ========================================== */

#certificates {
    background: var(--bg-primary);
}

.certificates-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.certificate-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    border: 1px solid var(--border-subtle);
}

.certificate-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg), 0 0 30px var(--accent-subtle);
}

.certificate-card::before {
    content: '\F3B9';
    font-family: "bootstrap-icons";
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(13, 13, 13, 0.8);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    transition: all var(--transition-base);
    z-index: 2;
    backdrop-filter: blur(5px);
}

.certificate-card:hover::before {
    opacity: 1;
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.certificate-card .cert-image-wrapper {
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.certificate-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition-smooth);
}

.certificate-card:hover img {
    transform: scale(1.03);
}

.certificate-card h4 {
    padding: 1.25rem;
    text-align: center;
    color: var(--text-primary);
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    border-top: 1px solid var(--border-subtle);
}

/* Certificate Lightbox */
.cert-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.cert-lightbox.active {
    display: flex;
}

.cert-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-subtle);
}

.cert-lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.cert-lightbox-close:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: scale(1.1);
}

/* ==========================================
   Guarantee Section
   ========================================== */

#guarantee {
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-align: center;
    padding-top: 0;
}

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

.guarantee-icon {
    font-size: 4.5rem;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

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

.guarantee-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.guarantee-content p {
    font-size: 1.7rem;
    opacity: 0.9;
    line-height: 1.85;
    color: var(--accent-primary);
    font-weight: 900;
    max-width: 650px;
    margin: 0;
}

.guarantee-text-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.guarantee-line {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
    position: relative;
}

.guarantee-line::before,
.guarantee-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(212, 165, 116, 0.6);
}

.guarantee-line.left::before {
    left: 0;
}

.guarantee-line.left::after {
    left: 50%;
}

.guarantee-line.right::before {
    right: 50%;
}

.guarantee-line.right::after {
    right: 0;
}

.warranty-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #B8956A 100%);
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    margin-top: 2.5rem;
    font-weight: 700;
    color: var(--bg-primary);
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 35px rgba(212, 165, 116, 0.4);
    transition: all var(--transition-bounce);
}

.warranty-badge:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 45px rgba(212, 165, 116, 0.5);
}

/* ==========================================
   Gallery Section
   ========================================== */

#gallery {
    background: var(--bg-primary);
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent-primary);
    border-radius: 16px;
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 2;
    pointer-events: none;
}

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

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.85) 0%, rgba(13, 13, 13, 0.6) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
    padding: 1rem;
    z-index: 1;
}

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

.gallery-overlay i {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

.gallery-overlay h4 {
    color: var(--text-primary);
    font-size: 1.15rem;
    text-align: center;
    margin: 0;
    font-weight: 600;
}

/* ==========================================
   Why Us Section
   ========================================== */

#why-us {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.why-us-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.why-us-card {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    transition: all var(--transition-base);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.why-us-card:hover {
    background: rgba(37, 37, 37, 0.9);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md), 0 0 25px var(--accent-subtle);
    border-color: var(--accent-primary);
}

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

.why-us-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-primary), #B8956A);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0;
    transition: all var(--transition-bounce);
}

.why-us-card:hover .why-us-icon {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.4);
}

.why-us-content {
    flex-grow: 1;
}

.why-us-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.why-us-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================
   Contact Section
   ========================================== */

#contact {
    background: var(--bg-secondary);
}

.contact-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info-column {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
}

.contact-info-column h3 {
    color: var(--accent-primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-subtle);
    position: relative;
}

.contact-info-column h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-primary);
}

.contact-info h3 {
    color: var(--accent-primary);
    margin-bottom: 1.75rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #B8956A 100%);
    color: var(--bg-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-map-full {
    grid-column: 1 / -1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
    width: 100%;
    position: relative;
    border: 1px solid var(--border-subtle);
}

.contact-map-full::before {
    content: "";
    display: block;
    padding-bottom: 45%;
    width: 100%;
}

.contact-map-full iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    border: none !important;
    display: block;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: none;
}

/* ==========================================
   Responsive Styles
   ========================================== */

@media (max-width: 1200px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info-column {
        padding: 2rem;
    }

    .about-image img {
        height: 450px;
    }

    .hero-nav.prev {
        left: 1rem;
    }

    .hero-nav.next {
        right: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    section {
        padding: 60px 1rem;
    }

    #hero {
        min-height: 600px;
        max-height: 700px;
    }

    .hero-nav {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .hero-nav.prev {
        left: 0.5rem;
    }

    .hero-nav.next {
        right: 0.5rem;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .hero-content p {
        font-size: clamp(0.95rem, 3.5vw, 1.15rem);
        margin-bottom: 1.75rem;
    }

    .hero-cta {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }

    .hero-dots {
        bottom: 2rem;
    }

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

    .products-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-overlay {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    /* Products Carousel Mobile */
    .products-carousel-wrapper {
        gap: 1rem;
    }

    .products-carousel-container .products-nav {
        display: none;
    }

    .products-carousel-controls {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-top: 0.5rem;
    }

    .products-nav.prev-mobile,
    .products-nav.next-mobile {
        display: flex;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .products-carousel {
        width: 100%;
    }

    .products-track {
        gap: 1rem;
    }

    .products-dots {
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .products-dot {
        width: 8px;
        height: 8px;
    }

    /* Partners Carousel Mobile */
    .partners-carousel-wrapper {
        gap: 1rem;
    }

    .partners-carousel-container .partners-nav {
        display: none;
    }

    .partners-carousel-controls {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-top: 0.5rem;
    }

    .partners-nav.prev-mobile,
    .partners-nav.next-mobile {
        display: flex;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .partners-carousel {
        width: 100%;
    }

    .partners-track {
        gap: 1rem;
    }

    .partners-dots {
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .partners-dot {
        width: 8px;
        height: 8px;
    }

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

    .certificate-card .cert-image-wrapper {
        height: 320px;
    }

    .cert-lightbox {
        padding: 1rem;
    }

    .contact-info-column {
        padding: 1.5rem;
    }

    .contact-info-column h3 {
        font-size: 1.3rem;
    }

    .contact-map-full {
        width: 100%;
        border-radius: 12px;
    }

    .contact-map-full::before {
        padding-bottom: 60%;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 50px;
    }

    .products-nav {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .products-dots {
        gap: 0.4rem;
    }

    .products-dot {
        width: 8px;
        height: 8px;
    }

    .product-card {
        min-width: 260px;
        max-width: 260px;
    }

    .partners-nav {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .partners-dots {
        gap: 0.4rem;
    }

    .partners-dot {
        width: 8px;
        height: 8px;
    }

    .partner-card {
        min-width: 260px;
        max-width: 260px;
    }

    .contact-info-column {
        padding: 1.25rem;
    }

    .contact-info-column h3 {
        font-size: 1.15rem;
    }

    .contact-map-full {
        width: 100%;
        border-radius: 10px;
    }

    .contact-map-full::before {
        padding-bottom: 70%;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h1,
    .section-header h2 {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .why-us-card {
        padding: 1.75rem;
    }

    .why-us-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}

/* ==========================================
   Utility Classes
   ========================================== */

/* Read More Button */
.read-more-btn {
    margin-top: auto;
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    align-self: center;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.read-more-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.4);
}

/* Partner Modal */
.partner-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10002;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.partner-modal.active {
    display: flex;
}

.partner-modal-content {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 20px;
    max-width: 650px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--border-subtle);
}

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

.partner-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    font-size: 1.1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-modal-close:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: rotate(90deg);
}

.partner-modal-logo {
    height: 100px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-modal-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.partner-modal-content h3 {
    color: var(--text-primary);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.partner-modal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    white-space: pre-wrap;
    text-align: left;
    padding: 0 1rem;
}

.partner-modal-website {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    transition: all var(--transition-base);
    border: 1px solid var(--border-subtle);
}

.partner-modal-website:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

/* Gallery Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-lightbox img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
}

.gallery-lightbox video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
}

.gallery-lightbox h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.gallery-lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 10001;
}

.gallery-lightbox-close:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .gallery-lightbox {
        padding: 1rem;
    }

    .gallery-lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .partner-modal-content {
        padding: 2rem 1.5rem;
    }

    .partner-modal-close {
        top: 1rem;
        right: 1rem;
    }
}