/* 
  NAVYA SREE SOLAR SYSTEMS - MAIN STYLE SHEET
  Premium Luxury Static Website Design System
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ==========================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================== */
:root {
  --color-primary: #362E2B;       /* Deep Muted Chocolate/Charcoal */
  --color-primary-light: #5C4F4A; /* Muted Warm Taupe */
  --color-secondary: #2E7D32;     /* Cream/Champagne */
  --color-secondary-dark: #1B5E20;/* Muted Cream Hover */
  --color-accent: #4CAF50;        /* Dusty Peach/Rose */
  --color-text-dark: #2C2522;     /* Soft Dark Charcoal-Brown */
  --color-text-muted: #786B66;    /* Muted Warm Gray */
  --color-bg-light: #B9E2BC;      /* Soft Green Pastel Section BG */
  --color-bg-white: #D4EDDA;      /* Light Green Pastel Page BG */
  --color-white: #FFFFFF;         /* Pure White for text/contrast */
  --color-border-light: #B9E2BC;  /* Soft Warm Border */
  --color-skyblue: #3a86c8;       /* Beautiful sky blue */
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(54, 46, 43, 0.1);
  --shadow-luxury: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: 15px;
}

/* ==========================================
   RESET & SYSTEM DEFAULTS
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 5px;
  border: 2px solid var(--color-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary-dark);
}

/* ==========================================
   PRELOADER
   ========================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
  text-align: center;
}

.preloader-spinner {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: var(--color-secondary);
  border-radius: 50%;
  animation: spin 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  margin: 0 auto 20px;
  position: relative;
}

.preloader-spinner::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 4px solid rgba(255, 255, 255, 0.05);
  border-left-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.preloader-logo-text {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 2px;
  animation: pulse 1.8s ease-in-out infinite;
}

.preloader-logo-text span {
  color: var(--color-secondary);
}

/* ==========================================
   NAVIGATION HEADER & PROGRESS BAR
   ========================================== */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1001;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--color-secondary), var(--color-accent));
  transition: width 0.1s ease;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 20px 0;
}

.header-active {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 10px 0;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Active header fonts when scrolled */
.header-active .nav-link {
  color: var(--color-primary);
}

.header-active .logo-subtitle {
  color: var(--color-text-muted);
}

.header-active .menu-btn-bar {
  background: var(--color-primary);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand Logo Layout */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.5px;
  line-height: 1.1;
  transition: var(--transition-normal);
}

.logo-title span {
  color: var(--color-accent); /* Green from the logo */
}

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-normal);
}

.header-active .logo-title {
  color: var(--color-accent); /* Brand Green when header is active */
}

.header-active .logo-subtitle {
  color: var(--color-primary);
}

/* Navigation Links */
.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-secondary) !important;
}

/* Header Call to Action Button */
.nav-btn {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  color: var(--color-white) !important;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(27, 94, 32, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-btn::after {
  display: none;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 94, 32, 0.5);
  color: var(--color-white) !important;
}

/* Mobile Hamburger Menu */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.menu-btn-bar {
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* Menu open state */
.menu-btn.open .menu-btn-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-btn.open .menu-btn-bar:nth-child(2) {
  opacity: 0;
}

.menu-btn.open .menu-btn-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================
   BUTTONS & COMMON UI ELEMENTS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 15px 35px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  color: var(--color-white);
  box-shadow: 0 10px 25px rgba(27, 94, 32, 0.3);
  animation: pulse-glow 3s infinite;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(27, 94, 32, 0.55);
  animation: none;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 10px 25px rgba(27, 94, 32, 0.35);
  }
  50% {
    box-shadow: 0 10px 30px rgba(27, 94, 32, 0.7), 0 0 0 10px rgba(27, 94, 32, 0.2);
  }
  100% {
    box-shadow: 0 10px 25px rgba(27, 94, 32, 0.35);
  }
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-3px);
  border-color: var(--color-white);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
}

.btn-accent {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-primary-light);
}

.btn-accent:hover {
  background: var(--color-primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Button Ripple effect */
.btn-ripple {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-skyblue);
  margin-bottom: 12px;
  display: block;
  animation: subtitlePulse 4s ease-in-out infinite;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--color-secondary), var(--color-accent));
  border-radius: 2px;
}

.section-title-light {
  color: var(--color-white);
}

