/* SPINNER START */
  /* Hide content until everything loads */
  #content-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2c3e50;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
  }
  #content-preloader img {
    animation: pulse 1s infinite;
    position: absolute;
    margin-left: 25px;
  }
  @keyframes pulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.05);
  }
  100% {
      transform: scale(1);
  }
  }

  .spinner {
    position: fixed;
    width: 400px;
    height: 400px;
    border: 5px solid var(--orange);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
  }

  @keyframes spin {
      to { transform: rotate(360deg); }
  }
/* SPINNER END */

/* OVERLAY START */
/* Overlay Styles */
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.overlay-content {
    text-align: center;
    width: 100%;
    margin-top: 30px;
    font-family: 'nunito';
    scrollbar-width: none;
}

.overlay a {
  padding: 15px;
  text-decoration: none;
  font-size: 1.5rem;
  color: #f1f1f1;
  display: block;
  transition: 0.3s;
  position: relative;
  cursor: pointer;
}

/* Hide submenus by default */
.overlay-content .sub-menu {
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

/* Show submenu when parent has 'open' class */
.overlay-content li.open > .sub-menu {
  max-height: 400px; /* Adjust based on your content */
  transition: max-height 1s ease-in-out;
}

.sub-menu a {
  font-size: 1.25rem !important;
}

.overlay a:hover, .overlay a:focus {
    color: var(--orange);
}

.overlay a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--orange);
  transition: width 0.3s ease;
}

.overlay a:hover::after {
  width: 35%;
}

.close-btn {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 3rem;
  color: #f1f1f1;
  cursor: pointer;
}
.close-btn i {
  font-size: 4rem;
}
/* OVERLAY END */

/* MODAL START */
#modalOverlay {
  height: 100vh;
  width: 100vw;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

#modalOverlay.active {
  visibility: visible;
}


#teamCardModal {
  max-width: 50%;
  min-width: 50%;
  max-height: 0px;
  
}

@keyframes team-card-modal-open {
  0% {
    max-height: 5px;
  }
  100% {
    max-height: 95vh;
  }
}
#teamCardModal.active {
  animation: team-card-modal-open 0.8s ease-in-out forwards;
}

.modal {
    flex-direction: column;
    position: fixed;
    background-color: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 4px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.9);
    background-color: rgba(255,255,255,1);
    z-index: 1001;
    overflow: hidden;
    overflow-y: scroll; /* enables vertical scrolling */
    scrollbar-color: var(--orange) #f1f1f1; /* thumb and track color for Firefox */
    scroll-behavior: smooth;
}

.modal-header {
    position: sticky;
    top: 0;
    background-color: var(--orange);
    display: flex;
    flex-direction: row;
    padding-top: 20px;
    padding-bottom: 20px;
    justify-content: center;
    width: 100%;
    z-index: 1001;
    flex-shrink: 0; /* prevents header from shrinking */
}

.modal-header h1 {
    color: var(--white);
    text-align: center;
    font-family: 'nunito';
    font-size: 2.5rem;
    transform: rotate(-2deg);
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-weight: bold;
    cursor: pointer;
}


@keyframes close-btn-unhover {
    0% {
        transform: scale(1.1) rotate(360deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes close-btn-hover {
    0% {
        transform: scale(1) rotate(0deg);
    }
    100% {
        transform: scale(1.1) rotate(360deg);
    }
}
.modal-close-btn i {
    color: var(--white);
    font-size: 3rem;
    animation: close-btn-unhover 0.5s ease-in-out forwards;

}

.modal-close-btn:hover i {
    animation: close-btn-hover 0.5s ease-in-out forwards;
}


#teamCardModalContent {
  opacity: 0;

}

@keyframes modal-content-text-pop-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#teamCardModalContent.active {
  animation: modal-content-text-pop-in 1s ease-in-out forwards 0.5s;
}

.modal-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 50px;
  padding-right: 50px;
}

