/* 
 * A & Q Carpets - Landing Page Styles
 * Inspired by Stainaway design
 */

/* Global Styles */
:root {
  --primary-color: #3a4db4;
  --secondary-color: #2c3c99;
  --accent-color: #f0a500;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333;
  --section-padding: 90px 0;
  --transition-speed: 0.4s;
  --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --glow-color: rgba(240, 165, 0, 0.5);
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  transition: all var(--transition-speed) var(--transition-bounce);
  position: relative;
}

/* Enhanced Global Link Hover Effect */
a:not(.btn):after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.3s var(--transition-bounce);
  border-radius: 2px;
}

a:not(.btn):hover:after {
  width: 100%;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  font-weight: 700;
  transition: transform 0.3s var(--transition-bounce);
}

section:hover .section-title {
  transform: scale(1.02);
}

.section-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 0 auto 30px;
  transition: width 0.5s var(--transition-bounce);
  border-radius: 3px;
}

section:hover .section-divider {
  width: 120px;
}

.section-subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #666;
}

/* Modern Button Styles */
.btn {
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s var(--transition-bounce);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
}

.btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.5s ease;
  z-index: -1;
}

.btn:hover:before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  color: var(--primary-color);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4),
    0 0 0 5px rgba(255, 255, 255, 0.1);
}

.btn-outline-light:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 25px rgba(58, 77, 180, 0.3),
    0 0 0 5px rgba(58, 77, 180, 0.1);
}

/* Top Phone Number */
.navbar {
  background-color: transparent;
  padding: 20px 0;
  transition: all 0.3s ease;
  position: absolute;
  width: 100%;
  z-index: 1000;
  top: 0;
}

.navbar.scrolled {
  background-color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: fixed;
}

.navbar-brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  padding: 0;
}

.brand-text {
  display: inline-block;
  position: relative;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(
    120deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.85) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 8px;
  transition: all 0.3s var(--transition-bounce);
}

.brand-amp {
  color: var(--accent-color);
  font-style: italic;
  font-size: 1.9rem;
  font-weight: 600;
  margin: 0 -2px;
  position: relative;
  top: -2px;
  display: inline-block;
  transform: rotate(-5deg);
  transition: all 0.3s var(--transition-bounce);
}

.brand-subtitle {
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  position: relative;
  top: -4px;
  font-weight: 600;
  transition: all 0.3s var(--transition-bounce);
}

.navbar-brand:hover .brand-text {
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  transform: scale(1.03);
}

.navbar-brand:hover .brand-amp {
  transform: rotate(3deg) scale(1.1);
  color: #ffb01f;
}

.navbar-brand:hover .brand-subtitle {
  letter-spacing: 0.12em;
  color: #ffb01f;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: #ffffff;
  padding: 0.5rem 1rem;
  position: relative;
  border-radius: 20px;
  margin: 0 5px;
  transition: all 0.3s var(--transition-bounce);
  z-index: 1;
}

.navbar-nav .nav-link:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0);
  z-index: -1;
  transition: all 0.3s ease;
  transform: scale(0.8);
  opacity: 0;
}

.navbar-nav .nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: all 0.3s var(--transition-bounce);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
  transform: scale(1);
  opacity: 0.1;
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
  width: 70%;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Hero Container */
.hero-container {
  background-color: var(--primary-color);
  width: 100%;
  position: relative;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  text-align: center;
  padding: 160px 0 85px;
  overflow: hidden;
}

.hero-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,224L48,213.3C96,203,192,181,288,154.7C384,128,480,96,576,117.3C672,139,768,213,864,218.7C960,224,1056,160,1152,138.7C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.8;
  z-index: 0;
}

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

/* Enhanced Modern Hero Heading Styles */
.hero-section h1 {
  font-size: 4.2rem;
  line-height: 1.2;
  margin-bottom: 15px;
  background: linear-gradient(
    120deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  letter-spacing: -0.02em;
  font-weight: 800;
  position: relative;
  animation: fadeInUp 1s ease-out;
  transition: all 0.5s var(--transition-bounce);
  cursor: default;
}

.hero-section h1:hover {
  text-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
  letter-spacing: -0.01em;
  transform: scale(1.03);
}

.hero-section h1::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(240, 165, 0, 0.5);
  transition: all 0.4s var(--transition-bounce);
}

.hero-section h1:hover::after {
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-color), #ffb01f);
  box-shadow: 0 2px 12px rgba(240, 165, 0, 0.7);
}

.hero-section h2 {
  font-size: 2.4rem;
  margin-bottom: 30px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.015em;
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
  position: relative;
  display: inline-block;
  transition: all 0.4s var(--transition-bounce);
  cursor: default;
}

.hero-section h2:hover {
  color: #ffffff;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.03em;
  transform: translateY(-3px);
}

