/* Global Styles */
:root {
  --primary-blue: #003366; /* Deep professional blue */
  --secondary-blue: #0056b3; /* Brighter blue for accents */
  --accent-gray: #f4f4f4;
  --text-dark: #333333;
  --text-light: #ffffff;
  --font-heading: "Roboto", sans-serif;
  --font-body: "Open Sans", sans-serif;
  --font-logo: "Montserrat", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Header */
header {
  background-color: transparent;
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
  left: 0;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2%;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

.nav-logo {
  max-height: 95px; /* Increased to make the logo wider and more prominent */
  width: auto;
  display: block;
  object-fit: contain;
  margin-top: -5px; /* Slight negative margin to offset extra padding if any */
  margin-bottom: -5px;
  /* Shifts the logo more to the left side */
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.02);
}

/* Logo swap: smooth crossfade between transparent and scrolled logos */
.logo a {
  position: relative;
  display: block;
}

.logo-transparent,
.logo-scrolled {
  transition: opacity 0.4s ease;
}

.logo-transparent {
  opacity: 1;
}

.logo-scrolled {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

header.scrolled .logo-transparent {
  opacity: 0;
}

header.scrolled .logo-scrolled {
  opacity: 1;
}

.logo {
  margin-left: 0; /* Align perfectly with navbar padding */
}

.logo h1 {
  font-family: var(--font-logo);
  color: var(--primary-blue);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links li a.active {
  color: var(--secondary-blue);
}
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a {
  font-weight: 600;
  color: #ffffff;
  font-size: 1.15rem;
  position: relative;
  text-transform: capitalize;
}

header.scrolled .nav-links li a {
  color: var(--text-dark);
}

header.scrolled .nav-links li a:hover {
  color: var(--secondary-blue);
}

.nav-links li a:hover {
  color: #cce0ff;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #ffffff;
  transition: width 0.3s;
}

header.scrolled .nav-links li a::after {
  background-color: var(--secondary-blue);
}

.nav-links li a:hover::after {
  width: 100%;
}

.contact-btn,
.tracking-btn {
  padding: 0.6rem 1.8rem;
  background-color: #ffffff;
  color: var(--primary-blue) !important;
  border-radius: 4px;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  transition: all 0.3s;
}

.tracking-btn {
  background-color: #ff9800; /* Gold/Orange from logo */
  color: #ffffff !important;
  margin-left: -1rem; /* Adjust spacing to keep it close to Contact Us */
}

header.scrolled .contact-btn {
  background-color: var(--primary-blue);
  color: white !important;
}

header.scrolled .tracking-btn {
  background-color: #e68a00;
  color: white !important;
}

header.scrolled .contact-btn:hover {
  background-color: var(--secondary-blue);
}

header.scrolled .tracking-btn:hover {
  background-color: #ff9800;
}

.contact-btn::after,
.tracking-btn::after {
  display: none !important;
}

.contact-btn:hover {
  background-color: #e0e0e0;
}

.tracking-btn:hover {
  background-color: #ffac33;
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.hamburger div {
  width: 28px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  margin-top: 0; /* No offset - transparent nav overlays the hero */
  overflow: hidden;
  background-color: var(--primary-blue);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 51, 102, 0.8),
    rgba(0, 51, 102, 0.3)
  );
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-main {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: white;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.btn-main:hover {
  background-color: var(--accent-gray);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about {
  padding: 6rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 5rem;
}

/* Testimonial Box Hover Animation */
.testimonial-box {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease !important;
}

.testimonial-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.about-image-pattern {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(var(--secondary-blue) 2px, transparent 2px);
  background-size: 15px 15px;
  z-index: 0;
  opacity: 0.3;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary-blue);
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 51, 102, 0.3);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 15px;
  border-left: 5px solid var(--secondary-blue);
}

.experience-badge h3 {
  font-size: 2.5rem;
  line-height: 1;
  font-family: var(--font-heading);
}

.experience-badge p {
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-blue);
  bottom: 0;
  left: 0;
}

/* Services Section */
.services {
  padding: 5rem 5%;
  background-color: var(--accent-gray);
  text-align: center;
}

.services .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.service-card {
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eef2f7;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(10, 42, 102, 0.08);
  border-color: transparent;
}

.service-img-wrapper {
  height: 200px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.08);
}

.service-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.service-info h3 {
  font-family: var(--font-heading);
  color: #111;
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
  font-weight: 800;
}

.service-info p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.2rem auto; /* Centered horizontally */
  display: inline-block; /* Allows width to fit content, so left-aligning looks good */
  text-align: left; /* Keep left alignment for the text itself */
  flex-grow: 1;
}