.modal-content h2 {
  font-family: 'nunito';
  color: #333;
  font-size: 1.5rem;
  
}

.modal-content h2:not(:first-child) {
  margin-top: 20px;
}

.modal-content hr {
  color: #333;
  width: 85%;
  margin-top: 10px;
  margin-bottom: 10px;
}

.modal-content p {
  font-family: 'atkinson';
  font-size: 1.0rem;
  margin-bottom: 10px;
}

.modal-content li {
  font-family: 'atkinson';
  font-size: 1.0rem;
}

.modal-content ul {
  padding-left: 50px;
}

.jess-modal-content {
  display: none;
}

.jess-modal-content.active {
  display: block;
}

.zac-modal-content {
  display: none;
}

.zac-modal-content.active {
  display: block;
}

.duke-modal-content {
  display: none;
}

.duke-modal-content.active {
  display: block;
}

.photo-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.photo {
    flex-wrap: wrap;
    width: 200px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7); /* Shadow */
    cursor: pointer;
    border-radius: 5px;
    transform: scale(1) rotate(0);
    transition: transform 0.3s ease-in-out;
}

.photo:hover {
    transform: scale(1.7) rotate(-5deg);
    z-index: 2;
}

/* MODAL END */

/* SECTION NAVIGATION START  */
@keyframes section-nav-pop-in {
    0% {
        right: -100px;
    }
    70% {
        right: 35px;
    }
    100% {
        right: 10px;
    }
}
.section-nav {
  font-family: 'nunito';
  position: fixed;
  top: 10%;
  transform: translateY(50%);
  margin: 0;
  padding: 0;
  z-index: 999;
  animation: section-nav-pop-in 0.75s ease-in-out forwards;
}

.section-nav li {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  background: var(--nav-bg-colour);
  margin-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  cursor: pointer;
}

.section-nav li a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  height: 45px;
  font-size: 1.3rem;
  gap: 10px;
  color: #fff;
}

.section-nav li a p {
  color: #fff;
  font-size: .85rem;
}

.section-nav li:hover {
  background: #444;
  text-decoration: none;
  color: #fff;
}
/* SECTION NAVIGATION END  */


/* BUTTONS START */
.read-more-btn {
  font-size: 17px;
  font-family: 'nunito';
  background-color: var(--orange);
  color: white;
  border: none;
  margin-top: 10px;
  padding: 7.5px 7.5px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.read-more-btn:hover {
    background-color: var(--blue);
}
/* BUTTONS END */

/* ACCORDION START */
#whoWeAreContainer {
  opacity: 0;
}

.accordion-container {
    max-width: 680px;
    margin: 0 auto;
}

.accordion-item {
    scroll-margin-top: 20px; /* Adjust based on your header/navigation height */
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.75);
    border: 2.5px solid #fff;
}

.accordion-header {
  width: 100%;
  padding: 15px 20px;
  text-align: center;
  border: none;
  background: transparent;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}

.accordion-header:hover {
    background: var(--nav-bg-colour);
}

.accordion-header[aria-expanded="true"] {
    background: var(--nav-bg-colour);
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(90deg);
}

.accordion-title {
    font-family: 'nunito';
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 500;
}

