:root {
  /* Color variables */
  --color-primary: #5D2684;        /* Dark green */
  --color-primary-light: #36BAC0;  /* Teal */
  --color-primary-dark: #2064AE;   /* Darker teal */
  --color-text-base: #4A5565;      /* Default paragraph text */
  --color-text-muted: #555555;     /* Muted text */
  --color-text-light-muted: #777777; /* Small muted text */
  --color-bg-white: #ffffff;
  --color-border-muted: #E5E5E5;
  --color-gray-dark: #333333;
  --color-gray-medium: #777777;
  --color-overlay-dark: rgba(0, 0, 0, 0.85);
  --color-overlay-medium: rgba(0, 0, 0, 0.55);
  --color-overlay-transparent: rgba(0, 0, 0, 0);
}

body {
  padding-top: 70px; /* adjust if your navbar is taller */
}
.navbar-logo {
    height: 40px;
    width: auto;
}

@media (max-width: 991px) {
    .navbar {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .navbar-brand {
        margin-right: auto;
    }
}

.outlined-text {
    color: #ffffff;
    text-shadow:
        -1px -1px 0 #000,
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000;
    font-weight: 700;
}

.outlined-text .brand {
    color: #F68B1F;
}


/* Font Face */
@font-face {
  font-family: "Funnel Display";
  src: url("../fonts/funnel-display/be890356ca5d21ff1f1421df22d2c58b.eot");
  src: url("../fonts/funnel-display/be890356ca5d21ff1f1421df22d2c58b.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/funnel-display/be890356ca5d21ff1f1421df22d2c58b.woff2")
      format("woff2"),
    url("../fonts/funnel-display/be890356ca5d21ff1f1421df22d2c58b.woff")
      format("woff"),
    url("../fonts/funnel-display/be890356ca5d21ff1f1421df22d2c58b.ttf")
      format("truetype"),
    url("../fonts/funnel-display/be890356ca5d21ff1f1421df22d2c58b.svg#Funnel Display")
      format("svg");
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
button,
label,
span,
a,
p,
li,
td,
th,
input,
select,
textarea,
.btn,
.btn-primary,
.btn-success,
.btn-info,
.page-link,
.nav-link,
.navbar-brand,
.top-b,
.card-title,
.sidebar a,
.sidebar .logo {
  font-family: "Funnel Display" !important;
}

p {
  color: var(--color-text-base);
  margin-bottom: 0;
}

/* Buttons */
.normal-button {
  border-radius: 30px !important;
  border: 2px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
}

.normal-button-width-100 {
  border-radius: 30px !important;
  border: 2px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
  width: 100%;
}

.green-button {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  border-radius: 30px !important;
  border: none !important;
}

/* Showcase */
.showcase {
  padding: 20px 0;
}

.showcase .showcase-inner {
  position: relative;
  background: url('../img/residential-hero.webp') no-repeat center center / cover;
  /* height: 400px; */
  border-radius: 10px;
  overflow: hidden;
  padding: 100px 0 10px 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.residential .showcase-inner {
  position: relative;
  background: url('../img/residential.jpg') no-repeat center center / cover;
  /* height: 400px; */
  border-radius: 10px;
  overflow: hidden;
  padding: 100px 0 10px 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.business .showcase-inner {
  position: relative;
  background: url('../img/business.webp') no-repeat center center / cover;
  /* height: 400px; */
  border-radius: 10px;
  overflow: hidden;
  padding: 100px 0 10px 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.showcase img {
  padding-top: 50px;
}

/* Fade overlay */
.showcase .showcase-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--color-overlay-dark) 0%,
    var(--color-overlay-medium) 45%,
    var(--color-overlay-transparent) 75%
  );
  z-index: 1;
}

/* Ensure content is above overlay */
.showcase .showcase-inner h1,
.showcase .showcase-inner p,
.showcase .showcase-inner .btn {
  position: relative;
  z-index: 2;
}

/* Text styles */
.showcase .showcase-inner h1 {
  color: var(--color-bg-white);
  font-size: 3rem;
  line-height: 1.1;
  margin: 0;
}

.showcase .showcase-inner p {
  margin-top: 10px;
  color: var(--color-bg-white);
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Button styles */
.showcase .showcase-inner .btn {
  /* margin-top: 20px; */
  align-self: flex-start;
  padding: 10px 22px;
}

/* Promos and offers */
.promos-and-offers .squareby3 .box {
  border: 1px solid var(--color-border-muted);
  border-radius: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Image wrapper */
.promos-and-offers .squareby3 .box .img {
  height: 180px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

/* Image */
.promos-and-offers .squareby3 .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text grows evenly */
.promos-and-offers .squareby3 .box .text {
  flex-grow: 1;
}

/* Button sticks to bottom */
.promos-and-offers .squareby3 .box .button {
  margin-top: auto;
}

/* Plans and bundles */
.plans-and-bundles .squareby3 .box {
  border: 1px solid var(--color-border-muted);
  border-radius: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Image wrapper */
.plans-and-bundles .squareby3 .box .img {
  height: 120px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

/* Image */
.plans-and-bundles .squareby3 .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text grows evenly */
.plans-and-bundles .squareby3 .box .text {
  flex-grow: 1;
}

/* Button sticks to bottom */
.plans-and-bundles .squareby3 .box .button {
  margin-top: auto;
}

/* Embla base */
/* Split Layout */
.embla-split {
  padding: 60px 20px;
}

.embla-split__container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 40px;
  align-items: center;
}

/* LEFT SIDE */
.embla-controls h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.embla-controls p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.embla-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.embla__button {
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

/* RIGHT SLIDER */
.embla {
  position: relative;
}

.embla__viewport {
  overflow: hidden;
}

.embla__container {
  display: flex;
}

.embla__slide {
  flex: 0 0 100%;
  /* height: 320px; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-radius: 16px;
  padding: 20px;
}

/* Card */
.testimonial-card {
  background: var(--color-bg-white);
  border-radius: 24px;
  padding: 30px;
  height: 100%;
  position: relative;
  border-bottom: 10px solid var(--color-primary);
}

/* Header */
.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* User */
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-user img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-user h4 {
  margin: 0;
  font-size: 1.1rem;
}

.testimonial-user small {
  color: var(--color-text-light-muted);
}

/* Quote Icon */
.testimonial-quote {
  font-size: 3rem;
  color: var(--color-primary);
}

/* Text */
.testimonial-text {
  color: var(--color-gray-dark);
  font-size: 1rem;
}

/* Responsive font sizes */
@media (max-width: 768px) {
  h1 {
    font-size: 1.2rem !important;
  }
  h2,
  small {
    font-size: 1.1rem !important;
  }
  h3 {
    font-size: 1rem !important;
  }
  h4 {
    font-size: 0.95rem !important;
  }
  h5 {
    font-size: 0.9rem !important;
  }
  h6 {
    font-size: 0.85rem !important;
  }
  p,
  a,
  span,
  label,
  li,
  td,
  th,
  input,
  button,
  select,
  textarea {
    font-size: 0.75rem !important;
  }
  .card-title {
    font-size: 0.9rem !important;
  }
  .sidebar a {
    font-size: 12px !important;
  }
  .sidebar .logo {
    font-size: 16px !important;
  }
  .navbar .navbar-brand {
    font-size: 0.9rem !important;
  }
  .btn,
  .btn-primary,
  .btn-success,
  .btn-info {
    font-size: 0.75rem !important;
    padding: 6px 10px !important;
  }
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-primary);
}

.footer-bottom p {
  font-size: 10px !important;
}
