:root {
  --primary: #005B96;
  --secondary: #00ADEF;
  --bg-light: #f9f9f9;
  --text-dark: #333;
}

* { box-sizing:border-box; margin:0; padding:0; font-family:'Open Sans',sans-serif; }
body { background:var(--bg-light); color:var(--text-dark); }
.container { width:90%; max-width:1200px; margin:auto; padding:0 1rem; }
a { text-decoration:none; }
.btn { background:var(--primary); color:#fff; padding:0.75rem 1.5rem; border-radius:4px; transition:.3s; }
.btn:hover { background:var(--secondary); }

/* Header */
.site-header { position:fixed; top:0; width:100%; background:#fff; border-bottom:1px solid #ddd; padding:0.5rem 0; z-index:100; }
.site-header .container { display:flex; align-items:center; justify-content:space-between; }
.logo { max-height:60px; }

/* Hero */
.hero { background:linear-gradient(135deg,var(--primary),var(--secondary)); color:#fff; text-align:center; padding:120px 0 80px; margin-top:60px; }
.hero h1 { font-size:2.5rem; margin-bottom:0.5rem; }
.hero p { font-size:1.1rem; margin-bottom:1rem; }

/* Services */
.services { padding:80px 0; text-align:center; }
.services h2 { color:var(--primary); margin-bottom:2rem; }
.cards { display:flex; flex-wrap:wrap; gap:1rem; justify-content:center; }
.card { background:#fff; padding:1.5rem; border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,0.1); flex:1 1 250px; transition:transform .3s; }
.card:hover { transform:translateY(-5px); }

/* Vision */
.vision { background:#fff; padding:80px 0; text-align:center; }
.vision h2 { color:var(--primary); font-size:2.25rem; margin-bottom:1rem; }
.vision p { font-size:1.1rem; margin-bottom:1.5rem; }
.four-s-model { list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:1rem; margin-bottom:1.5rem; }
.four-s-model li { max-width:200px; background:var(--bg-light); padding:1rem; border-radius:8px; box-shadow:0 2px 6px rgba(0,0,0,0.1); }
.four-s-model li strong { color:var(--primary); }

/* About */
.about { background:#fff; padding:80px 0; text-align:center; }
.about h2 { color:var(--primary); margin-bottom:1rem; }

/* Partners */
.partners { background:var(--bg-light); padding:80px 0; text-align:center; }
.carousel { display:flex; gap:1rem; overflow-x:auto; justify-content:center; padding:1rem 0; }
.partner-logo { max-width:80px; height:auto; }

/* Contact */
.contact { background:#fff; padding:80px 0; text-align:center; }
.contact-form { display:grid; gap:1rem; max-width:500px; margin:auto; }
.contact-form input, .contact-form textarea { padding:0.75rem; border:1px solid #ccc; border-radius:4px; }
.contact-form button { background:var(--primary); color:#fff; padding:0.75rem; border:none; border-radius:4px; cursor:pointer; }

/* Footer */
.site-footer { background:var(--bg-light); padding:1rem 0; text-align:center; }

/* Animated Hero Background */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

/* CTA Button Pulse */
.btn {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Nav Link Underline Slide */
.nav a {
  position: relative;
  transition: color 0.3s;
}
.nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--secondary);
  transition: width 0.3s;
}
.nav a:hover::after {
  width: 100%;
}

/* Service Card Entrance Animation via AOS (already added) */
/* Ensure AOS init remains in script.js */


/* Nav spacing for clarity */
.site-header .nav {
  display: flex;
  gap: 2rem;
}

/* Preloader styles */
#preloader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.spinner {
  display: flex;
  gap: 10px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  animation: bounce 1s infinite ease-in-out;
}
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
}


/* Services card spacing ensured earlier */

/* Contact grid layout */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.contact-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.contact-item h3 {
  margin-bottom: 0.5rem;
}

/* Floating WhatsApp icon */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 10000;
  transition: transform 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Preloader overlay (ensure top layer) */
#preloader {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: #fff; display: flex;
  align-items: center; justify-content: center;
  z-index: 99999;
}

/* Spinner dots */
.spinner .dot {
  width: 15px; height: 15px;
  background: var(--primary);
  margin: 0 7px;
  border-radius: 50%;
  animation: bounce 0.8s infinite ease-in-out;
}
@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
}


/* Hero icons styling */
.hero-icons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}
.hero-icons i {
  color: rgba(255,255,255,0.8);
}

/* Preloader dot colors */
.dot:nth-child(1) { background: #FF4C4C; }
.dot:nth-child(2) { background: #FFD447; }
.dot:nth-child(3) { background: #4CFF4C; }

/* Ensure spinner styling remains */


/* Contact grid improvements */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.contact-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 10000;
  transition: transform 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.loader {
  width: 120px;
  height: 120px;
  border: 12px solid transparent;
  border-top-color: var(--primary);
  border-right-color: var(--secondary);
  border-bottom-color: #FFD700;
  border-left-color: #FF4500;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 15px var(--primary), 0 0 25px var(--secondary);
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
}


/* Enhanced Preloader Styles */
#preloader {
  position: fixed; inset: 0; background: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
}
.loader-container { position: relative; text-align: center; }
.loader {
  width: 120px;
  height: 120px;
  border: 12px solid transparent;
  border-top-color: var(--primary);
  border-right-color: var(--secondary);
  border-bottom-color: #FFD700;
  border-left-color: #FF4500;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 15px var(--primary), 0 0 25px var(--secondary);
}
#progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  padding: 0;
}
.extra-gif { margin-top: 20px; width: 80px; height: auto; }


/* Enhanced Loader: glow, pulse, rotating segments */
#preloader {
  position: fixed; inset: 0; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 99999;
}
.loader {
  width: 120px;
  height: 120px;
  border: 12px solid transparent;
  border-top-color: var(--primary);
  border-right-color: var(--secondary);
  border-bottom-color: #FFD700;
  border-left-color: #FF4500;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 15px var(--primary), 0 0 25px var(--secondary);
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
} }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }
#progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  padding: 0;
}
@keyframes fadeIn { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }


