/*HOME PAGE*/
/* ===============================
   ROOT VARIABLES
=============================== */
:root {
  --primary: #0b2c4d;
  --secondary: #1ba098;
  --accent: #f4b860;
  --bg-light: #f8fafc;
  --text-dark: #1f2937;
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-hover: 0 18px 45px rgba(0,0,0,0.15);
}

/* ===============================
   GLOBAL
=============================== */
* {
  box-sizing: border-box;
}
/* ===== GLOBAL OVERFLOW FIX ===== */
html, body {
  max-width: 100%;
  position: relative;
  overflow-x: hidden;

}


body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: #fff;
  color: var(--text-dark);
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

h1, h2, h3 {
  color: var(--primary);
  font-weight: 700;
}

section {
  padding: 90px 0;
}

/* ===============================
   ANIMATIONS
=============================== */
.animate {
  opacity: 0;
  transform: translateY(40px);
  animation: reveal 0.9s ease forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* stagger effect */
.animate:nth-child(2) { animation-delay: .15s; }
.animate:nth-child(3) { animation-delay: .3s; }
.animate:nth-child(4) { animation-delay: .45s; }

/* ===============================
   BUTTONS (MODERN)
=============================== */
.btn {
  padding: 15px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  margin-left: 16px;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

/* ===============================
   HERO
=============================== */
.hero {
  background: linear-gradient(135deg, #0b2c4d, #1ba098);
  color: #fff;
  text-align: center;
  padding: 120px 0;
}

.hero h1 {
  font-size: 42px;
  color: #fff;
  max-width: 900px;
  margin: auto;
}

.hero p {
  max-width: 760px;
  margin: 20px auto 40px;
  font-size: 18px;
  opacity: .95;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===============================
   SERVICES
=============================== */
.services {
  background: var(--bg-light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: #fff;
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
 
  background: linear-gradient(135deg, transparent, rgba(27,160,152,.08));
  opacity: 0;
  transition: .35s;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

/* ===============================
   TRUST
=============================== */
.trust-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.trust-list li {
  background: #fff;
  padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform .3s;
}

.trust-list li:hover {
  transform: translateX(6px);
}

/* ===============================
   PROCESS (TIMELINE FEEL)
=============================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.step {
  background: linear-gradient(135deg, #e5f4f2, #ffffff);
  padding: 25px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease;
}

.step:hover {
  transform: scale(1.05);
}

/* ===============================
   DELIVERABLES
=============================== */
.deliverables ul {
  max-width: 700px;
  margin: 40px auto 0;
  list-style: none;
  padding: 0;
}

.deliverables li {
  padding: 14px 18px;
  margin-bottom: 12px;
  background: #fff;
  border-left: 5px solid var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* ===============================
   TESTIMONIAL
=============================== */
.testimonial blockquote {
  font-size: 20px;
  font-style: italic;
  max-width: 900px;
  margin: auto;
  position: relative;
}

.testimonial span {
  display: block;
  margin-top: 20px;
  font-weight: 600;
  color: var(--secondary);
  text-align: center;
}

/* ===============================
   ENQUIRY FORM
=============================== */
.enquiry form {
  max-width: 620px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

.enquiry input,
.enquiry select,
.enquiry textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid #ddd;
  transition: all .25s ease;
}

.enquiry input:focus,
.enquiry textarea:focus,
.enquiry select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(27,160,152,.15);
}

.note {
  font-size: 14px;
  text-align: center;
  opacity: .7;
}

/* ===============================
   FOOTER
=============================== */
.footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 25px;
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 30px;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 12px;
  }

  section {
    padding: 70px 0;
  }
}
/*Home page end*/

/* ===============================
   Header
=============================== */

/* ===============================
   HEADER & NAVBAR
=============================== */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo a {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo span {
  color: var(--secondary);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
  position: relative;
}

.main-nav a:hover {
  color: var(--secondary);
}

/* =========================
   DROPDOWN – BASE (DESKTOP)
========================= */

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 260px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  padding: 10px 0;

  /* IMPORTANT FIX */
  display: flex;
  flex-direction: column;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 999;
}

/* Show on hover (desktop) */
.has-dropdown:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown items */
.dropdown li {
  width: 100%;
}

.dropdown li a {
  display: block;
  width: 100%;
  padding: 12px 18px;
  font-size: 14px;
  color: #1f2937;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Hover effect */
.dropdown li a:hover {
  background: #f1f5f9;
  color: #2563eb;
}


/* CTA */
.nav-cta .btn {
  padding: 10px 20px;
}

/* MOBILE */
.mobile-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 992px) {

  .mobile-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
    padding: 20px 0;
    z-index: 1000;
  }

  /* ✅ THIS IS WHAT JS NEEDS */
  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .main-nav ul li {
    width: 100%;
  }

  .main-nav ul li a {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-bottom: 1px solid #eee;
  }

  /* MOBILE DROPDOWN */
  .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: 0;
  }

  .has-dropdown.active > .dropdown {
    display: block;
  }

  .dropdown li a {
    padding-left: 40px;
    background: #f9fafb;
  }
}


/*end header*/


/*Start footer*/
/* ================= FOOTER ================= */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding-top: 70px;
  font-family: 'Inter', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 50px;
}

.footer-col h4,
.footer-logo {
  color: #ffffff;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-logo span {
  color: #38bdf8;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #cbd5e1;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #38bdf8;
  padding-left: 6px;
}

/* FOOTER BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer-bottom-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 13px;
  margin: 0;
}

.footer-cta {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.footer-cta:hover {
  transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-wrap {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/*end footer*/

/*Strat STICKY CTA*/
/* ================= MOBILE STICKY CTA ================= */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    padding: 14px 26px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 9999;
    animation: pulse 2s infinite;
  }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
  70% { box-shadow: 0 0 0 15px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/*end STICKY CTA*/

/* Start WHATSAPP FLOATING BUTTON*/
/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 18px;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/*end WHATSAPP FLOATING BUTTON*/
