/* ============================================================
   GLOBAL RESET + BASE
============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  background: #f9f9f9;
  line-height: 1.6;
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(255, 255, 255, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.navbar ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.navbar a {
  text-decoration: none;
  color: #004aad;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
  color: #ff7a00;
}

.logo {
  width: 180px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.2s;
}

/* ============================================================
   FULL-SCREEN HERO SLIDER
============================================================ */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-bottom: 60px;
}

/* Slider wrapper */
.hero-slider {
  position: relative;
  height: 100%;
}

/* Slides */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.5s ease, transform 5s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Dark gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px; /* space under navbar */
}

.hero-text {
  text-align: center;
  color: #fff;
  max-width: 680px;
  padding: 0 20px;
  opacity: 0;
  animation: fadeInUp 1.2s ease forwards 0.6s;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-text p {
  font-size: 1.3rem;
  margin-bottom: 25px;
}

.btn {
  background: linear-gradient(135deg, #004aad, #ff7a00);
  padding: 12px 28px;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* MOBILE HERO TEXT */
@media (max-width: 768px) {
  .hero-text h1 { font-size: 2.2rem; }
  .hero-text p { font-size: 1rem; }
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.about {
  padding: 80px 10%;
  background: #fff;
  text-align: center;
}

.about h2 {
  color: #004aad;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

/* ============================================================
   SERVICES (CLEAN + FIXED VERSION)
============================================================ */
.services {
  padding: 80px 10%;
  background: #f4f8ff;
  text-align: center;
}

.services h2 {
  font-size: 2.2rem;
  color: #004aad;
  margin-bottom: 40px;
}

/* container */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

/* base card */
.service-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* visible when JS activates it */
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* hover effect */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* mobile */
@media (max-width: 768px) {
  .services-container { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT
============================================================ */
.contact {
  padding: 80px 10%;
  background: linear-gradient(135deg, rgba(0,74,173,0.95), rgba(255,122,0,0.9));
  color: #fff;
  text-align: center;
}

.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.contact form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
}

.contact button {
  color: #004aad;
  background: #fff;
  padding: 12px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: 0.3s ease;
}

.contact button:hover {
  background: #ff7a00;
  color: #fff;
  transform: translateY(-3px);
}

/* Thank-you box */
.thank-you {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  border-radius: 10px;
  padding: 25px;
  max-width: 600px;
  margin: 25px auto;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s ease;
}

.thank-you.visible {
  opacity: 1;
  transform: translateY(0);
}

.hidden { display: none; }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: #004aad;
  color: #fff;
  text-align: center;
  padding: 25px;
}

/* ============================================================
   BACK TO TOP BUTTON
============================================================ */
#backToTop {
  position: fixed;
  bottom: 35px;
  right: 30px;
  z-index: 900;
  background: linear-gradient(135deg, #004aad, #ff7a00);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.3s ease;
}

#backToTop.show {
  opacity: 1;
  pointer-events: all;
}

#backToTop:hover {
  transform: translateY(-4px) scale(1.05);
}

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* ===== Floating WhatsApp Button ===== */
.whatsapp-chat {
  position: fixed;
  bottom: 25px;
  left: 25px; /* Change to right: 25px; if you prefer right side */
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E); /* WhatsApp colors */
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-chat img {
  width: 32px;
  height: 32px;
  
}

.whatsapp-chat:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 35px rgba(0,0,0,0.35);
}
