/****************************
  GLOBAL RESETS & VARIABLES
*****************************/
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: "Poppins", sans-serif;
  background:#f3f6fc;
  color:#1a1f2c;
}

/* Brand Colors */
:root {
  --brand:#0058ff;
  --brand-dark:#003bb3;
  --text:#1b1f28;
  --sub:#5f6a7a;
  --light:#ffffff;
  --gray:#e7ebf2;
  --glass-bg:rgba(255,255,255,0.25);
  --glass-border:rgba(255,255,255,0.55);
}

/****************************
  LAYOUT
*****************************/
.container { max-width:1250px; margin:auto; padding:0 25px; }

/****************************
  HEADER - GLASS
*****************************/
header {
  width:100%;
  position:fixed;
  top:0; z-index:800;
  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,0.3);
  padding:18px 0;
  transition:.3s;
}
header.scrolled {
  background:rgba(255,255,255,0.92);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-container .col-6:last-child {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
}


.logo {
  font-size:1.7rem;
  font-weight:700;
  color:var(--brand-dark);
}

nav ul {
  list-style:none;
  display:flex;
  gap:32px;
}
nav ul li a {
  color:#111;
  font-weight:600;
  font-size:0.98rem;
  text-decoration:none;
  transition:.3s;
  padding:6px 14px;
  border-radius:6px;
}
nav ul li a:hover,
nav ul li a.active {
  background:var(--brand);
  color:#fff;
}

/****************************
  HERO SLIDER
*****************************/
.slider { position:relative; height:96vh; margin-top:75px; }
.slide {
  width:100%; height:100%;
  position:absolute;
  background-size:cover !important;
  background-position:center !important;
  opacity:0; transition:1s;
}
.slide.active { opacity:1; }

.slide::after {
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(0,0,0,0.55),rgba(0,0,0,0.25));
}

.slide-content {
  position:relative;
  z-index:20;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  color:white;
  text-align:center;
  padding:0 20px;
}
.slide-content h2 {
  font-size:3.3rem;
  font-weight:700;
  margin-bottom:12px;
}
.slide-content p {
  font-size:1.15rem;
  opacity:.9;
}

.btn {
  margin-top:22px;
  padding:14px 34px;
  border-radius:8px;
  background:var(--brand);
  font-weight:600;
  color:white;
  font-size:1rem;
  text-decoration:none;
  box-shadow:0 6px 16px rgba(0,0,0,0.25);
  transition:.3s;
}
.btn:hover { background:var(--brand-dark); transform:translateY(-4px); }

/* Slider Nav Arrows */
.arrow {
  position:absolute; top:50%;
  font-size:48px;
  color:white;
  cursor:pointer;
  padding:12px;
  z-index:30;
  opacity:.75;
  transition:.3s;
}
.arrow:hover { opacity:1; }
.left-arrow { left:25px; }
.right-arrow { right:25px; }


/****************************
  SERVICES SECTION
*****************************/
/* SERVICES SECTION */
.services {
  padding: 110px 0;
  text-align: center;
}

/* Scroll container */
.row.overflow-x {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding-bottom: 20px;
}

/* Cards wrapper */
.service-cards {
  display: flex;
  flex-wrap: nowrap;        /* force single row */
  gap: 32px;
}

/* Individual cards */
.service-cards .card {
  flex: 0 0 340px;          /* FIXED width */
}

/* Prevent page scroll */
body {
  overflow-x: hidden;
}

.row.overflow-x {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
}


/* .services {
  padding:110px 0;
  text-align:center;
} */
.services h2 {
  font-size:2.7rem;
  font-weight:700;
  margin-bottom:60px;
  background:linear-gradient(135deg,#003bb3,#007aff);
  -webkit-background-clip:text;
  color:transparent;
}

.service-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
}

.service-cards .card {
  min-width: 340px;   /* 🔥 KEY FIX */
  flex-shrink: 0;     /* 🔥 KEY FIX */
}
.row.overflow-x {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
}

