/* -----------------------
   Variables & Base
   ----------------------- */
:root {
  --primary: #0066FF;
  --primary-hover: #0052CC;
  --secondary: #00D1FF;
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #475569;
  --accent-gradient: linear-gradient(135deg, #0066FF 0%, #00D1FF 100%);
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
  --soft-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  --glow-shadow: 0 0 20px rgba(0, 102, 255, 0.15);
  
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --crisp-white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  background-image: 
    radial-gradient(circle at 0% 0%, rgba(0, 102, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(0, 209, 255, 0.03) 0%, transparent 50%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow {
  max-width: 800px;
}
.section-padding {
  padding: 80px 0;
}
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.text-highlight { color: var(--primary); font-weight: 800; }
.text-muted { color: var(--text-muted); }
.small { font-size: 0.85rem; }
.d-none { display: none !important; }

/* -----------------------
   Typography
   ----------------------- */
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-main);
}
h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--text-main);
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

/* -----------------------
   Glassmorphism
   ----------------------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.glass-card, .glass-bg-box {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 35px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--secondary);
}

/* -----------------------
   Buttons
   ----------------------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}
.btn-large {
  padding: 15px 35px;
  font-size: 1.1rem;
}
.btn-primary {
  background: var(--accent-gradient);
  color: #FFFFFF;
  box-shadow: var(--glow-shadow);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00D1FF 0%, #0066FF 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #FFFFFF;
}
.btn-full {
  width: 100%;
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: var(--crisp-white);
  animation: spin 1s ease-in-out infinite;
  display: inline-block;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* -----------------------
   Navbar
   ----------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: padding 0.3s;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo i { color: var(--secondary); }
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.phone-link {
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* -----------------------
   Sticky Mobile Bar
   ----------------------- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 10px 20px;
  border-top: 1px solid var(--glass-border);
  border-bottom: none;
}
.mobile-sticky-bar a {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-weight: 700;
  border-radius: 10px;
}
.sticky-phone { color: var(--crisp-white); background: rgba(59, 130, 246, 0.8); margin-right: 10px; }

/* -----------------------
   Hero
   ----------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(248, 250, 252, 0.6) 100%);
}
.hero-breeze {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-breeze svg {
  width: 100%;
  height: 100%;
}
.breeze-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: breeze-flow 10s linear infinite;
}
@keyframes breeze-flow {
  0% { stroke-dashoffset: 1000; opacity: 0; }
  20% { opacity: 0.5; }
  80% { opacity: 0.5; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.hero-content {
  max-width: 650px;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  gap: 15px;
}
.trust-badges {
  display: flex;
  gap: 20px;
  font-weight: 600;
  color: var(--primary);
}
.trust-badges i {
  color: var(--secondary);
}

/* -----------------------
   Services
   ----------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.service-card {
  text-align: center;
}
.icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 209, 255, 0.05) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin: 0 auto 25px;
  border: 1px solid rgba(0, 102, 255, 0.1);
  transition: all 0.3s ease;
}
.service-card:hover .icon-wrapper {
  background: var(--accent-gradient);
  color: #FFFFFF;
  transform: rotateY(360deg);
}

/* -----------------------
   Why Us
   ----------------------- */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}
.feature-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 15px;
}
.feature-item h4 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

/* -----------------------
   Calculator
   ----------------------- */
.calculator-section {
  background: url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat fixed;
  position: relative;
}
.calculator-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
}
.calculator-section .container {
  position: relative;
  z-index: 1;
}
.calculator-form .form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}
.calculator-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}
.calculator-form select,
.calculator-form input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid rgba(13,71,161,0.2);
  background: rgba(255,255,255,0.9);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.calculator-form select:focus,
.calculator-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}
.calc-result-box {
  background: var(--bg-main);
  padding: 25px;
  border-radius: var(--radius-md);
  border: 2px dashed var(--secondary);
}

/* -----------------------
   Testimonials Carousel
   ----------------------- */
.carousel-container {
  overflow: hidden;
  padding: 20px 0;
}
.carousel-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: none; /* Firefox */
}
.carousel-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  min-width: 300px;
  flex: 0 0 350px;
  scroll-snap-align: start;
}
.stars {
  color: #FFB300;
  margin-bottom: 15px;
}
.review-text {
  font-style: italic;
  margin-bottom: 20px;
}
.customer-name {
  font-weight: 700;
  color: var(--primary);
}