.section-description {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.section-description-light {
  color: rgba(255, 255, 255, 0.7);
}

/* Glassmorphism Common styles */
.glass-panel-light {
  background: rgba(212, 237, 218, 0.75);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.glass-panel-dark {
  background: rgba(54, 46, 43, 0.7);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-luxury);
}

/* ==========================================
   FLOATING CONTACT BUTTONS & BACK TO TOP
   ========================================== */
.floating-contacts {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.float-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
}

.float-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

.float-whatsapp {
  background: #25D366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.float-whatsapp:hover {
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.float-call {
  background: var(--color-skyblue);
  box-shadow: 0 8px 20px rgba(58, 134, 200, 0.4);
  animation: skyPhonePulse 2s infinite;
}

.float-call:hover {
  box-shadow: 0 12px 30px rgba(58, 134, 200, 0.6);
  background: #2c6fa5;
}

.float-call i {
  display: inline-block;
  animation: floatCallIconShake 4s ease-in-out infinite;
}

.float-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.4);
}

.float-instagram:hover {
  box-shadow: 0 12px 30px rgba(220, 39, 67, 0.6);
}

.float-linkedin {
  background: #0077b5;
  box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4);
}

.float-linkedin:hover {
  box-shadow: 0 12px 30px rgba(0, 119, 181, 0.6);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(54, 46, 43, 0.85);
  backdrop-filter: blur(5px);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-5px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--color-primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: brightness(0.65) contrast(1.1);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(54, 46, 43, 0.4), var(--color-primary) 85%);
  z-index: 2;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 750px;
  color: var(--color-white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-secondary);
  margin-bottom: 24px;
  backdrop-filter: blur(5px);
}

.hero-badge svg {
  fill: currentColor;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  border-left: 3px solid var(--color-accent);
  padding-left: 20px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Scroll down indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--color-secondary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease infinite;
}

/* ==========================================
   ABOUT US SECTION
   ========================================== */
.about {
  padding: 100px 0;
  background: var(--color-bg-light);
  position: relative;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.about-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.about-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-bullet-icon {
  color: var(--color-accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.about-bullet-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-bullet-text p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* About Media Panel (Visual Card stacked) */
.about-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img-frame {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
  transform: rotate(-1deg);
  transition: transform 0.5s ease;
}

.about-img-frame:hover {
  transform: rotate(0) scale(1.02);
}

.about-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.about-slide.active {
  opacity: 1;
  visibility: visible;
}

.about-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Glassmorphism badge overlay */
.about-experience-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  padding: 24px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 250px;
}

.about-exp-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(170, 119, 28, 0.45));
  line-height: 1;
}

.about-exp-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
  padding: 100px 0;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.services-bg-decor {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(27, 94, 32, 0.05), transparent 70%);
  pointer-events: none;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.05) 0%, rgba(27, 94, 32, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(27, 94, 32, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-secondary);
  font-size: 1.8rem;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 8px 20px rgba(27, 94, 32, 0.3);
}

.service-slideshow {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.service-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.service-slide.active {
  opacity: 1;
  visibility: visible;
}

.service-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-title {
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 12px;
  font-weight: 700;
}

.service-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  flex-grow: 1;
}

/* ==========================================
   WHY CHOOSE US & STATS
   ========================================== */
.stats {
  padding: 80px 0;
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border-light);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-number::after {
  content: attr(data-suffix);
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================
   PREMIUM CLIENTS SECTION (DESKTOP GRID)
   ========================================== */
.clients-section {
  padding: 100px 0;
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border-light);
}

.clients-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.clients-marquee {
  width: 100%;
  margin-top: 45px;
}

.clients-track {
  display: block;
}

/* Desktop layout: centered grid flex wrap */
.clients-group:nth-child(1) {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
}

/* Hide duplicate logos on desktop */
.clients-group:nth-child(2) {
  display: none;
}

.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
}

.client-card:hover {
  transform: translateY(-5px);
}

.client-logo-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 15px;
}

