/* ========== Reset & Base ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* ========== Container ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Header ========== */
.site-header {
  background-color: #f4f4f4;
  color: #777;
  padding: 15px 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo img {
  max-width: 150px;
  height: auto;
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav a {
  color: #777;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #e0e0e0;
}

/* Phone Contact */
.contact-info .phone-link {
  color: #777;
  font-weight: bold;
  text-decoration: none;
}

.contact-info .phone-link:hover {
  text-decoration: underline;
}

/* ========== Hero Section ========== */
.hero-section {
  background-image: url('images/herobg.jpg'); /* Update path as needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px; /*  Reduced from 100vh */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  text-align: center;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4); /* adjust for lighter/darker overlay */
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2; /* ensures text appears above overlay */
  max-width: 800px;
  padding: 20px;
}
.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.hero-image {
  width: 100%;
  height: auto;
  display: block;
}
/* Responsive height adjustments */
@media (min-width: 768px) {
  .hero-section {
    min-height: 400px;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    min-height: 500px;
  }
}


.btn-primary {
  background-color: #fff;
  color: #2a99de;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.btn-primary:hover {
  background-color: #e0e0e0;
  color: #1b6ca8;
}

/* ========== About Section ========== */
.about-section {
  padding: 60px 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  margin: 40px auto;
}

.about-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: #2a99de;
}

.about-section p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.heading-6,
h6{
    font-size: 0.85rem;        /* Small text size */
    font-weight: 700;          /* Semi-bold */
    color: #333333;            /* Dark gray color */
    margin-bottom: 10px;       /* Space below the heading */
    text-transform: uppercase; /* Optional: Makes the text all uppercase */
    letter-spacing: 0.5px;     /* Slight spacing between letters */
    line-height: 1.4;            /* Improve readability */
}

/* === Tooltip Styles === */
.tooltip-container {
  display: inline-block;
  position: relative;
}

.hover-text {
  font-weight: 600;
  color: #1c75bc;
  cursor: pointer;
  position: relative;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 300px;
  background-color: #1c75bc;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 10px;
  position: absolute;
  z-index: 10;
  top: 130%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Show tooltip on desktop hover */
.hover-text:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Show tooltip on mobile tap */
.tooltip-text.show {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
}


/* ========== Footer ========== */

/* === Footer 3‑column layout overrides === */
.footer-row {
  display: flex;
  justify-content: space-between;
  /* Allow wrapping if screen is small */
  flex-wrap: wrap;
}

.footer-col {
  flex: 1 1 0;
  /* some padding so contents don’t stick to edges */
  padding: 10px;
  min-width: 200px; /* ensures columns don’t collapse too much */
}

/* Left, center, right alignment */
.footer-left {
  text-align: left;
}
.footer-center {
  text-align: center;
}
.footer-right {
  text-align: right;
}

/* For the image in left */
.footer-left .apnbadge img {
  max-width: 100%;
  height: auto;
}

/* For legal list (center) */
.footer-center .footer-classic-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-center .footer-classic-list li {
  margin: 6px 0;
}
.footer-center .footer-classic-list a {
  text-decoration: none;
  color: inherit; /* keeps color defined earlier */
}

/* For the contact phone in right */
.footer-right .footer-classic-contacts-item {
  display: inline-flex;
  align-items: center;
}
.footer-right .unit-left {
  margin-right: 8px;
}
.footer-right .footer-classic-contacts .phone {
  font-size: 1rem;
  color: inherit;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    text-align: center;
  }
  .footer-left, .footer-center, .footer-right {
    width: 100%;
    padding: 5px 0;
  }
  .footer-right {
    text-align: center;
  }
}
/* Force the footer container to use flex */
.footer-classic-content > .container > .footer-row {
  display: flex !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
}

/* Force the child columns */
.footer-classic-content .footer-col {
  flex: 1 1 0 !important;
  padding: 10px !important;
  min-width: 200px !important;
}

/* Alignment overrides */
.footer-classic-content .footer-left {
  text-align: left !important;
}
.footer-classic-content .footer-center {
  text-align: center !important;
}
.footer-classic-content .footer-right {
  text-align: right !important;
}

