/* ===================================
   DAMAS Office Supplies & Stationery
   Modern Light Theme — RTL Arabic
   =================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-cream: #FDF9F0;
    --navy: #1B2A4A;
    --navy-light: #2C3E60;
    --gold: #C8A35A;
    --gold-light: #F0E6C8;
    --gold-hover: #B8933A;
    --gold-glow: rgba(200, 163, 90, 0.15);
    --text-primary: #1B2A4A;
    --text-secondary: #5A6A7A;
    --text-light: #8A95A5;
    --border-light: #E8ECF0;
    --shadow-sm: 0 2px 8px rgba(27, 42, 74, 0.06);
    --shadow-md: 0 4px 20px rgba(27, 42, 74, 0.08);
    --shadow-lg: 0 8px 40px rgba(27, 42, 74, 0.12);
    --shadow-gold: 0 4px 20px rgba(200, 163, 90, 0.2);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
    background: var(--white);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

section {
    position: relative;
    overflow: hidden;
}

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

/* ---------- Utility Classes ---------- */
.section-padding {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* ====================================
   NAVBAR
   ==================================== */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 50px;
    width: auto;
    transition: height var(--transition);
}

.navbar.scrolled .nav-logo img {
    height: 40px;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(200, 163, 90, 0.35);
    color: var(--white) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--navy);
    border-radius: 3px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 100px 30px 30px;
    transition: right var(--transition);
    z-index: 999;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    display: block;
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav a:hover {
    color: var(--gold);
    padding-right: 10px;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(150deg, var(--white) 0%, var(--bg-cream) 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

/* Animated geometric decorations */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--gold);
    top: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--navy);
    bottom: -80px;
    right: -80px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--gold);
    top: 30%;
    left: 60%;
    animation: float 7s ease-in-out infinite 2s;
}

.hero-shape-4 {
    width: 120px;
    height: 120px;
    background: var(--navy);
    top: 60%;
    left: 10%;
    animation: float 9s ease-in-out infinite 1s;
    border-radius: var(--radius-lg);
    transform: rotate(45deg);
}

/* Gold line decoration */
.hero-line {
    position: absolute;
    width: 2px;
    height: 200px;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
    opacity: 0.15;
}

.hero-line-1 {
    top: 10%;
    left: 15%;
    animation: lineSlide 6s ease-in-out infinite;
}

.hero-line-2 {
    top: 30%;
    right: 20%;
    animation: lineSlide 8s ease-in-out infinite 2s;
    height: 150px;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes lineSlide {
    0%, 100% { transform: translateY(0); opacity: 0.15; }
    50% { transform: translateY(30px); opacity: 0.3; }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 20px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 36px;
    max-width: 500px;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(200, 163, 90, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--navy);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    border: 2px solid var(--navy);
    cursor: pointer;
    transition: all var(--transition);
}

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

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold-light);
    border-radius: var(--radius-xl);
    z-index: -1;
}

/* Hero floating badge */
.hero-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatBadge 4s ease-in-out infinite;
}

.hero-badge .badge-icon {
    width: 45px;
    height: 45px;
    background: var(--gold-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.hero-badge .badge-text {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy);
    line-height: 1.4;
}

.hero-badge .badge-text span {
    color: var(--gold);
    font-size: 1.3rem;
    display: block;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ====================================
   ABOUT SECTION
   ==================================== */
.about {
    background: var(--white);
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -12px;
    width: 50%;
    height: 50%;
    border: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.4;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
}

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

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px 10px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.stat-item:hover {
    background: var(--gold-glow);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 4px;
}

/* Mission/Vision/Values Cards */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.value-card {
    background: var(--white);
    padding: 30px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: transform var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

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

.value-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--gold-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    transition: all var(--transition);
}

.value-card:hover .card-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ====================================
   SERVICES SECTION
   ==================================== */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 0;
    background: linear-gradient(180deg, transparent, var(--gold-glow));
    transition: height var(--transition-slow);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

.service-card:hover::after {
    height: 100%;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--gold-glow), transparent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    transform: rotateY(180deg);
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

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

/* ====================================
   PRODUCTS SECTION
   ==================================== */
.products {
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

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

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

.product-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(180deg, transparent, rgba(27, 42, 74, 0.85));
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition);
}

.product-card:hover .product-overlay {
    transform: translateY(0);
    opacity: 1;
}

.product-overlay h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.product-overlay p {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* ====================================
   WHY US SECTION
   ==================================== */
.why-us {
    background: var(--bg-cream);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.why-card {
    text-align: center;
    padding: 36px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
}

.why-card::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    left: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition);
}

.why-card:hover {
    transform: translateY(-8px);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon {
    width: 70px;
    height: 70px;
    background: var(--gold-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.8rem;
    transition: all var(--transition);
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    transform: scale(1.15) rotate(10deg);
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

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

/* ====================================
   CLIENTS SECTION
   ==================================== */
.clients {
    background: var(--white);
    padding: 70px 0;
}

.clients-track {
    display: flex;
    gap: 50px;
    align-items: center;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-item {
    background: var(--bg-light);
    padding: 24px 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
    transition: all var(--transition);
    border: 1px solid var(--border-light);
}

.client-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-light);
}

.client-icon {
    width: 45px;
    height: 45px;
    background: var(--gold-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.client-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
}

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

/* ====================================
   CONTACT SECTION
   ==================================== */
.contact {
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    padding: 20px 0;
}

.contact-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.contact-detail:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(-5px);
}

.contact-detail .detail-icon {
    width: 50px;
    height: 50px;
    background: var(--gold-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-detail .detail-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.contact-detail .detail-text p,
.contact-detail .detail-text a {
    font-size: 0.92rem;
    color: var(--text-secondary);
    direction: ltr;
    text-align: right;
}

.contact-detail .detail-text a:hover {
    color: var(--gold);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    color: var(--text-primary);
    background: var(--bg-light);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--gold-glow);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-gold);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(200, 163, 90, 0.35);
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-about .footer-logo {
    height: 55px;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
}

.footer-about p {
    font-size: 0.92rem;
    line-height: 1.8;
    opacity: 0.8;
}

.footer h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 0.92rem;
    opacity: 0.75;
    transition: all var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold);
    padding-right: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-contact-item span:first-child {
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition);
}

.social-icons a:hover {
    background: var(--gold);
    transform: translateY(-4px);
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ====================================
   SCROLL TO TOP
   ==================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(200, 163, 90, 0.4);
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 550px;
        margin: 0 auto;
    }

    .hero-image::before {
        display: none;
    }

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

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid,
    .products-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

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

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 130px 0 70px;
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer h4::after {
        right: 50%;
        transform: translateX(50%);
    }

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

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

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

    .hero-badge {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }
}

/* ---------- Loading screen ---------- */
.loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-content img {
    height: 70px;
    margin: 0 auto 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

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

.loader-bar {
    width: 120px;
    height: 3px;
    background: var(--border-light);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    background: var(--gold);
    border-radius: 3px;
    animation: loading 1.2s ease-in-out infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}