.accordion-icon {
    padding-left: 10px;
    position: relative;
    font-size: 1.25rem;
    color: var(--white);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

.accordion-content {
  text-align: left;
  font-family: 'atkinson';
  font-size: 17px;
  padding-left: 10%;
  padding-right: 10%;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
  color: white;
}

.spacer {
  margin-top: 25px;
}

.accordion-content p {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

.accordion-content hr {
  background-color: var(--orange);
  height: 4px;
  width: 90%;
}

.accordion-content[aria-hidden="false"] {
    max-height: 5000px; /* Adjust based on your content */
    opacity: 1;
}

.social-media-sub-heading {
  color: var(--white);
  font-family: 'nunito';
  text-align: center !important;
  font-size: 1.25rem;
  padding: 0;
  margin: 0;
}

.social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 15px;
    gap: 10px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin: 5px;
    transition: background 250ms ease-in, transform 250ms ease-in;
}

.social-icons i {
    color: var(--white);
    font-size: 2rem;
}

.social-icons a:hover {
    background: var(--orange);
    transform: scale(1.4) rotate(-2deg);
}

/* ACCORDION END */

/* TEAM CARDS START */
.team-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.team-card {
    background: rgba(0,0,0, 0.6);
    border: 2px solid white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    width: calc(25% - 30px); /* 4 cards per row on desktop */
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card-image {
    width: 100%;
    aspect-ratio: 1/1; /* Ensures square aspect ratio */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.card-content {
    padding-bottom: 20px;
    text-align: center;
    font-size: 17px;
}

.card-content p {
  margin: 3px;
  font-family: 'atkinson';
}

.card-content i {
  font-size: 2rem;
  padding: 5px;
}


.card-name {
    margin-bottom: 15px;
    color: var(--white);
    font-size: 1.2rem;
    font-family: 'nunito';
    margin: 3px;
}

.card-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 20px;
}

/* TEAM CARDS END */

/* PRICE GUIDE START */
.price-guide-text {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10% !important;
  padding-right: 10% !important;
}

.price-guide-text ul {
  padding-left: 10%;
}

.pricing-disclaimer {
  padding-left: 10%;
}

.price-guide-text h2 {
  color: var(--white);
  font-family: 'poppins'; 
}

.price-guide-text h2:not(:first-child) {
  margin-top: 20px;
}

.price-guide-text hr {
  margin-top: 20px;
  margin-bottom: 20px;
}

.price-guide-text li {
  font-weight: 100;
  text-align: left;
}

.price-guide-text li b {
  font-family: 'poppins';
}

.price-guide-text p {
  margin: 0;
  font-family: 'atkinson';
}

.pricing-disclaimer-text:not(:first-of-type) {
  margin-bottom: 20px;
}
/* PRICE GUIDE END */


/* PRICING SECTION  START */
#pricing-section {
  background-image: url('../assets/images/flower-pot-design-wide.webp');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: cover;
  min-height: 93vh;
  z-index: 4;
  position: relative;
  overflow-x: hidden;
}

.pricing-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-title h1 {
  opacity: 0;
  color: var(--white) !important;
  transition: opacity 1s ease-in-out;
  text-align: center;
}
.pricing-title hr {
  width: 0%;
  transition: width 0.5s ease-in-out 0.35s;
}

.pricing-title.active h1 {
  opacity: 1;
}
.pricing-title.active hr {
  width: 75%;
}

.pricing-section-content {
  margin-top: 25px;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-container {
  opacity: 0;
  transition: opacity 1s ease-in-out 0.9s;
  width: 70%;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}


.pricing-container.active {
  opacity: 1;
}

.pricing-card-title {
  background-color: rgba(0,0,0,0.4);
  padding-bottom: 10px;
  border-bottom: 2.5px solid #fff;
  padding: 10px;
  width: 100%;
}

.pricing-card-title h1 {
  text-align: center;
  font-family: 'poppins';
  font-size: 2rem;
  color: var(--white);
  
}

.pricing-container .price-guide-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  padding-left: 20px;
  padding-right: 20px;
}

h2 {
  font-family: 'poppins';
}

.pricing-container ul{
  padding-left: 75px;
}

.pricing-container li {
  text-align: left;
  font-family: 'atkinson';
  font-size: 17px;
  color: var(--white);
}

.pricing-container li b {
  font-family: 'poppins';
}

.pricing-container p {
  text-align: left;
  font-family: 'atkinson';
  font-size: 17px;
  color: var(--white);
  margin-bottom: 10px;
}

/* PRICING SECTION END */

/* TEXT COMPONENTS START */
.indented-text {
  padding-left: 50px;
}

.instructions {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 16px;
}

.instructional-text {
  font-size:0.9rem; 
  color: var(--instructional);
}

.quote-text {
  text-align: center;
  font-size: 17px !important;
  color: var(--instructional);
  padding-left: 10%;
  padding-right: 10%;
  margin-bottom: 20px;
  margin-top: 20px;
}

.bold-text {
  text-align: center;
  font-size: 17px !important;
  padding-left: 10%;
  padding-right: 10%;
  margin-top: 20px;
  margin-bottom: 20px;
}
/* TEXT COMPONENTS END */

/* OTHER START */
.section-divider {
  top: 0;
  left: 0;
  min-height: 5px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.7);
  transition: max-width 0.5s ease-in-out;
  display: none;
}
#whoWeAreDivider {
  background-color: var(--orange);
  max-width: 0%;
}
#areasWeServiceDivider {
  background-color: var(--green);
  max-width: 0%;
}
#contactUsDivider {
  background-color: var(--red);
  max-width: 0%;
}
#ourApproachDivider {
  background-color: var(--green);
  max-width: 0%;
}
#digitalInductionDivider {
  background-color: var(--orange);
  max-width: 0%;
}
#quoteCalculatorDivider {
  background-color: var(--red);
  max-width: 0%;
}
#whatIsADeDivider {
  background-color: var(--red);
  max-width: 0%;
}
#ourDeToolkitDivider {
  background-color: var(--green);
  max-width: 0%;
}
#pricingDivider {
  background-color: var(--red);
  max-width: 0%;
}
#deReportingDivider {
  background-color: var(--orange);
  max-width: 0%;
}
#blogDivider {
  background-color: var(--red);
  max-width: 0%;
}
/* OTHER END */

