/* -----------------------
   Variables & Base
   ----------------------- */
:root {
  --ice-blue: #E1F5FE;
  --deep-navy: #0D47A1;
  --navy-light: #1565C0;
  --crisp-white: #FFFFFF;
  --accent-cyan: #00B8D4;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(13, 71, 161, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--crisp-white) 0%, var(--ice-blue) 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

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(--deep-navy); 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-dark);
}
h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--deep-navy);
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--deep-navy);
}

/* -----------------------
   Glassmorphism
   ----------------------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}
.glass-card, .glass-bg-box {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  padding: 30px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(13, 71, 161, 0.15);
}

/* -----------------------
   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(--deep-navy);
  color: var(--crisp-white);
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
}
.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--deep-navy);
  border: 2px solid var(--deep-navy);
}
.btn-outline:hover {
  background: var(--deep-navy);
  color: var(--crisp-white);
}
.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(--deep-navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo i { color: var(--accent-cyan); }
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--deep-navy);
  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(--deep-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--deep-navy);
  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(--deep-navy); background: rgba(255,255,255,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(to right, rgba(255,255,255,0.9) 0%, rgba(225,245,254,0.6) 100%);
}
.hero-content {
  max-width: 650px;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}
.hero-actions {
  display: flex;
  gap: 15px;
}
.trust-badges {
  display: flex;
  gap: 20px;
  font-weight: 600;
  color: var(--deep-navy);
}
.trust-badges i {
  color: var(--accent-cyan);
}

/* -----------------------
   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: 70px;
  height: 70px;
  background: var(--ice-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--deep-navy);
  margin: 0 auto 20px;
  box-shadow: inset 0 2px 10px rgba(255,255,255,0.5), 0 5px 15px rgba(13,71,161,0.1);
}

/* -----------------------
   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(--accent-cyan);
  margin-bottom: 15px;
}
.feature-item h4 {
  font-size: 1.2rem;
  color: var(--deep-navy);
  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(13, 71, 161, 0.4);
}
.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(--deep-navy);
}
.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(--deep-navy);
  box-shadow: 0 0 0 3px rgba(13,71,161,0.1);
}
.calc-result-box {
  background: rgba(255,255,255,0.9);
  padding: 20px;
  border-radius: 15px;
  border: 2px solid var(--accent-cyan);
}

/* -----------------------
   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(--deep-navy);
}

/* -----------------------
   Contact / Book
   ----------------------- */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  overflow: hidden;
}
.contact-info {
  flex: 1;
  min-width: 300px;
  background: var(--deep-navy);
  color: var(--crisp-white);
  padding: 40px;
}
.contact-info h2 { color: var(--crisp-white); }
.contact-details li {
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.contact-details i {
  width: 25px;
  color: var(--accent-cyan);
}
.contact-form-container {
  flex: 1.5;
  min-width: 300px;
  padding: 40px;
  background: rgba(255,255,255,0.7);
}
.booking-form .form-group {
  margin-bottom: 1.2rem;
}
.booking-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--deep-navy);
  font-size: 0.95rem;
}
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(13,71,161,0.2);
  border-radius: 8px;
  background: #FFF;
  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(--deep-navy);
  box-shadow: 0 0 0 3px rgba(13,71,161,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(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 30px 0;
}
.footer p { margin-bottom: 5px; }

/* -----------------------
   Media Queries
   ----------------------- */
@media (max-width: 900px) {
  .hero-actions { flex-direction: column; }
  .contact-wrapper { 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;
  }
}

/* -----------------------
   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;
}
