ca* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background-color: #014d9a; /* Changed back to blue */
  height: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #f8f9fc 25%, #e9ecef 25%, #e9ecef 50%, #f8f9fc 50%, #f8f9fc 75%, #e9ecef 75%, #e9ecef 100%);
  background-size: 56.57px 56.57px;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

.scrolling-image-bar {
  margin: 0;
  padding: 0;
  background-color: #a90c0c; 
  box-sizing: border-box;
  border: none;
  overflow: hidden;
}

.image-carousel {
  display: flex;
  gap: 0;
  width: max-content;
  animation: scrollLeft 12s linear infinite;
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
}

.image-carousel img {
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: none;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  background-color: transparent;
}

a {
  text-decoration: none;
  color: #007bff;
  transition: color 0.3s ease;
}

a:hover {
  color: #0056b3;
}

.btn-primary {
  background: #007bff;
  padding: 10px 20px;
  border-radius: 5px;
  color: #fff;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.btn-secondary {
  background: #6c757d;
  padding: 10px 20px;
  border-radius: 5px;
  color: #fff;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
  background-color: #5a6268;
  transform: scale(1.05);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Header */
header {
  background: #014d9a;
  color: #fff;
  padding: 4px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative; /* was 'sticky' */
  top: unset; /* remove sticky behavior */
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

header h1 {
  margin-left: 20px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo {
  font-size: 80px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  margin: 0;
  display: inline-block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: #00b894;
  color: #fff;
}
/* Basic navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #004ea3;
  padding: 1px 2.5px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links li a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.quote-btn {
  background-color: #007bff;
  padding: 10px 18px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
}

/* Hamburger menu hidden by default on large screens */
.menu-toggle {
  display: none;
  font-size: 30px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive Menu Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #004ea3;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 10px 0;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  background-color: #800000;
  color: black;
  padding: 100px 20px;
  text-align: center;
  animation: fadeIn 1s ease forwards;
}

.hero h2 {
  font-size: 40px;
  margin-bottom: 10px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 500;
}

.hero-buttons a {
  margin: 0 10px;
}

/* Services */
.services {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
  animation: fadeInUp 1s ease forwards;
}

.services h2 {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: #f1f1f1;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.service-card h3 {
  margin-bottom: 15px;
  font-weight: 700;
  color: #333;
}

.service-card p {
  font-size: 16px;
  color: #555;
}
.services-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px;
}

.service-card {
  width: 300px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card img {
  width: 100%;
  height: auto;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.service-card h3 {
  padding: 15px 10px;
  font-size: 20px;
  font-weight: bold;
  color: #222;
}

.service-card:hover {
  transform: scale(1.03);
}

/* Portfolio */
.portfolio {
  padding: 60px 20px;
  background: #e9ecef;
  animation: fadeInUp 1s ease forwards;
}

.portfolio h2 {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: 700;
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.portfolio-item {
  background-size: cover;
  background-position: center;
  height: 180px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.portfolio-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.portfolio-title {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
  font-size: 18px;
  color: black;
}

.portfolio-details {
  display: none;
  background-color: #ffffff;
  padding: 20px;
  margin-top: -10px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  animation: fadeInDetails 0.3s ease-in-out;
  font-size: 16px;
  color: #333;
}

@keyframes fadeInDetails {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  overflow: auto;
  padding-top: 80px;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px 40px;
  border-radius: 12px;
  width: 80%;
  max-width: 600px;
  animation: slideIn 0.4s ease;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

@keyframes slideIn {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close {
  color: #888;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #f00;
}
.portfolio-gallery {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
}

.portfolio-item {
  width: 280px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: scale(1.05);
}

.portfolio-thumbnail {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin-bottom: 10px;
}

.portfolio-title {
  font-weight: bold;
  font-size: 18px;
}


/* Testimonials */
.testimonials {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
  animation: fadeInUp 1s ease forwards;
}

.testimonials h2 {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: 700;
}

.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial-card {
  background: #f1f1f1;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  max-width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.testimonial-card p {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
  font-size: 16px;
}

.testimonial-card h4 {
  font-weight: 700;
  color: #333;
}

/* About */
.about {
  padding: 60px 20px;
  background: #fff;
  animation: fadeInUp 1s ease forwards;
}

.about h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 700;
}

.about p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: auto;
}

/* Contact */
.contact {
  padding: 60px 20px;
  background: #f8f9fc;
  animation: fadeInUp 1s ease forwards;
}

.contact h2 {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: 700;
  text-align: center;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: auto;
}

.contact input, .contact textarea {
  padding: 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.contact input:focus, .contact textarea:focus {
  border-color: #007bff;
  outline: none;
}

.contact button {
  background: #007bff;
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact button:hover {
  background-color: #0056b3;
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 28px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
  z-index: 1000;
}

#backToTop:hover {
  background-color: #0056b3;
}

/* Footer */
.footer {
  background-color: #014d9a;
  color: #ccc;
  padding: 60px 0 40px;
  font-size: 16px;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
}

.footer-container {
  margin: 0;
  padding: 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-column h3 {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-column p {
  line-height: 1.6;
  margin-bottom: 20px;
  color: #bbb;
}

.btn-learn-more {
  display: inline-block;
  background-color: #ff0000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-learn-more:hover {
  background-color: #cc0000;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff0000;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #393e46;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #bbb;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  background-color: #ff0000;
  color: #fff;
}

.footer-bottom-text {
  text-align: center;
  margin-top: 0;
  font-size: 14px;
  color: #777;
  padding-bottom: 20px;
}

footer {
  margin: 0;
  padding: 0 0 20px 0;
}

.footer-bottom-text a {
  color: #ff0000;
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo-img {
  height: 100px; /* Adjusted to make the logo bar thinner */
  width: auto;
  margin-right: 20px;
  transition: transform 0.3s ease-in-out;
}

.logo-img:hover {
  transform: scale(1.1);
}

.footer-logo-img {
  height: 40px;
  width: auto;
  vertical-align: left;
}

/* Scrolling Image Bar – Square Corners */
.scrolling-image-bar {
  width: 100vw;
  overflow: hidden;
  background-color: #014d9a;
  padding: 0;
  margin: 0;
  border: none; /* ✅ Square edge */
}

/* Carousel container */
.image-carousel {
  display: flex;
  width: max-content;
  animation: scrollBackForth 30s ease-in-out infinite alternate;
}

/* Images inside carousel */
.image-carousel img {
  height: 380px; /* ✅ Maintain desired size */
  width: auto;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  margin: 0; /* ✅ No gap */
  padding: 0;
  border: none;
  border-radius: 0; /* ✅ No curve at all */
}

  
/* Smooth back-and-forth scroll */
@keyframes scrollBackForth {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% + 100vw));
  }
}
.whatsapp-float {
  position: fixed;
  bottom: -15px; /* 🔁 CHANGE this value */
  right: 20px;
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.3s ease;
}


.whatsapp-float img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
/* Responsive Layout Fixes */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 28px;
    text-align: center;
  }

  .hero p {
    font-size: 16px;
    text-align: center;
    padding: 0 10px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero-buttons button {
    width: 90%;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
  }

  .navbar ul {
    flex-direction: column;
    gap: 5px;
  }

  .whatsapp-icon {
    bottom: 10px;
    right: 10px;
    width: 140px;
  }
}
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

.container, .section {
  padding: 20px;
  width: 100%;
}

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 768px) {
  .service-card {
    width: 90%;
  }

  .services-section {
    gap: 20px;
    padding: 10px;
  }

  .service-card h3 {
    font-size: 18px;
  }
}
