/* ================= GLOBAL ================= */
body {
  font-family: Poppins, sans-serif;
  margin: 0;
  background: #f9fbff;
}

html {
  scroll-behavior: smooth;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.logo img {
  transition: 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
}
/* ================= HEADER ================= */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: 0.4s ease;

  /* glass effect */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}
header {
  box-sizing: border-box;   /* ✅ FIX */
}

header {
  padding: 15px 40px;
  max-width: 100%;
  overflow: hidden; /* prevents overflow */
}

nav {
  padding-right: 10px;
}

/* on scroll */
header.scrolled {
  background: #0b3d91;
  backdrop-filter: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

header h2 {
  font-size: 18px;
  white-space: nowrap;
  color: #fff;
}

/* NAV */
nav {
  display: flex;
  align-items: center;
}

/* nav links */
nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-size: 16px;
  position: relative;
  transition: 0.3s;
}

/* underline animation */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #ffb400;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* active link */
nav a.active {
  color: #ffb400;
}

/* ================= HERO SLIDER ================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-bottom: 40px;
}


/* slides */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1s ease-in-out, transform 6s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* dark overlay */
.slide::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 20, 60, 0.6);
  z-index: 1;
}

/* ================= HERO TEXT ================= */
.overlay {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 2;
  max-width: 650px;
}

.overlay h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.overlay span {
  color: #ffb400;
}

.overlay p {
  margin: 20px 0;
  font-size: 20px;
  color: #e0e0e0;
}

/* animation */
.overlay h1,
.overlay p,
.overlay .btn {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.slide.active .overlay h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.slide.active .overlay p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.slide.active .overlay .btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

/* BUTTON */
.btn {
  background: #ffb400;
  padding: 14px 28px;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #e09e00;
  transform: translateY(-3px);
}

/* BUTTON LOADER */
.btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading .btn-text {
  display: none;
}

.loading .btn-loader {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* TOAST */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #0b3d91;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-20px);
  transition: 0.4s;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background: #28a745;
}

.toast.error {
  background: #dc3545;
}
/* ================= ARROWS ================= */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 10px 15px;
  cursor: pointer;
  z-index: 5;
  border-radius: 50%;
  transition: 0.3s;
}

.slider-arrow:hover {
  background: #ffb400;
  color: #000;
}

.slider-arrow.left { left: 20px; }
.slider-arrow.right { right: 20px; }

/* ================= DOTS ================= */
.slider-dots {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  z-index: 5;
}

.slider-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 5px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.slider-dots .active {
  background: #fff;
  transform: scale(1.3);
}

/* ================= SECTIONS ================= */


.section {
  padding: 80px 20px;
}

.section > * {
  max-width: 1200px;
  margin: 0 auto;
}



@media (max-width: 768px) {
  .section {
    padding: 60px 15px;
  }
}

.section + .section {
  margin-top: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-slider {
  margin-bottom: 40px;
}

/* ABOUT */
.about {
  background: #fff;
}

.section-about {
    text-align: center;
    font-size: 30px;
    
}
.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px; 
}

