/* =========================================
   1. VARIABLES (Dark & Light Mode Engine)
========================================= */
:root {
    /* DEFAULT: Dark Mode */
    --bg-color: #111111;
    --section-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #3b82f6; 
    --border-color: #333333;
    --nav-bg: rgba(17, 17, 17, 0.95);
    --hero-bg: radial-gradient(circle at center, #222222 0%, #000000 100%);
    --input-bg: #222222;
    
    /* 3D Button Shadows (Dark) */
    --btn-bg: #212121;
    --btn-shadow-1: #0a0a0a;
    --btn-shadow-2: #383838;
    
    --font-en: 'Inter', sans-serif;
    --font-ar: 'Rubik', sans-serif;

    /* Theme-Specific Features (Default: Dark Mode) */
    --body-pattern-display: none; 
    --hero-pattern-display: block; 
    
    --pattern-url: url("/assets/ui/pattern.svg");
    --pattern-mask: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 75%, rgba(0,0,0,1) 100%);
    
    --hero-title-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    --cup-shadow: drop-shadow(0px 40px 30px rgba(0,0,0,0.9));
    --about-img-shadow: drop-shadow(0 20px 25px rgba(0,0,0,0.6));
}

[data-theme="light"] {
    /* OVERRIDE: Light Mode */
    --bg-color: #f8f9fa;
    --section-bg: transparent; 
    --card-bg: #ffffff;
    --text-primary: #111111;
    --text-secondary: #555555;
    --accent: #2563eb; 
    --border-color: #e5e5e5;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --hero-bg: radial-gradient(circle at center, #ffffff 0%, #e5e5e5 100%);
    --input-bg: #ffffff;
    
    /* 3D Button Shadows (Light) */
    --btn-bg: #e8e8e8;
    --btn-shadow-1: #c5c5c5;
    --btn-shadow-2: #ffffff;

    /* Theme-Specific Features (Light Mode Overrides) */
    --body-pattern-display: block; 
    --hero-pattern-display: none; 
    
    --pattern-url: url("/assets/ui/light_body_pattern.svg");
    
    --hero-title-shadow: none; 
    --cup-shadow: drop-shadow(0px 10px 15px rgba(0,0,0,0.2)); 
    --about-img-shadow: drop-shadow(0px 20px 25px rgba(0,0,0,0.2)); 
}

/* =========================================
   2. BASE & TYPOGRAPHY
========================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    position: relative;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-en);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s; 
}

/* THE GLOBAL PATTERN LAYER */
body::before {
    display: var(--body-pattern-display);
    content: "";
    position: fixed; 
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: var(--pattern-url);
    background-repeat: repeat;
    background-size: 150px; 
    z-index: 0; 
    pointer-events: none;
    -webkit-mask-image: var(--pattern-mask);
    mask-image: var(--pattern-mask);
}

[dir="rtl"] body { font-family: var(--font-ar); text-align: right; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* =========================================
   3. NAVBAR
========================================= */
.navbar {
    padding: 15px 0; position: sticky; top: 0;
    background: var(--nav-bg); backdrop-filter: blur(10px);
    z-index: 1000; border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 90px; width: auto; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2)); transition: 0.3s; }

.nav-links { display: flex; list-style: none; gap: 40px; }
.nav-links a { text-decoration: none; color: var(--text-primary); font-weight: 600; font-size: 1.1rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent); }
.nav-controls { display: flex; gap: 15px; }

