/* style.css - Reborn Physiotherapy Clinic (Complete Version) */
:root {
    /* --- DARK BROWN THEME --- */
    --bg-dark: #4E3629;    /* Deep Brown */
    --bg-light: #ffffff;   /* Pure White */
    --text-dark: #2B2623;  /* Soft Black */
    --text-light: #ffffff; /* White */
    --accent: #000000;     /* Black Buttons */
    --border-color: #D1CEC7; 
}

body {
    /* Comic Sans MS Style */
    font-family: 'Comic Sans MS', 'Comic Sans', cursive, sans-serif;
    margin: 0; padding: 0;
    color: var(--text-dark); 
    background-color: var(--bg-light);
    line-height: 1.6;
    display: flex; flex-direction: column; min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }
ul { list-style: none; padding: 0; margin: 0; }

/* HEADER */
header {
    background: var(--bg-light); padding: 20px 5%;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.logo { font-size: 1.5rem; font-weight: bold; color: var(--bg-dark); }
nav ul { display: flex; gap: 30px; }
nav a { font-weight: bold; color: var(--text-dark); }
.nav-btn { padding: 8px 20px; border-radius: 20px; background: var(--accent); color: var(--text-light) !important; }

/* MOVING LINE (Marquee) */
.marquee-container {
    background-color: var(--bg-dark);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
}
.marquee-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
    font-weight: bold;
    font-size: 1.1rem;
}
@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* HERO SECTION */
.hero {
    height: 85vh;
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('Cover.jpg');
    background-size: cover;
    background-position: center;
    display: flex; align-items: center; padding: 0 5%;
    color: white; position: relative; overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 600px; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.big-text-overlay {
    position: absolute; bottom: -6%; left: -2%; white-space: nowrap;
    font-size: 14vw; font-weight: bold; color: rgba(255,255,255,0.1);
    z-index: 1; pointer-events: none;
}

/* LAYOUT UTILITIES */
.container { padding: 80px 5%; flex: 1; }
.split-layout { 
    display: flex; 
    gap: 5%; 
    align-items: center; /* This forces the text to float in the middle */
}
.split-layout > div { flex: 1; }
img.fluid { width: 100%; border-radius: 5px; display: block; }

/* SERVICES GRID (For Service Page) */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-item { padding: 0; text-align: left; }
.service-item img { width: 100%; height: 250px; object-fit: cover; margin-bottom: 15px; border-radius: 10px; }
.service-item h3 { font-size: 1.3rem; margin-bottom: 5px; color: var(--bg-dark); }

/* HOME FEATURES GRID */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 40px; }
.feature-box h4 { color: var(--bg-dark); margin-bottom: 10px; font-size: 1.2rem;}

/* TEAM SECTION (With Shapes) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.team-card { text-align: center; }
.team-card img {
    width: 100%; height: 300px; object-fit: cover; margin-bottom: 15px; transition: transform 0.3s;
}
.team-card img:hover { transform: scale(1.02); }
.team-card h3 { font-size: 1.5rem; margin: 10px 0 5px 0; font-family: 'Comic Sans MS', serif; font-weight: bold; }
/* Shapes */
.shape-1 { border-radius: 40px; } /* Rounded Square */
.shape-2 { border-radius: 50%; } /* Circle */
.shape-3 { border-radius: 50px 0 50px 0; } /* Leaf Shape */

/* OUR PROCESS SECTION (Home Page) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}
.process-step { position: relative; padding: 20px; }
.step-number {
    font-size: 3rem; font-weight: bold; color: rgba(78, 54, 41, 0.1);
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%); z-index: 0;
}
.process-step h4 { position: relative; z-index: 1; margin-top: 20px; font-size: 1.2rem; color: var(--bg-dark); }

/* GOOGLE REVIEWS SECTION */
.reviews-section { background-color: #fcfbf9; text-align: center; border-top: 1px solid #ddd; }
.review-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; margin-top: 40px; text-align: left;
}
.review-card {
    background: white; padding: 25px; border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #eee;
}
.stars { color: #f4b400; margin-bottom: 10px; }
.g-logo { float: right; width: 20px; opacity: 0.6; }

/* QR CODE BOX */
.qr-box {
    background: white; padding: 30px; margin-top: 60px;
    border-radius: 15px; display: inline-block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); border: 2px dashed var(--bg-dark);
}
.qr-box img { width: 150px; height: 150px; margin-bottom: 15px; }

/* ADVANCED TECHNIQUES (Service Page) */
.techniques-section { background-color: #f9f9f9; margin-top: 60px; padding: 60px 5%; border-top: 1px solid #ddd; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin-top: 30px; }
.tech-card {
    background: white; padding: 20px; border-radius: 10px; text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid #eee; transition: transform 0.3s;
}
.tech-card:hover { transform: translateY(-5px); border-color: var(--bg-dark); }
.tech-card i { font-size: 2rem; color: var(--bg-dark); margin-bottom: 10px; }

/* FOOTER */
footer {
    background: var(--bg-dark); color: white; padding: 60px 5%; margin-top: auto;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; 
}
.footer-col h4 { margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #ddd; display: flex; align-items: center; gap: 10px; }
.footer-col a:hover { color: white; }

/* BUTTONS & FORMS */
.btn {
    padding: 12px 35px; background: var(--accent); color: white;
    border-radius: 50px; display: inline-block; cursor: pointer; border: none; 
    font-weight: bold; font-family: 'Comic Sans MS', cursive, sans-serif;
}
input, textarea { 
    width: 100%; padding: 15px; margin-bottom: 20px; 
    border: 1px solid #ccc; border-radius: 10px; 
    box-sizing: border-box; font-family: 'Comic Sans MS', cursive, sans-serif;
}