/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #013667;
  /* Dark blue */
  --secondary-color: #038798;
  /* Teal blue */
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  /* color: var(--primary-color); */
}

/* Specific Utilities */
.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.btn-custom {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-custom:hover {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary-custom {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-secondary-custom:hover {
  background-color: transparent;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* Header Top Bar */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}

.top-bar a {
  color: var(--white);
}

/* Navbar */
.navbar {
  padding: 15px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  background-color: var(--white);
}

.navbar-brand img {
  max-height: 60px;
}

.nav-item .nav-link {
  color: var(--primary-color);
  font-weight: 500;
  padding: 0 15px !important;
  text-transform: capitalize;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
  color: var(--secondary-color);
}

/* Hero Slider */
.hero-slider {
  position: relative;
}

.hero-slider .carousel-item {
  height: 600px;
  position: relative;
}

@media (min-width: 992px) {
  .hero-slider .carousel-item {
    height: 700px;
  }
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.slide-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--secondary-color);
  text-decoration: underline;
  text-decoration-color: var(--secondary-color);
  text-underline-offset: 8px;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 500px;
}

/* Progress Bar */
.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 10;
}

.carousel-progress-bar {
  height: 100%;
  background-color: var(--secondary-color);
  width: 0;
}

/* Animations */
.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-slide-up-delay-1 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out 0.2s;
}

.animate-slide-up-delay-2 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out 0.4s;
}

.carousel-item.active .animate-slide-up,
.carousel-item.active .animate-slide-up-delay-1,
.carousel-item.active .animate-slide-up-delay-2 {
  opacity: 1;
  transform: translateY(0);
}

/* About Section */
.about-section {
  padding: 100px 0;
}

.section-title {
  color: var(--secondary-color);
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-heading {
  font-size: 40px;
  margin-bottom: 30px;
  font-weight: 800;
}

.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.feature-icon {
  background-color: rgba(0, 96, 123, 0.1);
  color: var(--secondary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.feature-content p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 14px;
}

.about-img-wrapper {
  position: relative;
}

.about-img-main {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 96, 123, 0.3);
}

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

.services-section .section-heading {
  color: var(--white);
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.service-content {
  padding: 25px;
  position: relative;
}

.service-icon {
  position: absolute;
  top: -25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(0, 96, 123, 0.3);
}

.service-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.service-content p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 15px;
}

.service-link {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-link:hover {
  color: var(--primary-color);
}

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

.info-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: var(--transition);
}

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

.info-card i {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.info-card h4 {
  font-size: 20px;
  margin-bottom: 15px;
}

/* Quote Section */
.quote-section {
  padding: 100px 0;
  background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
  color: var(--white);
}

.quote-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 54, 103, 0.85);
  /* Primary color overlay */
}

.quote-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.quote-icon {
  font-size: 35px;
  color: var(--secondary-color);
  opacity: 0.8;
}

.quote-text {
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 20px;
}

.quote-author {
  font-size: 24px;
  font-weight: 900;
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .quote-content {
    flex-direction: column;
    text-align: center !important;
  }

  .quote-icon {
    text-align: center !important;
  }
}

.testimonial-swiper {
  padding-bottom: 40px;
}

.testimonial-swiper .swiper-pagination-bullet {
  background: var(--white);
  opacity: 0.5;
}

.testimonial-swiper .swiper-pagination-bullet-active {
  background: var(--white);
  opacity: 1;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
}

.accordion-button:not(.collapsed) {
  color: var(--white);
  background-color: var(--primary-color);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: rgba(1, 54, 103, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(1, 54, 103, 0.25);
}

.accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  border-radius: 5px !important;
  overflow: hidden;
}

.faq-image {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
}

/* Footer */
.footer {
  background-color: #0b1c2c;
  color: var(--white);
  padding: 80px 0 0;
}

.footer-widget h4 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-widget p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
  max-width: 200px;
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  color: var(--secondary-color);
  font-size: 20px;
  margin-top: 5px;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--secondary-color);
}

.footer-bottom {
  background-color: #081522;
  padding: 20px 0;
  margin-top: 60px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 40px;
  }

  .hero-slider .carousel-item {
    height: 500px;
  }
}

/* Swiper Customizations */
.services-section .container {
  position: relative;
}

.services-swiper {
  padding: 10px 0 20px 0;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: var(--transition);
  top: 60%;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--secondary-color);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

/* About Us Page Styles */
.page-banner {
  background-color: var(--primary-color);
}

