/* Reset and Base Theme */
:root {
  --primary-color: #002244; /* Darker shade for better contrast */
  --accent-color: #007060;  /* Slightly deeper tone */
  --bg-color: #f4f7fa;
  --text-color: #222;
  --light-color: #fff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Accessibility Enhancements */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

/* Navigation */
/* ===== BASE NAVBAR STYLES (MOBILE FIRST) ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #002244;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffd60a;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.logo:hover {
  color: #ffffff;
  transform: scale(1.05);
}

/* Hamburger Icon */
.hamburger {
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  z-index: 1100;
  transition: transform 0.3s ease;
}

.hamburger span {
  display: block;
  height: 3px;              /* thinner for cleaner cross */
  width: 100%;
  background-color: #ffd60a;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  pointer-events: none;
}

/* Active state: morph hamburger to cross */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 8.5px);
  background-color: #fff;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -8.5px);
  background-color: #fff;
}


.hamburger.active {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}


/* Mobile Navigation Menu */
.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  width: 100%;
  background: #002244;
  border-top: 2px solid #ffd60a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  animation: slideDown 0.3s ease;
}

.nav-links.active {
  display: flex;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-links li {
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-links a {
  color: #ffffff;
  padding: 1rem;
  display: block;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  background-color: #ffd60a;
  color: #002244;
}

/* ===== CONTACT BANNER (MOBILE) ===== */
.contact-banner {
  background: linear-gradient(90deg, #007f5f, #2a9d8f);
  color: #ffffff;
  text-align: center;
  padding: 0.8rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Optional: Contact banner tweak for desktop */
@media (min-width: 1024px) {
  .contact-banner {
    font-size: 1.1rem;
    padding: 1rem 2rem;
  }
}/*ye add kiya*/

/* ===== DESKTOP STYLES ===== */
@media (min-width: 768px) {
  .navbar {
    padding: 1rem 3rem;
    background: linear-gradient(90deg, #001d3d, #003566);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;/*ye add kiya*/
  }

  /* Hide hamburger on desktop */
  #hamburger {
    display: none;
  }

  /* Desktop Navigation */
  .nav-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    background: transparent;
    position: static;
    border: none;
    box-shadow: none;
    width: auto;/*marked*/
  }

  .nav-links li {
    border: none;
  }

  .nav-links a {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;/*marked*/
  }

  /* Animated underline hover effect */
  .nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #ffd60a;
    transition: width 0.3s ease;
  }

  .nav-links a:hover {
    color: #ffd60a;
    background-color: rgba(255, 255, 255, 0.2);/*marked*/
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  /* Logo larger on desktop */
  .logo {
    font-size: 2rem;
    letter-spacing: 1px;
    color: #ffd60a;
  }

  .logo:hover {
    color: #ffffff;
  }

  /* Contact banner refined for desktop */
  .contact-banner {
    background: linear-gradient(90deg, #007f5f, #00b4d8);
    font-size: 1.1rem;
    padding: 1.25rem 2rem;
    border-top: 3px solid #ffd60a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}

/* Headline */
h1 {
  text-align: center;
  margin: 1rem 1rem 1rem;
  font-size: 2rem;
  color: var(--primary-color);
}

/* Ads Section */
.ads-section {
  display: grid;
  gap: 2rem;
  padding: 2rem 1rem;
}

.ad-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ad-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.ad-content {
  padding: 1rem;
}

.ad-content h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.ad-icons {
  margin-top: 0.75rem;
}

.ad-icons a img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.ad-icons a img:hover {
  transform: scale(1.2);
}

/* Info Section */
.info-section {
  background: white;
  padding: 2rem 1rem;
  border-top: 1px solid #ddd;
}

.info-section h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.paraline {
  padding: 20px;
}

/* Contact Form */
.contact-form {
  background: #e3f2f1;
  padding: 2rem 1rem;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact-form form {
  max-width: 600px;
  margin: auto;
}

.contact-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
}

.contact-form button {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary-color);
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #004d66;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .ads-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
  }

  .ad-card {
    flex-direction: column;
    display: flex;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  .ad-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .ad-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
  }

}

.floating-icons {
  position: fixed;
  right: 20px;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.floating-icons a {
  width: 50px;
  height: 50px;
  background-color: #25D366;
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out;
  text-decoration: none;
}

.floating-icons a:last-child {
  background-color: #007bff;
}

.floating-icons a:hover {
  transform: scale(1.2);
}

@media (min-width: 1024px) {
  .ads-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* main CSS file */
/* Base styles */
.nav-links {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

/* Show nav in mobile when active */
.nav-links.active {
  display: flex;
}


/* Ads Section Styles */
.ads-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Each Ad Card */
.ad-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.ad-card:hover {
  transform: scale(1.01);
}

/* Ad Image */
.ad-card img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
}

/* Ad Content */
.ad-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Ad Icons */
.ad-icons {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
}

/* Icons */
.ad-icons a {
  display: inline-flex;
}

.more-locations{
  background: white;
  padding: 2rem 1rem;
  border-top: 1px solid #ddd;
}

/* Added css for more locations */
.more-locations {
  background: #e3f2f1;
  padding: 2rem 1rem;
  border-top: 1px solid #ddd;
  max-width: 1100px;
  margin: 2rem auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.more-locations h2, .faq-section h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 0.03em;
}

.more-locations ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.more-locations ul li {
  background-color: var(--bg-color);
  border: 1px solid #ddd;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}

.more-locations ul li:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.more-locations ul li a {
  display: block;
  padding: 12px 16px;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  border-radius: var(--radius);
  background-color: var(--light-color);
  transition: color 0.3s ease, background-color 0.3s ease;
}

.more-locations ul li a:hover,
.more-locations ul li a:focus {
  background-color: var(--accent-color);
  color: var(--light-color);
  outline: none;
  box-shadow: 0 0 6px var(--accent-color);
}

/* Mobile styles - 2 items per row */
@media (max-width: 767px) {
  .more-locations ul {
    grid-template-columns: repeat(2, 1fr); /* 2 items per row */
  }
}


/* FAQ Section */
.faq-section {
  background: #e3f2f1;
  padding: 1rem 1rem;
  border-top: 1px solid #ddd;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 1rem auto;
  max-width: 100%;
  line-height: 1.5;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}

.faq-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  padding: 1rem;
  background: var(--light-color);
  border: 1px solid #ddd;
  border-radius: var(--radius);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-item h3:hover,
.faq-item h3:focus {
  background-color: var(--accent-color);
  color: var(--light-color);
}

.faq-item p {
  display: none;
  padding: 0.75rem 1rem;
  background: #f9f9f9;
  color: var(--text-color);
  border-radius: var(--radius);
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: var(--shadow);
}

/* When 'active' class is added, show the answer */
.faq-item.active p {
  display: block;
}

/* Desktop Navbar Styles */
@media (min-width: 768px) {
  #hamburger {
    display: none; /* Hide hamburger on desktop */
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    position: static; /* Remove absolute positioning */
    width: auto;/*marked*/
    background: none;
  }
}
