/*
 * SVVS Global Energy - Premium Design System
 * Customized Modern CSS for a Clean, Trustworthy & High-Converting Solar Energy Website.
 */

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

/* ==========================================
   CSS CUSTOM VARIABLES
   ========================================== */
:root {
  /* Color Palette */
  --primary: #0066ff;            /* Deep Solar Blue */
  --primary-rgb: 0, 102, 255;
  --primary-hover: #0052cc;
  
  --secondary: #21b573;          /* Green Energy */
  --secondary-rgb: 33, 181, 115;
  --secondary-hover: #1a925c;
  
  --accent: #ffb400;             /* Solar Yellow */
  --accent-rgb: 255, 180, 0;
  
  --dark-slate: #0f172a;         /* High-end charcoal */
  --dark-slate-rgb: 15, 23, 42;
  
  --text-main: #1e293b;          /* Main text */
  --text-muted: #64748b;         /* Muted text */
  
  /* Backgrounds */
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-light-grey: #f1f5f9;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: rgba(31, 38, 135, 0.08);
  
  /* Layout, Shadows & Transitions */
  --font-family: 'Plus Jakarta Sans', sans-serif;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --shadow-premium: 0 25px 50px -12px rgba(0, 102, 255, 0.12);
  
  --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.8s cubic-bezier(0.4, 0, 0.2, 1);
  
  --container-width: 1240px;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
  color: var(--text-main);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
  border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ==========================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-light {
  background-color: var(--bg-light);
}

.section-dark {
  background-color: var(--dark-slate);
  color: var(--bg-white);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-title-wrapper {
  margin-bottom: 60px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background-color: rgba(var(--primary-rgb), 0.1);
  border-radius: 50px;
  margin-bottom: 16px;
}

.badge-secondary {
  color: var(--secondary);
  background-color: rgba(var(--secondary-rgb), 0.1);
}

.badge-accent {
  color: var(--accent);
  background-color: rgba(var(--accent-rgb), 0.1);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark-slate);
  margin-bottom: 18px;
}

.section-dark .section-title {
  color: var(--bg-white);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.section-dark .section-desc {
  color: #94a3b8;
}

/* ==========================================
   BUTTONS & CTAs
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0052cc);
  color: var(--bg-white);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.25);
  background: linear-gradient(135deg, #0052cc, #0044b3);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), #1a925c);
  color: var(--bg-white);
}
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(33, 181, 115, 0.25);
  background: linear-gradient(135deg, #1a925c, #15754a);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #e09e00);
  color: var(--dark-slate);
}
.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 180, 0, 0.25);
  background: linear-gradient(135deg, #e09e00, #c78c00);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 26px;
  background: transparent;
  box-shadow: none;
}
.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-3px);
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--dark-slate);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
  background-color: var(--bg-light-grey);
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}
.btn:hover .btn-icon svg {
  transform: translateX(4px);
}

/* ==========================================
   STICKY GLASSMORPHIC HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
  padding: 20px 0;
}

.header.scrolled {
  padding: 12px 0;
  background-color: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark-slate);
  z-index: 1010;
}

.logo svg,
.logo-img {
  height: 65px; /* Significantly larger, highly visible default logo */
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: all var(--transition-normal);
}

.logo:hover .logo-img {
  transform: scale(1.03);
}

/* Scrolled state: slightly more compact logo */
.header.scrolled .logo-img,
.header.scrolled .logo svg {
  height: 48px;
}

/* Footer: prominent static logo size */
.footer-logo .logo-img,
.footer-logo svg {
  height: 75px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  color: var(--primary);
  letter-spacing: -0.5px;
  transition: color var(--transition-normal);
}

.header:not(.scrolled) .logo-name {
  color: var(--bg-white);
}

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

/* Mobile drawer CTA is hidden on desktop by default */
.drawer-cta {
  display: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-normal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after, .nav-link:hover::after {
  width: 100%;
}

/* Desktop-specific link transitions to keep mobile drawer links dark */
@media (min-width: 769px) {
  .header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9);
  }
  .header:not(.scrolled) .nav-link:hover,
  .header:not(.scrolled) .nav-link.active {
    color: var(--accent);
  }
  .header:not(.scrolled) .nav-link::after {
    background-color: var(--accent);
  }
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1010;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--bg-white); /* White initially to be visible on dark header banner */
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
}

/* Hamburger active or scrolled header spans become charcoal */
.header.scrolled .hamburger span,
.hamburger.active span {
  background-color: var(--dark-slate);
}

/* Hamburger Active Transform */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  position: relative;
  top: -1px;
}

