:root {
  /* ============================= */
  /* BRAND COLORS */
  /* ============================= */
  --color-primary: #570000;
  --color-primary-alt: #7a0000;
  --color-primary-hover: #990000;
  --color-primary-dark: #520101;

  /* ============================= */
  /* TEXT COLORS */
  /* ============================= */
  --color-text-main: #333333;
  --color-text-secondary: #555555;
  --color-text-dark: #222222;
  --color-text-light: #ffffff;
  --color-text-black: #000000;

  /* ============================= */
  /* BACKGROUND COLORS */
  /* ============================= */
  --color-bg-body: #ececec;
  --color-bg-section: #f8f9fa;
  --color-bg-section-alt: #f8f9fb;
  --color-bg-card: #ffffff;
  --color-bg-white: #ffffff;
  --color-bg-gray: gray;

  /* ============================= */
  /* BORDERS */
  /* ============================= */
  --color-border-light: #ffffff;

  /* ============================= */
  /* SHADOWS */
  /* ============================= */
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 25px 60px rgba(0, 0, 0, 0.2);
  --shadow-red: 0 10px 30px rgba(122, 0, 0, 0.4);

  /* ============================= */
  /* OVERLAYS */
  /* ============================= */
  --overlay-top: rgba(0, 0, 0, 0.33);
  --overlay-bottom: rgba(0, 0, 0, 0.5);

  /* ============================= */
  /* RADIUS */
  /* ============================= */
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 18px;

  /* ============================= */
  /* TRANSITIONS */
  /* ============================= */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--color-bg-body);
  color: var(--color-text-main);
}

/* Section spacing */
section {
  padding: 80px 0;
}

/* Headings */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.5px;
}

.btn-top,
.btn-bottom {
  text-decoration: none !important;
}

/* Buttons */
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition-normal);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.hero-section {
  height: 99vh;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 0;
  margin: 0;
  top: 0;
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    var(--overlay-top),
    var(--overlay-bottom)
  );
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  color: white;
  max-width: 700px;
}

.hero-heading {
  font-size: 56px;
  font-weight: 700;
}

.hero-description {
  font-size: 30px;
  margin: 20px 0 30px;
  opacity: 0.9;
}

.hero-buttons a {
  margin-right: 15px;
}

.btn-top {
  background: white;
  color: var(--color-primary);
  padding: 12px 24px;
  border-radius: var(--radius-md);
}

.btn-bottom {
  background: var(--color-primary);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-md);
}

/* HERO CARDS SECTION */
.hero-cards {
  padding: 0;
}

/* Remove container width restriction */
.hero-card-row {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: .25px solid rgba(87, 0, 0, 0.25);
}

/* Each card takes equal width */
.hero-card {
  flex: 1;
  background: white;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
}

/* Divider lines */
.hero-card:not(:last-child) {
  border-right: 1px solid #e5e5e5;
}

/* Hover effect */
.hero-card:hover {
  background: var(--color-bg-section);
}

.hero-card i {
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: 15px;
  transition: var(--transition-normal);
}

.hero-card:hover i {
  transform: translateY(-6px);
}

.hero-card span {
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.card-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 1400px) {
  .hero-card-row {
    flex-direction: column;
  }

  .hero-card {
    border-right: none;
    border-bottom: 1px solid rgba(87, 0, 0, 0.9);
  }
}

.about-section {
  background: var(--color-bg-white);
  text-align: center;
}

.about-section p {
  max-width: 800px;
  margin: auto;
  color: var(--color-text-secondary);
  font-size: 18px;
}

.service {
  margin-bottom: 80px;
}

.service-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.service h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.service p {
  color: var(--color-text-secondary);
}

.why-choose-us {
  background: var(--color-bg-section);
}

.card {
  border: none;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.testimonials-carousel {
  background: var(--color-bg-white);
  text-align: center;
}

.carousel-card {
  background: var(--color-bg-card);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  max-width: 600px;
  margin: auto;
}

.carousel-card p:first-child {
  font-size: 18px;
  font-style: italic;
}

.carousel-card p:last-child {
  margin-top: 10px;
  font-weight: 500;
}

.contact-info {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-alt)
  );
  color: white;
  text-align: center;
}

.contact-info p {
  max-width: 600px;
  margin: 20px auto;
  opacity: 0.9;
}

.testimonials-carousel {
  background: #f8f9fa;
  padding: 80px 20px;
  text-align: center;
}

.testimonials-carousel h2 {
  margin-bottom: 40px;
  color: #570000;
}