.hero-section h2::before,
.hero-section h2::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 50px;
  background: rgba(255, 255, 255, 0.4);
  top: 50%;
  transition: all 0.5s var(--transition-bounce);
}

.hero-section h2:hover::before,
.hero-section h2:hover::after {
  width: 70px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
}

.hero-section h2::before {
  left: -70px;
}

.hero-section h2:hover::before {
  left: -90px;
}

.hero-section h2::after {
  right: -70px;
}

.hero-section h2:hover::after {
  right: -90px;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  margin-top: 40px;
  padding: 10px 0 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: both;
}

.cta-buttons .btn {
  margin: 0;
  padding: 16px 40px;
  font-size: 1.1rem;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.4s var(--transition-bounce);
  overflow: hidden;
  min-width: 200px;
  text-align: center;
}

.cta-buttons .btn:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 0 5px rgba(255, 255, 255, 0.1);
}

.cta-buttons .btn:after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  transform: scale(0.5);
  z-index: -1;
}

.cta-buttons .btn:hover:after {
  opacity: 1;
  transform: scale(1);
}

.hero-phone {
  margin-top: 30px;
  font-size: 1.6rem;
  animation: fadeInUp 1s ease-out 0.8s;
  animation-fill-mode: both;
}

.hero-phone a {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.4s var(--transition-bounce);
  padding: 10px 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-phone a:hover {
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1),
    0 0 0 5px rgba(255, 255, 255, 0.05);
}

.hero-phone i {
  margin-right: 10px;
  color: var(--accent-color);
  transition: all 0.4s var(--transition-bounce);
}

.hero-phone a:hover i {
  transform: rotate(25deg) scale(1.2);
}

/* Make image appear in a rounded frame like in the reference site */
.hero-section .featured-image {
  position: relative;
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateX(5deg);
  animation: fadeInUp 1s ease-out 1s;
  animation-fill-mode: both;
  transition: all var(--transition-speed) ease;
}

.hero-section .featured-image:hover {
  transform: perspective(1000px) rotateX(0deg) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-section .featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* About Section */
.about-section {
  padding: var(--section-padding);
  background-color: var(--light-color);
}

.about-img {
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.features {
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 15px;
}

.feature-item span {
  font-weight: 600;
}

/* Services Section */
.services-section {
  padding: var(--section-padding);
}

.service-item {
  margin-bottom: 30px;
}

.service-card {
  padding: 30px 25px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.5s var(--transition-bounce);
  height: 100%;
  position: relative;
  top: 0;
  border-bottom: 3px solid transparent;
  overflow: hidden;
  z-index: 1;
}

.service-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at bottom right,
    rgba(58, 77, 180, 0.05),
    transparent 70%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-15px) scale(1.03);
  border-bottom: 3px solid var(--accent-color);
}

.service-card:hover:before {
  opacity: 1;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: rgba(58, 77, 180, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.5s var(--transition-bounce);
  position: relative;
  z-index: 1;
}

.service-icon:after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid transparent;
  z-index: -1;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(10deg);
  background-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(58, 77, 180, 0.3);
}

.service-card:hover .service-icon:after {
  border-color: rgba(58, 77, 180, 0.2);
  transform: scale(1.1);
}

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

.service-card:hover .service-icon i {
  color: white;
  transform: rotate(-10deg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}

.service-card p {
  color: #666;
  text-align: center;
}

/* Service Area Section */
.service-area-section {
  padding: 90px 0;
  background-color: var(--light-color);
  margin: 0;
  position: relative;
  z-index: 1;
}

.area-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.area-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #ccc;
  position: relative;
  padding-left: 25px;
  transition: all 0.3s var(--transition-bounce);
}

.area-list li:before {
  content: "\f3c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
  transition: all 0.3s var(--transition-bounce);
}

.area-list li:hover {
  transform: translateX(8px);
  padding-left: 30px;
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.area-list li:hover:before {
  transform: scale(1.2);
  color: var(--accent-color);
}

/* Testimonials Section */
.testimonials-section {
  padding: 90px 0;
  margin: 0;
}

.testimonial-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  position: relative;
}

.testimonial-content {
  margin-bottom: 20px;
  position: relative;
  padding-top: 30px;
}

.testimonial-content:before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 24px;
  color: var(--primary-color);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.3;
}

.testimonial-info h4 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.testimonial-info p {
  color: #666;
  font-style: italic;
}

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

.accordion-item {
  margin-bottom: 15px;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.4s var(--transition-bounce);
}

.accordion-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.accordion-button {
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.accordion-button:after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233a4db4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: all 0.3s var(--transition-bounce);
}