.hamburger.active span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  position: relative;
  top: 1px;
}

/* ==========================================
   HERO SECTIONS
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Base Gradient Overlays */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 30%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  color: var(--bg-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 700px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
  background: linear-gradient(to right, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title span {
  background: linear-gradient(to right, #38bdf8, var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-size: 1.25rem;
  font-weight: 400;
  color: #cbd5e1;
  margin-bottom: 40px;
  line-height: 1.6;
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
  opacity: 0;
}

/* Hero Glass Card Widget */
.hero-widget {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 36px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  animation: floatWidget 6s ease-in-out infinite;
  opacity: 0;
  animation-fill-mode: forwards;
  animation-delay: 0.4s;
}

.hero-widget-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.hero-widget-row:last-child {
  margin-bottom: 0;
}

.hero-widget-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-md);
  background: rgba(33, 181, 115, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

.hero-widget-icon.blue {
  background: rgba(0, 102, 255, 0.2);
  color: #38bdf8;
}

.hero-widget-icon svg {
  width: 28px;
  height: 28px;
}

.hero-widget-info h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--bg-white);
}

.hero-widget-info p {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Inner Page Hero Banners */
.inner-hero {
  position: relative;
  padding: 160px 0 100px;
  background-size: cover;
  background-position: center;
  color: var(--bg-white);
}

.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  z-index: 1;
}

.inner-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.inner-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.inner-hero p {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================
   WHY CHOOSE US / VALUE PROPOSITIONS
   ========================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.why-card {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-grey);
  border-radius: var(--border-radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.why-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background-color: rgba(var(--primary-rgb), 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 28px;
  transition: all var(--transition-normal);
}

.why-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 12px;
}

.why-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Why Card Hover */
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-card:hover .why-card-icon {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: rotateY(180deg);
}

/* ==========================================
   SERVICES PREVIEW / GRID
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

/* Services page specific overrides */
.services-page-grid {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 50px;
}

.service-page-info {
  padding: 40px;
}

.service-page-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.service-page-desc {
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-page-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 12px;
}

.service-page-info .btn {
  margin-top: 16px;
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .services-page-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .services-page-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .service-page-info {
    padding: 24px;
  }
  .service-page-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
  }
  .service-page-desc {
    margin-bottom: 16px;
  }
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--bg-light-grey);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.service-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0) 60%);
}

.service-info {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-bullet-list {
  list-style: none;
  margin-bottom: 24px;
}

.service-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.service-bullet-item svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-top: auto;
}

.service-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.service-link:hover {
  color: var(--primary-hover);
}

.service-link:hover svg {
  transform: translateX(6px);
}

/* Service Card Hover States */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg), var(--shadow-premium);
  border-color: transparent;
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

/* ==========================================
   STATISTICS SECTION
   ========================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 2;
}

.stat-card {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--bg-white) 30%, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-dark .stat-number {
  /* Yellow highlights for contrast in dark section */
  background: linear-gradient(135deg, var(--accent) 30%, #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.5px;
}

/* ==========================================
   PROCESS TIMELINE SYSTEM
   ========================================== */
.process-wrapper {
  position: relative;
  margin-top: 80px;
}

.process-line {
  position: absolute;
  top: 120px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--bg-light-grey);
  z-index: 1;
}

.process-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transition: width var(--transition-slow);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.process-step {
  text-align: center;
}

.process-icon-outer {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 4px solid var(--bg-light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--dark-slate);
  color: var(--bg-white);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-icon-outer svg {
  width: 32px;
  height: 32px;
  transition: transform 0.4s ease;
}

.process-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 12px;
}

.process-step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0 16px;
}

/* Process Active / Hover Styles */
.process-step:hover .process-icon-outer {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.15);
  transform: translateY(-4px);
}

.process-step:hover .process-step-number {
  background-color: var(--primary);
}

.process-step:hover .process-icon-outer svg {
  transform: scale(1.15) rotate(10deg);
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-grey);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 8rem;
  line-height: 1;
  color: rgba(var(--primary-rgb), 0.05);
  font-family: serif;
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 28px;
  line-height: 1.6;
  flex-grow: 1;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-client-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-slate);
}

.testimonial-client-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================
   CALL TO ACTION (CTA) WRAPPERS
   ========================================== */
.cta-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  padding: 80px 60px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-premium);
}

.cta-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.9) 0%, rgba(33, 181, 115, 0.8) 100%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--bg-white);
  max-width: 750px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* ==========================================
   ABOUT US LAYOUTS (IMAGE & TEXT GRID)
   ========================================== */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.image-stack {
  position: relative;
}

