
/* Footer basic styling */
footer {
  background-color: #fff;
  color: #000;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem;
  gap: 2rem; /* spacing between sections */
  font-family: Arial, sans-serif;
}

/* Footer logo */
footer .footer-logo img {
  height: 50px;
}

/* Footer sections */
footer .footer-links,
footer .footer-services,
footer .footer-contact {
  flex: 1;           /* distribute remaining space */
  min-width: 200px;  /* avoid too small sections */
}
footer .footer-services{
  padding-right: 100px;
}
footer h4 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #000;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer ul li a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s;
}

footer ul li a:hover {
  color: #1f6dc7;
}

/* Social links */
footer .social {
  margin: 0.5rem 0;
}

footer .social a {
  color: #ccc;
  margin-right: 0.8rem;
  text-decoration: none;
  font-weight: bold;
}

footer .social a:hover {
  color: #1484a9;
}

/* Newsletter */
footer .newsletter {
  display: flex;
  margin-top: 0.5rem;
}

footer .newsletter input {
  padding: 0.5rem;
  border: none;
  border-radius: 3px 0 0 3px;
  flex: 1;
}

footer .newsletter button {
  padding: 0.5rem 1rem;
  border: none;
  background-color: #007b8f;
  color: #fff;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  transition: background-color 0.2s;
}

footer .newsletter button:hover {
  background-color: #005f87;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .footer-links,
  footer .footer-services,
  footer .footer-contact {
    min-width: auto;
    margin-bottom: 1.5rem;
  }
  footer .footer-services {
    padding-left: 80px;
  }
  footer .newsletter {
    flex-direction: column;
    gap: 0.5rem;
  }

  footer .newsletter input,
  footer .newsletter button {
    width: 100%;
    border-radius: 3px;
  }
}
footer .social a img {
  width: 30px;          /* adjust size */
  height: 30px;         /* adjust size */
  border-radius: 50%;   /* makes image circular */
  object-fit: cover;    /* ensures image fits within circle */
  margin-right: 0.5rem; /* spacing between icons */
  transition: transform 0.2s, box-shadow 0.2s;
}

footer .social a img:hover {
  transform: scale(1.2);               /* slight zoom on hover */
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
/* Dark Mode Styles */
body.dark-mode {
  background-color: #121212;
  color: white;
}

body.dark-mode header {
  background-color: #1f1f1f;
  color: white;
}

body.dark-mode nav ul li a {
  color:white;
}

body.dark-mode footer {
  background-color: #111;
  color: white;
}

body.dark-mode footer ul li a {
  color:white;
}
body.dark-mode footer ul li a:hover {
  color: white;
}

/* Make social icons dimmer in dark mode */
body.dark-mode .social img {
  filter: brightness(0.9);
}
/* Footer copyright */
footer .footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-top: 1.5rem;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

/* Dark mode copyright */
body.dark-mode footer .footer-copy {
  color: white;
  border-top: 1px solid #333;
}
body.dark-mode footer .footer-links h4{
  color: white;
}
body.dark-mode footer .footer-links li{
  color:white;
}
body.dark-mode footer .footer-links a:hover{
  color: #007BFF;
}
body.dark-mode footer .footer-services h4{
  color: white;
}
body.dark-mode footer .footer-services a:hover{
  color: #007BFF;
}
body.dark-mode footer .footer-contact h4{
  color: white;
}
body.dark-mode footer .newsletter button {
  background-color: #007BFF;
  color: white;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 2rem;
  background: linear-gradient(
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)
    ),
    url("../images/hero-bg.jpg") center/cover no-repeat;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-primary,
.btn-secondary {
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primary {
  background-color: #007b8f;
  color: white;
}

.btn-primary:hover {
  background-color: white;
  color:#007b8f
}

.btn-secondary {
  background-color: #007b8f;
  color: white;
}

.btn-secondary:hover {
  background-color: white;
  color: #007b8f;
}

/* Dark mode adjustments */
body.dark-mode .hero {
  background: linear-gradient(
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.7)
    ),
    url("../images/hero-bg.jpg") center/cover no-repeat;
}

body.dark-mode .btn-secondary {
  background-color: #333;
  color: white;
}

body.dark-mode .btn-secondary:hover {
  background-color: #444;
}
/* Video Background */
.hero {
  position: relative; /* make overlay and video absolute */
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* dark overlay to keep text readable */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; /* ensure content appears above video and overlay */
}
/* Dark mode adjustments for hero section */
body.dark-mode .hero-overlay {
  background: rgba(0, 0, 0, 0.7); /* darker overlay in dark mode */
}

body.dark-mode .hero h1,
body.dark-mode .hero p {
  color: #ffffff; /* keep text white */
}

body.dark-mode .btn-primary {
  background-color: #007b8f; /* darker blue for primary button */
}

body.dark-mode .btn-primary:hover {
  background-color: #00476a;
}

body.dark-mode .btn-secondary {
  background-color: #007BFF; /* dark background for secondary button */
  color: white;
}

body.dark-mode .btn-secondary:hover {
  background-color:white;
  color:#007BFF
}

/* ==========================
   Services Section
=========================== */

/* Container & Section */
.services {
  padding: 4rem 2rem;
  background-color: #f0f4f8; /* light background */
  text-align: center;
  transition: background-color 0.3s ease;
}

.services h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.services p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: #555;
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* Grid */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Service Cards */
.service-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 2rem 1rem;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  transition: 
    transform 0.3s,
    box-shadow 0.3s,
    background-color 0.3s,
    color 0.3s;
  cursor: pointer;
}