.accordion-button:hover {
  background-color: rgba(231, 241, 255, 0.5);
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background: linear-gradient(135deg, #e7f1ff, #f5f9ff);
  box-shadow: inset 0 -1px 0 rgba(58, 77, 180, 0.1);
}

.accordion-button:not(.collapsed):after {
  transform: rotate(-180deg) scale(1.2);
}

.accordion-body {
  padding: 20px;
  background-color: #fff;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.contact-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,128L48,144C96,160,192,192,288,197.3C384,203,480,181,576,186.7C672,192,768,224,864,208C960,192,1056,128,1152,106.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.8;
}

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

.contact-section .section-title,
.contact-section .section-subtitle {
  color: white;
}

.contact-info {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px 30px;
  margin-bottom: 40px;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-speed) ease;
}

.contact-info:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  transition: all 0.4s var(--transition-bounce);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.contact-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(8px) translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-item:hover:before {
  opacity: 1;
}

.contact-item i {
  font-size: 2rem;
  margin-right: 20px;
  color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.4s var(--transition-bounce);
  position: relative;
  z-index: 1;
}

.contact-item i:after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid transparent;
  z-index: -1;
  transition: all 0.3s ease;
  opacity: 0;
}

.contact-item:hover i {
  transform: scale(1.15) rotate(15deg);
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px var(--glow-color);
}

.contact-item:hover i:after {
  border-color: rgba(240, 165, 0, 0.3);
  opacity: 1;
  animation: pulse 1.5s infinite;
}

.contact-item h4 {
  color: white;
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.contact-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.contact-item a {
  color: white;
  transition: all var(--transition-speed) ease;
  position: relative;
  padding-bottom: 2px;
}

.contact-item a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width var(--transition-speed) ease;
}

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

.contact-item a:hover:after {
  width: 100%;
}

.contact-cta {
  margin-top: 30px;
}

.contact-cta .btn {
  padding: 15px 35px;
  font-size: 1.2rem;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-speed)
    cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-cta .btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #191c3a 0%, #252a4b 100%);
  color: white;
  padding: 40px 0 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.footer:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at center,
      rgba(58, 77, 180, 0.15),
      transparent 50%
    ),
    radial-gradient(circle at 20% 80%, rgba(240, 165, 0, 0.1), transparent 40%);
  opacity: 1;
  z-index: 0;
}

.footer p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
}

.footer:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.8rem;
  }

  .hero-section h2 {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    height: auto;
    padding: 120px 0 80px;
  }

  .hero-section h1 {
    font-size: 2.3rem;
  }

  .hero-section h2 {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* Section Background Patterns - Vector-Like Illustrations */
.bg-pattern-1 {
  position: relative;
  overflow: hidden;
}

.bg-pattern-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle at 10% 20%,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 20%
  );
  background-size: 60% 60%;
  z-index: 0;
}

.bg-pattern-2 {
  position: relative;
  overflow: hidden;
}

.bg-pattern-2::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.05) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.05) 75%,
    transparent 75%
  );
  background-size: 30px 30px;
  z-index: 0;
}

.bg-pattern-3 {
  position: relative;
  overflow: hidden;
}

.bg-pattern-3::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 2px,
    transparent 2px,
    transparent 4px
  );
  z-index: 0;
}

.bg-pattern-4 {
  position: relative;
  overflow: hidden;
}

.bg-pattern-4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 90% 90%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 10% 10%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 40%
    );
  z-index: 0;
}

/* Dark and Light Section Alternating Styles */
.section-dark {
  background-color: var(--primary-color);
  color: white;
  padding: 90px 0;
  margin: 0;
}

.section-dark .section-divider {
  background-color: white;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.section-light {
  background-color: var(--light-color);
  color: var(--text-color);
  padding: 90px 0;
  margin: 0;
}

.process-steps {
  margin-top: 50px;
  margin-bottom: 30px;
}

.process-step {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  padding: 0 10px;
  transition: all 0.4s var(--transition-bounce);
}

.process-step:hover {
  transform: translateY(-10px);
}

.process-step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.4s var(--transition-bounce);
  position: relative;
  z-index: 1;
}

.process-step-number:after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid transparent;
  z-index: -1;
  transition: all 0.3s ease;
}

.process-step:hover .process-step-number {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 10px 25px rgba(58, 77, 180, 0.3);
}

.process-step:hover .process-step-number:after {
  border-color: rgba(58, 77, 180, 0.2);
  animation: pulse 1.5s infinite;
}

.process-step h3 {
  margin-bottom: 15px;
}

.process-step p {
  max-width: 300px;
  margin: 0 auto;
}

/* Service Detail Styles */
.service-detail {
  padding: 90px 0;
  position: relative;
  margin: 0;
}

.service-detail-content {
  position: relative;
  z-index: 1;
  padding: 0 15px;
}

.service-detail-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.service-detail-img img {
  width: 100%;
  height: auto;
  display: block;
}

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