/* =========================================
   4. BUTTONS
========================================= */
#lang-toggle, #theme-toggle, .filter-btn, .btn-primary {
    color: var(--text-primary); padding: 0.7em 1.7em; font-size: 18px; border-radius: 0.5em;
    background: var(--btn-bg); cursor: pointer; border: 1px solid var(--btn-bg); transition: all 0.3s;
    box-shadow: 6px 6px 12px var(--btn-shadow-1), -6px -6px 12px var(--btn-shadow-2);
    font-family: inherit; font-weight: 600; text-decoration: none; display: inline-block;
}
#lang-toggle:hover, #theme-toggle:hover, .filter-btn:hover, .filter-btn.active, .btn-primary:hover { 
    border: 1px solid var(--text-secondary); color: var(--accent); 
}
#lang-toggle:active, #theme-toggle:active, .filter-btn:active, .btn-primary:active { 
    box-shadow: inset 4px 4px 10px var(--btn-shadow-1), inset -4px -4px 10px var(--btn-shadow-2); 
}

#lang-toggle, #theme-toggle { font-size: 15px !important; padding: 0.5em 1.2em; }
#lang-toggle { font-family: var(--font-ar) !important; }

/* =========================================
   5. HERO
========================================= */
.hero-premium {
    min-height: 85vh;
    display: flex; align-items: center;
    background: var(--hero-bg); 
    padding: 50px 0;
    position: relative;
    z-index: 1; 
}

.hero-premium::before {
    display: var(--hero-pattern-display);
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: var(--pattern-url);
    background-repeat: repeat; 
    background-size: 600px; 
    z-index: 0; 
    -webkit-mask-image: var(--pattern-mask);
    mask-image: var(--pattern-mask);
}

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

.hero-text-content h1 {
    font-size: 4.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px;
    text-shadow: var(--hero-title-shadow); 
}
.highlight { color: var(--accent); }
.hero-sub { font-size: 1.3rem; color: var(--text-secondary); margin-bottom: 40px; font-weight: 600; letter-spacing: 1px; }
.hero-image-content { display: flex; justify-content: center; }

.hero-image-content img {
    width: 100%; max-width: 600px; height: auto; object-fit: contain;
    filter: var(--cup-shadow); 
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   6. ABOUT US
========================================= */
.about-section { 
    padding: 100px 0; 
    background: var(--section-bg); 
    border-top: 1px solid var(--border-color); 
    position: relative; z-index: 1; 
}
.about-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 50px; }
.about-title { font-size: 3rem; line-height: 1.2; }
.about-desc { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; border-left: 3px solid var(--accent); padding-left: 20px;}

