* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

:root {
    --main-bg-color: #fff;
    --text-color: #0b1b1a;
    --header-bg-color: #f4f7ff;
    --text-primary-color: #0e5252;
    --text-white-color: #fff;
    --primary-btn-bg-color: #0e5252;
    --secondary-btn-bg-color: #fff;
    --hover-text-color: #0e5252;
    --hero-nav-btn: #0b1b1acb;
    --about-content-bg-color: #f4f7ff;
    --overlay-banner-bg-color: linear-gradient(360deg,
            hsla(176, 42%, 7%, 1) 0%,
            hsla(180, 71%, 19%, 0.95) 50%,
            hsla(180, 71%, 19%, 0.85) 100%);
    --font-family: "Poppins", sans-serif;
    --font-size: 14px;
    --line-height: 1.5;
    --transition-duration: 0.3s;
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --border-radius: 20px;
    --border-color: #dadada;
    --review-left-bg-color: #fcfbfc;
    --review-right-bg-color: #e1eee5;
    --blog-subtext-color: #777;
    --footer-text-color: #ccc;
    --footer-bg-color: #1b2627;
    --process-bg-color: #eee;
    --progress-bar-bg-color: #8cc612;
}

body {
    font-size: var(--font-size);
    font-family: var(--font-family);
    background: var(--main-bg-color);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--header-bg-color);
    padding: 10px 40px;
    transition: all 0.3s ease-in-out;
}

header.scrolled {
    padding: 8px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    width: 90px;
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-nav ul {
    display: flex;
    list-style: none;
}

.header-nav li {
    margin: 0 15px;
}

.header-nav a {
    position: relative;
    text-decoration: none;
    color: var(--text-color);
    transition: color var(--transition-duration);
}

.header-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: var(--text-primary-color);
    transition: width 0.3s ease;
}

.header-nav a:hover::after,
.header-nav a.active::after {
    width: 100%;
}

.header-nav a:hover {
    color: var(--hover-text-color);
}

.header-nav a.active {
    color: var(--text-primary-color);
}

header .contactBtn a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-white-color);
    text-decoration: none;
    font-size: 13px;
    padding: 10px 20px;
    background-color: var(--primary-btn-bg-color);
    transition: background-color 0.3s ease;
}

.contactBtn a:hover {
    background-color: var(--text-color);
}

/* Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    border: none;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* Transform to X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

main {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow: hidden;
}

/* Hero Section Styling */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-content {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s ease, transform 1.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    overflow: hidden;
}

.slide .overlay-background {
    position: absolute;
    inset: 0;
    background: var(--overlay-banner-bg-color);
    z-index: 1;
}