.service-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #007b8f;
  transition: color 0.3s ease;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

/* Button inside card */
.service-card .btn-primary {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

/* Hover Effects */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  background-color: #007b8f; /* card background on hover */
}

.service-card:hover h3,
.service-card:hover p {
  color: #fff; /* text color on hover */
}

.service-card:hover .btn-primary {
  background-color: #fff; /* invert button background */
  color: #007b8f;         /* invert button text */
}

/* ==========================
   Dark Mode Adjustments
=========================== */
body.dark-mode .services {
  background-color:black; /* dark section background */
  color: white;
}
body .dark-mode .services .container p {
  color: #fff;
}
body.dark-mode .service-card {
  background-color: #2c2c2c; /* dark card background */
}

body.dark-mode .service-card h3 {
  color: #007BFF; /* bright heading in dark mode */
}

body.dark-mode .service-card p {
  color: #fff;
}
body.dark-mode .services .container p {
  color: #fff;
}

body.dark-mode .services .container h2{
  color: #007BFF;
}

body.dark-mode .service-card:hover {
  background-color: #007BFF; /* hover background in dark mode */
}

body.dark-mode .service-card:hover h3,
body.dark-mode .service-card:hover p {
  color: white; /* hover text color in dark mode */
}

body.dark-mode .service-card:hover .btn-primary {
  background-color:white;
  color: #007BFF;
}
body.dark-mode .service-card .btn-primary{
  background-color: #007BFF;
  color: white;
}
/* ==========================
   Responsive Adjustments
=========================== */
@media (max-width: 1024px) {
  .services-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    max-width: 90%;
  }
}


/* ==========================
   About Us Section
=========================== */


body.dark-mode .about-us {
  background-color:balck;

}
body.dark-mode .about-us p{
  color:white
}

.about-container {
  display: flex;
  align-items: center;           /* Vertically center image and content */
  justify-content: space-between;
  gap: 3rem;                     /* More space between image and content */
  max-width: 100%;
  margin: 0 auto;
  
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,123,255,0.08);
  padding: 0;
  flex-wrap: wrap;
}
.about-us .about-container h2{
  color: black;
}
body.dark-mode .about-us .about-container h2 {
  color: white;
}
@media (max-width: 1024px) {
  .about-container {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }
}

.about-image {
  flex: 1;
}


.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* pushes buttons top & bottom */
}

.about-content .btn-secondary-small {
  background-color: #007b8f;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  align-self: flex-start;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.about-content .btn-secondary-small:hover {
  background-color: #005f87;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  transition: color 0.3s ease;
}


.about-content .btn-primary {
  background-color: #007b8f;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.about-content .btn-primary:hover {
  background-color: #005f87;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .about-container {
    flex-direction: column;
  }

  .about-content .btn-secondary-small,
  .about-content .btn-primary {
    align-self: center;
  }

  .about-content p {
    text-align: center;
    font-size: 1.15rem;
  }
}
/* About Us Section Enhancements */

