/* ==========================================================================
   XPERT CAR ACCESSORIES - PREMIUM OLIVE & SAND THEME (NO BLUE)
   ========================================================================== */

   @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

   /* --- RESET & VARIABLES --- */
   * {
       margin: 0;
       padding: 0;
       box-sizing: border-box;
   }
   
   :root {
       /* Custom Colorhunt Palette */
       --color-dark-olive: #546b41; /* Primary Dark text/accents */
       --color-sage: #99ad7a;       /* Primary Highlights/Buttons */
       --color-sand: #dcccac;       /* Warm Secondary background/borders */
       --color-cream: #fff8ec;      /* Main Background */
       
       /* Backgrounds */
       --bg-white: #ffffff;
       --bg-main: var(--color-cream);
       --bg-surface: #ffffff;
       --bg-dark: #2a3620;          /* Deepest olive for extreme contrast */
       
       /* Premium Gradients */
       --gradient-primary: linear-gradient(135deg, var(--color-sage) 0%, var(--color-dark-olive) 100%);
       --gradient-hover: linear-gradient(135deg, var(--color-dark-olive) 0%, #3e522d 100%);
       --gradient-soft: linear-gradient(135deg, var(--color-cream) 0%, var(--color-sand) 100%);
       --gradient-overlay: linear-gradient(to top, rgba(42, 54, 32, 0.95) 0%, rgba(42, 54, 32, 0.4) 50%, transparent 100%);
       
       /* Text Colors */
       --text-dark: #2a3620;        
       --text-body: #5c6356;        
       --text-muted: #8e9686;
       --text-light: #fff8ec;
       
       /* Structure & Effects */
       --border-color: #e8e2d5;
       --shadow-sm: 0 4px 6px -1px rgba(84, 107, 65, 0.1);
       --shadow-md: 0 10px 20px -5px rgba(84, 107, 65, 0.15);
       --shadow-lg: 0 25px 50px -12px rgba(84, 107, 65, 0.2);
       --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
       --header-height: 90px;
       --border-radius-sm: 8px;     /* Sharper edges for automotive feel */
       --border-radius-lg: 16px;
   }
   
   html, body {
       font-family: 'Plus Jakarta Sans', sans-serif;
       background-color: var(--bg-main);
       color: var(--text-body);
       line-height: 1.7;
       overflow-x: hidden;
       width: 100%;
       scroll-behavior: smooth;
   }
   
   /* --- TYPOGRAPHY --- */
   h1, h2, h3, h4, h5 {
       font-family: 'Outfit', sans-serif;
       color: var(--text-dark);
       font-weight: 800;
       line-height: 1.2;
       letter-spacing: -0.5px;
   }
   .text-gradient {
       background: var(--gradient-primary);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       display: inline-block;
   }
   a {
       text-decoration: none;
       color: inherit;
       transition: var(--transition);
   }
   img {
       max-width: 100%;
       height: auto;
       display: block;
       object-fit: cover;
       border-radius: inherit;
   }
   
   /* --- LAYOUT UTILITIES --- */
   .container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 5%; }
   .py-mega { padding: 120px 0; }
   .py-large { padding: 80px 0; }
   .text-center { text-align: center; }
   .bg-white { background-color: var(--bg-white); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
   .bg-dark { background-color: var(--bg-dark); color: var(--text-light); }
   .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--text-light); }
   
   /* Strict Grid Alignments */
   .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; align-items: center; }
   .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: stretch; }
   .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; align-items: stretch; }
   
   /* Section Headers */
   .section-header { margin-bottom: 60px; max-width: 800px; }
   .section-header h2 { font-size: 3.5rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: -1px;}
   .section-header p { font-size: 1.15rem; color: var(--text-body); }
   .section-header.text-center { margin-left: auto; margin-right: auto; }
   .badge { display: inline-block; background: var(--color-sand); color: var(--text-dark); padding: 8px 24px; border-radius: 4px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; border: 1px solid rgba(84, 107, 65, 0.2); font-size: 0.85rem;}
   
   /* --- BUTTONS --- */
   .btn-primary, .btn-outline {
       display: inline-flex; align-items: center; justify-content: center; gap: 10px;
       padding: 16px 36px; border-radius: 4px; font-weight: 700; font-size: 0.95rem;
       text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); cursor: pointer; border: none;
   }
   .btn-primary {
       background: var(--gradient-primary); color: var(--text-light) !important;
       box-shadow: var(--shadow-md);
   }
   .btn-primary:hover {
       background: var(--gradient-hover); transform: translateY(-4px);
       box-shadow: var(--shadow-lg); color: #fff !important;
   }
   .btn-outline {
       background: transparent; color: var(--text-dark) !important;
       border: 2px solid var(--color-dark-olive);
   }
   .btn-outline:hover {
       background: var(--gradient-primary); color: var(--text-light) !important; border-color: transparent; transform: translateY(-4px);
   }
   
   /* --- HEADER & NAVIGATION --- */
   .top-bar { background: var(--bg-dark); color: var(--color-sand); font-size: 0.85rem; padding: 12px 0; font-weight: 600; letter-spacing: 0.5px; }
   .top-bar .container { display: flex; justify-content: space-between; align-items: center; }
   .top-bar a { color: var(--text-light); transition: var(--transition); }
   .top-bar a:hover { color: var(--color-sage); }
   
   header {
       position: sticky; top: 0; width: 100%; height: var(--header-height); z-index: 1000;
       background: rgba(255, 248, 236, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
       border-bottom: 1px solid var(--border-color); transition: var(--transition); display: flex; align-items: center;
   }
   header.scrolled { height: 80px; box-shadow: var(--shadow-md); }
   .nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 100%; }
   
   .logo h1 { font-size: 2rem; font-weight: 900; letter-spacing: -1px; margin: 0; display: flex; align-items: center; gap: 8px;}
   .logo-icon { width: 35px; height: 35px; background: var(--gradient-primary); display: inline-flex; align-items: center; justify-content: center; color: var(--text-light); border-radius: 6px; font-size: 1.2rem; transform: skewX(-10deg); }
   
   .nav-links { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
   .nav-links a { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); transition: var(--transition); text-transform: uppercase; letter-spacing: 1px;}
   .nav-links a:hover, .nav-links a.active { color: var(--color-dark-olive); }
   
   /* Hamburger Menu */
   .hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; border: none; background: none; z-index: 1001; padding: 5px; }
   .hamburger span { width: 34px; height: 3px; background: var(--text-dark); border-radius: 5px; transition: var(--transition); }
   .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--color-dark-olive); }
   .hamburger.active span:nth-child(2) { opacity: 0; }
   .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--color-dark-olive); }
   
   /* --- HERO SECTION --- */
   .hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; background: var(--bg-main); padding-top: 40px;}
   .hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
   .hero-bg::before { content: ''; position: absolute; top: -20%; right: -10%; width: 600px; height: 600px; background: var(--color-sage); filter: blur(150px); opacity: 0.15; border-radius: 50%; }
   
   .hero-content { position: relative; z-index: 2; max-width: 650px; }
   .hero-content h1 { font-size: 5rem; line-height: 1.1; margin-bottom: 25px; letter-spacing: -2px; text-transform: uppercase;}
   .hero-content p { font-size: 1.25rem; color: var(--text-body); margin-bottom: 40px; font-weight: 500; }
   
   /* Framed Image Wrapper */
   .hero-img-wrapper { position: relative; z-index: 2; height: 600px; background: var(--bg-surface); padding: 20px; border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin: 20px; border: 1px solid var(--border-color); }
   .hero-img-wrapper img { width: 100%; height: 100%; border-radius: var(--border-radius-sm); object-fit: cover; }
   
   /* Floating Elements */
   .float-card { position: absolute; bottom: 40px; left: -20px; background: var(--bg-white); padding: 20px 30px; border-radius: var(--border-radius-sm); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 15px; border: 1px solid var(--border-color); animation: float 6s ease-in-out infinite; z-index: 3;}
   @keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
   
   /* --- SERVICE CARDS --- */
   .service-card { background: var(--bg-surface); padding: 50px 40px; border-radius: var(--border-radius-sm); border: 1px solid var(--border-color); transition: var(--transition); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
   .service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--gradient-primary); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; }
   .service-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); border-color: var(--color-sand); }
   .service-card:hover::before { transform: scaleX(1); }
   .icon-box { font-size: 2.5rem; margin-bottom: 30px; display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 80px; background: var(--gradient-soft); border-radius: var(--border-radius-sm); color: var(--color-dark-olive); border: 1px solid var(--color-sand); }
   .service-card h3 { font-size: 1.8rem; margin-bottom: 20px; }
   .service-card p { font-size: 1.05rem; flex-grow: 1; margin-bottom: 30px; color: var(--text-body); }
   .service-link { font-weight: 800; color: var(--color-dark-olive); text-transform: uppercase; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem;}
   .service-link:hover { gap: 15px; color: var(--text-dark); }
   
   /* --- SPLIT FEATURE CARDS (Framed) --- */
   .split-card { background: var(--bg-white); padding: 20px; border-radius: var(--border-radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); position: relative; height: 100%; min-height: 500px; }
   .split-card img { width: 100%; height: 100%; border-radius: var(--border-radius-sm); object-fit: cover; transition: transform 0.8s ease; }
   
   /* --- STATS COUNTER --- */
   .stats-wrapper { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px; padding: 80px 5%; background: var(--bg-dark); border-radius: var(--border-radius-lg); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; margin: 0 20px;}
   .stats-wrapper::after { content: ''; position: absolute; right: -10%; top: -50%; width: 500px; height: 500px; background: var(--gradient-primary); filter: blur(200px); opacity: 0.15; z-index: 0; pointer-events: none;}
   .stat-box { text-align: center; position: relative; z-index: 1;}
   .stat-box h3 { font-size: 4.5rem; color: var(--text-light); margin-bottom: 5px; line-height: 1; font-weight: 900;}
   .stat-box h3 span { color: var(--color-sage); }
   .stat-box p { color: var(--color-sand); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 1.05rem; }
   
   /* --- TESTIMONIAL SLIDER --- */
   .slider-container { position: relative; overflow: hidden; padding-bottom: 60px; max-width: 900px; margin: 0 auto; }
   .slider-wrapper { display: flex; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
   .slide { min-width: 100%; padding: 50px; background: var(--bg-surface); border-radius: var(--border-radius-lg); border: 1px solid var(--border-color); box-shadow: var(--shadow-md); text-align: center; margin: 0 10px; }
   .quote-icon { font-size: 5rem; color: var(--color-sand); opacity: 0.5; line-height: 0; margin-bottom: 40px; display: block; font-family: serif; }
   .slide p { font-size: 1.4rem; color: var(--text-dark); font-style: italic; margin-bottom: 35px; line-height: 1.6; font-weight: 500;}
   .slide h4 { font-size: 1.3rem; color: var(--text-dark); margin-bottom: 5px; font-weight: 800;}
   .slide span { color: var(--color-dark-olive); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700;}
   .slider-dots { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
   .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--border-color); cursor: pointer; transition: var(--transition); }
   .dot.active { background: var(--color-dark-olive); transform: scale(1.5); }
   
   /* --- CTA BANNER --- */
   .cta-banner { background: var(--gradient-primary); border-radius: var(--border-radius-lg); padding: 100px 5%; text-align: center; color: var(--text-light); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; margin: 0 20px;}
   .cta-banner h2 { font-size: 4rem; margin-bottom: 25px; letter-spacing: -1px;}
   .cta-banner p { font-size: 1.3rem; margin-bottom: 50px; max-width: 750px; margin-left: auto; margin-right: auto; font-weight: 500;}
   .cta-banner .btn-outline { border-color: var(--text-light); color: var(--text-light) !important; border-width: 2px;}
   .cta-banner .btn-outline:hover { background: var(--text-light); color: var(--color-dark-olive) !important; }
   
   /* --- SINGLE LINE SLIM FOOTER --- */
   footer { 
       background: var(--bg-white); 
       border-top: 1px solid var(--border-color); 
       padding: 30px 0; 
       width: 100%;
   }
   .footer-container { 
       display: flex; 
       flex-wrap: wrap; 
       justify-content: space-between; 
       align-items: center; 
       gap: 20px;
   }
   .footer-brand-mini h2 { font-size: 1.5rem; font-weight: 900; display: flex; align-items: center; gap: 8px; margin: 0;}
   .footer-brand-mini p { font-size: 0.85rem; color: var(--text-muted); margin: 0;}
   
   .footer-inline-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
   .footer-inline-links a { color: var(--text-dark); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition);}
   .footer-inline-links a:hover { color: var(--color-dark-olive); }
   .footer-divider { color: var(--border-color); }
   
   .footer-contact-inline { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 0.9rem; font-weight: 600; color: var(--text-body);}
   .footer-contact-inline a { color: var(--text-dark); transition: var(--transition); }
   .footer-contact-inline a:hover { color: var(--color-dark-olive); }
   
   /* --- ANIMATIONS (Scroll Reveal) --- */
   .reveal { opacity: 0; visibility: hidden; transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s; }
   .reveal.active { opacity: 1; visibility: visible; }
   .slide-up:not(.active) { transform: translateY(50px); }
   .slide-left:not(.active) { transform: translateX(-50px); }
   .slide-right:not(.active) { transform: translateX(50px); }
   .zoom-in:not(.active) { transform: scale(0.9); }
   
   .delay-1 { transition-delay: 0.1s; }
   .delay-2 { transition-delay: 0.2s; }
   .delay-3 { transition-delay: 0.3s; }
   
   /* --- RESPONSIVE MEDIA QUERIES --- */
   @media (max-width: 1100px) {
       .footer-container { flex-direction: column; text-align: center; justify-content: center; }
       .footer-inline-links { justify-content: center; }
       .footer-contact-inline { justify-content: center; flex-direction: column; gap: 10px;}
       .footer-divider { display: none; }
   }
   
   @media (max-width: 1024px) {
       .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
       .hero-content h1 { font-size: 4rem; }
   }
   
   @media (max-width: 768px) {
       .top-bar { display: none; }
       .nav-links { display: none; }
       .hamburger { display: flex; }
       
       .nav-container.menu-open .nav-links {
           display: flex; flex-direction: column; position: absolute; top: var(--header-height); left: 0;
           width: 100%; background: var(--bg-surface); padding: 30px 24px; border-top: 1px solid var(--border-color);
           box-shadow: var(--shadow-lg); align-items: flex-start; z-index: 1000; gap: 0;
       }
       .nav-container.menu-open .nav-links a { font-size: 1.3rem; padding: 18px 0; width: 100%; border-bottom: 1px solid var(--border-color); }
       
       .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
       .hero-content h1 { font-size: 3.5rem; }
       .section-header h2 { font-size: 2.8rem; }
       .hero-img-wrapper, .stats-wrapper, .cta-banner { margin: 0; } 
       .split-card { min-height: 350px; }
   }