* {
    scroll-padding-top: 3rem;
    scroll-behavior: smooth;
}

:root {
    --main-color: #957221;
    --bg-color: #f0e5d6;
    --text-p-color: #000000;
    --text-h2-color: #412f26;
    --big-font: 6rem;
    --h2-font: 3.6rem;
    --h3-font: 2.4rem;
    --p-font: 14px;
    --h4-font:16px;
}

html, body {
    max-width: 100%; /* Uncommented to prevent body from exceeding viewport width */
    overflow-x: hidden; /* Prevent horizontal scroll */
    margin: 0;
    padding: 0;
    width: 100vw;
    box-sizing: border-box;
}
.home{
   
    height: 90vh;
   background: 
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
        url('/assets/img/physiotherapy/6.jpeg');
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    

}
.home h1{
    font-size: var(--big-font);
    line-height: 1.2;
    text-align: left;
     margin-bottom: 100px;
     margin-left: 50px;
    color: #ffffff;
}

section{
  
    padding: 10% 10%;
    background: linear-gradient(to top, #e6b980 0%, #eacda3 100%);
    background: transparent linear-gradient(180deg, #8f6f56 0%, #6e4829 100%) 0% 0% no-repeat;
    background: #f4f6fe;
    
    background: url(../img/derma/bg4.jpg);
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* background: transparent radial-gradient(closest-side at 50% 50%, #F9F5EB 0%, #EEE0C4 100%) 0% 0% no-repeat padding-box; */
}


.about-section {
    padding: 8% 10%;
    background: #f9dfb3;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* IMAGE */
.about-img {
    width: 100%;
    height: 100%;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* TEXT */
.about-text h2 {
    font-size: 3rem;
    color: var(--text-h2-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.2rem;
}

/* CTA BUTTON */
.about-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 12px 28px;
    background: var(--main-color);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(149,114,33,0.3);
}

.about-btn:hover {
    background: #7a5d19;
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .about {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-img img {
        height: 400px;
    }
}

.physio-services-section {
    padding: 8% 10%;
    background: #f9f5ee;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-header h2 {
    font-size: 3rem;
    color: var(--text-h2-color);
    margin-bottom: 1rem;
    position: relative;
}

.services-header h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background: var(--main-color);
    display: block;
    margin: 12px auto 0;
}

.services-header p {
    max-width: 700px;
    margin: auto;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* CARD */
.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 5px solid var(--main-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* CARD CONTENT */
.service-card h3 {
    font-size: 1.6rem;
    color: var(--text-h2-color);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #555;
}

.service-card ul {
    margin-bottom: 1rem;
    padding-left: 18px;
}

.service-card ul li {
    font-size: 14px;
    margin-bottom: 6px;
    position: relative;
    list-style: none;
}

.service-card ul li::before {
    content: "✔";
    color: var(--main-color);
    font-weight: bold;
    margin-right: 8px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .services-header h2 {
        font-size: 2rem;
    }
}

/* ===== HOME PHYSIOTHERAPY SECTION ===== */

.home-physio-section {
    padding: 8% 10%;
    position: relative;
    background: 
        linear-gradient(rgba(111, 81, 51, 0.85), rgba(70, 45, 25, 0.85)),
        url('../img/derma/bg4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-physio-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* TEXT CONTENT */
.home-physio-content h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
}

.home-physio-content h2::after {
    content: "";
    width: 70px;
    height: 4px;
    background: var(--main-color);
    display: block;
    margin-top: 10px;
}

.home-physio-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #f1f1f1;
    margin-bottom: 1.2rem;
}

.home-physio-content ul {
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.home-physio-content ul li {
    list-style: none;
    margin-bottom: 8px;
    font-size: 14px;
    color: #fff;
    position: relative;
    padding-left: 25px;
}

.home-physio-content ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-weight: bold;
}

/* BUTTON */
.home-physio-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--main-color);
    color: #fff;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(149,114,33,0.4);
}

.home-physio-btn:hover {
    background: #7a5d19;
    transform: translateY(-3px);
}

/* IMAGE */
.home-physio-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .home-physio-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-physio-image img {
        height: 350px;
    }
}/* ===== HORIZONTAL PROCESS SECTION ===== */

.process-section {
    padding: 8% 10%;
    background: #f9f5ee;
}

.process-header {
    text-align: center;
    margin-bottom: 4rem;
}

.process-header h2 {
    font-size: 3rem;
    color: var(--text-h2-color);
    margin-bottom: 1rem;
}

.process-header p {
    font-size: 15px;
    color: #555;
}

/* Horizontal Layout */
.horizontal-process {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    gap: 2rem;
}

/* Connecting Line */
.horizontal-process::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--main-color);
    z-index: 0;
}

/* Individual Step */
.process-step {
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 1;
}

/* Circle */
.step-circle {
    width: 70px;
    height: 70px;
    background: var(--main-color);
    color: #fff;
    font-weight: bold;
    font-size: 1.3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 25px rgba(149,114,33,0.4);
}

/* Title */
.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-h2-color);
}

/* Description */
.process-step p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    max-width: 180px;
    margin: auto;
}

/* Hover Effect */
.process-step:hover .step-circle {
    transform: scale(1.1);
    transition: 0.3s ease;
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .horizontal-process {
        overflow-x: auto;
        padding-bottom: 2rem;
    }

    .process-step {
        min-width: 220px;
    }

    .horizontal-process::before {
        display: none;
    }
}


/* ----------------------------why-choose-us---------------------------- */

.dental-why-choose-us{
    background: #f0daae;
    padding: 8% 10%;
}

/* MAIN FLEX */
.why-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    margin-top: 60px;
}

/* LEFT IMAGE */
.why-bottom .img-why{
    flex: 1;
}