.team-card {
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-overlay {
  background: rgba(47, 51, 55, 0.85) !important;
}

.team-card:hover .team-overlay {
  opacity: 1 !important;
}

.transform-translate-y {
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.team-card:hover .transform-translate-y {
  transform: translateY(0);
}

.social-links a:hover {
  background: var(--primary-color) !important;
  color: white !important;
}

.social-links a.text-dark:hover {
  background: var(--primary-color) !important;
  /* Specifically for Pinterest icon */
}

@media (min-width: 1400px) {
  .swiper-button-prev {
    left: -60px;
  }

  .swiper-button-next {
    right: -60px;
  }
}

/* Services Page Styles */
.service-page-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-page-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-page-icon {
  position: absolute;
  bottom: -30px;
  left: 30px;
  width: 70px;
  height: 70px;
  background-color: var(--secondary-color);
  /* Theme red from reference */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-page-icon img {
  width: 35px;
  height: auto;
  filter: brightness(0) invert(1);
  /* Ensure icons appear white */
}

.cursor-pointer {
  cursor: pointer;
}

.service-title-hover {
  transition: var(--transition);
}

.service-title-hover:hover {
  color: var(--secondary-color) !important;
}

/* Gallery Page Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
  }

  .gallery-item.wide {
    grid-column: span 2;
  }

  .gallery-item.tall {
    grid-row: span 2;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.gallery-item {
  cursor: pointer;
}

.gallery-img {
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-overlay {
  background: rgba(1, 54, 103, 0.85);
  /* Primary color w/ opacity */
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  transform: scale(0);
  transition: transform 0.4s ease;
  transition-delay: 0.1s;
}

.gallery-item:hover .gallery-icon {
  transform: scale(1);
}

.transform-translate-y-gallery {
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-item:hover .transform-translate-y-gallery {
  transform: translateY(0);
  opacity: 1;
}

/* Contact Page Styles */
.custom-input {
  background-color: #f7f7f7;
  border: none;
  padding: 18px 25px;
  font-size: 15px;
  border-radius: 0;
  transition: all 0.3s ease;
  color: #666;
}

.custom-input:focus {
  background-color: #fff;
  border-top-color: transparent;
  border-right-color: transparent;
  border-left-color: transparent;
  border-bottom: 2px solid var(--secondary-color) !important;
  box-shadow: none;
  border: none;
  outline: none;
}

.custom-input::-webkit-input-placeholder {
  color: #999;
}

.btn-submit-hover {
  transition: all 0.3s ease;
}

.btn-submit-hover:hover {
  background-color: transparent !important;
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

/* Horizontal Timeline 5 Steps */
.horizontal-timeline .t-step::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -50%;
  width: 100%;
  height: 2px;
  border-top: 2px dashed #d1e1f0;
  z-index: 0;
}

.horizontal-timeline .t-step:last-child::after {
  display: none;
}

.horizontal-timeline .step-icon-wrapper {
  z-index: 2;
  background-color: transparent;
}

/* Timeline Custom Icon Hover/Active States */
.t-step-icon {
  width: 60px;
  height: 60px;
  font-size: 24px;
  background-color: #fff;
  color: var(--primary-color);
  border: 1px dashed var(--primary-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.t-step:hover .t-step-icon,
.t-step.active .t-step-icon {
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 0 5px rgba(1, 54, 103, 0.1);
}

.t-step:hover .step-content h5,
.t-step.active .step-content h5 {
  color: var(--primary-color) !important;
}

@media (max-width: 767px) {
  .horizontal-timeline .t-step {
    margin-bottom: 30px;
  }

  .horizontal-timeline .t-step::after {
    display: none;
  }
}

.border-dashed {
  border-style: dashed !important;
}

/* Elfsight Google Reviews Overrides */
/* Hide the section title ("What Our Customers Say") */
[class*="WidgetTitle__WidgetTitleComponent"],
[class*="WidgetTitle__Container"],
.eapps-widget-title,
.eapps-google-reviews-title {
  display: none !important;
}

/* Hide the Free Google Reviews Widget watermark */
a[href*="elfsight"],
[class*="eapps-link"],
[class*="eapps-watermark"],
[class*="Badge__Container"],
[class*="BadgeContainer"],
[class*="Watermark__WatermarkClass"],
[class*="WatermarkClass"],
[class*="Watermark"],
a[title*="Free Google Reviews Widget"],
a[aria-label*="Free Google Reviews Widget"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  position: absolute !important;
  z-index: -9999 !important;
}