.slide .content-container {
    /* position: relative; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 150px 40px 0 40px;
    z-index: 2;
}

/* ensure it's above the overlay background */
.slide .content {
    position: relative;
    z-index: 2;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 50%;
    margin: 0 auto;
    height: 100%;
    text-align: center;
    color: var(--text-white-color);
    padding: 0 30px;
    overflow: hidden;
    animation: fadeInUp 1s ease-in-out;
}

.content h1 {
    font-size: 38px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 5px;
    color: var(--text-white-color);
}

.content p {
    font-size: 16px;
    margin-bottom: 30px;
    text-align: left;
    color: var(--text-white-color);
}

.content.content-fade {
    text-align: left;
}

.content-container .hero-content-image {
    width: 100%;
    max-width: 50%;
    height: auto;
}

.content-container .hero-content-image img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide 1 – Fade In Up Animation */
.slide.active .content-fade .title,
.slide.active .content-fade .subtitle,
.slide.active .content-fade .buttons {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease forwards;
}

.slide.active .content-fade .subtitle {
    animation-delay: 0.4s;
}

.slide.active .content-fade .buttons {
    animation-delay: 0.8s;
}

.slide.active .content-fade .btn-one {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeBtnUp 0.8s ease forwards;
    animation-delay: 0.9s;
}

.slide.active .content-fade .btn-two {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeBtnUp 0.8s ease forwards;
    animation-delay: 1.2s;
}


@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframes to Buttons */
@keyframes fadeBtnUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideBtnIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Slide 2 – Slide Left Animation */
.slide.active .content-slide-left .title,
.slide.active .content-slide-left .subtitle,
.slide.active .content-slide-left .buttons {
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 1s ease forwards;
}

.slide.active .content-slide-left .subtitle {
    animation-delay: 0.4s;
}

.slide.active .content-slide-left .buttons {
    animation-delay: 0.8s;
}

.slide.active .content-slide-left .btn-one {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideBtnIn 0.8s ease forwards;
    animation-delay: 0.9s;
}

.slide.active .content-slide-left .btn-two {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideBtnIn 0.8s ease forwards;
    animation-delay: 1.2s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide 3 – Zoom In with Blur */
.slide.active .content-zoom .title,
.slide.active .content-zoom .subtitle,
.slide.active .content-zoom .buttons {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(8px);
    animation: zoomInBlur 1s ease forwards;
}

.slide.active .content-zoom .subtitle {
    animation-delay: 0.4s;
}

.slide.active .content-zoom .buttons {
    animation-delay: 0.8s;
}

@keyframes zoomInBlur {
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    border: none;
    padding: 10px 20px;
    background: var(--main-bg-color);
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover {
    color: var(--text-white-color);
    background: var(--primary-btn-bg-color);
}

.btn-secondary {
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-white-color);
    background: var(--primary-btn-bg-color);
}

.btn-secondary:hover {
    color: var(--text-color);
    background: var(--text-white-color);
}

.slider-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.hero-section:hover .slider-nav {
    opacity: 1;
    pointer-events: all;
}

.nav-btn {
    background: var(--hero-nav-btn);
    border: none;
    color: var(--text-white-color);
    font-size: 30px;
    padding: 8px 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-btn:hover {
    background: var(--text-color);
}

/* About Us Section Styling */
.about-section {
    padding: 12% 80px;
    background-color: var(--about-content-bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.about-left {
    width: 50%;
    position: relative;
}

.stats-box {
    position: absolute;
    top: -40px;
    left: 20px;
    background-color: transparent;
    padding: 10px;
    text-align: left;
    z-index: 2;
}

.stats-box h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.stats-box p {
    font-size: 14px;
    color: var(--text-color);
    margin: 5px 0 0;
}

.image-group {
    position: relative;
    width: fit-content;
    cursor: pointer;
}

.image-group img {
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* When hovering on .main-img */
.image-group:hover .main-img:hover {
    z-index: 0;
    filter: grayscale(20%);
    transform: scale(0.96);
}

.image-group:hover .bg-img {
    z-index: 2;
    transform: scale(1.03);
}

/* When hovering on .bg-img */
.image-group:hover .bg-img:hover {
    z-index: 0;
    filter: grayscale(20%);
    transform: scale(0.96);
}

.image-group:hover .main-img {
    z-index: 2;
    transform: scale(1.03);
}

.main-img {
    width: 100%;
    max-width: 300px;
    border-radius: 0;
    position: relative;
    top: -50px;
    right: -13.5rem;
    z-index: 1;
    border: 2px solid var(--text-white-color);
}

.bg-img {
    position: absolute;
    bottom: -50px;
    left: 30px;
    width: 100%;
    max-width: 300px;
    z-index: 0;
    border: 2px solid var(--about-content-bg-color);
}

.about-right {
    width: 50%;
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-color);
    font-weight: 500;
}

.section-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 10px 0 20px;
    font-weight: 700;
    color: var(--text-color);
}

.section-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
}

.appointment-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--text-primary-color);
    color: var(--text-white-color);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-appointment:hover {
    background-color: var(--text-color);
}

/* Our Service Section Styling */
.services-section,
.project-section {
    padding: 100px 80px;
    background: var(--text-white-color);
    text-align: center;
}

.services-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto 50px;
}

.services-header .service-header-content {
    width: 45%;
    text-align: left;
}

.services-header .section-description {
    width: 350px;
    text-align: left;
    font-size: 14px;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--text-white-color);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.service-card.ml {
    display: none;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-image-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
}

.service-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    padding: 5px;
    border: 2px solid var(--text-primary-color);
    background: var(--text-white-color);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.service-icon {
    position: absolute;
    top: 25%;
    left: 15%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background: var(--text-primary-color);
    color: var(--text-white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 5;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.service-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.service-card p {
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.6;
}

/* Our Project Section Styling */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    margin-top: 40px;
}

.projects-header .section-title {
    padding: 0 20%;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    display: block;
}

.project-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-large {
    grid-column: span 2;
    grid-row: 1 / 2;
}

/* Overlay styles */
.project-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(14, 82, 82, 0.725);
    color: var(--text-white-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.4s ease;
    text-align: center;
    padding: 20px;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-category {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 4px;
}

.project-title {
    font-size: 20px;
    font-weight: 600;
    margin: 8px 0;
}

.project-description {
    font-size: 14px;
    max-width: 250px;
}

/* Individual entrance animations */
.project-category,
.project-title,
.project-description {
    opacity: 0;
    transition: all 0.5s ease;
    position: relative;
    z-index: 3;
}

/* Start positions */
.project-category {
    transform: translateY(20px);
    /* fade from bottom */
}

.project-title {
    transform: translateX(-20px);
    /* fade from left */
}

.project-description {
    transform: translateY(-20px);
    /* fade from top */
}

/* Animate on hover */
.project-item:hover .project-category,
.project-item:hover .project-title,
.project-item:hover .project-description {
    opacity: 1;
    transform: translate(0, 0);
}

/* Our Work Process Section Styling */
.work-process-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 100px 80px;
    background-color: #f4f7ff;
    position: relative;
}

.work-process-header {
    text-align: center;
    margin-bottom: 60px;
}

.timeline-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.timeline-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    border-left: 2px dashed var(--text-primary-color);
    transform: translateX(-50%);
    opacity: 0.5;
    z-index: 0;
}

.timeline-row {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    align-items: center;
    position: relative;
}

.timeline-row.left .step-content {
    grid-column: 1;
    text-align: right;
    justify-self: end;
    width: 100%;
    max-width: 350px;
}

.timeline-row.left .step-image {
    width: 100%;
    max-width: 300px;
    grid-column: 3;
    justify-self: start;
}

.timeline-row.right .step-content {
    grid-column: 3;
    text-align: left;
    justify-self: start;
    width: 100%;
    max-width: 350px;
}

.timeline-row.right .step-image {
    grid-column: 1;
    width: 100%;
    max-width: 300px;
    justify-self: end;
}

.step-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
}

