/* --------------------
   Header & Navigation
   -------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms;
  background: black; /* becomes solid on scroll */
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Prevent horizontal overflow */
html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.demo-ribbon {
  width: 150px;
  background: #f39c12; /* Warning orange or a professional blue */
  position: absolute;
  top: 25px;
  right: -40px;
  text-align: center;
  line-height: 30px;
  letter-spacing: 1px;
  color: #f0f0f0;
  transform: rotate(45deg);
  font-family: sans-serif;
  font-size: 12px;
  font-weight: bold;
  z-index: 9999;
  box-shadow: 0 0 3px rgba(0,0,0,0.3);
}

/* container used elsewhere; if you don't have it, keep same .container rules */
.header-inner {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* logo */
.logo {
  height: 50px; /* adjust as needed */
  width: auto;
  display: block;
}

/* nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 3.5rem;
}

.nav-list {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 8px;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #3889f3; 
  transform: translateY(-2px);
}

/* CTA in nav */
.nav-cta {
  background: #3889f3;
  color: #000;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  margin-left: 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  transition: transform .18s ease, box-shadow .18s ease;
}
.nav-cta:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.16); }

/* Mobile - hide full nav, show toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  margin-left: auto;
  margin-right: 0.8rem;
  padding: 8px;
}
.hamburger {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
  position: relative;
  transition: all .25s ease;
}
.hamburger::before,
.hamburger::after {
  content: "";
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
  position: absolute;
  left: 0;
  transition: all .25s ease;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

/* open state */
.site-header.open .hamburger { background: transparent; }
.site-header.open .hamburger::before { transform: translateY(7px) rotate(45deg); }
.site-header.open .hamburger::after  { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel (hidden by default) */
@media (max-width: 900px) {
  .header-inner {
    padding: 18px 16px;
  }

  .nav-toggle { display: block; }
  .main-nav { 
    position: fixed;
    right: 12px;
    top: 72px;
    background: rgba(0,0,0,0.95);
    padding: 20px;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  }
  .site-header.open .main-nav { display: flex; }
  .nav-list { flex-direction: column; gap: 12px; }
  .nav-cta { align-self: stretch; text-align:center; margin-left: 0; }
}

/* scrolled state: change background to solid + subtle shadow */
.site-header.scrolled {
  background: rgba(0,0,0,0.92);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* prevent anchor sections from hiding under fixed header */
section { scroll-margin-top: 88px; } /* adjust if header height changes */

/* Global container class */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

/* ensure hero is not hidden behind nav (if hero is full height) */
.hero { /* if you used hero earlier */
  min-height: 100vh;
  position: relative;
  margin: 0;
  padding: 0;
}

/* Hero container */
.hero {
  position: relative;
  height: 100vh;  /* full screen height */
  width: 100%;
  font-family: 'Poppins', sans-serif;
  color: white;
  margin: 0;
  padding: 0;
}

/* Ensure swiper fills hero */
.hero .swiper {
  width: 100%;
  height: 100%;
}

/* Slides fill swiper */
.hero .swiper-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Dark overlay */
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
  pointer-events: none;
}

/* Center hero content */
.hero-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  color: #3889f3; 
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero { min-height: 70vh; }
}