.about-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 60px; }
.feature-card { 
    background: var(--card-bg); padding: 20px; border-radius: 15px; 
    display: flex; align-items: center; gap: 20px; border: 1px solid var(--border-color); transition: 0.3s;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.icon-circle { 
    width: 60px; height: 60px; border-radius: 50%; display: flex; 
    align-items: center; justify-content: center; font-size: 1.5rem; color: white; flex-shrink: 0;
    background: var(--accent); 
}
.feature-text h4 { font-size: 1.1rem; margin-bottom: 5px; color: var(--text-primary); }
.feature-text p { font-size: 0.9rem; color: var(--text-secondary); }

.about-media { position: relative; display: flex; justify-content: flex-start; margin-top: 40px; }
.main-about-img { 
    width: 85%; height: auto; object-fit: contain; 
    margin-top: -40px; margin-left: -20px; z-index: 1;
    filter: var(--about-img-shadow); 
}

.video-thumbnail { 
    position: absolute; right: 0; bottom: -60px; width: 45%; height: 250px; 
    border-radius: 20px; overflow: hidden; border: 5px solid var(--bg-color); 
    box-shadow: -10px 15px 30px rgba(0,0,0,0.9); cursor: pointer; transition: 0.3s; z-index: 2;
}
.video-thumbnail:hover { transform: scale(1.03); border-color: var(--accent); }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.play-btn { 
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 70px; height: 70px; background: #ef4444; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4); transition: 0.3s;
}
.video-thumbnail:hover .play-btn { background: white; color: #ef4444; }

.modal { 
    position: fixed !important; top: 0; left: 0; width: 100vw; height: 100vh; 
    background: rgba(0,0,0,0.95); z-index: 999999 !important; 
    display: flex; align-items: center; justify-content: center; opacity: 1; transition: opacity 0.3s;
}
.modal.hide { opacity: 0; pointer-events: none; }
.modal-content { position: relative; width: 80%; max-width: 900px; }
.modal-content video { width: 100%; max-height: 80vh; border-radius: 10px; outline: none; background: #000; }
.close-btn { position: absolute; top: -40px; right: 0px; font-size: 3rem; color: white; cursor: pointer; transition: 0.3s; z-index: 10; }
.close-btn:hover { color: var(--accent); }

/* =========================================
   7. GALLERY & FILTERS
========================================= */
.gallery { padding: 100px 0; background: var(--section-bg); position: relative; z-index: 1; }
.section-header { margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; }
.line { width: 60px; height: 4px; background: var(--accent); margin-top: 10px; }

.filter-controls { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-bottom: 50px; }
.hide { display: none !important; }

.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.product-card { background: var(--card-bg); border-radius: 20px; overflow: hidden; transition: 0.3s; border: 1px solid var(--border-color); }
.product-card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.card-image img { width: 100%; height: 300px; object-fit: cover; }

/* =========================================
   7.2 MANUFACTURING CAPABILITIES CARDS
========================================= */
.custom-boxes { padding: 80px 0; background: var(--bg-color); position: relative; z-index: 1; overflow: hidden; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
  margin-top: 40px;
}

.card {
  position: relative; background: transparent;
  width: 100%; max-width: 350px; height: 350px; border: none;
  display: flex; justify-content: center; align-items: center;
  z-index: 1; transition: z-index 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.card .container-image {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--card-bg); width: 200px; height: 200px;
  cursor: pointer; border: 1px solid var(--border-color); border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all .4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity .3s;
  display: flex; justify-content: center; align-items: center;
}

.card .container-image .image-circle {
  width: 120px; height: auto; object-fit: contain;
  filter: drop-shadow(0px 10px 10px rgba(0,0,0,0.3));
  transition: all .3s ease-in-out;
}

.card .content {
  display: flex; justify-content: space-between; align-items: center;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--card-bg); padding: 40px;
  width: 200px; height: 200px; cursor: pointer;
  border: 1px solid var(--border-color); border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  visibility: hidden; opacity: 0; overflow: hidden;
  transition: all .4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-delay: 0.15s;
  z-index: 1;
}

.card .content .detail {
  display: flex; flex-direction: column; justify-content: center;
  width: 280px; flex-shrink: 0; height: 100%; opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.1s ease, transform 0.2s ease;
  transition-delay: 0s;
}

.card .content .detail span { margin-bottom: 15px; font-size: 2rem; font-weight: 800; color: var(--text-primary); line-height: 1.2; }
.card .content .detail p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.6; }

.card .content .product-image { position: relative; width: 220px; height: 100%; flex-shrink: 0; }
.card .content .product-image .box-image {
  display: flex; position: absolute; top: 0; left: -20%;
  width: 100%; height: 115%; opacity: 0;
  transform: scale(.5) translateY(20px);
  transition: all .4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.card .content .product-image .box-image .img-product {
  margin: auto; width: 200px; height: auto; filter: drop-shadow(0px 15px 15px rgba(0,0,0,0.4));
}

@media (hover: hover) {
  .card:hover { z-index: 100; transition-delay: 0s; }
  .card:hover .container-image { opacity: 0; border-radius: 15px; transition-delay: 0s; }
  .card:hover .container-image .image-circle { opacity: 0; }
  .card:hover .content {
    width: 600px; height: 320px; visibility: visible; opacity: 1; transition-delay: 0s;
  }
  .card:hover .content .detail {
    opacity: 1; transform: translateX(0);
    transition: all .4s ease-in-out; transition-delay: .3s; 
  }
  .card:hover .content .product-image .box-image {
    top: -20%; left: 0; opacity: 1; transform: scale(1) translateY(0); transition-delay: .2s;
  }
}

@media (max-width: 992px) {
  .cards-grid { gap: 15px; margin-top: 20px; }
  .card { height: 250px; }
  .card .content {
    flex-direction: column-reverse; justify-content: center; align-items: center;
    padding: 30px 20px; gap: 20px;
  }
  .card .content .detail { width: 100%; text-align: center; transform: translateY(20px); height: auto; }
  .card .content .detail span { font-size: 1.5rem; margin-bottom: 10px; display: block; }
  .card .content .detail p { font-size: 0.95rem; }
  .card .content .product-image { width: 100%; height: 140px; display: flex; justify-content: center; align-items: center; }
  .card .content .product-image .box-image { position: relative; top: 0 !important; left: 0 !important; transform: scale(0.5); width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; }
  .card .content .product-image .box-image .img-product { width: 130px; }

  .card:active { z-index: 100; transition-delay: 0s; }
  .card:active .container-image { opacity: 0; border-radius: 15px; transition-delay: 0s; }
  .card:active .container-image .image-circle { opacity: 0; }
  .card:active .content {
    width: 92vw; max-width: 380px; height: auto; min-height: 380px;
    visibility: visible; opacity: 1; transition-delay: 0s;
  }
  .card:active .content .detail {
    opacity: 1; transform: translateY(0);
    transition: all .4s ease-in-out; transition-delay: .2s;
  }
  .card:active .content .product-image .box-image {
    opacity: 1; transform: scale(1); transition-delay: .1s;
  }
}

/* =========================================
   7.5 TRUSTED CLIENTS CAROUSEL
========================================= */
.clients-section { 
    padding: 80px 0 120px 0; 
    background: var(--bg-color); 
    position: relative; 
    z-index: 1; 
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    direction: ltr !important; 
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;
    animation: scroll-left 25s linear infinite; 
}

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

.client-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    width: 220px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.client-card img {
    max-width: 100%;
    max-height: 200%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7); 
    transition: 0.3s;
}

.client-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); } 
}