/* TEAM SECTION FIX */
.services .row {
  display: flex;
  justify-content: center;   /* center cards horizontally */
  align-items: center;
  gap: 40px;                 /* space between cards */
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}



.card {
  width:340px;
  background:white;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #e5e9f2;
  box-shadow:0 6px 18px rgba(0,0,0,0.07);
  transition:.35s;
}
.card:hover {
  transform:translateY(-12px);
  box-shadow:0 14px 35px rgba(0,0,0,0.12);
}

.card img {
  width:100%; height:210px;
  object-fit:cover;
}
.card-content {
  padding:24px;
  text-align:left;
}
.card-content h3 {
  font-size:1.25rem;
  font-weight:700;
  color:var(--brand-dark);
  margin-bottom:10px;
}
.card-content p {
  font-size:0.93rem;
  line-height:1.55;
  color:#434b57;
}

/****************************
  COUNTER SECTION
*****************************/
.stats {
  padding:80px 0;
  background:white;
  margin-top:40px;
}
.counter-grid {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:60px;
}
.counter-box { text-align:center; }
.counter-box h3 {
  font-size:3.2rem;
  font-weight:700;
  color:var(--brand);
}
.counter-box p { color:#4e5564; }

/****************************
  TESTIMONIAL SLIDER
*****************************/
.testimonials {
  padding:100px 0;
  text-align:center;
}
.testimonials h2 {
  font-size:2.4rem;
  color:#003bb3;
  margin-bottom:45px;
}
.testimonial {
  max-width:750px;
  margin:auto;
  font-size:1.15rem;
  background:white;
  padding:36px;
  border-radius:18px;
  border:1px solid #eee;
  box-shadow:0 4px 22px rgba(0,0,0,0.09);
  display:none;
}
.testimonial.active { display:block; }
.testimonial h4 {
  font-size:1rem;
  font-weight:600;
  margin-top:15px;
  color:#003bb3;
}
.dots {
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:22px;
}
.dot {
  width:14px; height:14px;
  background:#ccc;
  border-radius:50%;
  cursor:pointer;
  transition:.3s;
}
.dot.active { background:var(--brand); }

/****************************
  FLOAT CONTACT BUTTONS
*****************************/
.float-btns {
  position:fixed;
  right:25px;
  bottom:25px;
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:999;
}
.float-btns a {
  height:55px; width:55px;
  border-radius:50%;
  background:var(--brand);
  display:flex; align-items:center; justify-content:center;
  color:white; font-size:23px;
  box-shadow:0 6px 14px rgba(0,0,0,0.25);
}

/****************************
  FOOTER
*****************************/
.footer-widgets {
  background:#0d1226;
  color:#d4d7e2;
  padding:80px 0;
  margin-top:90px;
}
.footer-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:55px;
}
.footer-col h3 {
  color:white;
  font-size:1.2rem;
  margin-bottom:18px;
}
.footer-col ul { list-style:none; }
.footer-col ul li {
  margin-bottom:10px;
  cursor:pointer;
  transition:.3s;
}
.footer-col ul li:hover { color:white; }

.footer-col form {
  display:flex;
  flex-direction:column;
  gap:12px;
}
.footer-col form input,
.footer-col form textarea {
  padding:12px;
  border-radius:6px;
  border:1px solid #e6e8f0;
  font-size:14px;
}
.footer-col form button {
  padding:12px;
  background:#0058ff;
  border:none;
  color:white;
  font-weight:600;
  border-radius:6px;
  cursor:pointer;
}

footer {
  background:black;
  color:white;
  text-align:center;
  padding:25px 0;
}

/****************************
  RESPONSIVE
*****************************/
@media(max-width:1024px){
  .footer-grid { grid-template-columns:repeat(2,1fr); }
}

@media(max-width:650px){
  nav ul { gap:18px; }
  .slide-content h2 { font-size:2.4rem; }
  .footer-grid { grid-template-columns:1fr; text-align:center; }
}