.btn {
  padding: 0.8rem 1.5rem;
  background: #3889f3;
  color: black;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn:hover {
  background: #3889f3;
}

/* Swiper arrows */
.swiper-button-next,
.swiper-button-prev {
  color: #3889f3; 
  z-index: 4; /* above overlay */
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 2rem; /* bigger arrows */
  color: #3889f3; 
  transition: color 0.3s;
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  color: #215faf; /* darker blue */
}

/* --------------------
   About Section Zig-Zag
-------------------- */
.about {
  background: #f9f9f9;
  color: #333;
  font-family: 'Poppins', sans-serif;
  padding: 4rem 2rem;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Zig-zag rows */
.about-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.about-row.reverse {
  flex-direction: row-reverse;
}

/* Text and image each take ~50% */
.about-text, .about-image {
  flex: 1;
  max-width: 48%;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #3889f3;
  margin-bottom: 1rem;
}

.about-text h3 {
  font-size: 1.8rem;
  color: #3889f3;
  margin-bottom: 1rem;
}

.about-text p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.highlight {
  font-style: italic;
  color: #3889f3;
}

/* Core values list */
.about-text ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.about-text li {
  margin-bottom: 0.5rem;
  color: #444;
  font-weight: 500;
}

/* Images and icons */
.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img, .icon-large {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Large icons for Mission/Values */
.icon-large {
  width: 150px;
  height: 150px;
}

/* --------------------
   Scroll Animations
-------------------- */
.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.slide-in {
  opacity: 1 !important;
  transform: translateX(0) !important;
}


/* --------------------
   Responsive
-------------------- */
@media (max-width: 768px) {
  .about-row, .about-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .about-text, .about-image {
    max-width: 100%;
  }

  .about-image img, .icon-large {
    max-width: 200px;
    margin: 0 auto;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-text h3 {
    font-size: 1.5rem;
  }
}

/* Default: all headings left-aligned */
.about-text h2,
.about-text h3 {
  text-align: left;
}

/* ================= Services Section ================= */
.services-section {
  background: #f9f9f9;
  padding: 80px 20px;
  overflow-x: hidden;
}

/* Layout: sidebar + content */
.services-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------- Sidebar ---------------- */
.services-sidebar {
  flex: 1;
  max-width: 280px;
}

.sidebar-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
}

.sidebar-card h3 {
  background-color: #333131;
  color: #3889f3;
  margin: 0;
  padding: 12px 15px;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-card ul li {
  border-bottom: 1px solid #eee;
}

.sidebar-card ul li:last-child {
  border-bottom: none;
}

.sidebar-card ul li a {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}

.sidebar-card ul li a:hover {
  background-color: #f5f5f5;
  color: #3889f3;
}

.sidebar-card ul li a.active {
  background-color: #3889f3;
  color: #fff;
  font-weight: bold;
}

/* ---------------- Service Details ---------------- */
.services-content {
  flex: 3;
  min-width: 0;
}

.service-detail {
  display: none;
  margin-bottom: 60px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
}

.service-detail.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

.service-detail h2 {
  background: #333131;
  color: #3889f3;
  padding: 15px 20px;
  margin: 0;
  font-size: 1.6rem;
  font-weight: bold;
  border-bottom: 1px solid #444;
}

.service-detail p {
  padding: 20px;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.service-detail ul {
  padding: 0 40px 20px 60px;
  margin: 0;
  list-style: disc;
  color: #333;
  font-size: 0.95rem;
}

/* ---------------- FAQs ---------------- */
.faqs {
  padding: 20px;
  border-top: 1px solid #eee;
  background: #fafafa;
  margin-top: 20px;
}

.faqs h3 {
  background-color: #333131;
  color: #3889f3;
  margin: -20px -20px 20px -20px;
  padding: 12px 15px;
  font-size: 1.5rem;
  border-bottom: 2px solid #3889f3;
  margin-bottom: 20px;
}

.faq {
  margin-bottom: 5px;
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
}

.faq-question {
  width: 100%;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 6px;
  background: none;
  border: none;
  outline: none;
  font-size: small;
  font-weight: 600;
  text-align: left;
  width: 100%;
  position: relative;
  padding-right: 25px;
  transition: color 0.3s ease;
}

.faq-question:hover {
    color: #0073e6;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-top: 2px;
  transition: max-height 0.3s ease;
}

.faq.open .faq-answer {
  display: block;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-question.open::after {
  content: "-";
}

/* ---------------- Animations ---------------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 768px) {
  .services-section {
    padding: 40px 0;
  }

  .services-layout {
    flex-direction: column;
    padding: 0 16px;
  }

  .services-sidebar {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .service-detail h2 {
    font-size: 1.3rem;
  }

  .service-detail p {
    padding: 15px;
  }

  .service-detail ul {
    padding: 0 20px 15px 35px;
  }
}

/* --------------------
   Contact Section
   -------------------- */
.contact-form {
  max-width: 100%;      
  margin: 10px;          
  padding: 50px;           
  background-color: #fff;  
  border-radius: 12px;     
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 15px;               
}

.contact-form h2 {
  color: #3889f3;          
  text-align: center;
  margin-bottom: 10px;
}


.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

/* Submit button styling */
.contact-form button {
  padding: 12px;
  background-color: #3889f3; 
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #2461b1; /* darker blue on hover */
}

.quote-form{
   max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;   
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background-color: #000;
}

@media (max-width: 600px) {
  .contact-form {
    padding: 20px;
    margin: 0;
  }

  .contact-form h2 {
    font-size: 1.3rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 12px;
  }

  .contact-form button {
    font-size: 1rem;
    padding: 12px;
  }
}
/* --------------------
   Footer
   -------------------- */
.site-footer {
  position: relative;
  background: url("images/calculator-385506_1280.jpg") center/cover no-repeat;
  color: #fff;
  padding: 4rem 2rem 2rem;
  overflow-x: hidden;
}

.footer-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1;
}

.footer-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand h3 {
  color: #3889f3;
  margin-bottom: 0.5rem;
}

.footer-services h4,
.footer-contact h4,
.footer-social h4 {
  color: #3889f3;
  margin-bottom: 1rem;
}

.footer-services ul {
  list-style: none;
  padding: 0;
}

.footer-services ul li {
  margin-bottom: 0.5rem;
}

.footer-services ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-services ul li a:hover {
  color: #3889f3;
}

.footer-contact p,
.footer-social a {
  margin-bottom: 0.5rem;
}

.footer-social a {
  color: #fff;
  margin-right: 12px;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #3889f3;
}

.dev-note-box {
  /* --- NEW FIXES START --- */
  position: relative; /* Necessary for z-index to work */
  z-index: 999;       /* High number to "punch" through the footer overlay */
  /* --- NEW FIXES END --- */

  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: white; /* This will now look bright white, not dimmed */
  padding: 15px 25px;
  border-radius: 8px;
  border-left: 4px solid #3b82f6; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* Slightly stronger shadow to show it's "hovering" over the overlay */
}

.dev-icon {
  font-size: 1.2rem;
}

.dev-note-box p {
  margin: 0;
  font-size: 0.95rem;
  color: #1e293b; /* Darkened slightly to ensure contrast against white */
  line-height: 1.5;
  text-align: left;
}

.dev-note-box strong {
  color: #0f172a;
}

/* Mobile responsive tweak */
@media (max-width: 600px) {
  .dev-note-box {
    flex-direction: column;
    text-align: center;
  }
  .dev-note-box p {
    text-align: center;
  }
}
.footer-bottom {
  position: relative;
  z-index: 2;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-brand h3,
  .footer-services h4,
  .footer-contact h4,
  .footer-social h4 {
    font-size: 1rem;
  }
}