/* BOOKING FORM START */
.portal-appointment-form-card {
    flex: 1 1 60%;
}
.portal-booking-form-card {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 15px 10px rgba(0,0,0,0.4);
  margin-bottom: 100px;
  opacity: 1;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
  min-width: 0px;
  flex: 1 1 30%;
}
.portal-booking-form-card h1 {
  margin-bottom: 25px; 
  font-family: 'nunito';
}
/* BOOKING FORM END */

/* HERO CARD START */

/* =========================================================
   SECTION
   ========================================================= */

.hero-section {
    width: 100%;
    padding: 3rem 1.5rem;
    /* background:
        linear-gradient(
            180deg,
            #faf8f5 0%,
            #f6f1ec 100%
        ); */
    display: flex;
    justify-content: center;
}

.hero-card {
    width: 100%;
    max-width: var(--hero-container-width);
    background: var(--hero-card-bg);
    border-radius: var(--hero-radius);
    box-shadow: var(--hero-shadow);
    overflow: hidden;
    position: relative;
}

/* Soft texture effect */
.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        radial-gradient(
            circle at top left,
            rgba(255,255,255,0.65),
            transparent 45%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(111, 76, 195, 0.04),
            transparent 40%
        );

    opacity: 0.8;
}

/* =========================================================
   INNER CONTENT
   ========================================================= */

.hero-inner {
    position: relative;
    z-index: 998;

    max-width: 940px;
    margin: 0 auto;

    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 25px;
}

/* =========================================================
   TITLE
   ========================================================= */

