:root {
  --primary-color: #541D9C;
  --primary-dark: #541D9b;
  --secondary-color: #541D9C;
  --tertiary-color: #541D9C;
  --light-bg: #F5F7FA;
  --white: #FFFFFF;
  --text-color: #333333;
  --text-light: #666666;
}

body {
  font-family: 'Poppins', sans-serif !important;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--secondary-color);
  font-weight: 700;
}
.text-primary{
    color: #fff !important;
}
.btn:hover{
    background-color: #541D9C ;
}
/* Top Bar */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar a {
  color: var(--white);
  text-decoration: none;
  margin-right: 15px;
  transition: opacity 0.2s;
}
.top-bar a:hover {
  opacity: 0.8;
}

/* Navbar */
.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  padding: 15px 0;
}
.navbar.shadow-sm {
  padding: 10px 0;
}
.navbar-brand {
  font-weight: 800;
  color: var(--secondary-color) !important;
  font-size: 1.5rem;
}
.navbar-brand i {
  color: var(--primary-color);
}
.nav-link {
  font-weight: 600;
  color: var(--tertiary-color) !important;
  font-size: 0.95rem;
  margin: 0 10px;
}
.nav-link:hover {
  color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}
.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(to right, rgba(15, 34, 51, 0.9) 0%, rgba(15, 34, 51, 0.7) 100%), url('../images/hero-locksmith.jpg') center/cover no-repeat;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 120px 0 160px;
}
.hero-content h1 {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}
.quote-form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.quote-form-card h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 25px;
  font-weight: 800;
}
.quote-form-card .form-control, .quote-form-card .form-select {
  border-radius: 6px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid #e0e0e0;
}
.quote-form-card .form-control:focus, .quote-form-card .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 173, 239, 0.25);
}

/* Feature Strip */
.feature-strip {
  margin-top: -70px;
  position: relative;
  z-index: 10;
}
.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 173, 239, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px;
  transition: all 0.3s;
}
.feature-card:hover .feature-icon {
  background: var(--primary-color);
  color: var(--white);
}
.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0;
  font-weight: 700;
}

/* Generic Sections */
.section-padding { padding: 90px 0; }
.bg-light-grey { background-color: var(--light-bg); }
.section-title { margin-bottom: 50px; text-align: center; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 15px; font-weight: 800; }
.section-title p { color: var(--text-light); max-width: 700px; margin: 0 auto; font-size: 1.1rem; }
.section-title .divider { width: 80px; height: 4px; background: var(--primary-color); margin: 0 auto; border-radius: 2px; }

/* Lists & Checkmarks */
.check-list { list-style: none; padding-left: 0; }
.check-list li { position: relative; padding-left: 35px; margin-bottom: 15px; font-weight: 500; font-size: 1.1rem; }
.check-list li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: var(--primary-color); font-size: 1.3rem; }

/* Images */
.image-card { border-radius: 12px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.image-card img { width: 100%; height: auto; transition: transform 0.5s; }
.image-card:hover img { transform: scale(1.05); }

/* Trust Badges */
.trust-badge { display: flex; align-items: center; margin-bottom: 15px; }
.trust-badge i { color: var(--primary-color); font-size: 1.5rem; margin-right: 15px; }
.trust-badge span { font-weight: 600; color: var(--secondary-color); }

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  transform: translateY(-8px);
}
.service-img {
  height: 220px;
  background-color: var(--tertiary-color);
  background-size: cover;
  background-position: center;
  position: relative;
}
.service-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.service-icon-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: var(--primary-color);
}
.service-icon-header i { font-size: 1.8rem; margin-right: 15px; }
.service-icon-header h4 { margin: 0; font-size: 1.3rem; color: var(--secondary-color); font-weight: 700; }
.service-content p { color: var(--text-light); margin-bottom: 25px; flex-grow: 1; line-height: 1.6; }

/* Banners */
.dark-cta-banner {
  background: linear-gradient(rgba(15, 34, 51, 0.85), rgba(15, 34, 51, 0.85)), url('../images/car-door-lock.jpg') center/cover fixed;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.dark-cta-banner h2 { color: var(--white); font-weight: 800; margin-bottom: 20px; }
.dark-cta-banner p { font-size: 1.2rem; max-width: 800px; margin: 0 auto 30px; opacity: 0.9; }

/* How It Works */
.step-card { text-align: center; padding: 30px 20px; position: relative; background: var(--white); border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); height: 100%; }
.step-number { width: 60px; height: 60px; background: var(--primary-color); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; margin: 0 auto 20px; box-shadow: 0 5px 15px rgba(0, 173, 239, 0.3); }
.step-card h4 { font-size: 1.2rem; margin-bottom: 15px; }
.step-card p { color: var(--text-light); margin-bottom: 0; }