/* -----------------------
   Contact / Book
   ----------------------- */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  overflow: hidden;
}
.contact-info {
  flex: 1;
  min-width: 300px;
  background: var(--bg-card);
  color: var(--text-main);
  padding: 40px;
  border-right: 1px solid var(--glass-border);
}
.contact-info h2 { color: var(--primary); }
.contact-details li {
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.contact-details i {
  width: 25px;
  color: var(--secondary);
}
.contact-form-container {
  flex: 1.5;
  min-width: 300px;
  padding: 40px;
  background: var(--bg-main);
}
.booking-form .form-group {
  margin-bottom: 1.2rem;
}
.booking-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-main);
  font-size: 0.95rem;
}
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(0, 102, 255, 0.1);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}
.error-text {
  color: #D32F2F;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

/* Success Animation */
.success-animation {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}
.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #4CAF50;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #4CAF50;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}
.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #4CAF50;
  fill: none;
  animation: stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}
@keyframes stroke { 100% { stroke-dashoffset: 0; } }
@keyframes scale { 0%, 100% { transform: none; } 50% { transform: scale3d(1.1, 1.1, 1); } }
@keyframes fill { 100% { box-shadow: inset 0px 0px 0px 50px #4CAF50; } }

/* Footer */
.footer {
  background: var(--bg-card);
  color: var(--text-muted);
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
}
.footer p { margin-bottom: 5px; }

/* -----------------------
   Success Page
   ----------------------- */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.success-layout {
  width: 100%;
  max-width: 980px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.success-left {
  flex: 1;
  min-width: 300px;
  background: var(--bg-card);
  color: var(--text-main);
  padding: 48px;
}

.success-left h1 {
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.success-left p {
  font-size: 1.15rem;
  margin-bottom: 28px;
}

.success-left .contact-details li {
  margin-bottom: 16px;
}

.success-right {
  position: relative;
  flex: 1.3;
  min-width: 300px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-main);
}

.success-content {
  width: 100%;
  max-width: 420px;
}

.success-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0, 102, 255, 0.1);
  background: #FFFFFF;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: all 0.3s ease;
}

.success-close-btn:hover {
  transform: scale(1.05);
  background: #ffffff;
}

.success-timer {
  margin-top: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.countdown-pill {
  display: inline-block;
  min-width: 38px;
  padding: 4px 10px;
  margin-left: 4px;
  border-radius: 999px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--primary);
  font-weight: 800;
}

/* -----------------------
   Media Queries
   ----------------------- */
@media (max-width: 900px) {
  .hero-actions { flex-direction: column; }
  .contact-wrapper { flex-direction: column; }
  .success-layout { flex-direction: column; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 80px);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s;
  }
  .nav-links.active { right: 0; }
  .nav-actions { display: none; }
  .menu-toggle { display: block; }
  
  .mobile-sticky-bar { display: flex; }
  body { padding-bottom: 70px; /* Space for sticky bar */ }
  .hero-content { text-align: center; margin: 0 auto; }
  .trust-badges { justify-content: center; }
  .section-padding { padding: 50px 0; }
  
  .floating-btn {
    bottom: 80px; /* Above the mobile sticky bar */
    width: 50px;
    height: 50px;
    font-size: 24px;
    z-index: 998;
  }

  .success-page {
    padding: 14px;
  }

  .success-layout {
    border-radius: 18px;
    max-width: 420px;
  }

  .success-left {
    display: none;
  }

  .success-right {
    min-width: 100%;
    padding: 52px 20px 24px;
  }

  .success-content {
    max-width: 100%;
  }

  .success-content h2 {
    font-size: 1.6rem;
  }

  .success-content p {
    font-size: 0.98rem;
  }

  .success-animation,
  .checkmark {
    width: 68px;
    height: 68px;
  }
}

/* -----------------------
   Floating Action Buttons
   ----------------------- */
.floating-btn {
  position: fixed;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #FFF;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background-color 0.3s;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
  color: #FFF;
}

.floating-btn.whatsapp {
  left: 20px;
  background-color: #25D366;
}
.floating-btn.whatsapp:hover {
  background-color: #1DA851;
}

.floating-btn.call {
  right: 20px;
  background-color: #007bff;
}
.floating-btn.call:hover {
  background-color: #0056b3;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 45px;   /* adjust this */
    height: 45px;
    object-fit: contain;
    border-radius: 12px; /* matches your rounded logo look */
}

/* Optional: text styling */
.logo span {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.1;
}