.hero-title {
    margin: 0;
    width: 100%;
    color: var(--hero-text);
    font-family: 'poppins';
    font-size: clamp(2.8rem, 4vw, 3.5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15em;
}

.hero-gradient-text {
    background:
        linear-gradient(
            90deg,
            #6f4cc3 0%,
            #8a62d9 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

/* =========================================================
   DIVIDER
   ========================================================= */

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    margin:
        2.5rem auto
        2rem;
}

.hero-divider-line {
    width: clamp(70px, 14vw, 180px);
    height: 2px;
    background: var(--hero-divider);
    border-radius: 999px;
}

.hero-leaf-icon {
    width: 34px;
    height: 34px;
    color: var(--hero-divider);
    flex-shrink: 0;
}

/* =========================================================
   TEXT
   ========================================================= */

.hero-intro {
    margin: 0 auto 2rem;

    max-width: 820px;

    color: var(--hero-text);
    font-family: 'atkinson';
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.hero-description {
    margin: 0 auto;

    max-width: 760px;

    color: var(--hero-text-light);
    font-family: 'atkinson';
    font-size: clamp(1rem, 1.5vw, 1.45rem);
    line-height: 1.7;
    font-weight: 400;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.hero-actions {
    margin-top: 3rem;
    font-family: 'atkinson';
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;

    flex-wrap: wrap;
}

.hero-btn {
    min-width: 280px;

    padding: 1.3rem 2rem;

    border-radius: 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    text-decoration: none;

    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.hero-btn:hover,
.hero-btn:focus-visible {
    transform: translateY(-2px);
}

.hero-btn:focus-visible {
    outline: 3px solid rgba(111, 76, 195, 0.25);
    outline-offset: 4px;
}

/* Primary Button */
.hero-btn-primary {
    background:
        linear-gradient(
            135deg,
            #6f4cc3 0%,
            #7d58d0 100%
        );

    color: #ffffff;

    box-shadow:
        0 10px 20px rgba(111, 76, 195, 0.22);
}

.hero-btn-primary:hover {
    background:
        linear-gradient(
            135deg,
            #6644bb 0%,
            #744fca 100%
        );
}

/* Secondary Button */
.hero-btn-secondary {
    background: transparent;
    color: var(--hero-primary);

    border: 2px solid rgba(111, 76, 195, 0.9);
}

.hero-btn-secondary:hover {
    background: rgba(111, 76, 195, 0.05);
}

/* Button Icon */
.hero-btn-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* HERO CARD END */

/* =========================
   CONTACT SECTION
========================= */

.kf-contact-section {
    padding: 80px 20px;
    background:
        radial-gradient(circle at top left,
            rgba(252, 91, 68, 0.08),
            transparent 30%),
        radial-gradient(circle at bottom right,
            rgba(99, 102, 241, 0.08),
            transparent 30%),
        #fffdfb;
}

/* =========================
   GRID LAYOUT
========================= */

.kf-contact-grid {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: stretch;
}

/* =========================
   LEFT CARD
========================= */

.kf-contact-card {
    opacity: 0;
    min-width: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.95),
            rgba(255,248,245,0.95)
        );

    border: 1px solid rgba(252, 91, 68, 0.12);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.08),
        0 8px 24px rgba(252, 91, 68, 0.08);

    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    transition: opacity 1s ease-in-out 0.5s;
}

.kf-contact-card.active {
  opacity: 1;
}

/* Decorative Glow */
.kf-contact-card::before {
    content: "";

    position: absolute;
    top: -120px;
    right: -120px;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(252, 91, 68, 0.18),
            transparent 70%
        );
}

/* =========================
   IMAGE
========================= */

.kf-contact-image {
    height: 260px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.kf-contact-image img {
    width: 200px;
    height: auto;
    object-fit: cover;

    display: block;

    transition: transform 0.6s ease;
}

.kf-contact-card:hover .kf-contact-image img {
    transform: scale(1.04);
}

/* =========================
   CONTENT
========================= */

.kf-contact-content {
    padding: 36px;
    position: relative;
    z-index: 2;
    font-family: 'atkinson';
}

.kf-contact-badge {
    display: inline-flex;
    align-items: center;

    padding: 8px 16px;

    border-radius: 999px;

    background: rgba(252, 91, 68, 0.10);

    color: #fc5b44;

    font-size: 0.85rem;
    font-weight: 700;

    margin-bottom: 18px;
}

.kf-contact-content h2 {
    font-family: 'poppins' !important;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;

    margin-bottom: 18px;

    color: #2d2d2d;
}

.kf-contact-description {
    color: #5f5f5f;
    line-height: 1.7;
    font-family: 'atkinson';
    margin-bottom: 32px;

    font-size: 1rem;
}

/* =========================
   CONTACT DETAILS
========================= */

.kf-contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;

    margin-bottom: 32px;
}

.kf-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;

    padding: 18px;

    border-radius: 20px;

    background: rgba(255,255,255,0.72);

    border: 1px solid rgba(0,0,0,0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.kf-contact-item:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 24px rgba(0,0,0,0.06);
}

.kf-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            rgba(252, 91, 68, 0.12),
            rgba(99, 102, 241, 0.12)
        );

    font-size: 1.2rem;
}