/* Testimonials */
.testimonial-card { background: var(--white); padding: 40px 30px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); height: 100%; position: relative; }
.testimonial-card::before { content: '\F4B4'; font-family: 'bootstrap-icons'; position: absolute; top: 20px; right: 30px; font-size: 3rem; color: rgba(0, 173, 239, 0.1); }
.testimonial-stars { color: #FFC107; margin-bottom: 20px; font-size: 1.2rem; }
.testimonial-text { font-style: italic; color: var(--text-light); margin-bottom: 25px; line-height: 1.6; font-size: 1.1rem; }
.testimonial-author { font-weight: 800; color: var(--secondary-color); font-size: 1.1rem; }

/* Service Areas */
.area-column h4 { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 20px; border-bottom: 2px solid var(--light-bg); padding-bottom: 15px; font-weight: 700; }
.area-list { list-style: none; padding-left: 0; }
.area-list li { margin-bottom: 12px; }
.area-list a { color: var(--text-color); text-decoration: none; transition: all 0.2s; display: block; padding: 5px 0; font-weight: 500; }
.area-list a:hover { color: var(--primary-color); transform: translateX(5px); }

/* Quick Info Cards */
.info-card { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); height: 100%; }
.info-card h4 { color: var(--secondary-color); margin-bottom: 20px; font-size: 1.2rem; }
.info-card ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.info-card ul li { margin-bottom: 10px; color: var(--text-light); position: relative; padding-left: 20px; }
.info-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--primary-color); font-weight: bold; }

/* Small Trust Bar */
.bottom-trust-bar { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: 0 -5px 20px rgba(0,0,0,0.05); margin-bottom: -50px; position: relative; z-index: 10; border-top: 4px solid var(--primary-color); }

/* Footer */
.footer { background-color: var(--secondary-color); color: rgba(255,255,255,0.7); padding: 100px 0 20px; }
.footer-contact-box { transition: transform 0.3s; }
.footer-contact-box:hover { transform: translateY(-5px); }
.footer h4 { color: var(--white); margin-bottom: 25px; font-size: 1.3rem; font-weight: 700; }
.footer p { margin-bottom: 20px; line-height: 1.7; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: all 0.3s; display: inline-block; }
.footer-links a:hover { color: var(--primary-color); transform: translateX(5px); }
.footer-contact { margin-bottom: 15px; display: flex; align-items: flex-start; }
.footer-contact i { color: var(--primary-color); margin-right: 15px; font-size: 1.2rem; margin-top: 2px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.1); color: var(--white); border-radius: 50%; margin-right: 10px; transition: all 0.3s; text-decoration: none; }
.footer-social a:hover { background: var(--primary-color); transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 25px; margin-top: 50px; border-top: 1px solid rgba(255,255,255,0.1); }

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s;
  text-decoration: none;
}
.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-5px);
  color: white;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Contact Page */
.contact-info-card { background: var(--light-bg); padding: 30px; border-radius: 12px; margin-bottom: 20px; display: flex; align-items: center; transition: all 0.3s; text-decoration: none; color: var(--text-color); }
.contact-info-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.contact-info-icon { width: 60px; height: 60px; background: var(--white); color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-right: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.contact-info-text h5 { margin-bottom: 5px; color: var(--secondary-color); font-weight: 700; }
.contact-info-text p { margin-bottom: 0; color: var(--text-light); }

/* Inner Page Header */
.inner-header { background: linear-gradient(rgba(15, 34, 51, 0.9), rgba(15, 34, 51, 0.9)), url('../images/mobile-locksmith.jpg') center/cover; padding: 100px 0 80px; color: var(--white); text-align: center; }
.inner-header h1 { color: var(--white); font-size: 3rem; margin-bottom: 15px; }
.breadcrumb { justify-content: center; margin-bottom: 0; }
.breadcrumb-item a { color: var(--primary-color); text-decoration: none; }
.breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive Adjustments */
@media (max-width: 991px) {
  .hero-content h1 { font-size: 2.8rem; }
  .feature-strip { margin-top: 40px; }
  .feature-card { margin-bottom: 20px; }
  .section-padding { padding: 70px 0; }
}
@media (max-width: 767px) {
  .hero-content h1 { font-size: 2.2rem; }
  .top-bar { display: none; } /* Handled via utility classes in HTML but fallback here */
  .section-padding { padding: 50px 0; }
  .area-column { margin-bottom: 30px; }
  .footer { padding: 60px 0 20px; }
  .hero-section { padding: 80px 0 60px; text-align: center; }
  .quote-form-card { margin-top: 40px; }
  .btn-primary { width: 100%; margin-bottom: 10px; }
  .btn-outline-primary { width: 100%; }
  .inner-header h1 { font-size: 2.2rem; }
  .bottom-trust-bar { margin-bottom: 30px; margin-top: 30px; position: static; }
  .floating-whatsapp { width: 55px; height: 55px; font-size: 30px; bottom: 20px; right: 20px; }
}
