/* this top is the body, changinging bgcolor and text color */

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; background: #f4f7fa; color: #272727;  }
.container { width: 90%; max-width: 1200px; margin: auto; }

/* ======= Slider Section ======= */
.hero-slider {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin-top: 80px; /* pushes slider down from navbar */
}

.slides-wrapper {
  display: flex;
  width: 300%; /* 3 slides */
  height: 100%;
  animation: slide-left 24s ease-in-out infinite; /* smooth glide */
}

@keyframes slide-left {
  0%, 20% {
    transform: translateX(0); /* Stay on Slide 1 */
  }
  30%, 50% {
    transform: translateX(-100vw); /* Stay on Slide 2 */
  }
  60%, 80% {
    transform: translateX(-200vw); /* Stay on Slide 3 */
  }
  100% {
    transform: translateX(0); /* Loop back */
  }
}

.slide {
  width: 100%;
  height: 100%;
  background-size: contain;   /* ✅ ensures full image fits */
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Optional: overlay for text readability */
.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(185, 2, 2, 0.1);
  z-index: 1;
}

/* Caption text */
.slider-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 2;
  padding: 0 20px;
}

/* Animation */
@keyframes slide-left {
  0%   { transform: translateX(0); }
  33%  { transform: translateX(-100%); }
  66%  { transform: translateX(-200%); }
  100% { transform: translateX(0); }
}

/* ✅ Mobile responsiveness */
@media (max-width: 768px) {
  .hero-slider {
    width: 95%;
    height: 50vh;           /* reduce height */
    margin: 100px auto 40px;/* extra push down from nav */
    border-radius: 15px;
  }
  .slider-caption {
    font-size: 0.9rem;
  }
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(10, 1, 113, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  z-index: 2;
  padding: 0 20px;
}


.content h1 {
  font-size: 2.8rem;
  margin-bottom: .5rem;
}

.content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.cta {
  background: #00baff;
  padding: .8rem 1.5rem;
  border-radius: 4px;
  color: white;
  text-decoration: none;
}

/* === BACK TO TOP BUTTON === */
.site-footer {
  background-color: #001f3f;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  margin-top: 3rem;
}


.site-footer p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-content .social-links {
  margin-top: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.social-btn:hover {
  transform: scale(1.1);
}

.youtube { background-color: #FF0000; }
.tiktok { background-color: #000000; }
.facebook { background-color: #1877f2; }
.instagram { background-color: #e1306c; }
.pinterest { background-color: #bd081c; }
.blog { background-color: #6c63ff; }
.social-media-section {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f8f8f8;
}

.social-media-section h2 {
  font-size: 1.8rem;
  color: #002147;
  margin-bottom: 1rem;
}

.social-links-combined {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.social-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1rem;
  background-color: #002147;
  color: white;
  padding: 10px 14px;
  border-radius: 25px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-item a:hover {
  background-color: #011d3a;
  transform: scale(1.05);
}

.social-item i {
  font-size: 1.2rem;
}
.contact-section {
  background-color: #f1f1f1;
  padding: 3rem 1rem;
  text-align: center;
}

.contact-section h2 {
  color: #002147;
  margin-bottom: 2rem;
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background-color: #002147;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #011c39;
}

/* === Section Styling === */
.homepage-map {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

/* Title Styling */
.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
}

/* Map & Info Flex Container */
.map-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

@media (min-width: 768px) {
  .map-content {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
}

/* Map Container Styling */
.map-container {
  flex: 1;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map {
  width: 100%;
  height: 350px;
  border: none;
}

/* Business Info Styling */
.map-details {
  flex: 1;
  max-width: 400px;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.company-name {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.business-desc {
  font-style: italic;
  color: #555;
  margin-bottom: 10px;
}

/* Button */
.get-directions-btn {
  display: inline-block;
  background: #0077b6;
  color: white;
  padding: 10px 20px;
  margin-top: 15px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.get-directions-btn:hover {
  background: #005b91;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(90deg, #0a66c2, #0077b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Map ends here */

.footer {
  background-color: #002147;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.footer .newsletter {
  margin-bottom: 1rem;
}

.footer .newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer input[type="email"] {
  padding: 0.6rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}

.footer button {
  padding: 0.6rem 1rem;
  background-color: white;
  color: #002147;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer button:hover {
  background-color: #e6e6e6;
}
@media (min-width: 768px) {
  .contact-wrapper {
    flex-direction: row;
    justify-content: space-between;
  }

  .contact-form,
  .map-container {
    flex: 1;
    max-width: 48%;
  }
}

.contact-details {
  margin-bottom: 20px;
  text-align: left;
  color: #333;
  font-size: 16px;
}



.contact-details a:hover {
  text-decoration: underline;
}

.contact-details a {
  color: #003366;
  text-decoration: none;
}


.blog-post-preview {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}

.featured-image img {
  width: 100%;
  border-radius: 10px;
}

.post-title {
  margin-top: 15px;
  font-size: 1.8rem;
}

.post-meta {
  color: #777;
  margin-bottom: 10px;
}

.post-excerpt {
  margin-top: 15px;
}

.read-more-btn {
  display: inline-block;
  margin-top: 10px;
  color: #0066cc;
  text-decoration: underline;
  cursor: pointer;
}

.full-post {
  margin-top: 20px;
}


.logo {
  height: 40px;
  margin-left: 10px;
}

.company-name {
  font-size: 20px;
  color: white;
  font-weight: bold;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #3e4efc;
}

/* Contact Button Style */
.contact-link {
  border: 1px solid white;
  padding: 6px 12px;
  border-radius: 4px;
  margin-right: 20px;
}

.contact-link:hover {
  background-color: white;
  color: #002147;
}


/* === ABOUT SECTION STYLES === */
.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background-color: #f9f9f9;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 2rem;
}