.kf-contact-item span {
    display: block;

    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;

    color: #8b8b8b;

    margin-bottom: 4px;
}

.kf-contact-item a,
.kf-contact-item p {
    margin: 0;

    color: #2f2f2f;
    text-decoration: none;

    font-weight: 600;
}

/* =========================
   HOURS
========================= */

.kf-hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.kf-hours-card {
    padding: 24px;

    border-radius: 24px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.88),
            rgba(250,250,250,0.88)
        );

    border: 1px solid rgba(0,0,0,0.05);
}

.kf-hours-card h3 {
    margin-bottom: 16px;

    color: #fc5b44;
    font-size: 1.1rem;
}

.kf-hours-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kf-hours-card li {
    margin-bottom: 12px;

    color: #555;
    line-height: 1.5;
}

/* =========================
   FORM SIDE
========================= */

.kf-contact-form-wrapper {
    border-radius: 32px;

    background:
        rgba(255,255,255,0.90);

    border: 1px solid rgba(0,0,0,0.05);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.06);

    padding: 42px;
    padding-top: 0px;

    display: flex;
    align-items: flex-start;
}

/* =========================
   FORM STYLING
========================= */

.kf-contact-form-wrapper input,
.kf-contact-form-wrapper textarea,
.kf-contact-form-wrapper select {
    width: 100%;

    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.08);

    padding: 16px 18px;

    background: #fff;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.kf-contact-form-wrapper input:focus,
.kf-contact-form-wrapper textarea:focus,
.kf-contact-form-wrapper select:focus {
    outline: none;

    border-color: #fc5b44;

    box-shadow:
        0 0 0 4px rgba(252, 91, 68, 0.12);
}

.kf-contact-form-wrapper button,
.kf-contact-form-wrapper input[type="submit"] {
    border: none;

    padding: 16px 26px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #fc5b44,
            #ff7f6c
        );

    color: white;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.kf-contact-form-wrapper button:hover,
.kf-contact-form-wrapper input[type="submit"]:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 24px rgba(252, 91, 68, 0.25);
}