.step-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

.step-number {
    grid-column: 2;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary-color);
    background: var(--about-content-bg-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.work-cta-banner {
    margin-top: 80px;
    padding: 0 40px;
    background:
        linear-gradient(360deg,
            hsla(176, 42%, 7%, 1) 0%,
            hsla(180, 71%, 19%, 0.95) 50%,
            hsla(180, 71%, 19%, 0.85) 100%),
        url('./assets/src/png/work-cta-banner.png') no-repeat center center / cover;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-white-color);
    gap: 40px;
    overflow: visible;
    flex-wrap: wrap;
    position: relative;
}

.work-cta-text {
    max-width: 500px;
}

.work-cta-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 2px solid var(--text-white-color);
}

.work-cta-text p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    padding-left: 10px;
    color: #e0e0e0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-weight: 500;
    color: var(--text-primary-color);
    background: var(--text-white-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--text-color);
    color: var(--text-white-color);
}

.work-cta-image {
    position: relative;
    margin-top: -80px;
    /* makes the head pop out of the box */
    margin-right: -30px;
    /* optional tweak */
    z-index: 2;
}

.work-cta-image img {
    max-height: 405px;
    width: auto;
    object-fit: contain;
    display: block;
    /* prevents inline spacing below image */
}

/* Our Team Member Section Styling */
.team-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 60px;
    text-align: center;
    background: var(--section-bg-color, #fff);
}

