/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f5f5f5;
  color: black;
}
/* ===== Top Header ===== */
.top-header {
  background: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid #ddd;
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo {
  height: 60px;
  width: auto;
  margin-right: 10px;
}
.logo-link h1 {
  font-size: 1.8rem;
  color: black;
  margin: 0;
}

/* ===== Header & Navigation ===== */
.nav-header {
  background: linear-gradient(135deg, #012e4e, #3589c5);
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-header nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 0;
}
.nav-header nav a {
  margin: 0 15px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.nav-header nav a:hover {
  background: rgba(255, 255, 255, 0.2);
}
/* ----- HOMEPAGE ----- */
/* ===== Banner Section ===== */

.banner-slider {
  width: 100vw;          /* full viewport width */
  max-width: 100%;       /* prevent constraints */
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 400px;         /* adjust as needed */
  position: relative;
  border-radius: 0;      /* remove curve */
}
.banner-track {
  display: flex;
  width: 200%; /* 2 banners side by side */
  height: 100%;
}
.banner {
  width: 50%; /* half of track = one banner */
  height: 100%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  position: relative;
}
.banner-content {
  position:absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  z-index: 1;
}
.banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
}
.banner h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}
.banner p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
/* ===== Section Styling ===== */
section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}
section h2 {
  color: #012e4e;
  margin-bottom: 20px;
  font-size: 1.8rem;
}
section p,
section li {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}
/* Our commitments, Why choose us & Services */
.our-commitments,
.why-choose-us,
.our-services {
  background: #ffffff; /* same background */
  border-radius: 12px; /* consistent rounded edges */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center; /* center headings & text */
  min-height: 500px;
  padding: 60px 20px;
  margin: 40px auto;
  max-width: 1100px;
}
.our-commitments h2,
.why-choose-us h2,
.our-services h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.our-commitments p,
.why-choose-us p,
.our-services p {
  max-width: 700px;
  margin: 0 auto 40px;
  color: black;
}
.commitments,
.why-choose-us-features,
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}
.commitment-item,
.why-choose-us-item,
.service-item {
  background: #f9f9f9;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.commitment-item:hover,
.why-choose-us-item:hover,
.service-item:hover {
  transform: translateY(-5px);
  background: #fff;
}
.commitment-item h3,
.why-choose-us-item h3,
.service-item h3 {
  font-size: 1.2em;
  color: #012e4e;
  margin-bottom: 10px;
}
.commitment-item p,
.why-choose-us-item p,
.service-item p {
  font-size: 0.95em;
  color: #555;
  line-height: 1.6;
}
/* 3 per items line */
.commitments,
.why-choose-us,
.our-services {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .commitments,
  .why-choose-us,
  .our-services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .commitments,
  .why-choose-us,
  .our-services {
    grid-template-columns: 1fr;
  }
}
/* ===== Button Styling ===== */
.button {
  display: inline-block;
  background: #012e4e;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}
.button:hover {
  background: #3589c5;
  transform: scale(1.05);
}
/* ===== List Styling ===== */
ul {
  list-style: none;
  padding: 0;
}
ul li {
  background: #eaf4fc;
  margin: 10px auto;
  padding: 10px;
  max-width: 500px;
  border-radius: 8px;
  transition: background 0.3s;
}
ul li:hover {
  background: #d4ecff;
}
/* ===== Footer ===== */
footer {
  text-align: center;
  background: #012e4e;
  color: white;
  padding: 20px;
  margin-top: 40px;
  font-size: 14px;
}
footer a {
  color: #00c3ff;
  text-decoration: none;
  font-weight: 500;
}
footer a:hover {
  text-decoration: underline;
}
/* ----- ABOUT US ----- */
.about-us {
  padding: 60px 20px;
  background: #f9fafc;
}
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two equal columns */
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-text h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #012e4e; 
}
.about-text p {
  margin-bottom: 15px;
  color: #444;
  line-height: 1.6;
  font-size: 1.05em;
}
.about-highlights {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.about-highlights li {
  margin-bottom: 12px;
  font-size: 1em;
  color: #333;
  display: flex;
  align-items: center;
}
.about-highlights li i {
  color: #007bff;
  margin-right: 10px;
  font-size: 1.2em;
}
.about-text .mission {
  margin-top: 20px;
  font-weight: 500;
  font-size: 1.1em;
  color: #111;
}
.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.about-image img:hover {
  transform: scale(1.05);
}
/* Mobile responsive: stack into one column */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image img {
    margin: 20px auto 0;
  }
}

/* ----- CONTACT ----- */
.social-icons {
  margin-top: 20px;
}
.social-icons a {
  margin: 0 12px;
  font-size: 1.8em;
  color: #555;
  transition: color 0.3s ease, transform 0.2s ease;
}
.social-icons a:hover {
  color: #007bff;
  transform: scale(1.2);
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 1000;
  animation: bounce 2s infinite;
}
.whatsapp-float img {
  width: 100%;
  height:auto;
  border-radius: 50%;
}

@media (max-width:600px){
  .whatsapp-float{
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
  }
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.fade-soft {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-soft.active {
  opacity: 1;
  transform: scale(1);
}
/* ===== Responsive Design ===== (for mobile/Tab)*/
@media (max-width: 768px) {
  .top-header {
    flex-direction: column;
    justify-content: center;
  }
  .logo {
    margin-right: 0;
    margin-bottom: 5px;
  }
  .top-header h1 {
    font-size: 1.5rem;
    margin: 10px 0;
  }
  .nav-header nav {
    flex-wrap: wrap;         /* allow wrapping only if absolutely needed */
    justify-content: center; /* center them */
  }
  .nav-header nav a {
    margin: 5px 8px;          /* tighter spacing for small screens */
    padding: 6px 10px;        /* reduce padding so they fit */
    font-size: 0.9rem;        /* slightly smaller text */
  }
  footer {
    font-size: 0.85rem;       /* slightly smaller text */
    padding: 15px 10px;       /* tighter padding */
    line-height: 1.5;         /* improve readability */
  }

  footer a {
    display: inline-block;    /* easier to tap */
    margin: 4px 0;            /* vertical spacing between links */
    word-break: break-word;   /* break long email if needed */
  }
}
