:root {
  --primary-color: #1a5f7a;
  --secondary-color: #57c5b6;
  --accent-color: #159895;
  --light-color: #dafffb;
  --dark-color: #333;
  --text-color: #515151;
  --heading-color: #2c2c2c;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  scroll-behavior: smooth;
  overflow-x: hidden;
  padding-top: 76px; /* Add padding to account for fixed navbar */
  font-weight: 400;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.2rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
  font-weight: 500;
}

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

/* Header styles */
.navbar {
  background-color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.8rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.navbar-brand {
  padding: 0;
  margin-right: 2rem;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.call-now-btn {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.call-now-btn:hover {
  background-color: #106e6b;
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hero section - removed wave effects */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
    linear-gradient(
      135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%
    );
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  text-align: center;
  overflow: hidden;
  margin-bottom: 0;
}

.hero-content {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
}

/* Add pattern overlay to hero */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.4;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 300;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-btn {
  background-color: var(--secondary-color);
  color: white;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  font-size: 1.15rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  color: white;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Section styles */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
  color: var(--primary-color);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  margin-bottom: 0;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* About section */
.about-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  align-items: center;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.03);
}

.about-text {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.feature-box {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.feature-icon {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  color: var(--accent-color);
}

/* Services section */
.services {
  background-color: var(--light-color);
  padding: 6rem 0;
}

.service-card {
  background-color: white;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  margin-bottom: 3rem;
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.service-card:hover:after {
  width: 80px;
}

.service-img {
  position: relative;
  flex-shrink: 0;
  overflow: visible;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.service-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

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

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

.service-info h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.service-card:hover .service-info h3 {
  color: var(--accent-color);
}

.service-info p {
  flex-grow: 1;
  margin-bottom: 1.75rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
  opacity: 0.9;
}

.service-info .service-cta-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.service-cta-btn:hover {
  transform: translateY(-3px);
}

.service-list ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
}

.service-list li {
  width: 50%;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 0.95rem;
}

.service-list li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Service details */
.service-detail-section {
  padding: 6rem 0;
  background-color: white;
}

.service-detail-section .row {
  margin-bottom: 5rem;
  position: relative;
}

.service-detail-section .row:after {
  content: "";
  position: absolute;
  bottom: -2.5rem;
  left: 15px;
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  opacity: 0.5;
}

.service-detail-section .row:last-child {
  margin-bottom: 0;
}

.service-detail-section .row:last-child:after {
  display: none;
}

.service-detail-section .col-lg-6:first-child {
  padding-right: 2.5rem;
}

.service-detail-section .col-lg-6:last-child {
  padding-left: 2.5rem;
}

.service-detail-img {
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  margin-bottom: 0;
  position: relative;
  width: 100%;
  height: auto;
}

.service-detail-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

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

/* Adjust content spacing for better alignment with images */
.service-detail-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

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

.service-detail-section p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: var(--text-color);
}

.service-benefits {
  margin-top: 2.5rem;
  background-color: rgba(218, 255, 251, 0.2);
  padding: 1.75rem;
  border-radius: 6px;
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.service-benefits h4 {
  color: var(--primary-color);
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.service-benefits ul {
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.service-benefits li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  position: relative;
}

.service-benefits li:last-child {
  margin-bottom: 0;
}

.service-cta {
  background-color: var(--light-color);
  padding: 2.5rem;
  border-radius: 6px;
  text-align: center;
  margin-top: 3rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.service-cta h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.4rem;
}

.service-cta-btn {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  margin-top: 1.25rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.95rem;
}

/* Media queries */
@media (max-width: 1199.98px) {
  /* No fixed heights for images */
  .service-detail-section .col-lg-6:first-child {
    padding-right: 2rem;
  }

  .service-detail-section .col-lg-6:last-child {
    padding-left: 2rem;
  }
}

@media (max-width: 991.98px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

  /* Cards and services adjustments */
  .services {
    padding: 5rem 0;
  }

  .service-card {
    margin-bottom: 2.5rem;
  }

  .service-info {
    padding: 0 0.5rem 1.5rem;
  }

  .service-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .service-info p {
    margin-bottom: 1.5rem;
  }

  /* Service detail section adjustments */
  .service-detail-section {
    padding: 5rem 0;
  }

  .service-detail-section .row {
    margin-bottom: 4rem;
  }

  .service-detail-section .row:after {
    bottom: -2rem;
  }

  .service-detail-section .col-lg-6:first-child,
  .service-detail-section .col-lg-6:last-child {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .service-detail-img {
    margin-bottom: 2rem;
  }

  .service-detail-section h3 {
    font-size: 1.75rem;
  }

  .service-benefits {
    margin-top: 2rem;
    padding: 1.5rem;
  }

  .service-cta {
    padding: 2rem;
    margin-top: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-top: 66px;
    font-size: 15px;
  }

  section {
    padding: 4rem 0;
  }

  .services {
    padding: 4rem 0;
  }

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

  h2 {
    font-size: 2rem;
  }

  .section-title {
    margin-bottom: 3rem;
  }

  .service-list li {
    width: 100%;
  }

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

  .logo-text {
    font-size: 1.2rem;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  /* Service cards adjustments */
  .service-card {
    margin-bottom: 2rem;
  }

  .service-card:after {
    height: 2px;
    bottom: -10px;
    width: 30px;
  }

  .service-card:hover:after {
    width: 60px;
  }

  .service-img {
    margin-bottom: 1rem;
  }

  /* Service detail section adjustments */
  .service-detail-section {
    padding: 4rem 0;
  }

  .service-detail-section .row {
    margin-bottom: 3rem;
  }

  .service-detail-section .row:after {
    width: 60px;
    height: 2px;
    bottom: -1.5rem;
  }

  .service-detail-section h3 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
  }

  .service-detail-section h3:after {
    width: 40px;
    height: 2px;
  }

  .service-benefits h4 {
    font-size: 1.2rem;
  }

  .service-detail-img {
    margin-bottom: 1.5rem;
  }

  .service-cta {
    padding: 1.75rem;
    margin-top: 2rem;
  }

  .service-cta h4 {
    font-size: 1.3rem;
  }
}

@media (max-width: 575.98px) {
  .section-title h2 {
    font-size: 1.8rem;
  }

  .service-detail-section .col-lg-6:first-child,
  .service-detail-section .col-lg-6:last-child {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .service-info {
    padding: 0 0.25rem 1rem;
  }

  .service-info h3 {
    font-size: 1.3rem;
  }
}

/* Areas section */
.areas {
  background-color: white;
}

.area-list {
  column-count: 2;
  padding-left: 0;
  list-style-type: none;
}

@media (min-width: 768px) {
  .area-list {
    column-count: 3;
  }
}

@media (min-width: 992px) {
  .area-list {
    column-count: 4;
  }
}

.area-list li {
  margin-bottom: 10px;
  break-inside: avoid;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
}

.area-list li:before {
  content: "\f3c5";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Testimonials section */
.testimonials {
  background-color: var(--light-color);
}

.testimonial-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.testimonial-card:before {
  content: "\f10d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2rem;
  color: var(--secondary-color);
  opacity: 0.15;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.client-info {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
}

.client-name {
  font-weight: 600;
  color: var(--primary-color);
}

.client-role {
  color: var(--text-color);
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Contact section */
.contact-info-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact-details {
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

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

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  margin-bottom: 0;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--accent-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  text-decoration: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 44px;
  height: 44px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.logo-icon::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  background-color: var(--accent-color);
  border-radius: 50%;
  z-index: 1;
}

.logo-icon::after {
  content: "";
  position: absolute;
  width: 35%;
  height: 35%;
  background-color: white;
  border-radius: 50%;
  z-index: 2;
}

.logo-icon .waves {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    transparent 35%,
    var(--secondary-color) 35%,
    var(--secondary-color) 60%,
    transparent 60%
  );
  z-index: 0;
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.logo-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: white;
  font-size: 1.5rem;
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.5px;
}
