:root {
  --primary-color: #16407a;
  --secondary-color: #2c71b8;
  --accent-color: #ffa500;
  --dark-color: #333;
  --light-color: #f5f5f5;
  --text-color: #333;
  --light-text: #fff;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
  line-height: 1.8;
  font-size: 17px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

h1 {
  font-size: 42px;
  text-transform: uppercase;
  margin-bottom: 25px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

h2 {
  font-size: 36px;
  margin-bottom: 25px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

h3 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

h4 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

h5 {
  font-size: 22px;
  color: var(--primary-color);
  font-weight: 700;
}

.section-title {
  position: relative;
  margin-bottom: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 32px;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
}

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

/* Logo styling with image */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
  margin-right: 10px;
}

.logo-text {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.2;
}

.logo-subtext {
  font-size: 14px;
  display: block;
  color: var(--accent-color);
}

@media (max-width: 576px) {
  .logo-img {
    height: 40px;
  }

  .logo-text {
    font-size: 18px;
  }
}

/* Hero Section with proper background */
.hero {
  background: linear-gradient(rgba(22, 64, 122, 0.7), rgba(22, 64, 122, 0.75)),
    url("../images/hero-bg.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: white;
  padding: 140px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero .overlay-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p.lead {
  font-size: 26px;
  margin-bottom: 30px;
  font-weight: 500;
  color: var(--accent-color);
  line-height: 1.5;
}

.hero p.hero-text {
  font-size: 20px;
  max-width: 820px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero .call-btn {
  padding: 20px 40px;
  font-size: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Navbar */
.navbar {
  background-color: var(--primary-color);
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--light-text) !important;
}

.nav-link {
  color: var(--light-text) !important;
  font-weight: 600;
  margin-left: 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
}

.nav-link:hover {
  color: var(--accent-color) !important;
}

/* Service Highlight Boxes */
.service-highlight {
  background-color: white;
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.highlight-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  background-color: white;
}

.highlight-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.highlight-box:hover .highlight-icon {
  transform: scale(1.1);
}

.highlight-box h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
  font-weight: 700;
  font-size: 24px;
}

.highlight-box h4:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
}

.highlight-box p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-color);
}

/* About Section */
.about-section {
  padding: 60px 0;
  background-color: white;
}

.about-content h2 {
  color: var(--primary-color);
  text-transform: uppercase;
}

.about-content p {
  margin-bottom: 20px;
}

.feature-box {
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 5px;
  background-color: var(--light-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.service-intro {
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 19px;
  line-height: 1.8;
  color: var(--text-color);
}

.service-card {
  padding: 40px 30px;
  margin-bottom: 30px;
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 5px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(22, 64, 122, 0.03) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--accent-color);
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: rgba(22, 64, 122, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--primary-color);
}

.service-icon {
  font-size: 2rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  color: white;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 18px;
  font-size: 26px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-color);
  margin-bottom: 25px;
  font-size: 17px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  position: relative;
  z-index: 1;
}

.service-features-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 17px;
}

.service-features-list i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 14px;
}