/* =========================================
   8. FINAL FOOTER LAYOUT
========================================= */
.footer { background: var(--bg-color); padding: 80px 0 20px 0; border-top: 1px solid var(--border-color); position: relative; z-index: 1; }

.footer-unified-row { 
    display: grid; 
    grid-template-columns: 1.2fr 1fr; /* Left side gets slightly more room than the form */
    gap: 60px; 
    align-items: flex-start; 
}

.footer-left-col h2 { font-size: 3.5rem; margin-bottom: 10px; line-height: 1.1; }
.footer-left-col > p { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 30px; }

.contact-details { margin-bottom: 40px; }
.contact-details p { font-size: 1.1rem; margin-bottom: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px;}
.contact-details i { color: var(--accent); }

/* The Map & Social Card Side-by-Side */
.map-social-group {
    display: flex;
    gap: 20px;
    align-items: stretch;
}
.map-container { flex-grow: 1; }
.map-container iframe { height: 100% !important; min-height: 180px; }

.footer-form-col { width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.footer-form-col input, .footer-form-col textarea { width: 100%; background: var(--input-bg); border: 1px solid var(--border-color); color: var(--text-primary); padding: 15px; border-radius: 10px; font-family: inherit; }
.footer-form-col input:focus, .footer-form-col textarea:focus { outline: none; border-color: var(--accent); }

/* Copyright Bar */
.copyright-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    width: 100%;
}
.copyright-bar p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center !important; /* Forces center alignment in both EN and AR */
    width: 100%;
}