.why-bottom .img-why img{
    width: 100%;
    max-width: 520px;
    height: 450px;
    object-fit: cover;
    border-radius: 30px;
}

/* RIGHT GRID */
.why-grid-boxes{
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

/* CARD STYLE */
.why-grid-boxes .grid-box{
    min-height: 200px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    color: white;
    transition: 0.3s ease;
}

.why-grid-boxes .grid-box:hover{
    transform: translateY(-5px);
}

/* CARD HEADER */
.grid-head{
    display: flex;
    gap: 10px;
    align-items: center;
}

.grid-head img{
    background: #e1dfdf;
    border-radius: 50px;
    width: 45px;
    height: 45px;
    padding: 6px;
}

.grid-head h5{
    font-size: 14px;
    color: #ffffff;
}

/* TEXT */
.grid-box p{
    font-size: 13px;
    margin-top: 10px;
}

/* COLORS */
.grid1{background:#583115;}
.grid2{background:#c09036;}
.grid3{background:#94591c;}
.grid4{background:#bf9b6c;}
.grid5{background:#7c4d2c;}
.grid6{background:#d1a25b;}

/* TABLET */
@media (max-width:1000px){

    .why-bottom{
        flex-direction: column;
        gap: 40px;
    }

    .why-grid-boxes{
        grid-template-columns: repeat(2,1fr);
    }

}

/* MOBILE */
@media (max-width:650px){

    .why-grid-boxes{
        grid-template-columns: 1fr;
    }

    .why-bottom .img-why img{
        height: auto;
    }

}



/*--------------------------------------- questions---------------------------------------------- */

/*--------------------------------------- questions---------------------------------------------- */
.dental-questions-section {
    background: #d5b16c;
    height: auto;
    padding: 8%;
    display: flex;
    gap: 120px;
    justify-content: center;
}

.dental-questions-section .qstn-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}


.dental-questions-section .qstns {
    background: rgba(222, 216, 201, 0.5); /* Grey background with 0.5 opacity */
    padding: 10px;
    border-radius: 5px;
}

.dental-questions-section .qstn-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dental-questions-section .qstn-right img {
    width: 500px;
    height: 450px;
    border-radius: 30px;
    margin-top: 30px;
}

.dental-questions-section .qstn-left h4 {
    font-size: 40px;
    margin-bottom: 20px;
   
  
}

.faq {
    max-height: 600px;
}

.faq li {
    margin: 20px 0;
    padding: 10px;
    border-radius: 8px;
    background: #f0daae;
    box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15), -6px -6px 10px -1px rgba(255, 255, 255, 0.7);
}

.faq li label {
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

label::before {
    content: "+";
    margin-right: 10px;
    font-size: 24px;
    font-weight: 600;
}

input[type="radio"] {
    display: none;
}

.faq .content {
    color: #555;
    padding: 0 10px;
    line-height: 26px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s, padding 0.5s;
}

.faq input[type="radio"]:checked + label + .content {
    max-height: 300px;
    padding: 10px 10px 20px;
}

.faq input[type="radio"]:checked + label::before {
    content: '-';
}

@media (max-width: 1200px) {
    .dental-questions-section {
        text-align: center;
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .dental-questions-section .qstn-left {
        gap: 10px;
    }

    .dental-questions-section {
        flex-direction: column;
        gap: 20px;
        padding: 60px 8%;
    }

    .dental-questions-section .qstn-right img {
        width: 100%;
        height: auto;
        border-radius: 30px;
    }

    .dental-questions-section .qstn-left h4 {
        font-size: 24px;
    }

    .dental-questions-section .qstns h6 {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 10px;
        font-family: serif;
        color: #f5f3f3;
    }
}
@media(max-width:350px){
    .dental-questions-section .qstn-left h4 {
        font-size: 20px;
    }  
}

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

.physio-cta{

    padding:8% 10%;

    background:
    linear-gradient(rgba(0,0,0,0.65),rgba(0,0,0,0.65)),
    url('../img/derma/bg4.jpg');

    background-size:cover;
    background-position:center;
}

/* LAYOUT */

.cta-wrapper{

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
}

/* LEFT TEXT */

.cta-text{

    color:white;
    max-width:500px;
}

.cta-text h5{

    color:#d7b055;
    font-size:22px;
    margin-bottom:10px;
}

.cta-text h2{

    font-size:36px;
    margin-bottom:15px;
}

.clinic-name{

    font-size:18px;
    margin-bottom:20px;
}

.cta-info p{

    font-size:16px;
    margin:6px 0;
}


/* FORM CARD */

.cta-form-box{

    background:white;
    padding:35px;
    border-radius:10px;
    width:350px;

    box-shadow:0 20px 50px rgba(0,0,0,0.2);
}

.cta-form-box h4{

    text-align:center;
    margin-bottom:20px;
    color:#583115;
}

/* FORM */

.cta-form{

    display:flex;
    flex-direction:column;
    gap:15px;
}

.cta-form input{

    padding:14px;
    border:1px solid #ddd;
    border-radius:5px;
    font-size:15px;
}

.cta-form input:focus{

    outline:none;
    border-color:#c79833;
}

/* BUTTON */

.cta-form button{

    background:linear-gradient(#a06236,#d7b055);

    border:none;
    padding:14px;

    border-radius:5px;

    font-size:16px;
    color:white;

    cursor:pointer;

    transition:.3s;
}

.cta-form button:hover{

    background:linear-gradient(#7c4b25,#b58b39);
}


/* RESPONSIVE */

@media(max-width:1000px){

    .cta-wrapper{

        flex-direction:column;
        text-align:center;
        gap:40px;
    }

}

@media(max-width:600px){

    .cta-text h2{

        font-size:28px;
    }

    .cta-form-box{

        width:100%;
    }

}