.client-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.client-card:hover .client-logo-circle {
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

.client-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features {
  padding: 100px 0;
  background: var(--color-bg-white);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

.feature-item {
  padding: 30px;
  background: var(--color-bg-light);
  border-radius: 16px;
  border: 1px solid var(--color-border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(76, 175, 80, 0.2);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.feature-icon-wrapper {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background: rgba(76, 175, 80, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-accent);
  font-size: 1.25rem;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ==========================================
   INSTALLATION PROCESS TIMELINE
   ========================================== */
.timeline-section {
  padding: 100px 0;
  background: var(--color-bg-light);
  overflow: hidden;
}

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* Horizontal Timeline Scroll */
.timeline-outer {
  overflow-x: auto;
  padding: 40px 0;
  scrollbar-width: none; /* Firefox */
}

.timeline-outer::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.timeline-inner {
  display: flex;
  min-width: 1000px;
  position: relative;
  justify-content: space-between;
  padding: 0 50px;
}

.timeline-line {
  position: absolute;
  top: 75px;
  left: 50px;
  right: 50px;
  height: 4px;
  background: var(--color-border-light);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 75px;
  left: 50px;
  width: 0%;
  height: 4px;
  background: linear-gradient(to right, var(--color-secondary), var(--color-accent));
  z-index: 2;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-step {
  width: 120px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.timeline-node {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-white);
  border: 4px solid var(--color-border-light);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-muted);
  margin: 0 auto 20px;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sm);
}

.timeline-step.active .timeline-node {
  border-color: var(--color-secondary);
  background: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: 0 0 15px rgba(27, 94, 32, 0.4);
  transform: scale(1.1);
}

.timeline-step.completed .timeline-node {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
}

.timeline-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.timeline-detail {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ==========================================
   GOOGLE REVIEWS SECTION
   ========================================== */
.testimonials {
  padding: 100px 0;
  background: var(--color-primary);
  color: var(--color-white);
  position: relative;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Reviews Summary Card */
.reviews-summary-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.summary-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.summary-rating {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rating-stars {
  color: #FFD066;
  font-size: 1.2rem;
  display: flex;
  gap: 4px;
}

.rating-count {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.summary-right {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.google-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.google-brand svg {
  display: block;
}

.btn-write-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-white);
  background: var(--color-secondary);
  padding: 12px 24px;
  border-radius: 30px;
  transition: var(--transition-normal);
}

.btn-write-review:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(27, 94, 32, 0.3);
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

/* Review Card */
.review-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-luxury);
  border-color: rgba(255, 255, 255, 0.15);
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  font-family: var(--font-heading);
}

.review-meta {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
}

.review-stats {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.google-icon-wrapper {
  opacity: 0.8;
  display: flex;
  align-items: center;
}

.review-stars-date {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-stars {
  color: #FFD066;
  font-size: 0.9rem;
  display: flex;
  gap: 2px;
}

.review-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.review-badge-new {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  flex-grow: 1;
}

/* Hide reviews classes */
.review-card.review-hidden {
  display: none;
  opacity: 0;
  transform: translateY(15px);
}

.review-card.review-hidden.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.reviews-toggle-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .reviews-summary-card {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .summary-right {
    width: 100%;
    justify-content: space-between;
  }
}



/* ==========================================
   CALL TO ACTION & CONTACT MAPS
   ========================================== */
.cta {
  padding: 100px 0;
  background: linear-gradient(rgba(54, 46, 43, 0.8), rgba(54, 46, 43, 0.85)), url('../images/solar_fence_hero.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-white);
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

.cta h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 20px;
}

.cta h2 span {
  color: var(--color-secondary);
}

.cta p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Contact Details Info Panel */
.contact-section {
  padding: 100px 0;
  background: var(--color-bg-white);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-card {
  padding: 30px;
  border-radius: 16px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 94, 32, 0.3);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(54, 46, 43, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-primary);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-card-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.contact-card-text a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
}

.contact-card-text a:hover {
  color: var(--color-secondary);
}

/* Map Frame Placeholder */
.map-container {
  height: 100%;
  min-height: 400px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-border-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
}

.map-placeholder-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.map-placeholder h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.map-placeholder p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 320px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  object-fit: cover;
}

.footer-logo-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.5px;
}

.footer-logo-title span {
  color: var(--color-accent);
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 380px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.footer-social-icon:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(27, 94, 32, 0.3);
}

.footer-links h3, .footer-contact h3 {
  font-size: 1.15rem;
  color: var(--color-secondary);
  margin-bottom: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-link-item a:hover {
  color: var(--color-secondary);
  padding-left: 5px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item svg {
  color: var(--color-secondary);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   GALLERY PAGE SPECIFIC STYLES
   ========================================== */
.gallery-section {
  padding: 140px 0 100px;
  background: var(--color-bg-light);
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Filter buttons */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 30px;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  cursor: pointer;
  transition: var(--transition-normal);
  color: var(--color-text-muted);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

/* Masonry grid */
.gallery-grid {
  columns: 3 320px;
  column-gap: 24px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-video-item {
  min-height: 420px;
}

.gallery-video-item video {
  width: 100%;
  height: 420px;
  display: block;
  object-fit: cover;
  background: var(--color-primary);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-play-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 94, 32, 0.95);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(54, 46, 43, 0.9) 0%, rgba(54, 46, 43, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover video {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-category {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.gallery-item-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(54, 46, 43, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1050;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: var(--shadow-luxury);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.9);
  transition: transform 0.4s ease;
}

.lightbox-video {
  display: none;
  max-width: 100%;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: var(--shadow-luxury);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-caption {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 20px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -60px;
  right: 0;
  color: var(--color-white);
  font-size: 2.2rem;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--color-secondary);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

/* ==========================================
   BOOKING PAGE SPECIFIC STYLES
   ========================================== */
.booking-section {
  padding: 140px 0 100px;
  background: linear-gradient(rgba(54, 46, 43, 0.9), rgba(54, 46, 43, 0.95)), url('../images/solar_fence_hero.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.booking-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.booking-card {
  padding: 50px;
  margin-top: 20px;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 1px;
}

.form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-input:focus {
  border-color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(27, 94, 32, 0.2);
}

select.form-input {
  appearance: none;
  cursor: pointer;
}

select.form-input option {
  background: var(--color-primary);
  color: var(--color-white);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  accent-color: var(--color-secondary);
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.form-submit-btn {
  width: 100%;
  margin-top: 15px;
}

/* ==========================================
   ANIMATION CLASSES & KEYFRAMES
   ========================================== */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes scrollWheel {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 15px); }
  100% { opacity: 0; }
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes subtitlePulse {
  0% {
    letter-spacing: 3px;
    opacity: 0.95;
    text-shadow: 0 0 1px rgba(58, 134, 200, 0);
  }
  50% {
    letter-spacing: 4.5px;
    opacity: 1;
    text-shadow: 0 0 8px rgba(58, 134, 200, 0.35);
  }
  100% {
    letter-spacing: 3px;
    opacity: 0.95;
    text-shadow: 0 0 1px rgba(58, 134, 200, 0);
  }
}

@keyframes skyPhonePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(58, 134, 200, 0.6), 0 8px 20px rgba(58, 134, 200, 0.3);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(58, 134, 200, 0), 0 8px 20px rgba(58, 134, 200, 0.3);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(58, 134, 200, 0), 0 8px 20px rgba(58, 134, 200, 0.3);
  }
}

@keyframes floatCallIconShake {
  0%, 90%, 100% { transform: rotate(0) scale(1); }
  92% { transform: rotate(-15deg) scale(1.15); }
  94% { transform: rotate(15deg) scale(1.15); }
  96% { transform: rotate(-15deg) scale(1.15); }
  98% { transform: rotate(15deg) scale(1.15); }
}

/* On-scroll reveal effects */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-zoom.active {
  opacity: 1;
  transform: scale(1);
}

/* Delay modifiers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* ==========================================
   RESPONSIVE LAYOUT
   ========================================== */
@media (max-width: 1024px) {
  .header {
    padding: 14px 0;
  }

  .nav-container,
  .hero-container,
  .about-container,
  .services-container,
  .stats-container,
  .clients-container,
  .features-container,
  .timeline-container,
  .contact-container,
  .footer-container,
  .footer-bottom,
  .gallery-container,
  .booking-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .menu-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 86vw);
    height: 100vh;
    padding: 100px 28px 32px;
    background: rgba(212, 237, 218, 0.96);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-luxury);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    transform: translateX(105%);
    transition: transform 0.35s ease;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu .nav-link {
    color: var(--color-primary);
    width: 100%;
    padding: 14px 0;
  }

  .nav-menu .nav-btn {
    margin-top: 10px;
    padding: 14px 22px;
    text-align: center;
  }

  .hero-title {
    font-size: 3.4rem;
  }

  .hero-tagline {
    font-size: 1.15rem;
  }

  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .about-media {
    order: -1;
  }

  .about-img-frame {
    max-width: 640px;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .booking-section,
  .cta {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .logo-img-wrapper {
    width: 44px;
    height: 44px;
  }

  .logo-title {
    font-size: 1rem;
  }

  .logo-subtitle {
    font-size: 0.62rem;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 70px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.65rem;
    letter-spacing: 0;
  }

  .hero-badge {
    max-width: 100%;
    white-space: normal;
    border-radius: 18px;
    line-height: 1.4;
  }

  .hero-tagline {
    font-size: 1rem;
    padding-left: 14px;
  }

  .hero-btns,
  .cta-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.86rem;
    white-space: normal;
    text-align: center;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .about,
  .services,
  .stats,
  .clients-section,
  .features,
  .timeline-section,
  .testimonials,
  .cta,
  .contact-section,
  .footer {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .gallery-section,
  .booking-section {
    padding-top: 120px;
    padding-bottom: 70px;
  }

  .section-header {
    margin-bottom: 38px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-description {
    font-size: 0.96rem;
  }

  .about-bullets,
  .stats-container,
  .booking-form-grid {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: auto;
  }

  .about-experience-badge {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    padding: 18px;
  }

  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Mobile auto-scrolling marquee loop */
  .clients-marquee {
    overflow: hidden;
    width: 100%;
    display: flex;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
  }

  .clients-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 25s linear infinite;
  }

  .clients-track:hover {
    animation-play-state: paused;
  }

  .clients-group:nth-child(1) {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    padding-right: 24px;
    width: auto;
  }

  /* Show duplicate group on mobile only */
  .clients-group:nth-child(2) {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    padding-right: 24px;
    width: auto;
  }

  .client-card {
    flex: 0 0 120px;
  }

  .client-logo-circle {
    width: 120px;
    height: 120px;
  }

  .service-card,
  .feature-item,
  .contact-card,
  .booking-card,
  .cta-container {
    border-radius: 16px;
  }

  .service-card,
  .booking-card,
  .cta-container {
    padding: 28px 22px;
  }

  .client-logo-circle {
    width: 120px;
    height: 120px;
  }

  .timeline-outer {
    overflow-x: visible;
    padding: 10px 0;
  }

  .timeline-inner {
    min-width: 0;
    flex-direction: column;
    gap: 24px;
    padding: 0;
  }

  .timeline-line,
  .timeline-progress {
    top: 25px;
    bottom: 25px;
    left: 25px;
    right: auto;
    width: 4px !important;
    height: auto;
  }

  .timeline-step {
    width: 100%;
    min-height: 58px;
    text-align: left;
    padding-left: 78px;
  }

  .timeline-node {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }

  

  

  .cta h2 {
    font-size: 2.15rem;
  }

  .contact-card {
    padding: 22px;
  }

  .map-container {
    min-height: 320px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-grid {
    columns: 2 240px;
    column-gap: 18px;
  }

  .gallery-item {
    margin-bottom: 18px;
    border-radius: 16px;
  }

  .gallery-video-item,
  .gallery-video-item video {
    min-height: 320px;
    height: 320px;
  }

  .lightbox-content {
    max-width: calc(100% - 32px);
  }

  .lightbox-close {
    top: -50px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .floating-contacts {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }

  .float-btn {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }

  .back-to-top {
    left: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .nav-container,
  .hero-container,
  .about-container,
  .services-container,
  .stats-container,
  .clients-container,
  .features-container,
  .timeline-container,
  .testimonials-container,
  .contact-container,
  .footer-container,
  .footer-bottom,
  .gallery-container,
  .booking-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo {
    gap: 8px;
  }

  .logo-title {
    font-size: 0.9rem;
  }

  .logo-subtitle {
    letter-spacing: 0.5px;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-badge,
  .section-subtitle {
    letter-spacing: 1.2px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .about-img-frame {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
  }

  .about-experience-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .about-exp-num {
    font-size: 2.2rem;
  }

  .stat-item,
  .contact-card {
    flex-direction: column;
  }

  .feature-header {
    align-items: flex-start;
  }

  .client-card,
  .feature-item {
    padding-left: 20px;
    padding-right: 20px;
  }

  

  .cta h2 {
    font-size: 1.8rem;
  }

  .gallery-filters {
    justify-content: flex-start;
  }

  .filter-btn {
    flex: 1 1 calc(50% - 8px);
    padding-left: 12px;
    padding-right: 12px;
  }

  .gallery-grid {
    columns: 1;
  }

  .gallery-video-item,
  .gallery-video-item video {
    min-height: 260px;
    height: 260px;
  }

  .booking-card {
    padding: 24px 18px;
  }
}



@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