.image-stack-main {
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  width: 90%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-stack-overlay {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  border: 6px solid var(--bg-white);
  box-shadow: var(--shadow-lg);
  background-color: var(--bg-white);
}

.about-bullets {
  list-style: none;
  margin: 28px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--dark-slate);
}

.about-bullet-item svg {
  width: 20px;
  height: 20px;
  color: var(--secondary);
}

/* Core Values Grids */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.value-card {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-grey);
  border-radius: var(--border-radius-md);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.value-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(var(--secondary-rgb), 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.value-card-icon svg {
  width: 26px;
  height: 26px;
}

.value-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 8px;
}

.value-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--secondary-rgb), 0.2);
}

/* ==========================================
   CONTACT US SPLIT & CONTACT FORM
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-panel {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-grey);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.contact-info-panel h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-details h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 6px;
}

.contact-details p, .contact-details a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-details a:hover {
  color: var(--primary);
}

/* Glassmorphic Form Card */
.contact-form-card {
  background: var(--bg-white);
  border: 1px solid var(--bg-light-grey);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md), var(--shadow-premium);
  position: relative;
}

.contact-form-card::after {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.contact-form-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 8px;
}

.contact-form-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--dark-slate);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-light);
  border: 1px solid var(--bg-light-grey);
  color: var(--text-main);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  margin-top: 8px;
}

/* ==========================================
   PREMIUM DARK FOOTER
   ========================================== */
.footer {
  background-color: var(--dark-slate);
  color: #cbd5e1;
  padding: 80px 0 30px;
  border-top: 4px solid var(--primary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo .logo-name {
  color: var(--bg-white);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 24px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 12px;
}

.footer-link {
  font-size: 0.9rem;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-link:hover svg {
  transform: translateX(4px);
}

.footer-contact-details {
  list-style: none;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1e293b;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social-icon svg {
  width: 18px;
  height: 18px;
}

.footer-social-icon:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-3px);
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.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.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Helpers */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* CSS Keyframes */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatWidget {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* ==========================================
   RESPONSIVE DESIGN Breakpoints
   ========================================== */

/* 1. Desktop & Large Tablets (Max 1024px) */
@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }
  
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  
  .footer-top > div:last-child {
    grid-column: span 3;
  }
}

/* 2. Tablets (Max 768px) */
@media (max-width: 768px) {
  .logo svg,
  .logo-img {
    height: 52px; /* Slightly scaled on mobile to avoid header crowding */
  }

  .section-title {
    font-size: 1.8rem;
  }
  
  .section-desc {
    font-size: 0.95rem;
  }
  
  .badge {
    font-size: 0.75rem;
    padding: 4px 12px;
  }
  
  /* Mobile Navigation Hamburger drawer */
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    gap: 24px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1005;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-cta {
    display: none; /* Hide on mobile navbar, add inline inside hamburger drawer */
  }
  
  .nav-menu .drawer-cta {
    display: block;
    margin-top: 20px;
    width: 100%;
  }
  
  .nav-menu .drawer-cta .btn {
    width: 100%;
  }

  /* Grid Restructuring */
  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .hero-content {
    text-align: center;
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-widget {
    max-width: 450px;
    margin: 0 auto;
  }
  
  /* Tablet Typography scaling adjustments */
  .inner-hero h1 {
    font-size: 2.2rem;
  }
  
  .inner-hero p {
    font-size: 1rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1.05rem;
  }
  
  .stat-number {
    font-size: 2.8rem !important;
  }
  
  .grid-2col {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .image-stack {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-bullets {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-line {
    display: none; /* Hide process line line on mobile */
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-icon-outer {
    margin-bottom: 16px;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-top > div:last-child {
    grid-column: span 2;
  }
}

/* 3. Small Mobile Devices (Max 480px) */
@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subhead {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .inner-hero h1 {
    font-size: 1.7rem;
  }
  
  .inner-hero p {
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-desc {
    font-size: 0.9rem;
  }
  
  .cta-wrapper {
    padding: 50px 24px;
  }
  
  .cta-content h2 {
    font-size: 1.5rem;
  }
  
  .cta-content p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  
  .stat-number {
    font-size: 2.2rem !important;
  }
  
  .why-card-title {
    font-size: 1.15rem;
  }
  
  .value-card-title {
    font-size: 1.1rem;
  }
  
  .contact-info-panel h3,
  .contact-form-card h3 {
    font-size: 1.35rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-form-card, .contact-info-panel {
    padding: 28px 20px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-top > div:last-child {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
