/* ================= GLOBAL RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #ffffff;
  color: #222;
  line-height: 1.6;
}

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  height: 64px; /* FIXED HEADER HEIGHT */
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ================= BRAND ================= */
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 700;
}

/* Logo container controls space (IMPORTANT) */
.brand-logo-wrap {
  width: 42px;       /* fixed space */
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo itself can be big without breaking header */
.brand-logo {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.brand-dark {
  color: #222;
}

.brand-blue {
  color: #1e88e5;
}

/* ================= NAV ================= */
.nav {
  display: flex;
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  color: #333;
  transition: color 0.3s;
}

.nav a:hover {
  color: #1e88e5;
}

/* ================= MOBILE VIEW ================= */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .brand {
    font-size: 22px;
  }

  .brand-logo-wrap {
    width: 32px;
    height: 32px;
  }

  .nav {
    position: absolute;
    top: 64px;
    right: 0;
    background: #ffffff;
    width: 100%;
    flex-direction: column;
    align-items: center;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav a {
    margin: 15px 0;
  }

  .nav.active {
    display: flex;
  }
}

/* ================= QUICK STRIP MARQUEE ================= */ 
.quick-strip { 
  background: #1e88e5;
  overflow: hidden; padding: 10px 0; 
  position: relative; 
} 
  
.quick-strip-track {
  display: flex; 
  gap: 30px; 
  white-space: nowrap; 
  width: max-content; 
  will-change: transform; 
} 

.quick-strip-track span { 
  color: #fff; 
  font-size: 14px; 
  font-weight: 500; 
  padding: 6px 14px; 
  border-radius: 20px; 
  background: rgba(255, 255, 255, 0.15); 
  cursor: default; 
  transition: background 0.3s; 
} 

.quick-strip-track span:hover { 
  background: rgba(255, 255, 255, 0.3); 
}

/* ================= HERO ================= */
.hero {
  background: linear-gradient(120deg, #e3f2fd, #ffffff);
  padding: 60px 20px;
}

.hero-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1;
}

.hero-left h1 {
  font-size: 44px;
  line-height: 1.2;
}

.hero-left h1 span {
  color: #1e88e5;
}

.hero-left h3 {
  margin: 15px 0;
  font-weight: 500;
  color: #444;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.hero-tags span {
  background: #f1f5f9;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
}

/* ================= BUTTONS ================= */
.btn-primary,
.btn-chat {
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary {
  background: #1e88e5;
  color: #fff;
}

.btn-primary:hover {
  background: #1565c0;
}

.btn-chat {
  background: #0f172a;
  color: #fff;
}

.btn-chat:hover {
  background: #020617;
}

/* ================= CTA ================= */
.cta {
  background: #0f172a;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.cta h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

/* ================= HERO ENHANCED ================= */
.hero {
  background: linear-gradient(120deg, #e3f2fd, #ffffff);
  padding: 80px 20px;
}

.hero-left h1 {
  font-size: 46px;
  margin-bottom: 10px;
}

.hero-desc {
  max-width: 520px;
  margin: 15px 0;
  color: #555;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* STATS */
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 35px;
}

.hero-stats div {
  text-align: center;
}

.hero-stats strong {
  font-size: 22px;
  color: #1e88e5;
}

.hero-stats span {
  display: block;
  font-size: 13px;
  color: #555;
}

/* RIGHT CARD */
/* ================= HERO RIGHT FIX ================= */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

/* ================= HERO SLIDER ================= */
.hero-slider {
  width: 100%;
  max-width: 420px;
}

.slides {
  position: relative;
  width: 100%;
  height: 320px; /* IMPORTANT */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  background: #e5e7eb;
}

/* IMAGE FIX */
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

/* ================= DOTS ================= */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #1e88e5;
}

/* ================= MOBILE FIX ================= */
@media (max-width: 768px) {
  .hero-right {
    width: 100%;
    margin-top: 30px;
  }

  .slides {
    height: 220px;
  }
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }
}


/* =================About SECTIONS ================= */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.about-header {
  max-width: 800px;          /* keeps content readable */
  margin: 0 auto 50px auto;  /* centers horizontally */
  text-align: center;        /* centers h2 & p */
}

.about-header h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.about-header p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}


.section-light {
  background: #f8fafc;
}

.section-title {
  font-size: 32px;
  margin-bottom: 10px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

.section-heading {
  font-size: 22px;
  margin-top: 30px;
}

.section-text {
  margin-top: 10px;
  color: #555;
}

/* ================= INFO CARDS ================= */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.info-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.info-card h4 {
  margin-bottom: 10px;
  color: #1e88e5;
}

/* ================= ABOUT (PRO) ================= */
.about-new {
  background: #f9fafb;
  padding: 90px 20px;
  overflow: hidden;
}

.about-header {
  max-width: 680px;
  margin-bottom: 50px;
}

.about-header h2 {
  font-size: 36px;
}

.about-header p {
  color: #555;
  line-height: 1.7;
}

/* SLIDER */
.about-slider {
  overflow: hidden;
  margin-bottom: 70px;
}

.about-track {
  display: flex;
  gap: 25px;
  animation: slide 25s linear infinite;
}

.about-card {
  min-width: 260px;
  background: #fff;
  padding: 26px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  transition: 0.4s;
}

.about-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #1e88e5;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* WHY TRUST */
.about-why {
  margin-bottom: 70px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.trust-box {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  transition: 0.3s;
}

.trust-box:hover {
  background: #1e88e5;
  color: #fff;
  transform: translateY(-5px);
}

/* PROCESS */
.process-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.flow-step {
  background: #fff;
  padding: 22px;
  text-align: center;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  transition: 0.3s;
}

.flow-step:hover {
  transform: translateY(-6px);
  border-color: #1e88e5;
}

/* MOBILE */
@media (max-width: 768px) {
  .about-header {
    text-align: center;
  }
}


/* ================= SERVICES ================= */
.services-section {
  background: #edf5fd;
  padding: 80px 20px;
}

.services-container {
  max-width: 1100px;
  margin: auto;
}

.section-title {
  font-size: 34px;
  margin-bottom: 8px;
}

.section-subtitle {
  color: #555;
  margin-bottom: 30px;
}

/* SEARCH */
.service-search {
  width: 100%;
  max-width: 420px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  margin-bottom: 40px;
  font-size: 15px;
}

/* GRID */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* CARD */
.service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 26px;
  transition: 0.3s ease;
  cursor: pointer;
}

.service-card h4 {
  margin-bottom: 6px;
  font-size: 18px;
}

.service-card p {
  font-size: 14px;
  color: #555;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #1e88e5;
  box-shadow: 0 10px 30px rgba(30, 136, 229, 0.15);
}

/* HIDE ON SEARCH */
.service-card.hide {
  display: none;
}

/* ================= SERVICES MOTION ================= */

/* Stagger animation */
.service-card {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.6s ease;
}

/* When visible */
.service-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle floating effect */
@keyframes floatCard {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Apply float only after reveal */
.service-card.show {
  animation: floatCard 4s ease-in-out infinite;
}

/* Pause float on hover */
.service-card:hover {
  animation-play-state: paused;
}

/* Active focus (keyboard + mobile tap) */
.service-card:focus,
.service-card:active {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.25);
}


/* ================= CONTACT ================= */

.contact-section {
  background: #f8fafc;
  padding: 80px 20px;
}

.contact-wrapper {
  max-width: 1100px;
  margin: auto;
}

/* HEADER */
.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h2 {
  font-size: 34px;
  margin-bottom: 8px;
}

.contact-header p {
  color: #555;
  font-size: 15px;
}

/* FORM CONTAINER */
.contact-container {
  display: flex;
  justify-content: center;
}

/* FORM */
.contact-form {
  background: #ffffff;
  padding: 32px;
  width: 100%;
  max-width: 460px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1e88e5;
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
}

/* BUTTON */
.contact-form button {
  width: 100%;
  margin-top: 10px;
}

/* MESSAGE */
#formMsg {
  margin-top: 12px;
  font-size: 14px;
  min-height: 18px;
}

/* MOBILE */
@media (max-width: 600px) {
  .contact-header h2 {
    font-size: 28px;
  }
}

/* ================= FOOTER ================= */
.site-footer {
  background: #e9f2ff;
  margin-top: 80px;
}

/* ===== FOOTER NEWSLETTER ===== */
.footer-newsletter {
  background: #1e88e5;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.footer-newsletter h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.footer-newsletter p {
  font-size: 14px;
  opacity: 0.9;
}

.newsletter-form {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 10px 14px;
  border-radius: 6px;
  border: none;
  width: 260px;
}

.newsletter-form button {
  padding: 10px 18px;
}

/* ===== FOOTER MAIN ===== */
.footer-top {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* BRAND */
.brand-with-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: transform 0.6s ease;
}

/* SOCIAL */
.footer-social-links {
  display: flex;
  gap: 24px;
}

.footer-social-links a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
  position: relative;
}

.footer-social-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: 0.3s;
}

.footer-social-links a:hover::after {
  width: 100%;
}

/* POLICY */
.footer-links {
  text-align: center;
  margin-bottom: 10px;
}

.footer-links button {
  background: none;
  border: none;
  margin: 0 12px;
  cursor: pointer;
  font-size: 14px;
  color: #2563eb;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  font-size: 14px;
  padding: 12px;
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 20px;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero-left h1 {
    font-size: 34px;
  }

  .nav {
    display: none;
  }

  .hero-inner {
    flex-direction: column;
  }
}