/* Card */
.carousel-card {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border: .2px solid var(--color-primary-hover);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  margin-top: 2rem;
}

/* Text */
.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 500;
  color: #570000;
}

/* Buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.see-more {
  text-align: center;
  margin: 0 auto;
}

.see-more h3 {
  margin-bottom: 2rem;
}

.see-more div .see-more-btn {
  background-color: #570000 !important;
  color: #fff  !important;
  padding: .75rem 2rem;
  border-radius: 1rem;
  text-decoration: none;
}

.see-more div .see-more-btn:hover {
  background-color: var(--color-primary-hover) !important;
  transform: translateY(-5px) !important;
}

.cta-card {
  width: 50%;
  margin: 1rem auto 2rem auto;
  border-radius: 1rem;
  background-color: #520101;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.33);
  color: #fff !important;
  padding: 2rem;
  text-align: center;
}

.cta-card .cta-btn {
  background-color: #fff !important;
  color: #000;
  padding: .5rem 1rem;
  margin: 1rem auto;
}

.cta-card .cta-btn:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #000;
  padding: .5rem 1rem;
  transform: translateY(-3px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.33);
}

/* =========================================
   MOBILE HOMEPAGE REFINEMENT
========================================= */
@media (max-width: 1400px) {

  /* ---------------- HERO ---------------- */

  .hero-section {
    height: 66vh !important;
    min-height: 620px;
  }

  .hero-content {
    padding: 0 20px;
    text-align: center;
    font-size: 200% !important;
  }

  .hero-heading {
    font-size: 3rem;
    line-height: 1.15;
  }

  .hero-description {
    font-size: 2rem;
    margin: 18px 0 28px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
    margin: auto;
    font-size: 1.5rem !important;
  }

  .hero-buttons .hero-button:first-child {
    margin-bottom: 1rem !important;
  }

  .hero-buttons a {
    margin: 0;
    width: 100%;
  }

  .btn-top,
  .btn-bottom {
    padding: 14px;
    font-size: 16px;
  }

  /* ---------------- ABOUT ---------------- */

  section {
    padding: 60px 20px;
  }

  .about-section p {
    font-size: 16px;
    line-height: 1.7;
  }

  /* ---------------- SERVICES ---------------- */

  .service {
    margin-bottom: 60px;
    text-align: center;
  }

  .service-image {
    margin-bottom: 25px;
  }

  .service h3 {
    font-size: 22px;
  }

  .service p {
    font-size: 15px;
  }

  /* ---------------- WHY CHOOSE US ---------------- */

  .why-choose-us .row {
    display: flex;
    flex-direction: column;
  }

  .why-choose-us .col,
  .why-choose-us [class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .why-choose-us .card {
    padding: 30px !important;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-align: center;
  }

  .card-icon {
    font-size: 2rem !important;
  }

  /* ---------------- SERVICES ---------------- */
  .service {
    text-align: center;
    margin-bottom: 60px;
  }

  /* force vertical stacking */
  .service .row {
    flex-direction: column;
  }

  /* image always first */
  .service .row > div:first-child {
    order: 1 !important;
  }

  /* text always second */
  .service .row > div:last-child {
    order: 2 !important;
  }

  .service-image {
    margin-bottom: 20px;
  }

  .service h3 {
    margin-top: 5px;
    margin-bottom: 10px;
  }

  .service p {
    max-width: 650px;
    margin: 0 auto;
  }
  /* ---------------- TESTIMONIALS ---------------- */

  .carousel-card {
    padding: 30px 25px;
  }

  .testimonial-text {
    font-size: 16px;
  }

  /* ---------------- CTA CARD ---------------- */

  .cta-card {
    width: 90%;
    padding: 30px 20px;
  }

  .cta-card h2 {
    font-size: 22px;
  }

  .cta-card p {
    font-size: 15px;
  }

  .cta-card .cta-btn {
    width: 100%;
    padding: 12px;
  }

  /* ---------------- SEE MORE ---------------- */

  .see-more-btn {
    display: inline-block;
    width: 100%;
    padding: 14px;
  }

}

/* =========================================
   MOBILE TYPOGRAPHY SCALE
========================================= */
@media (max-width: 1400px) {

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem !important;
  }

  h3 {
    font-size: 2rem;
  }

  p {
    font-size: 1.5rem !important;
    line-height: 1.6;
  }

}

/* =========================================
   GLOBAL MOBILE TEXT SCALE
========================================= */
@media (max-width: 1400px) {

  html {
    font-size: 150% !important;
  }

}