/* 
 * ASPT TECH DESIGN SYSTEM
 * Author: Antigravity
 */

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.4);
    --red-glow: rgba(255, 77, 77, 0.3);
    --green-glow: rgba(74, 222, 128, 0.3);
    --text-white: #f8fafc;
    --text-dim: #94a3b8;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    background-color: var(--primary);
    color: var(--text-white);
    font-family: 'Tajawal', 'Inter', sans-serif;
    overflow-x: hidden; /* Double enforce */
    width: 100%;
    line-height: 1.6;
}

.container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.text-gradient {
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
}

.logo-loader {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 12px;
    color: var(--accent);
    margin-bottom: 20px;
    text-align: center;
}

.progress-bar {
    width: 200px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    width: 0%;
    height: 100%;
    background: var(--accent);
    animation: load 2.5s ease forwards;
}

@keyframes load {
    to {
        width: 100%;
    }
}

/* Top Bar */
.top-bar {
    background: #111;
    color: var(--text-dim);
    font-size: 0.85rem;
    padding: 10px 0;
    position: relative;
    z-index: 1001;
}

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

.top-contacts span {
    margin-left: 20px;
}

.top-contacts i {
    color: var(--accent);
    margin-left: 5px;
}

.ticker-wrap {
    flex: 1;
    overflow: hidden;
    height: 35px;
    background: #e11d48;
    margin: 0 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.ticker {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: fit-content;
    animation: marquee-rtl 40s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    padding: 0 80px;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
}

.news-item {
    color: var(--accent);
}

.market-item {
    color: var(--green-accent);
}

.ticker-sep {
    margin: 0 20px;
    opacity: 0.5;
}

[dir="ltr"] .ticker {
    animation: marquee-ltr 40s linear infinite;
}

@keyframes marquee-rtl {
    0% {
        transform: translateX(0);
    }

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

@keyframes marquee-ltr {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pause on hover */
.ticker-wrap:hover .ticker {
    animation-play-state: paused;
}

.day-name {
    font-size: 1rem;
    margin: 0 5px;
}

.day-num {
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    margin: 0 5px;
}

.tax-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.day-num {
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Header & Glass Nav */
.header {
    position: fixed;
    top: 25px;
    /* Exactly below top bar */
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.glass-nav {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    /* More squared off for corporate feel */
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    width: 100%;
}

.header.scrolled {
    top: 0;
}

/* Make room for fixed header (fallback). JS will compute exact value on load/resize */
:root { --header-space: 140px; }
body { padding-top: var(--header-space); transition: padding-top .15s ease; }

.header-logo {
    height: 90px;
    width: auto;
    margin-left: 15px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.logo-ar {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    white-space: nowrap;
}

.logo-en {
    font-size: 0.65rem;
    color: var(--text-dim);
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Hamburger & Mobile Nav (hidden by default, visible at small widths) */
.hamburger { display: none; }
.hamburger span { display: block; height: 3px; width: 24px; background: #fff; border-radius: 3px; transition: transform .18s ease, opacity .18s ease; }
.hamburger.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav open state */
.nav-links.open {
    position: fixed;
    right: 10px;
    left: 10px;
    top: calc(var(--header-space) + 10px);
    background: rgba(3,10,22,0.98);
    padding: 20px;
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    border-radius: 12px;
    z-index: 1100;
}

@media (max-width: 1000px) {
    .nav-links, body.device-mobile .nav-links { display: none; }
    .hamburger, body.device-mobile .hamburger { display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
    /* keep language button visible on small screens */
    .btn-lang { margin-left: 10px; }
    /* Hide top bar on mobile */
    .top-bar { display: none; }
    /* Adjust header position since top bar is gone */
    .header { top: 5px; }
    body { padding-top: 150px; }
}

.footer-links-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 12px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.footer-btn i {
    color: var(--accent);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-btn:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

.footer-btn:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

@media (min-width: 1001px) {
    .nav-links {
        display: flex;
        list-style: none;
        gap: 30px;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-lang {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-lang:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.container-hero {
    position: relative;
    z-index: 5;
}

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

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--red-glow);
    border: 1px solid var(--red-accent);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--red-accent);
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 0 20px var(--accent-glow);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px var(--accent-glow);
}

.btn-glass {
    background: var(--glass);
    color: var(--text-white);
    padding: 15px 35px;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Stats Section */
.stats {
    background: var(--primary-light);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item:nth-child(1) h3 {
    color: var(--accent);
}

.stat-item:nth-child(2) h3 {
    color: var(--accent);
}

.stat-item:nth-child(3) h3 {
    color: var(--accent);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
}

.stat-item p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* About Section */
.section {
    padding: 120px 0;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-img {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.img-frame {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    width: 520px;
    max-width: 60%;
    height: 360px;
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.experience-card {
    position: absolute;
    top: 50%;
    right: -36px;
    transform: translateY(-50%);
    background: linear-gradient(180deg,#3fd5ff,#19a6e0);
    color: var(--primary);
    width: 120px;
    height: 120px;
    padding: 12px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(3,10,22,0.6);
    border: 1px solid rgba(255,255,255,0.08);
}

.exp-num {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--primary);
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: none;
    color: var(--primary);
    margin-top: 6px;
    opacity: 0.95;
    text-align: center;
}

@media (max-width: 1000px) {
    .img-frame { width: 100%; max-width: 100%; height: auto; }
    .experience-card { position: absolute; bottom: -30px; right: -30px; transform: none; width: 110px; height: 110px; }
}

/* Responsive Improvements */
@media (max-width: 1000px) {
    .glass-nav { padding: 20px 30px; }
    .header-logo { height: 56px; }
    .logo-ar { font-size: 1.05rem; }
    .logo-en { font-size: 0.6rem; }

    /* Fix mobile menu position */
    .nav-links.open {
        top: 100px; /* Approximate header height on mobile */
        width: calc(100% - 35px); /* Full width minus margins */
        left: 10px;
        right: 10px;
    }

    .hero { height: 70vh; }
    .hero h1 { font-size: 2.25rem; }
    .hero p { font-size: 1rem; max-width: 100%; }
    .btn-primary, .btn-glass { padding: 10px 20px; }

    .stats-grid { grid-template-columns: 1fr; gap: 20px; }

    .clients-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

    .timeline { grid-template-columns: 1fr; gap: 18px; }

    .year-block { padding: 16px; }
    .projects-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
}

@media (max-width: 600px) {
    .container { padding: 0 10px; }
    .header-logo { height: 48px; }
    .logo-ar { font-size: 0.95rem; }
    .logo-en { font-size: 0.55rem; }
    .hero { height: 60vh; }
    .hero h1 { font-size: 1.6rem; }
    .nav-links { gap: 12px; }
}

    display: block;
}

.experience-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--accent);
    color: var(--primary);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow);
}

.exp-num {
    font-size: 2.5rem;
    font-weight: 900;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.about-text {
    flex: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.mv-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    transition: var(--transition);
}

.mv-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.mv-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.mv-card h3 {
    margin-bottom: 10px;
}

/* Services */
.dark-bg {
    background: #0b1120;
}

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

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 30px;
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    background: var(--primary-light);
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.service-card:nth-child(3n+1):hover {
    border-color: var(--red-accent);
    box-shadow: 0 10px 30px var(--red-glow);
}

.service-card:nth-child(3n+2):hover {
    border-color: var(--green-accent);
    box-shadow: 0 10px 30px var(--green-glow);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.card-icon i {
    font-size: 2rem;
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-dim);
}

/* Footer */
.footer {
    padding: 100px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
}

/* Animations */
.animate-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.show {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition);
}

/* RTL Specific */
[dir="rtl"] .experience-card {
    right: auto;
    left: -30px;
}

[dir="rtl"] .hamburger {
    margin-left: 0;
    margin-right: 20px;
}

/* Contracting Section */
.about-flex.reverse {
    flex-direction: row-reverse;
}

.activities-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--glass);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition);
}

.activity-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.08);
}

.activity-item:nth-child(even):hover {
    border-color: var(--green-accent);
    box-shadow: 0 0 15px var(--green-glow);
}

.activity-item:nth-child(odd):hover {
    border-color: var(--red-accent);
    box-shadow: 0 0 15px var(--red-glow);
}

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

/* Products Section */
.products-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.product-item {
    background: var(--primary-light);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item:nth-child(odd):hover {
    border-color: var(--red-accent);
    box-shadow: 0 0 25px var(--red-glow);
}

.product-item:nth-child(even):hover {
    border-color: var(--green-accent);
    box-shadow: 0 0 25px var(--green-glow);
}

.product-item i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Saudi Flag Icon */
.sa-flag {
    display: inline-block;
    width: 20px;
    height: 14px;
    background-color: #006C35;
    position: relative;
    border-radius: 2px;
    vertical-align: middle;
    margin: 0 5px;
}

.sa-flag::before {
    content: "🇸🇦";
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Header Actions Alignment */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Partners Section - Unified Logo System */
/* Lighten the accent inside partners by 50% */
.partners {
    --accent: #b8e6ff;
    --accent-glow: rgba(184, 230, 255, 0.35);
    overflow: hidden;
}

/* Adjust gradient used by titles inside partners */
.partners .text-gradient {
    background: linear-gradient(90deg, #6acefa, #a1a9fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Make the partners section title use the lighter accent */
.partners .section-title {
    color: var(--accent);
}

/* Partners Slider Wrapper - Creates overflow container */
.partners-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 25px 0;
    min-height: 90px;
    display: block;
    visibility: visible;
    white-space: nowrap;
    margin: 0 auto 10px;
    /* Less aggressive mask to show more content */
    mask-image: linear-gradient(to right, transparent 0%, black 1%, black 99%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 1%, black 99%, transparent 100%);
}

/* Partners Slider Track - Base styles for all tracks */
.partners-slider-track {
    display: inline-flex;
    gap: 40px;
    align-items: center;
    width: max-content;
    min-height: 90px;
    will-change: transform;
    visibility: visible;
    opacity: 1;
    position: relative;
}

/* Slider 1: Moves Rightward (Left to Right) - Normal Speed */
.track-right {
    animation: slide-right 48s linear infinite;
}

/* Slider 2: Moves Leftward (Right to Left) - Normal Speed */
.track-left {
    animation: slide-left 48s linear infinite;
}

/* Slider 3: Moves Rightward - Faster Speed */
.track-right-fast {
    animation: slide-right 36s linear infinite;
}

/* Slider 4: Moves Leftward - Slower Speed */
.track-left-slow {
    animation: slide-left 60s linear infinite;
}

/* Rightward movement: content moves from left to right (negative translateX in RTL) */
@keyframes slide-right {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Leftward movement: content moves from right to left (positive translateX in RTL) */
@keyframes slide-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

/* RTL Direction Support - Default is RTL */
[dir="rtl"] .track-right {
    animation: slide-right 48s linear infinite;
}

[dir="rtl"] .track-right-fast {
    animation: slide-right 36s linear infinite;
}

[dir="rtl"] .track-left {
    animation: slide-left 48s linear infinite;
}

[dir="rtl"] .track-left-slow {
    animation: slide-left 60s linear infinite;
}

/* LTR Direction Support */
[dir="ltr"] .track-right {
    animation: slide-left 48s linear infinite;
}

[dir="ltr"] .track-right-fast {
    animation: slide-left 36s linear infinite;
}

[dir="ltr"] .track-left {
    animation: slide-right 48s linear infinite;
}

[dir="ltr"] .track-left-slow {
    animation: slide-right 60s linear infinite;
}

/* Animation continues without pausing on hover */

.partner-card {
    width: 140px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: grayscale(0.15);
    opacity: 0.92;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    background: transparent !important;
    visibility: visible;
    position: relative;
    margin: 0;
}

.logo-partner {
    height: 50px;
    width: auto;
    max-width: 140px;
    min-width: 80px;
    object-fit: contain;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    background: transparent !important;
    visibility: visible;
    display: block;
    -webkit-filter: grayscale(0.05) brightness(1.15) contrast(1.05);
    filter: grayscale(0.05) brightness(1.15) contrast(1.05) drop-shadow(0 4px 10px rgba(0,0,0,0.45));
}

/* Hover Effect - Enhanced */
.partner-card:hover {
    opacity: 1;
    transform: translateY(-8px) scale(1.06);
}

.partner-card:hover .logo-partner {
    filter: grayscale(0) brightness(1.25) contrast(1.08) drop-shadow(0 6px 18px rgba(0,0,0,0.5));
    opacity: 1;
}

/* Active Color State - Click to Reveal */
.partner-card.active-color {
    opacity: 1;
}

.partner-card.active-color .logo-partner {
    filter: grayscale(0) brightness(1.25) contrast(1.08) !important;
    opacity: 1;
}

/* Pulse Animation - Enhanced Zoom on Click */
.partner-card.pulse {
    animation: partner-pulse 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes partner-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.35);
    }

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

/* Product Section Polish */
.product-item {
    background: linear-gradient(135deg, var(--primary-light), #1e293b);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-item i {
    font-size: 4rem;
    margin-bottom: 25px;
    display: block;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.product-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
}

.mt-10 {
    margin-top: 10px;
}

/* Large Screens (32" and above) */
@media (min-width: 1600px) {
    html {
        font-size: 20px;
    }

    .container {
        max-width: 1800px;
    }
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .partner-card {
        width: 120px;
        height: 70px;
    }
    
    .logo-partner {
        height: 45px;
        max-width: 120px;
    }
    
    .partners-slider-track {
        gap: 35px;
    }
    
    .partners-slider-wrapper {
        padding: 20px 0;
        min-height: 80px;
    }
}

@media (max-width: 992px) {

    .about-flex,
    .about-flex.reverse {
        flex-direction: column;
    }

    .activities-list {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .partner-card {
        width: 100px;
        height: 65px;
    }
    
    .logo-partner {
        height: 40px;
        max-width: 100px;
    }
    
    .partners-slider-track {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .partner-card {
        width: 90px;
        height: 60px;
    }
    
    .logo-partner {
        height: 38px;
        max-width: 90px;
    }
    
    .partners-slider-track {
        gap: 25px;
    }
    
    .partners-slider-wrapper {
        padding: 15px 0;
        min-height: 70px;
        mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
    }
}

@media (max-width: 576px) {
    .partner-card {
        width: 80px;
        height: 55px;
    }
    
    .logo-partner {
        height: 35px;
        max-width: 80px;
    }
    
    .partners-slider-track {
        gap: 20px;
    }
    
    .partners-slider-wrapper {
        padding: 12px 0;
        min-height: 65px;
    }
}