/* Additional custom styles */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e293b;
  --accent-color: #fbbf24;
  --accent-hover: #f59e0b;
  --light-color: #ffffff;
  --gradient-start: #1e40af;
  --gradient-end: #1e293b;
}

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

/* 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(30, 41, 59, 0.85), rgba(30, 64, 175, 0.75)), 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: var(--secondary-color) !important;
  color: white !important;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--accent-color) !important;
  color: black !important;
}

.social-icon i {
  color: inherit !important;
}

/* Navigation styles */
.nav-scrolled {
  background-color: rgba(30, 41, 59, 0.95);
}

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

.call-btn:hover {
  background-color: var(--accent-color) !important;
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* CTA section styles */
.cta-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #000000 50%, var(--secondary-color) 100%);
  position: relative;
  padding: 2rem 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, var(--accent-color) 35%, var(--accent-color) 40%, transparent 45%);
  opacity: 0.1;
  pointer-events: none;
}

.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: -2px;
  line-height: 1;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section p {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-section .text-lg {
  font-size: 0.9rem;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.cta-section > .container {
  position: relative;
  z-index: 1;
}

.cta-section .grid div span {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.cta-section .grid div .bg-yellow-400 {
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

/* Trusted Clients section styles - matching CTA section */
.trusted-clients-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #000000 50%, var(--secondary-color) 100%);
  position: relative;
  padding: 2rem 0;
}

.trusted-clients-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, var(--accent-color) 35%, var(--accent-color) 40%, transparent 45%);
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

.trusted-clients-section > .container {
  position: relative;
  z-index: 10;
}

/* Unified gradient section - matching CTA and Trusted Clients sections */
.unified-gradient-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #000000 50%, var(--secondary-color) 100%);
  position: relative;
  padding: 2rem 0;
}

.unified-gradient-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, var(--accent-color) 35%, var(--accent-color) 40%, transparent 45%);
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

.unified-gradient-section > .container {
  position: relative;
  z-index: 10;
}

.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: var(--accent-color);
}

.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;
}

/* Custom yellow highlight classes */
.text-yellow-highlight {
  color: var(--accent-color);
  font-weight: 600;
}

.border-yellow-highlight {
  border-bottom-color: var(--accent-color);
}

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

/* Better contrast for yellow on dark backgrounds */
.text-yellow-on-dark {
  color: #fde047; /* Brighter yellow for dark backgrounds */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Yellow button style */
.button-yellow {
  background-color: var(--accent-color);
  color: black;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

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

/* Ensure all yellow background buttons have black text */
.bg-yellow-400 {
  color: black !important;
}

.bg-yellow-400:hover {
  color: black !important;
}

/* Ensure all white background buttons have black text */
.bg-white {
  color: black !important;
}

.bg-white:hover {
  color: black !important;
}

/* Site-wide icon styling - Yellow background with black icons */
.fas, .fab {
  background-color: var(--accent-color);
  color: black;
  padding: 8px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Override for specific contexts where icons should remain their original color */
.social-icon .fas, .social-icon .fab {
  color: inherit;
  background-color: inherit;
  padding: 0;
  border-radius: 0;
  width: auto;
  height: auto;
  display: inline;
}

/* Navigation dropdown hover styling - only change color, not background */
.group:hover .fas {
  background-color: transparent;
  color: var(--accent-color);
}

/* Mobile menu button icon */
#mobile-menu-button .fas {
  color: white;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  width: auto;
  height: auto;
  display: inline;
}

#mobile-menu-button:hover .fas {
  background-color: var(--accent-color);
  color: black;
  padding: 4px;
  border-radius: 50%;
}

/* Footer icons - yellow background with black icons */
footer .fas {
  background-color: var(--accent-color);
  color: black;
}

/* Footer social media icons - override global fab styling */
footer .fab {
  background-color: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  display: inline !important;
  font-size: inherit !important;
}

/* Star ratings should stay yellow background with black stars */
.fas.fa-star {
  background-color: var(--accent-color);
  color: black;
}

/* Check marks should be green background with white checkmarks */
.fas.fa-check {
  background-color: #10b981;
  color: white;
}

/* X marks should be red background with white X */
.fas.fa-times {
  background-color: #ef4444;
  color: white;
}

/* Special styling for larger icons in service sections */
.w-20.h-20 .fas, .w-16.h-16 .fas {
  width: 100%;
  height: 100%;
  font-size: 24px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: black;
  padding: 0;
}

/* Contact info icons in contact sections */
.text-primary .fas {
  background-color: var(--accent-color);
  color: black;
  margin-right: 8px;
}

/* Service section icons - override the global styling for larger service icons */
.bg-primary .fas {
  background-color: var(--accent-color) !important;
  color: black !important;
  width: 100%;
  height: 100%;
  font-size: 24px;
  padding: 0;
  border-radius: 0;
}

/* Yellow background service icons */
.bg-yellow-400 .fas {
  background-color: transparent !important;
  color: var(--secondary-color) !important;
  width: 100%;
  height: 100%;
  font-size: 24px;
  padding: 0;
  border-radius: 0;
}

/* Navigation icons should remain simple */
nav .fas {
  background-color: transparent;
  color: currentColor;
  padding: 0;
  border-radius: 0;
  width: auto;
  height: auto;
  display: inline;
  font-size: inherit;
}

/* Dropdown menu icons */
.group .fas {
  background-color: transparent;
  color: currentColor;
  padding: 0;
  border-radius: 0;
  width: auto;
  height: auto;
  display: inline;
  font-size: inherit;
}

/* Button icons should remain simple */
button .fas, a .fas {
  background-color: transparent;
  color: currentColor;
  padding: 0;
  border-radius: 0;
  width: auto;
  height: auto;
  display: inline;
  font-size: inherit;
}

/* Override primary color for headings and decorative elements to use yellow */
.text-primary {
  color: var(--accent-color) !important;
}

/* Testimonial navigation buttons */
.testimonial-prev:hover,
.testimonial-next:hover {
  color: var(--accent-color) !important;
}

/* Green checkmark circles - ensure perfect circles */
.green-check-circle {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50% !important;
  background-color: #10b981 !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-right: 12px !important;
  margin-top: 4px !important;
}

.green-check-circle .fas {
  background-color: transparent !important;
  color: white !important;
  padding: 0 !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  display: inline !important;
  font-size: 12px !important;
}

/* Red circles - ensure perfect circles */
.red-circle-small {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50% !important;
  background-color: #ef4444 !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-right: 12px !important;
  margin-top: 4px !important;
}

.red-circle-medium {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px;
  min-height: 32px;
  border-radius: 50% !important;
  background-color: #ef4444 !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-right: 16px !important;
  margin-top: 4px !important;
}

.red-circle-large {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px;
  min-height: 64px;
  border-radius: 50% !important;
  background-color: #ef4444 !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin: 0 auto 16px auto !important;
}

.red-circle-small .fas,
.red-circle-medium .fas,
.red-circle-large .fas {
  background-color: transparent !important;
  color: white !important;
  padding: 0 !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  display: inline !important;
  font-size: inherit !important;
}