/* ==========================================================================
   RENT TRIP - DYNAMIC SUNRISE THEME (NO BLUE) - ALIGNMENT FIXED
   ========================================================================== */

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

   /* --- RESET & VARIABLES --- */
   * {
       margin: 0;
       padding: 0;
       box-sizing: border-box;
   }
   
   :root {
       /* Colorhunt Palette (Minus Blue) */
       --color-yellow: #f8de22;
       --color-orange: #f45b26;
       --color-red: #d12052;
       
       /* Light Modern Backgrounds */
       --bg-main: #FFFDF9;          
       --bg-alt: #F9F6F0;           
       --bg-card: #FFFFFF;
       
       /* Text Colors */
       --text-dark: #1A1412;        
       --text-body: #544D4A;        
       --text-muted: #918883;
       
       /* Vibrant Gradients */
       --gradient-primary: linear-gradient(135deg, var(--color-red) 0%, var(--color-orange) 100%);
       --gradient-hover: linear-gradient(135deg, #b81744 0%, #d94a1b 100%);
       --gradient-warm: linear-gradient(135deg, var(--color-orange) 0%, var(--color-yellow) 100%);
       
       /* Structure & Effects */
       --border-color: #EBE5DF;
       --shadow-sm: 0 4px 10px rgba(209, 32, 82, 0.05);
       --shadow-md: 0 10px 25px rgba(244, 91, 38, 0.1);
       --shadow-lg: 0 30px 60px rgba(209, 32, 82, 0.15);
       --shadow-floating: 0 20px 40px rgba(0,0,0,0.08);
       --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
       --radius-sm: 12px;
       --radius-lg: 24px;
       --radius-pill: 100px;
   }
   
   html, body {
       font-family: 'Poppins', sans-serif;
       background-color: var(--bg-main);
       color: var(--text-body);
       line-height: 1.7;
       overflow-x: hidden;
       width: 100%;
       scroll-behavior: smooth;
   }
   
   h1, h2, h3, h4, h5 {
       font-family: 'Montserrat', sans-serif;
       color: var(--text-dark);
       font-weight: 800;
       line-height: 1.2;
   }
   
   a { text-decoration: none; color: inherit; transition: var(--transition); }
   img { max-width: 100%; height: auto; display: block; object-fit: cover; }
   
   /* --- ALIGNMENT UTILITY --- */
   .container { 
       width: 100%; 
       max-width: 1280px; 
       margin: 0 auto; 
       padding: 0 24px; 
   }
   
   .py-mega { padding: 120px 0; }
   .py-large { padding: 80px 0; }
   .text-center { text-align: center; }
   
   .text-gradient {
       background: var(--gradient-primary);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       display: inline-block;
   }
   
   .badge {
       display: inline-block;
       background: rgba(248, 222, 34, 0.2);
       color: var(--color-orange);
       padding: 8px 20px;
       border-radius: var(--radius-pill);
       font-weight: 700;
       font-size: 0.85rem;
       text-transform: uppercase;
       letter-spacing: 1px;
       margin-bottom: 20px;
       border: 1px solid rgba(244, 91, 38, 0.2);
   }
   
   /* --- BUTTONS --- */
   .btn {
       display: inline-flex; align-items: center; justify-content: center; gap: 10px;
       padding: 16px 36px; border-radius: var(--radius-pill); font-weight: 700; font-size: 1rem;
       transition: var(--transition); cursor: pointer; border: none; font-family: 'Montserrat', sans-serif;
   }
   .btn-primary { background: var(--gradient-primary); color: #fff !important; box-shadow: 0 10px 20px rgba(209, 32, 82, 0.3); }
   .btn-primary:hover { background: var(--gradient-hover); transform: translateY(-3px); box-shadow: 0 15px 25px rgba(209, 32, 82, 0.4); }
   .btn-outline { background: var(--bg-white); color: var(--color-red) !important; border: 2px solid var(--color-red); }
   .btn-outline:hover { background: var(--gradient-primary); color: #fff !important; border-color: transparent; }
   
   /* --- FLOATING PILL HEADER --- */
   header {
       position: fixed; top: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 1200px;
       height: 80px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(15px);
       border-radius: var(--radius-pill); box-shadow: var(--shadow-floating); z-index: 1000;
       display: flex; align-items: center; transition: var(--transition); border: 1px solid rgba(255,255,255,0.5);
   }
   header.scrolled { top: 10px; width: 95%; height: 75px; background: rgba(255, 255, 255, 0.98); }
   
   .nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0 30px; }
   .logo h1 { font-size: 1.8rem; font-weight: 900; letter-spacing: -1px; margin: 0; display: flex; align-items: center; gap: 8px;}
   .logo h1 span { color: var(--color-orange); }
   .logo-icon { color: var(--color-red); font-size: 1.8rem; }
   
   .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); transition: var(--transition); }
   .nav-links a:hover, .nav-links a.active { color: var(--color-red); }
   
   /* Hamburger */
   .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none; }
   .hamburger span { width: 28px; height: 3px; background: var(--text-dark); border-radius: 5px; transition: var(--transition); }
   .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--color-red); }
   .hamburger.active span:nth-child(2) { opacity: 0; }
   .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--color-red); }
   
   /* --- SLANTED HERO SECTION (FIXED PADDING FOR WIDGET) --- */
   .hero {
       position: relative; 
       min-height: 95vh; 
       display: flex; 
       align-items: center; 
       /* Added massive bottom padding so widget has a "safe zone" to overlap */
       padding: 120px 0 160px 0; 
       background: var(--bg-alt);
       clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
       overflow: hidden;
   }
   .hero-bg { position: absolute; inset: 0; z-index: 0; }
   .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.15; }
   
   .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; align-items: center; }
   .hero-content { position: relative; z-index: 2; max-width: 650px; }
   .hero-content h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
   .hero-content p { font-size: 1.2rem; color: var(--text-body); margin-bottom: 40px; font-weight: 500; }
   
   .hero-img-wrapper { position: relative; z-index: 2; height: 450px; transform: scaleX(-1); }
   .hero-img-wrapper img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0,0,0,0.15)); }
   
   /* --- OVERLAPPING BOOKING WIDGET (ALIGNMENT FIXED) --- */
   .booking-widget-wrapper {
       position: relative; 
       z-index: 10; 
       margin-top: -150px; /* Pulls widget up cleanly into the hero's padded safe zone */
       margin-bottom: 80px; 
       width: 100%;
   }
   .booking-widget {
       background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
       padding: 40px; border: 1px solid var(--border-color); width: 100%;
   }
   .widget-tabs { display: flex; gap: 20px; margin-bottom: 30px; border-bottom: 2px solid var(--border-color); padding-bottom: 15px;}
   .widget-tab { background: none; border: none; font-size: 1.1rem; font-weight: 700; color: var(--text-muted); cursor: pointer; transition: var(--transition); font-family: 'Montserrat', sans-serif;}
   .widget-tab.active { color: var(--color-red); }
   
   .booking-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 20px; align-items: end; }
   .input-group { display: flex; flex-direction: column; gap: 8px; }
   .input-group label { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
   .input-group select, .input-group input {
       padding: 15px 20px; border: 2px solid var(--border-color); border-radius: var(--radius-sm);
       font-family: inherit; font-size: 1rem; color: var(--text-dark); background: var(--bg-alt); outline: none; transition: var(--transition);
   }
   .input-group select:focus, .input-group input:focus { border-color: var(--color-orange); background: var(--bg-card); box-shadow: 0 0 0 4px rgba(244, 91, 38, 0.1);}
   
   /* --- FLEET SHOWCASE --- */
   .section-header { margin-bottom: 60px; max-width: 800px; margin-left: auto; margin-right: auto;}
   .section-header h2 { font-size: 3.5rem; margin-bottom: 15px; }
   
   .fleet-controls { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap;}
   .filter-btn { padding: 10px 25px; border-radius: var(--radius-pill); border: 2px solid var(--border-color); background: var(--bg-card); font-weight: 600; cursor: pointer; transition: var(--transition); font-family: inherit;}
   .filter-btn.active, .filter-btn:hover { background: var(--gradient-warm); color: #fff; border-color: transparent; }
   
   .fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
   .vehicle-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 25px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; }
   .vehicle-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: var(--color-yellow); }
   .vehicle-img { height: 200px; width: 100%; margin-bottom: 20px; }
   .vehicle-img img { width: 100%; height: 100%; object-fit: contain; }
   .vehicle-card h3 { font-size: 1.5rem; margin-bottom: 5px; }
   .vehicle-type { color: var(--color-orange); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; margin-bottom: 15px; }
   .vehicle-specs { display: flex; gap: 15px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px dashed var(--border-color); font-size: 0.9rem; color: var(--text-muted); font-weight: 500;}
   .vehicle-price { font-size: 1.8rem; font-weight: 900; color: var(--text-dark); display: flex; justify-content: space-between; align-items: center;}
   .vehicle-price span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
   .book-car-btn { background: var(--bg-alt); color: var(--color-red); padding: 10px 20px; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.9rem; transition: var(--transition); }
   .vehicle-card:hover .book-car-btn { background: var(--color-red); color: #fff; }
   
   /* --- HOW IT WORKS (Timeline) --- */
   .bg-alt { background-color: var(--bg-alt); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
   .process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
   .process-grid::before { content: ''; position: absolute; top: 40px; left: 10%; width: 80%; height: 2px; border-top: 2px dashed var(--color-orange); z-index: 0; }
   .process-step { text-align: center; position: relative; z-index: 1; }
   .step-number { width: 80px; height: 80px; background: var(--gradient-warm); color: #fff; font-size: 2rem; font-weight: 900; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 25px; border: 6px solid var(--bg-alt); box-shadow: var(--shadow-sm); }
   .process-step h3 { font-size: 1.4rem; margin-bottom: 15px; }
   
   /* --- STATS COUNTER --- */
   .stats-section { background: var(--text-dark); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
   .stats-section::before { content: ''; position: absolute; right: -5%; top: -50%; width: 400px; height: 400px; background: var(--color-red); filter: blur(150px); opacity: 0.4; }
   .stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px; position: relative; z-index: 1; }
   .stat-item { text-align: center; }
   .stat-item h3 { font-size: 4rem; color: var(--color-yellow); margin-bottom: 5px; }
   .stat-item p { font-size: 1.1rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
   
   /* --- CTA BANNER --- */
   .cta-wrapper { background: var(--gradient-primary); border-radius: var(--radius-lg); padding: 80px 5%; text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
   .cta-wrapper h2 { color: #fff; font-size: 3.5rem; margin-bottom: 20px; }
   .cta-wrapper .btn-outline { border-color: #fff; color: #fff !important; }
   .cta-wrapper .btn-outline:hover { background: #fff; color: var(--color-red) !important; }
   
   /* --- SLIM FOOTER --- */
   footer { 
       background: var(--bg-card); 
       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 h2 { font-size: 1.5rem; margin: 0; display: flex; align-items: center; gap: 8px;}
   .footer-brand span { color: var(--color-orange); }
   
   .footer-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center;}
   .footer-links a { font-weight: 600; font-size: 0.95rem; color: var(--text-dark); text-transform: uppercase; letter-spacing: 0.5px;}
   .footer-links a:hover { color: var(--color-red); }
   .footer-divider { color: var(--border-color); }
   
   .footer-contact { display: flex; gap: 20px; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); flex-wrap: wrap; align-items: center;}
   .footer-contact strong { color: var(--color-red); }
   .footer-contact a { color: var(--text-body); transition: var(--transition); }
   .footer-contact a:hover { color: var(--color-red); }
   
   /* --- FAIL-SAFE ANIMATIONS --- */
   .reveal { transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); opacity: 1; transform: none; } 
   .js-enabled .reveal { opacity: 0; } 
   .js-enabled .slide-up { transform: translateY(50px); }
   .js-enabled .slide-left { transform: translateX(-50px); }
   .js-enabled .zoom-in { transform: scale(0.9); }
   .js-enabled .reveal.active { opacity: 1; transform: translate(0,0) scale(1); }
   .delay-1 { transition-delay: 0.1s; }
   .delay-2 { transition-delay: 0.2s; }
   
   /* --- RESPONSIVE MEDIA QUERIES (GRID FIXES) --- */
   @media (max-width: 1100px) {
       .booking-form { grid-template-columns: 1fr 1fr; }
       .booking-form .btn { grid-column: span 2; } /* Makes the button span across on tablets */
   }
   
   @media (max-width: 1024px) {
       .hero-content h1 { font-size: 3.8rem; }
       .hero-img-wrapper { height: 400px; }
       .footer-container { flex-direction: column; text-align: center; justify-content: center; }
       .footer-links, .footer-contact { justify-content: center; }
       .footer-divider { display: none; }
   }
   
   @media (max-width: 768px) {
       header { top: 0; width: 100%; border-radius: 0; padding: 15px 0; height: 70px;}
       header.scrolled { top: 0; width: 100%; height: 70px; border-radius: 0; }
       .nav-links { display: none; }
       .hamburger { display: flex; }
       
       .nav-container.menu-open .nav-links {
           display: flex; flex-direction: column; position: absolute; top: 70px; left: 0;
           width: 100%; background: var(--bg-card); padding: 30px; border-top: 1px solid var(--border-color);
           box-shadow: var(--shadow-lg); z-index: 1000;
       }
       
       .grid-2 { grid-template-columns: 1fr; }
       .hero { clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); height: auto; padding: 120px 0 80px; text-align: center; }
       .hero-content h1 { font-size: 3rem; }
       .hero-img-wrapper { display: none; }
       
       .booking-widget-wrapper { margin-top: -40px; }
       .booking-form { grid-template-columns: 1fr; }
       .booking-form .btn { grid-column: span 1; width: 100%; }
       
       .process-grid { grid-template-columns: 1fr; gap: 30px;}
       .process-grid::before { display: none; }
       
       .footer-contact { flex-direction: column; gap: 10px; }
   }