/* RESET & BASIC */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #001f3f; /* Navy Blue */
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo {
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #ffcc00; /* Highlight */
}

.nav-toggle {
  display: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: all 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

slide-text {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: #001f3f;
  max-width: 600px;
  animation: float-in 1s ease forwards;
}

.slide-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.slide-text p {
  font-size: 1.2rem;
}

/* SECTIONS */
.section {
  padding: 5rem 2rem;
  text-align: center;
}




/* Float-in from bottom animation */
@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(30px); /* start 30px below */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply to any element with .float-in or globally */
.float-in {
  opacity: 0; /* ensure it starts invisible */
  animation: floatUp 0.8s ease-out forwards; /* duration & easing */
}

/* Optional: stagger multiple elements with a delay */
.float-in:nth-child(1) { animation-delay: 0.1s; }
.float-in:nth-child(2) { animation-delay: 0.2s; }
.float-in:nth-child(3) { animation-delay: 0.3s; }
/* continue for more children if needed */








.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #001f3f; /* Navy Blue */
}

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

/* CARDS */
.service-grid, .reasons-grid, .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2rem;
}

.card, .reason, .news-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 1rem;
  animation: float-in 1s ease forwards;
}

.card img, .news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.reason-icon {
  font-size: 3rem;
  color: #001f3f;
  margin-bottom: 0.5rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  margin-top: 1rem;
  background: #001f3f;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}

.btn:hover {
  background: #ffcc00;
  color: #001f3f;
}

/* FAQ */
.faq-item {
  margin-bottom: 1.5rem;
}

/* POPUP */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.popup-content {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* CONTACT FORM */
.contact-section form input,
.contact-section form textarea {
  width: 100%;
  padding: 0.7rem;
  margin: 0.5rem 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.contact-section form button {
  width: 100%;
}

/* FOOTER */
.footer {
  background: #001f3f;
  color: #fff;
  padding: 2rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer-copy {
  text-align: center;
  margin-top: 1rem;
}

/* FLOAT-IN ANIMATION */
.float-in {
  opacity: 0;
  transform: translateY(20px);
  animation: float-in 0.8s ease forwards;
}

@keyframes float-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media(max-width:768px){
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 60%;
    height: 100%;
    background: #001f3f;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: 0.3s;
  }
  .nav-links.nav-active {
    right: 0;
  }
  .nav-toggle {
    display: block;
  }
}









/* CONTACT FORM CONTAINER */
.contact-section .container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff; /* White container */
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-section form input,
.contact-section form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  transition: 0.3s;
}

.contact-section form input:focus,
.contact-section form textarea:focus {
  outline: none;
  border-color: #001f3f; /* Navy blue focus */
  box-shadow: 0 0 5px rgba(0, 31, 63, 0.3);
}

.contact-section button.btn {
  width: 100%;
  margin-top: 1rem;
  padding: 0.8rem 0;
  font-size: 1.1rem;
  border-radius: 10px;
}
















/* ABOUT CONTENT BOXES */
.about-content .container {
  max-width: 700px;
  margin: 2rem auto;
  background: #fff; /* White background for the box */
  padding: 2rem 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.about-content h2 {
  margin-top: 1rem;
  margin-bottom: 0.8rem;
  color: #001f3f; /* Navy blue headings */
}

.about-content p,
.about-content ul {
  margin-bottom: 1rem;
  color: #333; /* Dark grey text */
  line-height: 1.6;
}

.about-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  text-align: left; /* Keep list aligned nicely inside box */
}

.about-content button.btn {
  margin-top: 1.5rem;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  border-radius: 10px;
}













/* FAQ SECTION CONTAINER */
#faq {
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* FAQ ITEMS */
.faq-item {
  background: #fff; /* White box */
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  padding: 1.5rem 1.8rem;
  margin-bottom: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover effect for subtle pop */
.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.faq-item h4 {
  color: #001f3f; /* Navy blue for question */
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: #333; /* Grey for answer text */
  line-height: 1.6;
}








/* Hero text wrapper to improve readability */
.hero-slider .slide-text {
  background-color: rgba(0, 31, 63, 0.8); /* navy blue #001f3f with 80% opacity */
  padding: 30px 20px;
  border-radius: 1px;
  max-width: 600px; /* keeps text in a readable column */
  text-align: center;
  margin: auto;
  color: #ffffff;
}

/* Optional: make h1 and p fit better inside wrapper */
.hero-slider .slide-text h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 15px;
}

.hero-slider .slide-text p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}







 

/* Cancel button hidden by default */
.nav-cancel {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}

/* Show cancel button when nav is active */
.navbar.nav-active .nav-cancel {
  display: block;
}

/* Optional: for smooth sliding menu */
.nav-links {
  transition: transform 0.3s ease;
}
.nav-links.nav-active {
  transform: translateX(0);
}











 /* ===== FLOATING BUTTONS ===== */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: -120px; /* start hidden for slide-in */
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
  animation: slideIn 1.2s ease-out forwards;
}

/* Individual buttons */
.floating-buttons a {
  width: 40px;
  height: 40px;
  border-radius: 15%;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: bounce 0.4s infinite ease-in-out;
  
  border-radius: 15%;
  
  
  
}

.floating-buttons a img {
  width: 28px;
  height: 28px;
  border-radius: 25%;
}

/* Color accents for each */
.floating-buttons a.whatsapp {
  background-color: white;
}
.floating-buttons a.call {
  background-color:  white;
}
.floating-buttons a.location {
  background-color: white;
}

/* Hover pop effect */
.floating-buttons a:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Slide in from right */
@keyframes slideIn {
  from {
    right: -120px;
    opacity: 0;
  }
  to {
    right: 25px;
    opacity: 1;
  }
}

/* Gentle bounce animation */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
 
 
 
 
 
 
 
 
 
 
 .contact-section {
  padding: 70px 10%;
  background: #f2f7fb; /* Light background for the whole section */
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  background: #ffffff; /* White box */
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* Soft shadow */
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.contact-container h2 {
  color: #001f3f;
  margin-bottom: 15px;
}

.contact-container p {
  color: #555;
  margin-bottom: 25px;
  font-size: 1.1em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  outline: none;
  margin-bottom: 15px;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #004d40;
  box-shadow: 0 0 8px rgba(0, 77, 64, 0.3);
}

.contact-form button {
  background: #004d40;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #00695c;
}