/* STATS */
.stats {
  background: #0b3d91;
  color: #fff;
  text-align: center;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.stats-grid h2 {
  font-size: 40px;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, #0b3d91, #1e90ff);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.cta h2 {
  margin-bottom: 10px;
}

/* CLIENTS */
.clients {
  background: #fff;
  text-align: center;
  padding: 60px 20px;
}

.services {
  padding-top: 60px;
}

.about {
  padding: 60px 20px;
}

.why {
  padding-top: 60px;
  padding-bottom: 80px;
}
.stats {
  padding: 60px 20px;
}

.section:nth-child(even) {
  background: #f5f8ff;
}

/* TILE GRID */
.services-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* TILE */
.tile {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;

  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* ICON */

.tile i {
  font-size: 42px;
  color: #0b3d91;
  margin-bottom: 15px;
  display: block;
  transition: 0.3s ease;
}

.tile i {
  background: rgba(11, 61, 145, 0.1);
  padding: 20px;
  border-radius: 50%;
}

.tile:hover i {
  color: #ffb400;
  transform: scale(1.2);
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* TITLE */
.tile h3 {
  margin-top: 10px;
  font-size: 18px;
}


/* HOVER EFFECT */
.tile:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tile:hover {
  background: linear-gradient(135deg, #ffffff, #f5f8ff);
}

/* GRADIENT BORDER EFFECT */
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(45deg, #ffb400, #0b3d91);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: 0.4s;
}

.tile:hover::before {
  opacity: 1;
}

/* GRID */
.services-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* TILE BASE */
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: #fff;
  padding: 30px 20px;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  color: #000;

  position: relative;
  overflow: hidden;

  transition: all 0.4s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* ICON BOX (GRADIENT) */
.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #0b3d91, #1e90ff);
  margin-bottom: 15px;

  transition: 0.4s;
}

/* ICON */
.icon-box i {
  color: #fff;
  font-size: 28px;
}

/* TITLE */
.tile h3 {
  margin-top: 10px;
  font-size: 18px;
}

/* HOVER EFFECT */
.tile:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* ICON HOVER */
.tile:hover .icon-box {
  background: linear-gradient(135deg, #ffb400, #ff8c00);
  transform: scale(1.1);
}

/* SHINE EFFECT */
.tile::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.3),
    transparent
  );
  transform: rotate(25deg);
  transition: 0.6s;
}

.tile:hover::after {
  top: 100%;
  left: 100%;
}

/* TILE DESCRIPTION */
.tile p {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
  line-height: 1.5;
}

.why {
  background: #f5f8ff;
}

/* CONTACT HERO */
.contact-hero {
  height: 50vh;
  background: url('../images/contact.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* DARK OVERLAY */
.contact-hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 20, 60, 0.6);
  z-index: 1;
}

/* TEXT */
.contact-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.contact-hero-overlay h1 {
  font-size: 48px;
  font-weight: 700;
}

.contact-hero-overlay span {
  color: #ffb400;
}

.contact-hero-overlay p {
  margin-top: 10px;
  font-size: 18px;
  color: #ddd;
}

.hero-overlay {
  position: relative;
  color: #fff;
  text-align: center;
}

.hero-overlay h1 {
  font-size: 42px;
}

.hero-overlay span {
  color: #ffb400;
}

.contact-hero {
  animation: zoomHero 10s ease-in-out infinite alternate;
}

@keyframes zoomHero {
  from { background-size: 100%; }
  to { background-size: 110%; }
}

.contact-hero-overlay h1,
.contact-hero-overlay p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

.contact-hero-overlay p {
  animation-delay: 0.3s;
  font-size: 30px;
}

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

/* GRID */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* LEFT */
.contact-left h2 {
  margin-bottom: 10px;
}

.contact-info {
  margin: 20px 0;
}

.contact-info p {
  margin-bottom: 10px;
}

.contact-info i {
  color: #ffb400;
  margin-right: 10px;
}

/* MAP */
.map iframe {
  border-radius: 10px;
  margin-top: 15px;
}

/* RIGHT FORM */
.contact-right {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


/* GLASS CARD */
.glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.2);
}

/* INPUT GROUP */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  outline: none;
}

/* FLOATING LABEL */
.input-group label {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #aaa;
  font-size: 14px;
  transition: 0.3s;
  pointer-events: none;
}

/* ACTIVE STATE */
.input-group input:focus + label,
.input-group input:valid + label,
.input-group textarea:focus + label {
  top: -8px;
  left: 10px;
  font-size: 11px;
  color: #ffb400;
  background: #0b3d91;
  padding: 0 5px;
}

/* BUTTON PREMIUM */
.premium-btn {
  background: linear-gradient(135deg, #ffb400, #ff8c00);
  border: none;
  padding: 14px;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

/* BUTTON HOVER */
.premium-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255,180,0,0.4);
}

.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}


.ripple {
  position: absolute;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* GLOW BACKGROUND */
.contact-modern {
  position: relative;
}

.contact-modern::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,180,0,0.2), transparent);
  top: 20%;
  left: 10%;
  filter: blur(80px);
  z-index: 0;
}
/* INPUTS */
.contact-right input,
.contact-right textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* ================= MOBILE ================= */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: #0b3d91;
    flex-direction: column;
    padding-top: 80px;
    transition: right 0.4s ease;
  }

  nav.active {
    right: 0;
  }

  nav a {
    margin: 15px 20px;
    color: #fff;
  }

  .overlay h1 {
    font-size: 28px;
  }

  .overlay p {
    font-size: 14px;
  }
}

/* ================= FOOTER ================= */

/* FOOTER BASE */
.main-footer {
  background: #0b3d91;
  color: #fff;
  padding: 50px 20px 0;
}

/* TILE GRID */
.footer-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* TILE */
.footer-tile {
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 12px;
  transition: 0.3s;
}

/* HOVER */
.footer-tile:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

/* HEADINGS */
.footer-tile h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

/* LINKS */
.footer-tile a {
  display: block;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 8px;
  transition: 0.3s;
}

.footer-tile a:hover {
  color: #ffb400;
}

/* CONTACT TEXT */
.footer-tile p {
  font-size: 14px;
  margin-bottom: 8px;
}

/* ICONS */
.footer-tile i {
  margin-right: 8px;
  color: #ffb400;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  padding: 15px;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 14px;
}

footer {
  background: #0b3d91;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.footer-col a {
  display: block;
  color: #ddd !important;   /* force override */
  text-decoration: none;
  margin-bottom: 8px;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #ffb400 !important;
}

.footer-col i {
  margin-right: 8px;
  color: #ffb400;
}

.footer-col h3,
.footer-col h4 {
  color: #fff;
}

/* IMPORTANT FIX: ensure footer visible */
body {
  display: flex;
  flex-direction: column;
}

.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

footer {
  margin-top: auto;
}