/*
Theme Name: PārthaOS – WP Theme – New Hope Rehabilitation
Theme URI: https://xn--prthaos-s3a.org/
Description: A Single-Page Rehabilitation Center theme designed for New Step Foundation (Borivali), modeled after high-conversion landing pages.
Author: MePremJagtap | PR Digital Solutions
Author URI: https://prdigitalsolutions.org/
Version: 1.0.0
Text Domain: parthaos-newstep
*/

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Brand Colors */
    --primary-green: #0C6531; /* Deep Green */
    --accent-yellow: #F4C300; /* Gold/Yellow */
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    margin-top: var(--header-height); /* Prevent content from hiding behind fixed header */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border: 2px solid var(--primary-green);
}

.btn-secondary {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    border: 2px solid var(--accent-yellow);
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* =========================================
   3. SITE HEADER
   ========================================= */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

/* Header Button Specifics */
.header-cta .btn {
    padding: 10px 20px; /* Slightly smaller than hero button */
    font-size: 0.85rem;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

.main-navigation a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.main-navigation a:hover {
    color: var(--primary-green);
}

/* =========================================
   4. HERO SECTION (Fixing the Cut Image)
   ========================================= */
.hero-section {
    position: relative;
    height: 85vh; /* Tall on Desktop */
    display: flex;
    align-items: center;
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin-top: -var(--header-height); /* Pull up behind transparent header if needed, or just normal */
}

.hero-section .overlay {
    background: rgba(0,0,0,0.5); /* Dark overlay for text readability */
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* =========================================
   5. SECTIONS & SERVICES
   ========================================= */
.section-padding {
    padding: 80px 0;
}

.services-grid, .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-top: 4px solid var(--primary-green);
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* =========================================
   6. FOOTER
   ========================================= */
.site-footer {
    background-color: #222;
    color: var(--white);
    padding: 60px 0 20px;
    text-align: center;
}

/* =========================================
   7. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    /* Header adjustments */
    .header-cta {
        display: none; /* Hide top button on mobile to save space */
    }
    
    .logo h2 {
        font-size: 18px; /* Smaller logo text */
    }
    
    /* Navigation - Hide desktop menu for now (or convert to hamburger if JS exists) */
    .main-navigation {
        display: none; 
    }

    /* HERO IMAGE FIX FOR MOBILE */
    .hero-section {
        height: 60vh; /* Shorter height on mobile */
        background-position: center top !important; /* Focus on top part of image (faces) */
        background-attachment: scroll; /* Prevent scroll glitches on phones */
    }

    .hero-section h1 {
        font-size: 2rem; /* Smaller heading */
        padding: 0 10px;
    }

    .hero-section p {
        font-size: 1rem;
    }
}