/* =========================================
   8.5 ANIMATED SOCIALS CARD
========================================= */
.social-card {
    width: 180px; 
    height: 180px;
    flex-shrink: 0; /* Prevents map from crushing it */
    background: linear-gradient(135deg, #60a5fa 0%, var(--accent) 100%);
    border-radius: 25px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    direction: ltr !important; 
}

.social-card span {
    position: relative; 
    z-index: 10;
    color: #ffffff;
    font-size: 1.5rem; /* Reduced slightly to fit 'Social Media' */
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center; /* FIX: Centers the text perfectly */
    line-height: 1.2;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none; 
}

.social-card:hover span { opacity: 0; transform: scale(0.5); visibility: hidden; }

.social-link {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
    border-radius: 25px; background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3); opacity: 0;
    transform-origin: bottom left; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.social-link i { position: absolute; top: 20px; right: 20px; font-size: 1.6rem; text-shadow: 0 2px 5px rgba(0,0,0,0.2); color: #ffffff; }

.social-card:hover .social-link { opacity: 1; }
.social-card:hover .social-link:nth-of-type(1) { transform: scale(0.95); z-index: 1; } 
.social-card:hover .social-link:nth-of-type(2) { transform: scale(0.75); z-index: 2; } 
.social-card:hover .social-link:nth-of-type(3) { transform: scale(0.55); z-index: 3; } 
.social-card:hover .social-link:nth-of-type(4) { transform: scale(0.35); z-index: 4; }

/* =========================================
   9. WHATSAPP FLOATING BUTTON
========================================= */
.whatsapp-float { position: fixed !important; bottom: 30px !important; right: 30px !important; z-index: 99999 !important; text-decoration: none; }
.Btn { width: 55px; height: 55px; display: flex; align-items: center; justify-content: center; border: none; background-color: transparent; position: relative; border-radius: 7px; cursor: pointer; transition: all 0.3s; }
.svgContainer { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-color: transparent; backdrop-filter: blur(4px); border-radius: 10px; transition: all 0.3s; border: 1px solid rgba(156, 156, 156, 0.466); }
.BG { position: absolute; content: ""; width: 100%; height: 100%; background: #00d757; z-index: -1; border-radius: 9px; pointer-events: none; transition: all 0.3s; }
.Btn:hover .BG { transform: rotate(35deg); transform-origin: bottom; }
.Btn:hover .svgContainer { background-color: rgba(156, 156, 156, 0.466); }

[dir="rtl"] .whatsapp-float { right: auto !important; left: 30px !important; }

/* =========================================
   10. SCROLL REVEAL ANIMATIONS
========================================= */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================
   11. MOBILE RESPONSIVENESS (GENERAL)
========================================= */
@media (max-width: 992px) {
    /* Mobile Footer Stack Order */
    .footer-unified-row { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    
    .map-social-group { 
        flex-direction: column; /* Stacks the map and social card */
        align-items: center; 
        gap: 40px;
    }
    
    /* Forces the form to always be the last item at the bottom */
    .footer-form-col { order: 99; margin-top: 20px; }
    
    .contact-details p { justify-content: center; }

    /* JS 2-Second Auto-Open Rules for Social Card (Cleaned) */
    .social-card.force-open span { opacity: 0; transform: scale(0.5); visibility: hidden; }
    .social-card.force-open .social-link { opacity: 1; }
    .social-card.force-open .social-link:nth-of-type(1) { transform: scale(0.95); z-index: 1; } 
    .social-card.force-open .social-link:nth-of-type(2) { transform: scale(0.75); z-index: 2; } 
    .social-card.force-open .social-link:nth-of-type(3) { transform: scale(0.55); z-index: 3; } 
    .social-card.force-open .social-link:nth-of-type(4) { transform: scale(0.35); z-index: 4; }

    /* Adds extra scroll space at the bottom so WhatsApp doesn't block text */
    .copyright-bar {
        padding-bottom: 90px;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; } 
    .hero-grid-new { grid-template-columns: 1fr; text-align: center; }
    .hero-text-content h1 { font-size: 3rem; }
    .hero-image-content { order: -1; } 
    .about-top { grid-template-columns: 1fr; gap: 20px; }
    .main-about-img { width: 100%; margin-top: 0; margin-left: 0; }
    .video-thumbnail { width: 60%; height: 180px; bottom: -30px; right: 10px; }
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .close-btn { right: 0; top: -50px; }
}