.service-feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.service-feature-icon {
  min-width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.section-dark .service-feature-icon {
  background-color: white;
  color: var(--primary-color);
}

.service-feature-text h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.service-feature-text p {
  margin-bottom: 0;
}

/* Equipment Section Styles */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 30px;
  padding: 0 15px;
}

@media (max-width: 991.98px) {
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .equipment-grid {
    grid-template-columns: 1fr;
  }
}

.equipment-item {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.5s var(--transition-bounce);
  text-align: center;
  padding: 30px;
  position: relative;
  z-index: 1;
}

.equipment-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top left,
    rgba(58, 77, 180, 0.05),
    transparent 70%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.equipment-item:hover {
  transform: translateY(-15px) translateX(5px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.equipment-item:hover:before {
  opacity: 1;
}

.equipment-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(58, 77, 180, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  transition: all 0.5s var(--transition-bounce);
  position: relative;
}

.equipment-icon:after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.equipment-item:hover .equipment-icon {
  transform: scale(1.15) rotate(10deg);
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 10px 25px rgba(58, 77, 180, 0.3);
}

.equipment-item:hover .equipment-icon:after {
  border-color: rgba(58, 77, 180, 0.2);
  animation: pulse 1.5s infinite;
}

.equipment-item h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.section-dark .equipment-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.section-dark .equipment-icon {
  background-color: white;
  color: var(--primary-color);
}

.section-dark .equipment-item h4 {
  color: white;
}

/* Keyframe animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes glow {
  0% {
    box-shadow: 0 0 5px var(--glow-color);
  }
  50% {
    box-shadow: 0 0 20px var(--glow-color);
  }
  100% {
    box-shadow: 0 0 5px var(--glow-color);
  }
}

/* Hero Image Colorized Border Effect */
.hero-section .featured-image {
  position: relative;
  border: 3px solid transparent;
  transition: all 0.5s var(--transition-bounce);
}

.hero-section .featured-image:hover {
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-color);
}

.hero-section .featured-image::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(
    45deg,
    var(--accent-color),
    var(--primary-color),
    var(--accent-color)
  );
  background-size: 300% 300%;
  z-index: -1;
  border-radius: 13px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-section .featured-image:hover::after {
  opacity: 1;
  animation: gradientBorder 3s ease infinite;
}

.hero-section .featured-image img {
  transition: all 0.5s var(--transition-bounce);
}

.hero-section .featured-image:hover img {
  transform: scale(1.03);
}

@keyframes gradientBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Special Offer Banner */
.special-offer-banner {
  background: linear-gradient(135deg, var(--accent-color), #ffb01f);
  color: white;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.special-offer-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.1) 10px,
    rgba(255, 255, 255, 0.1) 20px
  );
  animation: moveBg 20s linear infinite;
  z-index: -1;
}

@keyframes moveBg {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.offer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.offer-icon {
  color: white;
  font-size: 2rem;
  animation: pulse 2s infinite;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.offer-text {
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.8px;
  font-size: 1.4rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.offer-btn {
  background-color: white;
  color: var(--accent-color);
  padding: 8px 25px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s var(--transition-bounce);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.offer-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.offer-btn:after {
  display: none;
}

@media (max-width: 767.98px) {
  .offer-content {
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
  }

  .offer-text {
    text-align: center;
    font-size: 1.1rem;
  }
}

/* ZIP Codes Section Styling */
.zip-codes {
  padding: 20px;
  background: linear-gradient(
    135deg,
    rgba(58, 77, 180, 0.05),
    rgba(240, 165, 0, 0.05)
  );
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.zip-codes h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
  display: inline-block;
  position: relative;
}

.zip-codes h4:after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.zip-codes h4:hover:after {
  width: 100%;
}

.zip-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.zip-list li {
  padding: 8px 0;
  padding-left: 30px;
  position: relative;
  transition: transform 0.3s ease;
  font-weight: 400;
}

.zip-list li:before {
  content: "\f0ac";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--primary-color);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.zip-list li:hover {
  transform: translateX(5px);
}

.zip-list li:hover:before {
  color: var(--accent-color);
  opacity: 1;
}

.zip-list li strong {
  color: var(--primary-color);
  font-weight: 600;
  margin-right: 5px;
}

@media (max-width: 767.98px) {
  .zip-codes .col-md-6:first-child {
    margin-bottom: 20px;
  }
}

.zip-codes-list {
  font-size: 1.2rem;
  line-height: 1.6;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  word-spacing: 15px;
  font-weight: 500;
  color: var(--primary-color);
  text-align: center;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.zip-codes-list:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  .zip-codes-list {
    font-size: 1rem;
    word-spacing: 12px;
    padding: 12px 15px;
  }
}
