/* Additional custom styles */
:root {
  --primary-color: #4BB6E8;
  --secondary-color: #1F3D5C;
  --accent-color: #E76F51;
  --light-color: #ffffff;
}

body {
  font-family: 'Montserrat', sans-serif;
}

/* Mobile menu styles */
#mobile-menu {
  transition: all 0.3s ease;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9998;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#mobile-menu.hidden {
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Ensure mobile menu button is clickable */
#mobile-menu-button {
  cursor: pointer;
  z-index: 9999;
  position: relative;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

#mobile-menu-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile services dropdown */
#mobile-services-menu {
  transition: all 0.3s ease;
}

#mobile-services-menu.hidden {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

#mobile-services-menu:not(.hidden) {
  max-height: 300px;
  opacity: 1;
}

/* Custom animations */
.hover-grow {
  transition: transform 0.3s ease;
}

.hover-grow:hover {
  transform: scale(1.05);
}

/* Custom button styles */
.button-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.button-primary:hover {
  background-color: #3a9acb;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button-secondary {
  background-color: white;
  color: var(--secondary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.button-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button-accent {
  background-color: var(--accent-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.button-accent:hover {
  background-color: #d65b3e;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hero section styles */
.hero-section {
  background-image: linear-gradient(rgba(31, 61, 92, 0.7), rgba(31, 61, 92, 0.7)), url('../images/index-hero.jpg');
  background-size: cover;
  background-position: center;
}

/* Social icon styles */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Navigation styles */
.nav-scrolled {
  background-color: rgba(31, 61, 92, 0.9);
}

.call-btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* CTA section styles */
.cta-section {
  background-color: #4BB6E8;
  padding: 2rem 0;
}

.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1F3D5C;
  margin-bottom: -2px;
  line-height: 1;
}

.cta-section p:not(.text-lg) {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: white;
  margin-bottom: 1rem;
}

/* Override for specific text paragraph - FINAL RULE */
section.cta-section.text-white div.md\:w-2\/3 p.text-lg.text-gray-700 {
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5rem !important;
  color: #374151 !important;
  margin-bottom: 1rem !important;
}

.instant-estimate-btn {
  background-color: #D32323;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 0.25rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.instant-estimate-btn:hover {
  background-color: #B71C1C;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Animation styles */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Testimonial Slider Styles */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #e2e8f0;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: #4BB6E8;
}

.testimonial-prev,
.testimonial-next {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.testimonial-prev:focus,
.testimonial-next:focus {
  outline: none;
}

.swiper-slide {
  padding: 2rem 1rem;
}

/* CTA paragraph fix: ensure not bold */
.cta-section p.text-lg,
.cta-section p.text-gray-700,
section.cta-section p.text-lg.text-gray-700 {
  font-weight: 400 !important;
}

/* Curved Certification Banner */
.certification-banner {
  position: relative;
  padding: 4rem 0;
  margin: 2rem 0;
  background: transparent;
}

.certification-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: 140px;
  background: #4BB6E8;
  border-radius: 70px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border: 2px solid rgba(255, 255, 255, 0.8);
  z-index: 1;
}

.certification-banner .container {
  position: relative;
  z-index: 10;
}

.certification-banner .flex {
  position: relative;
  z-index: 10;
} 