/* Animated Button Styles for About Us */
.about-content .btn-primary,
.about-content .btn-secondary-small {
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,123,255,0.10);
  transition: 
    background-color 0.3s,
    color 0.3s,
    transform 0.2s,
    box-shadow 0.3s;
  will-change: transform;
}

.about-content .btn-primary:hover,
.about-content .btn-secondary-small:hover {
  background-color: #005f87;
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(0,123,255,0.18);
}

.about-content .btn-primary:hover::after,
.about-content .btn-secondary-small:hover::after {
  left: 120%;
}

/* Focus styles for accessibility */
.about-content .btn-primary:focus,
.about-content .btn-secondary-small:focus {
  outline: 2px solid #0077b6;
  outline-offset: 2px;
}
/* Dark mode button adjustments */
body.dark-mode .about-content .btn-primary,
body.dark-mode .about-content .btn-secondary-small {
  background-color:#007BFF;
  color:white;
  box-shadow: 0 2px 8px rgba(77,184,255,0.10);
}

body.dark-mode .about-content .btn-primary:hover,
body.dark-mode .about-content .btn-secondary-small:hover {
  background-color: white;
  color: #007BFF;
  box-shadow: 0 6px 18px rgba(77,184,255,0.18);
}
.about-us {
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(0, 123, 255, 0.07), 0 1.5px 6px rgba(0,0,0,0.03);
  margin: 3rem auto 3rem auto;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
}

.about-us h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #0077b6;
  font-weight: 700;
  text-align: left;
}

.about-content {
  padding: 2rem 0;
}

.about-content p {
  margin-bottom: 2rem;
}

.about-content .btn-primary {
  margin-top: 1rem;
}

@media (max-width: 1024px) {
  .about-us {
    padding: 2rem 1rem;
    border-radius: 12px;
  }
  .about-container {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .about-us {
    margin: 2rem 0;
    padding: 1.5rem 0.5rem;
    border-radius: 8px;
  }
  .about-container {
    flex-direction: column;
    gap: 1rem;
  }
  .about-image img {
    border-radius: 8px;
    max-height: 250px;
    object-fit: cover;
  }
  .about-content {
    padding: 1rem 0;
  }
  .about-content h2 {
    text-align: center;
  }
  .about-content p {
    text-align: center;
  }
}
.how-it-works {
  padding: 4rem 2rem;
  background-color: #eef2f7;
  text-align: center;
}

.how-it-works h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #007b8f;
  margin-bottom: 0.5rem;
}

.how-it-works p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* Grid Layout */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

/* Step Card */
.step-card {
  background-color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }

/* Step Circle */
.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #007b8f;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 60px;
  margin: 0 auto 1rem;
  transition: background 0.3s;
}

/* Step text */
.step-card h3 {
  font-size: 1.3rem;
  color: #007b8f;
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Hover */
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,123,255,0.15);
}

.step-card:hover .step-circle {
  background: #005f87;
}

/* Dark Mode */
body.dark-mode .how-it-works {
  background-color: black;
  color: white;
}
body.dark-mode .how-it-works h2 {
  color: #007BFF;
}
body.dark-mode .how-it-works p {
  color: white;
}
body.dark-mode .step-card {
  background-color: #007BFF;
  color: #fff;
}

body.dark-mode .step-card h3 {
  color: #fff;
}
body.dark-mode .step-card p {
  color: white;
}

body.dark-mode .step-card:hover .step-circle {
  background: #4db8ff;
}

/* Fade Up Animation */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.testimonials {
  padding: 4rem 2rem;
  background-color: #ffffff;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #007b8f;
  margin-bottom: 0.5rem;
}

.testimonials p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #555;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: #f9fafc;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 123, 255, 0.15);
}

.testimonial-text {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.testimonial-author h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #007b8f;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: #777;
}

/* Dark Mode */
body.dark-mode .testimonials {
  background-color: #1a1a1a;
}

body.dark-mode .testimonial-card {
  background: #242424;
  color: white;
}

body.dark-mode .testimonial-text {
  color: white;
}

body.dark-mode .testimonial-author h4 {
  color: #007BFF;
}
body.dark-mode .testimonial-author span {
  color:white;
}
body.dark-mode .testimonials .container h2 {
  color: #007BFF;
}
body.dark-mode .testimonials .container p {
  color: white;
}
/* contact us */
.contact-us {
  padding: 4rem 2rem;
  background-color: #eef2f7;
  text-align: center;
  border-radius: 16px;
}