.service-card .btn {
  margin-top: auto;
  background-color: var(--primary-color);
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.service-card .btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

/* Service Areas */
.service-areas {
  padding: 80px 0;
  background: linear-gradient(rgba(22, 64, 122, 0.8), rgba(22, 64, 122, 0.8)),
    url("../images/1742221184146.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.service-areas h2 {
  color: var(--primary-color);
  text-transform: uppercase;
}

.area-list-container {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 40px;
  border-radius: 0;
  backdrop-filter: blur(5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Area List Grid */
.area-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 0;
}

.area-item {
  margin-bottom: 0;
  padding: 12px 20px 12px 30px;
  position: relative;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  transition: all 0.3s ease;
  color: white;
}

.area-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.area-item:before {
  content: "\f3c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 10px;
  color: var(--accent-color);
}

/* Testimonials */
.testimonials {
  padding: 90px 0;
  background: linear-gradient(rgba(22, 64, 122, 0.9), rgba(22, 64, 122, 0.9)),
    url("../images/contact-bg.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: white;
  position: relative;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 35px 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 4px solid var(--accent-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.testimonial-card::before {
  content: """;
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 80px;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(255, 165, 0, 0.15);
  z-index: 0;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  font-size: 17px;
  color: var(--accent-color);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.testimonial-author::before {
  content: "—";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
  .testimonial-card {
    padding: 25px 20px;
  }
  
  .testimonial-content {
    font-size: 16px;
  }
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.faq-section h2 {
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 50px;
}

.accordion-item {
  margin-bottom: 15px;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.accordion-button {
  background-color: white;
  font-weight: 600;
  padding: 22px 28px;
  color: var(--primary-color);
  font-size: 18px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.accordion-button:not(.collapsed) {
  background-color: white;
  color: var(--primary-color);
  border-left: 4px solid var(--accent-color);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

.accordion-button::after {
  background-size: 20px;
  transition: all 0.3s ease;
  background-color: rgba(22, 64, 122, 0.08);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-position: center;
}

.accordion-button:not(.collapsed)::after {
  background-color: rgba(255, 165, 0, 0.2);
}

.accordion-body {
  font-size: 17px;
  line-height: 1.8;
  padding: 25px 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background-color: rgba(22, 64, 122, 0.02);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(rgba(22, 64, 122, 0.8), rgba(22, 64, 122, 0.8)),
    url("../images/1742221616130.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: white;
  position: relative;
}

.contact-section h2 {
  color: white;
  text-transform: uppercase;
}

.contact-info {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 5px;
}

.contact-info i {
  margin-right: 10px;
  color: var(--accent-color);
}

/* Footer */
.footer {
  padding: 40px 0 20px;
  background-color: var(--dark-color);
  color: var(--light-text);
}

.footer h5 {
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

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

.footer a {
  color: var(--light-text);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent-color);
}

.copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* Call Now Button */
.call-now-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50px;
  padding: 12px 25px;
  z-index: 1000;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.call-now-btn:hover {
  background-color: #e69500;
  color: white;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 26px;
  }

  .area-list {
    column-count: 1;
  }

  .about-img {
    margin-bottom: 30px;
  }

  .service-card {
    margin-bottom: 20px;
  }

  .call-btn {
    padding: 10px 20px;
    font-size: 16px;
  }
}

/* Service Detail Sections with proper spacing */
.service-detail-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.service-detail-section.bg-light {
  background-color: var(--light-color);
}

.service-detail-section.bg-white {
  background-color: white;
  background-image: none;
}

.service-detail-section img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.service-detail-section img:hover {
  transform: scale(1.02);
}

.service-detail-section .section-title {
  color: var(--primary-color);
  font-size: 32px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 18px;
}

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

.service-detail-section p {
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 25px;
  color: var(--text-color);
}

.service-features {
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 17px;
}

.feature-item i {
  color: var(--accent-color);
  margin-right: 12px;
  font-size: 19px;
}

.feature-item span {
  color: var(--text-color);
}

.service-detail-section .call-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-detail-section .call-btn:hover {
  background-color: #e69500;
  transform: translateY(-2px);
  color: white;
}

/* Responsive adjustments for service detail sections */
@media (max-width: 991px) {
  .service-detail-section {
    padding: 60px 0;
  }

  .service-detail-section img {
    margin-bottom: 30px;
  }

  .service-detail-section .section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .service-detail-section {
    padding: 40px 0;
  }

  .service-detail-section .section-title {
    font-size: 28px;
  }

  .feature-item {
    font-size: 16px;
  }
}

/* Dark sections with subtle background */
.dark-section {
  background-color: var(--primary-color);
  background-image: linear-gradient(
    135deg,
    rgba(22, 64, 122, 1) 0%,
    rgba(30, 85, 160, 1) 100%
  );
  color: white;
  position: relative;
}

.dark-section h2,
.dark-section h3,
.dark-section .section-title {
  color: white;
}

.dark-section .section-title:after {
  background-color: var(--accent-color);
}

.dark-section p {
  color: rgba(255, 255, 255, 0.9);
}

.dark-section .lead {
  color: var(--accent-color);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 24px;
}

.dark-section .feature-item span {
  color: rgba(255, 255, 255, 0.9);
}

/* Additional Service Lists */
.service-category-intro {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-list ul {
  padding-left: 0;
  list-style: none;
}

.service-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
}

.service-list i {
  color: var(--accent-color);
  margin-right: 10px;
  margin-top: 5px;
}

.service-list strong {
  font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
  h1 {
    font-size: 38px;
  }

  h2,
  .section-title {
    font-size: 32px;
  }

  .hero p.lead {
    font-size: 24px;
  }
}

@media (max-width: 991px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 34px;
  }

  h2,
  .section-title {
    font-size: 30px;
  }

  h3 {
    font-size: 26px;
  }

  .hero p.lead {
    font-size: 22px;
  }

  .hero p.hero-text {
    font-size: 18px;
  }

  .area-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 30px;
  }

  h2,
  .section-title {
    font-size: 28px;
  }

  h3 {
    font-size: 24px;
  }

  .hero p.lead {
    font-size: 20px;
  }

  .service-card h3 {
    font-size: 24px;
  }
}

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

  .area-list-container {
    padding: 25px;
  }
}

/* Enhanced Call Button */
.call-btn {
  background-color: var(--accent-color);
  color: white;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
  transition: all 0.3s ease;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 6px 20px rgba(255, 165, 0, 0.3);
}

.hero .call-btn {
  padding: 20px 40px;
  font-size: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Remove frames and allow images to display at original sizes */
.img-container {
  height: auto;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 0;
  box-shadow: none;
}

.service-detail-section .img-container {
  box-shadow: none;
}

.dark-section .img-container {
  box-shadow: none;
}

.img-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  transition: none;
}

.img-container img:hover {
  transform: none;
}

/* Media queries for image containers */
@media (max-width: 1199px) {
  .img-container {
    min-height: 400px;
  }
}

@media (max-width: 991px) {
  .img-container {
    min-height: 360px;
    margin-bottom: 30px;
  }

  .service-detail-section .flex-row-reverse .img-container {
    margin-top: 30px;
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .img-container {
    min-height: 320px;
  }
}

@media (max-width: 576px) {
  .img-container {
    min-height: 280px;
  }
}

/* Ensure proper vertical alignment */
@media (min-width: 992px) {
  .service-detail-section .row {
    min-height: 500px;
  }

  .service-detail-section .col-lg-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .service-detail-section img {
    margin-bottom: 30px;
  }

  .service-detail-section .flex-row-reverse img {
    margin-top: 30px;
    margin-bottom: 0;
  }
}