/* Center percentage text inside the loader */
.loader-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}
#progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  padding: 0;
}

/* Glow effect */
.loader {
  width: 120px;
  height: 120px;
  border: 12px solid transparent;
  border-top-color: var(--primary);
  border-right-color: var(--secondary);
  border-bottom-color: #FFD700;
  border-left-color: #FF4500;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 15px var(--primary), 0 0 25px var(--secondary);
}

/* Remove extra-gif to simplify loader */
.extra-gif {
  display: none;
}

@keyframes fadeInLogo {
  0% { opacity: 0; transform: scale(0.8);}
  100% { opacity: 1; transform: scale(1);}
}
.button-gradient {
  background: linear-gradient(90deg, #ff5f6d 0%, #ffc371 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 36px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  transition: background 0.3s;
}
.button-gradient:hover {
  background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%);
}
section h2, section h3 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: bold;
}

@keyframes fadeInLogo {
  0% { opacity: 0; transform: scale(0.8);}
  100% { opacity: 1; transform: scale(1);}
}
section h2, section h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}

section#hero img { background: transparent; }
@keyframes fadeInLogo {
  0% { opacity: 0; transform: scale(0.8);}
  100% { opacity: 1; transform: scale(1);}
}

section#hero img { background: transparent; }
@keyframes fadeInLogo {
  0% { opacity: 0; transform: scale(0.8);}
  100% { opacity: 1; transform: scale(1);}
}

/* Section gradients */
#hero {
  min-height: 600px;
  overflow: visible !important;
  padding-top: 40px;
}
#about {
  background: linear-gradient(90deg, #43cea2, #185a9d);
}
#services {
  background: linear-gradient(90deg, #ff5f6d, #ffc371);
}
#contact {
  background: linear-gradient(90deg, #ffc371, #43cea2);
}
@keyframes fadeInLogo {
  0% { opacity: 0; transform: scale(0.8);}
  100% { opacity: 1; transform: scale(1);}
}
.button-gradient {
  background: linear-gradient(90deg, #ff5f6d, #ffc371);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 36px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  transition: background 0.3s;
  text-decoration: none;
}
.button-gradient:hover {
  background: linear-gradient(90deg, #43cea2, #185a9d);
}
nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

/* Ensure hero logo isn’t cropped */
#hero { overflow: visible !important; padding-top: 60px; }