.team-grid {
    width: 100%;
    max-width: 850px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
}

.team-card {
    width: 100%;
    background: var(--text-white-color);
    padding: 30px 20px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    padding: 4px;
    border: 4px solid var(--about-content-bg-color);
}

.team-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.team-card p {
    font-size: 13px;
    color: var(--text-color);
}

/* Review Section Styling */
.client-review-section {
    display: flex;
    gap: 40px;
    width: 100%;
    padding: 60px;
    background: var(--text-white-color);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.client-review-section-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    height: auto;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 50%;
    height: 480px;
    padding: 5rem;
    background-color: var(--review-left-bg-color);
}

.client-info-content {
    width: 100%;
    max-width: 250px;
}

.client-info h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.client-info p {
    margin: 15px 0;
    color: var(--text-color);
    font-size: 12px;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    margin-bottom: 20px;
}

.google-rating img {
    width: 40px;
    height: 40px;
}

.google-rating .google-rating-context {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.google-rating .google-rating-context h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
}

.google-rating .google-rating-context .rate-stars span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    border: none;
}

.google-rating .google-rating-context .rate-stars {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding-bottom: 1px;
    color: #ffd700;
}

.stars li {
    display: flex;
    list-style: none;
}

.stars li i {
    font-size: 9px;
    /* slightly larger */
}

.see-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary-btn-bg-color);
    color: var(--text-white-color);
    padding: 10px 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.see-all-btn:hover {
    background: var(--text-color);
}

.review-slider-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    width: 50%;
    height: 480px;
    overflow: hidden;
    background-color: var(--review-right-bg-color);
}

.review-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
    will-change: transform;
    height: 300px;
}

.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--text-white-color);
    padding: 25px;
    min-width: 320px;
    transition: background 0.3s ease, color 0.3s ease;
}

.review-card-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-card-heading .reviewer-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 2px;
    border: 1px solid var(--text-white-color);
}

.review-card-heading .reviewer-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.review-card.active {
    background: #0e5252;
    color: #fff;
}

.review-card-heading-content h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-white-color);
}

.review-card .role {
    font-size: 12px;
    font-weight: 400;
    color: #888;
    margin-bottom: 10px;
}

.review-card .folks-review {
    font-size: 12px;
    font-weight: normal;
}

.review-card.active .role {
    color: #b5e7e7;
}

.review-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
    gap: 12px;
}