.service-features li {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start; /* Ensure left-alignment */
}

.service-features li i {
  color: #0a2a66;
  margin-top: 3px;
  margin-right: 8px;
  font-size: 0.95rem;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: #0a2a66;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: auto;
  align-self: center;
}

.service-btn:hover {
  background-color: #144a9e;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(10, 42, 102, 0.2);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page Header */
.page-header {
  /* Background image is now set inline in HTML for easy editing */
  background-color: var(--primary-blue);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 10rem 5% 3rem; /* Extra top padding for transparent nav overlay */
  color: white;
  text-align: center;
  margin-top: 0; /* No offset - transparent nav overlays the page header */
}

.header-content h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.header-content a {
  color: #ccc;
}

.header-content a:hover {
  color: white;
}

/* Utilities */
.section-padding {
  padding: 5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.margin-bottom {
  margin-bottom: 4rem;
}

.bg-light {
  background-color: var(--accent-gray);
  width: 100%;
  max-width: 100% !important;
}

.text-center {
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.col-half {
  flex: 1;
  min-width: 300px;
}

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

.padding-left {
  padding-left: 2rem;
}

.img-responsive {
  width: 100%;
  height: auto;
  display: block;
}

.rounded {
  border-radius: 10px;
}

.shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sub-heading {
  color: var(--secondary-blue);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

/* Solutions Grid (Services Page) */
.solutions-header {
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.solutions-header .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Force 4 columns */
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

.solution-item {
  background: linear-gradient(135deg, #ffffff, #f4f8ff);
  padding: 2.5rem 2rem;
  border-radius: 8px; /* Slightly softer border radius mapping to design */
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Match the subtle shadow from the image */
  position: relative;
  overflow: hidden;
  text-align: center; /* Center the text */
  z-index: 1;
}

.solution-icon {
  font-size: 2.5rem;
  color: var(--secondary-blue);
  margin-bottom: 1.2rem;
  display: inline-block;
  transition:
    transform 0.4s ease,
    color 0.4s ease;
}

.solution-item:hover .solution-icon {
  transform: scale(1.1) translateY(-5px);
  color: var(--primary-blue);
}

.solution-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.solution-item h4 {
  color: #222;
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.solution-item p {
  color: #777;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Contact Page */
.contact-split-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 3rem;
  margin-top: 1rem;
}

.contact-left,
.contact-right {
  flex: 1;
  min-width: 320px;
}

.privacy-text {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-details-box {
  background: linear-gradient(135deg, #ffffff, #f4f8ff);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid #eef2f7;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.contact-row {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}

.contact-row p {
  margin: 0;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-icon {
  color: var(--secondary-blue);
  font-size: 1.2rem;
  width: 30px;
  flex-shrink: 0;
}

.contact-action-btns {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-action-btns a {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-weight: 700;
  border-radius: 4px;
  color: white !important;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-action-btns a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-call {
  background-color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-call:hover {
  background-color: var(--secondary-blue);
}

.btn-whatsapp {
  background-color: #25d366; /* Official WhatsApp Green */
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background-color: #1ebea5;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-blue);
}

.custom-btn {
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

/* Hero Elements */
.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-buttons a[href="#branches"]:hover {
  background-color: white !important;
  color: var(--primary-blue) !important;
}

/* About / Features */
.features-list {
  margin-top: 1.5rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.5rem;
}
.features-list li {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
}
.check-icon {
  background-color: rgba(0, 86, 179, 0.1);
  color: var(--secondary-blue);
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  margin-right: 10px;
  flex-shrink: 0;
}

/* Branch Network */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(280px, 1fr)
  ); /* Improved min-width */
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.branch-card {
  background: white;
  padding: 2rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border-bottom: 3px solid transparent;
}
.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-bottom-color: var(--secondary-blue);
}
.branch-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.branch-card h4 {
  color: var(--primary-blue);
  font-size: 1.1rem;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-blue)
  );
  padding: 6rem 5%;
}

/* Responsive */
@media screen and (max-width: 968px) {
  .navbar {
    padding: 1rem 2%;
  }

  /* Force solid navbar on mobile */
  header {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  }

  .logo h1 {
    font-size: 1.4rem;
  }

  .nav-logo {
    max-height: 65px;
    margin-left: 0;
  }

  .logo {
    margin-left: 0;
    flex-shrink: 0;
  }

  /* Always show scrolled logo on mobile */
  .logo-transparent {
    opacity: 0 !important;
  }

  .logo-scrolled {
    opacity: 1 !important;
  }

  /* Hamburger display */
  .hamburger {
    display: block !important;
    z-index: 1001;
  }

  .hamburger div {
    background-color: var(--text-dark) !important;
  }

  /* Fixed Nav Links */
  .nav-links {
    display: none;
    position: absolute;
    right: 0;
    left: 0;
    top: 100%;
    background-color: #ffffff;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 1.5rem 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    gap: 0;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex !important;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    font-size: 1.1rem;
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
    border-radius: 0;
    margin: 0;
  }

  .nav-links li a::after {
    display: none;
  }

  .nav-links li a:hover {
    color: var(--secondary-blue) !important;
    background-color: #f0f4ff;
  }

  .contact-btn,
  .tracking-btn,
  .nav-links li a.contact-btn,
  .nav-links li a.tracking-btn,
  header.scrolled .contact-btn,
  header.scrolled .tracking-btn,
  header.scrolled .nav-links li a.contact-btn,
  header.scrolled .nav-links li a.tracking-btn {
    background-color: var(--primary-blue) !important;
    color: #ffffff !important;
    padding: 0.6rem 1.2rem !important;
    display: block !important;
    border-radius: 0 !important;
    font-size: 1rem !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .tracking-btn,
  .nav-links li a.tracking-btn,
  header.scrolled .tracking-btn,
  header.scrolled .nav-links li a.tracking-btn {
    background-color: #ff9800 !important;
  }

  .contact-btn:hover,
  .nav-links li a.contact-btn:hover,
  header.scrolled .contact-btn:hover {
    background-color: var(--secondary-blue) !important;
  }

  .tracking-btn:hover,
  .nav-links li a.tracking-btn:hover,
  header.scrolled .tracking-btn:hover {
    background-color: #e68a00 !important;
  }

  /* Hero adjustments */
  .hero {
    margin-top: 60px; /* Match header height */
    padding: 0 15px;
    height: auto; /* Allow content to dictate height on small screens */
    min-height: 80vh;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn-main {
    padding: 0.8rem 2rem;
  }

  /* Section adjustments */
  .about,
  .services,
  .contact-section {
    padding: 3rem 15px;
    flex-direction: column;
  }

  .about-image-wrapper {
    width: 100%;
    margin-bottom: 3rem;
    height: 400px;
  }

  .experience-badge {
    right: 0;
    bottom: -25px;
    padding: 1rem;
  }

  .experience-badge h3 {
    font-size: 2rem;
  }

  .row {
    flex-direction: column;
  }

  .col-half {
    width: 100%;
    padding-left: 0 !important;
  }

  .padding-left {
    padding-left: 0;
    margin-top: 2rem;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .vision-grid,
  .solutions-grid,
  .service-grid,
  .branch-grid {
    grid-template-columns: 1fr; /* Stack cards on mobile */
  }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
  .logo h1 {
    font-size: 1.1rem; /* Even smaller for very small phones */
  }

  .hero h1 {
    font-size: 1.8rem;
  }
}

.why-section {
  padding: 80px 4%;
  background-color: #ffffff;
}

.why-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.why-card {
  background: #eef5ff;
  border: 2px solid #d0e2ff;
  border-radius: 12px;
  padding: 30px 25px;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: #0a2a66;
}

.why-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0a2a66;
}

.why-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin: 0;
}

.why-icon {
  font-size: 32px;
  margin-bottom: 15px;
}

.cta-section {
  padding: 100px 4%;
  background: linear-gradient(135deg, #0a2a66, #144a9e);
}

.cta-box {
  max-width: 900px;
  margin: auto;
  background: #ffffff;
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.cta-box h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111;
}

.cta-box p {
  font-size: 16px;
  color: #555;
  margin-bottom: 35px;
}

.cta-phone {
  font-size: 22px;
  font-weight: 700;
  color: #0a2a66;
  margin-bottom: 25px;
}

.cta-btn {
  display: inline-block;
  background: #0a2a66;
  color: #fff;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #144a9e;
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* Footer Section  */

.main-footer {
  position: relative;
  background: url("../images/footer_bg_1771678284314.png") center/cover
    no-repeat;
  color: #ffffff;
  padding: 70px 4% 30px;
}

.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-col p {
    display: none;
  }

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

  .footer-col ul {
    display: inline-block;
    text-align: left;
    width: fit-content;
    margin: 0 auto;
  }

  /* Target Quick Links (2nd column usually) */
  .footer-col:nth-child(2) ul {
    text-align: center;
    display: block;
    width: 100%;
    transform: none;
  }

  .footer-col:nth-child(2) ul li {
    padding-left: 0;
    text-align: center;
  }

  /* Target Contact Information (3rd column usually) */
  .footer-col:nth-child(3) ul {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    transform: none;
  }

  .footer-col:nth-child(3) ul li {
    display: block !important;
    text-align: center;
    padding-left: 0 !important;
    margin-bottom: 14px;
  }

  .footer-col:nth-child(3) ul li i {
    position: static !important;
    width: auto !important;
    margin-right: 8px;
  }

  .footer-col ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 1px;
    line-height: 1.6;
    display: block;
  }

  .footer-col ul li i {
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: #ffffff;
  }

  .footer-bottom {
    margin-top: 40px;
    line-height: 1.6;
  }
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-col p,
.footer-col li,
.footer-col a {
  font-size: 14px;
  color: #d6e3ff;
  line-height: 1.8;
  text-decoration: none;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

/* Social Icons */
.social-links {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: #144a9e;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #ffffff;
  color: #0a2a66;
  transform: translateY(-4px);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 14px;
  color: #cbd9ff;
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: #ffd700;
}

/* Who We Are Section (About Page) */
.who-we-are-section {
  padding: 100px 4% 40px;
  background: #ffffff;
}

.who-we-are-container {
  max-width: 1100px;
  margin: auto;
}

.who-header {
  margin-bottom: 50px;
}

.who-header .sub-heading {
  color: #3b82f6; /* Lighter blue as requested */
  font-size: 15px;
  letter-spacing: 1.5px;
  font-weight: 800;
  margin-bottom: 5px;
}

.who-header .section-heading {
  font-size: 34px;
  font-weight: 800;
  color: #111;
  line-height: 1.3;
  padding: 0 10%;
}

.who-text-box p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 22px;
}

.who-text-box strong {
  color: #333;
  font-weight: 700;
}

.who-img-box img {
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 992px) {
  .who-header .section-heading {
    font-size: 26px;
    padding: 0;
  }
  .who-text-box {
    margin-bottom: 30px;
  }
}

/* about us page : */
.about-section {
  padding: 80px 4%;
  background: #f7f9fc;
}

.about-container {
  max-width: 1200px;
  margin: auto;
}

/* Top Layout */
.about-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  object-fit: cover;
  height: 100%;
}

.about-text h5 {
  color: #0a2a66;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-text h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #111;
  line-height: 1.2;
}

.about-text p {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

/* Vision Grid */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.vision-card {
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 12px;
  border: 1px solid #eef2f7;
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.vision-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0a2a66, #144a9e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}

.vision-card:hover::before {
  transform: scaleX(1);
}

.vision-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(10, 42, 102, 0.08);
  border-color: transparent;
}

.vision-icon-wrapper {
  width: 65px;
  height: 65px;
  background: #eef5ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: #0a2a66;
  font-size: 26px;
  transition: all 0.4s ease;
}

.vision-card:hover .vision-icon-wrapper {
  background: #0a2a66;
  color: #ffffff;
  transform: scale(1.1);
}

.vision-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #111;
}

.vision-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .about-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text h2 {
    font-size: 26px;
  }
}

.branch-section {
  padding: 80px 4%;
  background: #f7f9fc;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.branch-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  border: 1.5px solid #dbe6f7;
  text-align: center;
  transition: all 0.3s ease;
}

.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-blue);
}

.branch-icon {
  font-size: 32px;
  margin-bottom: 15px;
}

.branch-card h4 {
  font-size: 18px;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.branch-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}
