/* ==========================================================================
   FAST INFRA CONSTRUCTIONS - LUXURY TAUPE THEME (#BFA28C)
   ========================================================================== */

   @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

   /* --- RESET & VARIABLES --- */
   * {
       margin: 0;
       padding: 0;
       box-sizing: border-box;
   }
   
   :root {
       /* Base Palette */
       --bg-white: #ffffff;
       --bg-light: #FCFAF8;         /* Alabaster / Off-white */
       --bg-dark: #1A1613;          /* Deep Espresso / Charcoal */
       --bg-card: #ffffff;
       
       /* Requested Primary Color & Variations */
       --accent-base: #BFA28C;      /* Warm Taupe / Sand */
       --accent-light: #D4BFA9;
       --accent-dark: #8B6D55;
       
       /* Luxury Gradients */
       --gradient-primary: linear-gradient(135deg, #BFA28C 0%, #8B6D55 100%);
       --gradient-hover: linear-gradient(135deg, #8B6D55 0%, #684F3C 100%);
       --gradient-light: linear-gradient(135deg, #F7F3F0 0%, #EBE2D9 100%);
       --gradient-overlay: linear-gradient(to top, rgba(26, 22, 19, 0.95) 0%, rgba(26, 22, 19, 0.4) 50%, transparent 100%);
       
       /* Text Colors */
       --text-dark: #2A2421;        
       --text-body: #5C554D;        
       --text-muted: #9E948A;
       --text-light: #FCFAF8;
       
       /* Structure & Effects */
       --border-color: #EBE2D9;
       --shadow-sm: 0 4px 6px -1px rgba(139, 109, 85, 0.08);
       --shadow-md: 0 10px 20px -5px rgba(139, 109, 85, 0.12);
       --shadow-lg: 0 25px 50px -12px rgba(26, 22, 19, 0.2);
       --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
       --header-height: 90px;
       --border-radius-sm: 8px;     /* Sharper edges for construction feel */
       --border-radius-lg: 16px;
   }
   
   html, body {
       font-family: 'Outfit', sans-serif;
       background-color: var(--bg-white);
       color: var(--text-body);
       line-height: 1.7;
       overflow-x: hidden;
       width: 100%;
       scroll-behavior: smooth;
   }
   
   /* --- TYPOGRAPHY --- */
   h1, h2, h3, h4, h5 { color: var(--text-dark); font-weight: 700; line-height: 1.2; letter-spacing: -0.5px; }
   .serif-text { font-family: 'Playfair Display', serif; font-weight: 600; font-style: italic; }
   .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; }
   
   /* --- 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-light { background-color: var(--bg-light); 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.2rem; margin-bottom: 20px; }
   .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(--gradient-light); color: var(--accent-dark); padding: 8px 24px; border-radius: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; font-size: 0.85rem; border: 1px solid var(--border-color); }
   
   /* --- 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: 1.5px; transition: var(--transition); cursor: pointer; border: none;
   }
   .btn-primary { background: var(--gradient-primary); color: var(--bg-white) !important; box-shadow: var(--shadow-md); }
   .btn-primary:hover { background: var(--gradient-hover); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
   .btn-outline { background: transparent; color: var(--text-dark) !important; border: 2px solid var(--accent-base); }
   .btn-outline:hover { background: var(--gradient-primary); color: var(--bg-white) !important; border-color: transparent; transform: translateY(-3px); }
   
   /* --- HEADER & NAVIGATION --- */
   .top-bar { background: var(--bg-dark); color: var(--accent-light); font-size: 0.85rem; padding: 12px 0; font-weight: 500; letter-spacing: 0.5px; }
   .top-bar .container { display: flex; justify-content: space-between; align-items: center; }
   .top-bar a { color: var(--bg-white); transition: var(--transition); }
   .top-bar a:hover { color: var(--accent-base); }
   
   header { position: sticky; top: 0; width: 100%; height: var(--header-height); z-index: 1000; background: rgba(255, 255, 255, 0.95); 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; height: 100%; width: 100%; }
   
   .logo h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px; color: var(--text-dark); margin: 0; display: flex; align-items: center; gap: 8px;}
   .logo h1 span { color: var(--accent-base); }
   .logo-icon { width: 35px; height: 35px; background: var(--gradient-primary); display: inline-flex; align-items: center; justify-content: center; color: #fff; border-radius: 4px; font-size: 1.2rem; }
   
   .nav-links { display: flex; gap: 35px; list-style: none; margin: 0; padding: 0; }
   .nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--text-dark); text-transform: uppercase; letter-spacing: 1px; position: relative; padding: 5px 0; }
   .nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background: var(--accent-base); transition: var(--transition); }
   .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
   .nav-links a:hover, .nav-links a.active { color: var(--accent-dark); }
   
   /* Hamburger Menu */
   .hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; border: none; background: none; }
   .hamburger span { width: 30px; height: 3px; background: var(--text-dark); border-radius: 2px; transition: var(--transition); }
   .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--accent-base); }
   .hamburger.active span:nth-child(2) { opacity: 0; }
   .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--accent-base); }
   
   /* --- HERO SECTION --- */
   .hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; background: var(--bg-dark); }
   .hero-bg { position: absolute; inset: 0; z-index: 0; }
   .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.4; }
   .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(26,22,19,0.9) 0%, rgba(26,22,19,0.5) 60%, transparent 100%); z-index: 1; }
   .hero-content { position: relative; z-index: 2; max-width: 800px; color: var(--bg-white); }
   .hero-content h1 { color: var(--bg-white); font-size: 4.5rem; line-height: 1.1; margin-bottom: 25px; }
   .hero-content p { font-size: 1.25rem; color: var(--border-color); margin-bottom: 40px; font-weight: 300; }
   
   /* --- SERVICES CARDS (Luxurious) --- */
   .service-card { background: var(--bg-white); border-radius: var(--border-radius-sm); overflow: hidden; border: 1px solid var(--border-color); transition: var(--transition); box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column; height: 100%; }
   .service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--accent-base); }
   .service-img { position: relative; height: 250px; overflow: hidden; }
   .service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
   .service-card:hover .service-img img { transform: scale(1.08); }
   .service-icon { position: absolute; bottom: -25px; right: 30px; width: 60px; height: 60px; background: var(--bg-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--accent-base); box-shadow: var(--shadow-md); z-index: 2; border: 2px solid var(--border-color);}
   .service-content { padding: 40px 30px 30px; display: flex; flex-direction: column; flex-grow: 1; }
   .service-content h3 { font-size: 1.6rem; margin-bottom: 15px; }
   .service-content p { color: var(--text-body); margin-bottom: 25px; flex-grow: 1; }
   .service-link { color: var(--accent-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 5px; }
   .service-link:hover { gap: 10px; color: var(--accent-base); }
   
   /* --- PROJECT PORTFOLIO GRID --- */
   .project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
   .project-card { position: relative; border-radius: var(--border-radius-sm); overflow: hidden; aspect-ratio: 4/5; cursor: pointer; }
   .project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
   .project-overlay { position: absolute; inset: 0; background: var(--gradient-overlay); display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; opacity: 0; transition: var(--transition); }
   .project-card:hover img { transform: scale(1.05); }
   .project-card:hover .project-overlay { opacity: 1; }
   .project-cat { color: var(--accent-base); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; transform: translateY(20px); transition: transform 0.4s ease; }
   .project-title { color: var(--bg-white); font-size: 2rem; margin-bottom: 5px; transform: translateY(20px); transition: transform 0.5s ease; }
   .project-loc { color: var(--border-color); font-size: 1rem; transform: translateY(20px); transition: transform 0.6s ease; display: flex; align-items: center; gap: 5px;}
   .project-card:hover .project-cat, .project-card:hover .project-title, .project-card:hover .project-loc { transform: translateY(0); }
   
   /* --- STATS SECTION --- */
   .stats-wrapper { background: var(--bg-dark); border-radius: var(--border-radius-sm); padding: 80px 5%; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; border-bottom: 4px solid var(--accent-base);}
   .stats-wrapper::before { content: ''; position: absolute; top: 0; right: 0; width: 300px; height: 100%; background: var(--gradient-primary); opacity: 0.1; clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%); }
   .stat-box { text-align: center; position: relative; z-index: 1; }
   .stat-box h3 { font-size: 4rem; color: var(--bg-white); margin-bottom: 5px; font-weight: 800; line-height: 1; }
   .stat-box h3 span { color: var(--accent-base); }
   .stat-box p { color: var(--accent-light); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; font-weight: 600; }
   
   /* --- 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-white); border-radius: var(--border-radius-sm); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); text-align: center; }
   .quote-icon { font-size: 4rem; color: var(--accent-base); opacity: 0.2; line-height: 0; margin-bottom: 30px; display: block; font-family: serif; }
   .slide p { font-size: 1.4rem; color: var(--text-dark); font-style: italic; margin-bottom: 30px; line-height: 1.6; }
   .slide h4 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 5px; }
   .slide span { color: var(--accent-dark); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
   .slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
   .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--border-color); cursor: pointer; transition: var(--transition); }
   .dot.active { background: var(--accent-base); transform: scale(1.5); }
   
   /* --- CTA BANNER --- */
   .cta-banner { background: var(--gradient-primary); border-radius: var(--border-radius-sm); padding: 100px 5%; text-align: center; color: var(--bg-white); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
   .cta-banner h2 { color: var(--bg-white); font-size: 3.5rem; margin-bottom: 20px; }
   .cta-banner p { font-size: 1.2rem; margin-bottom: 40px; color: rgba(255,255,255,0.9); max-width: 700px; margin-left: auto; margin-right: auto; }
   .cta-banner .btn-outline { border-color: var(--bg-white); color: var(--bg-white) !important; }
   .cta-banner .btn-outline:hover { background: var(--bg-white); color: var(--accent-dark) !important; }
   
   /* --- SLIM FOOTER --- */
   footer { background: var(--bg-dark); color: var(--bg-white); padding: 80px 0 30px; }
   .footer-wrapper { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; margin-bottom: 50px; align-items: start; }
   .footer-brand h2 { font-size: 2rem; font-weight: 800; margin-bottom: 20px; color: var(--bg-white); display: flex; align-items: center; gap: 10px;}
   .footer-brand h2 span { color: var(--accent-base); }
   .footer-brand p { font-size: 1rem; color: var(--border-color); max-width: 350px; line-height: 1.6;}
   .footer-nav { display: flex; flex-direction: column; gap: 15px; }
   .footer-nav a { color: var(--border-color); font-weight: 600; font-size: 1rem; transition: var(--transition); display: inline-block; width: fit-content; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem;}
   .footer-nav a:hover { color: var(--accent-base); transform: translateX(5px); }
   .footer-contact { display: flex; flex-direction: column; gap: 20px; }
   .contact-item { display: flex; align-items: flex-start; gap: 15px; font-size: 0.95rem; color: var(--border-color); line-height: 1.5;}
   .contact-item span { color: var(--accent-base); font-size: 1.2rem; line-height: 1; }
   .contact-item a { color: var(--bg-white); font-weight: 600; transition: var(--transition);}
   .contact-item a:hover { color: var(--accent-base); }
   .footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: var(--text-muted); letter-spacing: 1px;}
   
   /* --- 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(40px); }
   .slide-left:not(.active) { transform: translateX(-40px); }
   .slide-right:not(.active) { transform: translateX(40px); }
   .zoom-in:not(.active) { transform: scale(0.95); }
   
   .delay-1 { transition-delay: 0.1s; }
   .delay-2 { transition-delay: 0.2s; }
   .delay-3 { transition-delay: 0.3s; }
   
   /* --- RESPONSIVE MEDIA QUERIES --- */
   @media (max-width: 1024px) {
       .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
       .hero-content h1 { font-size: 3.8rem; }
       .footer-wrapper { grid-template-columns: 1fr 1fr; }
   }
   
   @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-white); 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 { padding: 15px 0; width: 100%; border-bottom: 1px solid var(--border-color); color: var(--text-dark);}
       
       .grid-2, .grid-3, .grid-4, .footer-wrapper { grid-template-columns: 1fr; }
       .hero-content h1 { font-size: 3rem; }
       .section-header h2 { font-size: 2.5rem; }
       .stats-wrapper { flex-direction: column; gap: 40px; text-align: center; }
   }