.review-controls button {
    background: var(--text-white-color);
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.review-controls button:hover {
    background: var(--text-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.review-controls button:active {
    background-color: #084545;
    transform: scale(0.95);
}

.review-controls button:focus {
    box-shadow: 0 0 0 3px rgba(14, 82, 82, 0.3);
}

/* Latest Blog Section Styling */
.blog-section {
    width: 100%;
    max-width: 1200px;
    padding: 100px 20px;
    margin: auto;
    background-color: var(--text-white-color);
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
    align-items: start;
    padding: 0;
}

.blog-card {
    background: var(--text-white-color);
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card.featured {
    width: 100%;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.blog-card.small {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.blog-card-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.blog-content {
    padding: 8px 0;
}

.blog-card-small .blog-content {
    padding: 5px 0 0 0;
}

.blog-content .badge {
    display: inline-block;
    background: var(--text-primary-color);
    color: var(--text-white-color);
    font-size: 10px;
    padding: 5px 10px;
    margin-bottom: 12px;
}

.blog-content h3 {
    font-size: 14px;
}

.blog-content h3,
.blog-content h4 {
    margin: 5px 0;
    font-weight: 600;
    color: var(--text-color);
}

.blog-meta {
    font-size: 12px;
    color: var(--blog-subtext-color);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.blog-meta i {
    margin-right: 4px;
}

.blog-card-small .blog-content h4 {
    font-size: 12px;
}

.blog-card-small .blog-content span {
    font-size: 9px;
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
    background-color: var(--primary-btn-bg-color);
    color: var(--text-white-color);
    border: none;
    outline: none;
    width: 50px;
    height: 50px;
    font-size: 24px;
    display: none;
    /* hidden by default */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollToTopBtn:hover {
    background-color: var(--text-color);
}

/* Appointment Popup Modal Styling */
.appointment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 9999;
}

.modal-overlay {
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    inset: 0;
}

.appointment-popup {
    position: relative;
    margin: 4% auto;
    background: var(--text-white-color);
    padding: 30px;
    max-width: 650px;
    z-index: 10000;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Form Styling */
.book-appointment-headling {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary-color);
}

.form-intro {
    font-size: 12px;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Progress Bar */
.progress-bar {
    background: var(--process-bg-color);
    height: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress {
    height: 100%;
    background: var(--progress-bar-bg-color);
    transition: width 0.3s ease;
}

.input-icon input,
.input-icon select {
    padding-left: 36px;
    /* space for icon */
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    font-family: var(--font-family);
    border: 1px solid var(--border-color);
    outline: none;
    margin-bottom: 0;
    transition: 0.3s ease;
}

input:focus, 
select:focus,
textarea:focus {
    box-shadow: none;
    border-color: var(--text-primary-color);
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;

  background-color: var(--text-white-color);
  border: 1px solid var(--border-color);
  border-radius: 0;
  width: 100%;
  font-size: 12px;
  font-family: inherit;
  color: var(--text-color);
  background-image: url('data:image/svg+xml;utf8,<svg fill="%230e5252" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  cursor: pointer;
}

textarea {
    font-size: 12px;
    resize: vertical;
}

::placeholder {
    color: var(--text-color);
}

:-moz-placeholder, 
::-moz-placeholder {
    color: var(--text-color);
}

.input-icon {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

.input-icon i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: var(--text-primary-color);
    font-size: 14px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row.date-time {
    margin-bottom: 20px;
}

.label-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
}

.service-buttons {
    margin-bottom: 20px;
}

.third-col {
    margin-bottom: 20px;
}

.option-btn input[type="radio"] {
    display: none;
}

.option-btn {
    display: inline-block;
    padding: 10px 12px;
    background-color: transparent;
    margin: 0;
    cursor: pointer;
    border: 1px solid var(--border-color);
    font-size: 12px;
    text-transform: capitalize;
    transition: background 0.3s, color 0.3s;
}

.option-btn.active {
    background-color: var(--text-primary-color);
    color: var(--text-white-color);
}

.option-note {
    font-size: 11px;
    font-style: italic;
    color: var(--text-color);
}

/* Navigation Buttons */
.next-btn,
.back-btn,
.submit-btn {
    background: var(--primary-btn-bg-color);
    color: var(--text-white-color);
    padding: 14px;
    width: 100%;
    border: none;
    font-weight: 400;
    margin-top: 20px;    
    cursor: pointer;
}

.back-btn {
    background: #ccc;
    color: #333;
}

.form-nav {
    display: flex;
    gap: 10px;
}

.form-status {
    font-size: 14px;
    margin-top: 10px;
    color: #0e5252;
    text-align: center;
}

/* Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.spinner {
    width: 45px;
    height: 45px;
    border: 4px solid #0e5252;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    margin-top: 20px;
    color: #0e5252;
    font-weight: 600;
    animation: fadeIn 0.4s ease;
}

.success-message i {
    font-size: 30px;
    color: #0e5252;
    margin-bottom: 10px;
    display: block;
}

/* Footer Container Styling */
.footer {
    background-color: var(--footer-bg-color);
    color: var(--text-white-color);
    padding: 60px 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    align-items: flex-start;
}

.footer-column h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-column p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--footer-text-color);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--footer-text-color);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 130px;
}

.footer-logo h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    background: rgba(20, 33, 30, 0.859);
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-btn-bg-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--footer-text-color);
}

.contact-info i {
    margin-top: 3px;
    font-size: 12px;
    color: var(--footer-text-color);
}