.contact-us h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #007b8f;
  margin-bottom: 1rem;
}

.contact-us p {
  font-size: 1.1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.contact-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: #007b8f;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.contact-btn:hover {
  background-color: #005f87;
  transform: translateY(-3px);
}

/* Dark Mode */
body.dark-mode .contact-us {
  background-color: #242424;
  color: white;
}

body.dark-mode .contact-btn {
  background-color: #007BFF;
  color:white;
}

body.dark-mode .contact-btn:hover {
  background-color: white;
  color:#007BFF;
}

body.dark-mode .contact-us h2 {
  color: #007BFF;
}
#profile-initials {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #007bff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
}
body.dark-mode .contact-us p{
  color: white;
}
.services .container h2 {
  color:#007b8f;
}
/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1002;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 0.7rem;
    right: 2rem;
  }
  body.dark-mode .mobile-menu-btn {
    color: white;
  }
  body.dark-mode .nav-menu{
    background-color: black;
  }
}
/* Mobile Menu hidden by default */
.nav-menu.mobile-active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 1rem 0;
  gap: 0;
  z-index: 1000;
}
body.dark-mode .nav-menu.mobile-active  #mobile-menu-toggle{
  background-color: #242424;
}
/* General Footer */
.footer {
  background: #fff;
  padding: 40px 20px 20px;
  border-top: 1px solid #ddd;
  font-family: Arial, sans-serif;
  color: #333;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  max-width: 1200px;
  margin: auto;
  align-items: flex-start;
}

.footer-section h4 {
  color: #17877c;
  margin-bottom: 12px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 6px 0;
}

.footer-section ul li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #17877c;
}

/* Logo + Name */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo {
  width: 120px;
  margin-bottom: 10px;
}

.site-name {
  color: #14853b;
  font-weight: bold;
}

/* Contact & Social */
.footer-section p {
  margin: 6px 0;
}

.social-icons a {
  font-size: 20px;
  margin-right: 12px;
  color: #333;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #17877c;
}

/* Newsletter */
.newsletter {
  max-width: 260px;
}

.newsletter p {
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
}

.newsletter-form {
  display: flex;
  align-items: center;
}

.newsletter-form input {
  flex: 1;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 5px 0 0 5px;
  outline: none;
}

.newsletter-form button {
  padding: 10px 16px;
  border: none;
  background: #1ca245;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #14853b;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #ddd;
  padding-top: 15px;
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

.footer-bottom a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #17877c;
}
/* Newsletter */
.footer-newsletter {
  flex: 1.2;               /* give newsletter a little more space than others */
  min-width: 200px;        /* enough width for input + button */
}

.footer-newsletter form {
  display: flex;
  flex-wrap: nowrap;       /* prevent wrapping */
  width: 100%;
  margin-top: 0.5rem;
}

.footer-newsletter input {
  flex: 1;
  padding: 0.45rem;
  border: 1px solid #ddd;
  border-radius: 3px 0 0 3px;
  font-size: 0.9rem;
  min-width: 0;            /* prevent input from overflowing */
}

.footer-newsletter button {
  padding: 0.45rem 0.8rem;
  border: none;
  background: #007b8f;
  color: #fff;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  font-size: 0.9rem;
  white-space: nowrap;     /* stop text breaking */
}

.footer-newsletter button:hover {
  background: #218838;
}
@media (max-width: 600px) {
  .footer-newsletter form {
    flex-direction: column;
  }

  .footer-newsletter input {
    border-radius: 3px;
    margin-bottom: 0.5rem;
  }

  .footer-newsletter button {
    border-radius: 3px;
    width: 100%;
  }
}
body.dark-mode .footer-logo h4{
  color:white;
}
body.dark-mode .footer-newsletter h4{
  color:white;
}
/* Footer Responsive Fix */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr; /* 2 columns for tablets */
    text-align: center;
  }

  .logo-section {
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr; /* single column for small mobiles */
    gap: 20px;
    text-align: center;
  }

  .footer-section {
    align-items: center;
  }

  .logo-section {
    align-items: center;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-form input {
    border-radius: 5px;
    width: 100%;
  }

  .newsletter-form button {
    border-radius: 5px;
    width: 100%;
  }
}
