/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 85%;
  max-height: 85%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 20px;
  background: #fff;
}

.gallery-grid img {
  width: 100%;
  height: 200px; /* controls alignment */
  object-fit: contain; /* shows full image */
  background: #f8f8f8; /* fill behind image */
  border-radius: 5px;
  display: block;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
 padding: 8px 40px; /* ↓ smaller padding reduces height */
  height: 60px; /* you can adjust to 50px, 55px, etc. */
  background-color: #4169E2;
}

.navbar .logo img {
  padding: 8px 40px; 

  height: 150px;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar .nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.navbar .nav-links li a:hover {
  color: #030303;
}

/* Video Section */
.video-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.video-slider video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
}

.nav-buttons button {
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  transition: background 0.3s;
}

.nav-buttons button:hover {
  background-color: #4169E2;
}

/* About Section */
.about {
  padding: 50px 20px;
  text-align: center;
  background-color: #fff;
}

.gallery-masonry {
  column-count: 3; /* Number of columns */
  column-gap: 10px; /* Gap between columns */
  padding: 20px;
}

.gallery-masonry img {
  width: 100%;       /* Image fills column width */
  height: auto;      /* Keep natural aspect ratio */
  display: block;
  margin-bottom: 10px; /* Space between images vertically */
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.gallery-masonry img:hover {
  transform: scale(1.05);
}

.services {
  padding: 80px 10%;
  background: #f8faff;
  text-align: center;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #2e64fe;
  border-radius: 2px;
}

/* --- Layout --- */
.service-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.service-row {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* --- Cards --- */
.service-card {
  width: 230px;
  height: 140px; /* reduced height */
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.07);
  cursor: pointer;
}

.service-card i {
  font-size: 2rem; /* smaller icon */
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card:hover i {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* --- Colors --- */
.service-card.blue {
  background: #2e64fe;
  color: #fff;
}

.service-card.white {
  background: #fff;
  color: #111;
  border: 1px solid #e4e8ff;
}

.service-card.white i {
  color: #2e64fe;
}

/* --- Centered last card --- */
.center {
  justify-content: center;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .service-card {
    width: 100%;
    height: auto;
    padding: 30px 0;
  }


}.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 0;
  background-color: #fff;
}

.contact-box {
  flex: 1;
  min-width: 280px;
  margin: 10px;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-5px);
}

/* Blue boxes */
.contact-box.blue {
  background-color: #2e64fe;
  color: #fff;
}

/* White box */
.contact-box.white {
  background-color: #fff;
  color: #000;
  border: 1px solid #ddd;
}

/* Links */
.contact-link {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover {
  text-decoration: underline;
}

/* For white box links */
.contact-link.dark {
  color: #000;
}

.contact-box i {
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    align-items: center;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .contact-box {
    flex: 100%;
    margin-bottom: 20px;
  }
}


/* Responsive */
@media (max-width: 1200px) {
  .gallery-masonry {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .gallery-masonry {
    column-count: 1;
  }
}

/* Contact Section */
.contact {
  padding: 50px 20px;
  text-align: center;
  background-color: #fff;
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 25px;
  background-color: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.whatsapp-btn:hover {
  background-color: #1ebe57;
}

/* Footer */
/* ===== Footer ===== */
.footer {
  background: #0b173d;
  color: #fff;
  padding: 70px 10% 30px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
}

/* --- Logo Section --- */
.footer-logo {
   padding: 8px 40px; 

  height: 150px;
}.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 100px;
  margin-top: -70px;
  margin-bottom: -50px;
}

.footer-logo-small {
  width: 250px; /* 👈 reduced logo size */
  height: 200px;
}

.logo-col h2 {
  font-size: 1.2rem;
  color: #4a8bff;
  margin: 0;
  font-weight: 600;
}

.logo-col p {
   font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.85;
  margin-top: 8px;
}

/* --- Column Headings --- */
.footer-col h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

/* --- Lists --- */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #4a8bff;
}

.footer-col ul li i {
  color: #4a8bff;
}

/* --- Social Icons --- */
.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #162459;
  color: #fff;
  font-size: 1rem;
  margin-right: 8px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #4a8bff;
  transform: translateY(-3px);
}

/* --- Bottom --- */
.footer-bottom {
  text-align: center;
  padding-top: 25px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .footer {
    padding: 50px 5% 20px;
  }

  .footer-col h3 {
    margin-bottom: 10px;
  }

  .footer-logo {
    width: 100px;
  }
}
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 15px;
  width: 350px;
  max-width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: popupFade 0.4s ease;
}

.popup-content h2 {
  color: #1a1a1a;
  margin-bottom: 10px;
}

.popup-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.popup-content input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.popup-content button {
  width: 100%;
  background: #0078ff;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.popup-content button:hover {
  background: #005fcc;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #333;
}

@keyframes popupFade {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
/* ===================================================
   MOBILE FIX ONLY (DESKTOP WILL NOT CHANGE)
=================================================== */
@media (max-width: 768px) {

  html, body {
    overflow-x: hidden;
  }

  /* ---------------- NAVBAR FIX ---------------- */
  .navbar {
    padding: 0 15px;
    height: 70px;
  }

  .navbar .logo img {
    height: 50px;
    padding: 0;
  }

  .navbar .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #4169E2;
    flex-direction: column;
    text-align: center;
    display: none;
    padding: 15px 0;
  }

  .navbar .nav-links li {
    margin: 12px 0;
  }

  .navbar .nav-links.active {
    display: flex;
  }

  /* ---------------- VIDEO FIX ---------------- */
  .video-slider {
    height: 45vh;
  }

  /* ---------------- ABOUT FIX ---------------- */
  .about {
    padding: 40px 20px;
  }

  .about h2 {
    font-size: 1.7rem;
  }

  .about p {
    font-size: 15px;
    line-height: 1.7;
  }

  /* ---------------- GALLERY FIX ---------------- */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: auto;
  }

  /* ---------------- SERVICES FIX ---------------- */
  .services {
    padding: 50px 20px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .service-card {
    width: 100%;
    height: auto;
    padding: 25px 0;
  }

  /* ---------------- CONTACT FIX ---------------- */
  .contact-section {
    flex-direction: column;
    padding: 40px 20px;
  }

  .contact-box {
    width: 100%;
    margin: 10px 0;
  }

  /* ---------------- FOOTER FIX ---------------- */
  .footer {
    padding: 50px 20px 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo-wrap {
    flex-direction: column;
    gap: 20px;
    margin: 0;
  }

  .footer-logo-small {
    width: 150px;
    height: auto;
  }

  /* ---------------- STICKY BUTTON FIX ---------------- */

  .sticky-download-btn {
    bottom: 90px;
    right: 15px;
    padding: 10px 16px;
    font-size: 13px;
    z-index: 99999;
  }

  .sticky-whatsapp-btn {
    bottom: 20px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 22px;
    z-index: 99999;
  }

}