@media screen and (min-width: 768px) and (max-width: 1366px) {
  /* SECTION NAVIGATION START */
  .section-nav {
    /* margin-top: 10px;
    top: 0%; */
    transform: translateY(0%);
  }
  .section-nav li a p {
      display: none;
  }
  .section-nav li {
      justify-content: center;
  }
  /* SECTION NAVIGATION END */

  /* HERO CARD START */
  .hero-section {
      padding: 2rem 1rem;
  }

  .hero-card {
      border-radius: 30px;
  }

  .hero-inner {
      padding:
          3rem
          1.5rem;
  }

  .hero-actions {
      flex-direction: column;
  }

  .hero-btn {
      width: 100%;
      max-width: 420px;
  }
  /* HERO CARD END */

  .kf-contact-grid {
      grid-template-columns: 1fr;
  }

  .kf-hours-grid {
      grid-template-columns: 1fr;
  }

  .kf-contact-form-wrapper {
      padding: 28px;
  }

  .kf-contact-content {
      padding: 28px;
  }

}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* SPINNER START */
  #content-preloader {
    height: 100vh;
    width: 100vw;
  }
  #content-preloader img {
    height: 150px;
    animation: pulse 1s infinite;
    position: absolute;
    margin-left: 25px;
  }
  .spinner {
    width: 250px;
    height: 250px;
  }
  /* SPINNER END */
  /* OVERLAY START */
  .overlay a {
    font-size: 1.5rem;
    padding: 20px;
  }

  .overlay a:hover::after {
    width: 75%;
  }
  /* OVERLAY END */

  /* TEAM CARDS START */
  .team-card {
      width: calc(50% - 30px); 
      min-width: 230px;
  }
  /* TEAM CARDS END */

  /* MODAL START */
  #teamCardModal {
    min-width: 95%;
    max-height: 0px;
  }

  .modal-header h1 {
    font-size: 1.25rem;
  }

  .modal-content h2 {
    font-size: 1rem;
  }
  .modal-close-btn i {
      font-size: 2rem;
  }

  .modal-content p {
    font-size: 16px;
  }

  .modal-content li {
    font-size: 16px;
  }

  /* MODAL END */

  /* SECTION NAVIGATION START */
  .section-nav {
    /* margin-top: 10px;
    top: 0%; */
    transform: translateY(0%);
    display: none;
  }
  .section-nav li a p {
      display: none;
  }
  .section-nav li {
      justify-content: center;
  }
  /* SECTION NAVIGATION END */


  /* ACCORDION START */
  .accordion-container {
    margin-left: 10px;
    max-width: 340px;
  }

  .accordion-header {
    padding: 5px 10px;
  }

  .accordion-title {
      font-size: 1.25rem;
  }

  .accordion-content {
    font-size: 1.0rem;
  }

  .accordion-icon {
      font-size: 1.25rem;
  }
  /* ACCORDION END */

  .pricing-section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    margin-left: 0px;
  }

  .pricing-container {
    width: 90vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
  }

  .pricing-container ul {
    text-align: left !important;
    padding-left: 100px !important;
  }

  .pricing-container p {
    text-align: left;
  }

  /* PRICE GUIDE START */
  .price-guide-text h2 {
    font-size: 1.25rem;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
  }

   .price-guide-text h2 i {
    font-size: 1.5rem !important;
    padding-bottom: 5px;
  }

  .price-guide-text ul {
    padding: 0;
  }

  .pricing-disclaimer {
    padding-left: 0;
  }

  .price-guide-text li {
    font-size: 1.1rem;
  }

  .price-guide-text p {
    font-size: 16px;
  }
  /* PRICE GUIDE END */

  .portal-appointment-form-card {
      flex: 1 1 100%;
  }
  .portal-booking-form-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 15px 10px rgba(0,0,0,0.4);
    margin-bottom: 100px;
    opacity: 1;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    min-width: 0px;
    flex: 1 1 30%;
  }

  /* HERO CARD START */
  .hero-title {
      font-size: clamp(1.5rem, 12vw, 1.75rem);
      line-height: 1.08;
  }

  .hero-intro {
      font-size: 1.15rem;
  }

  .hero-description {
      font-size: 1rem;
      line-height: 1.65;
  }

  .hero-btn {
      min-width: unset;
      width: 100%;

      font-size: 1.15rem;

      padding: 1.15rem 1.4rem;
      border-radius: 20px;
  }

  .hero-divider {
      margin:
          2rem auto
          1.75rem;
  }

  .hero-divider-line {
      width: 22%;
  }
  /* HERO CARD END */

  .kf-contact-grid {
      grid-template-columns: 1fr;
  }

  .kf-hours-grid {
      grid-template-columns: 1fr;
  }

  .kf-contact-form-wrapper {
      padding: 28px;
  }

  .kf-contact-content {
      padding: 28px;
  }

  .kf-contact-card {
    min-width: 340px;
  }

}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hero-btn {
        transition: none;
    }

    .hero-btn:hover,
    .hero-btn:focus-visible {
        transform: none;
    }
}