/*------------------------------------------------------------------
[Homestay Hindi Courses (HHC) Page Styles]

File: custom-styles.css
Description: All styles for the Hindi Homestay page template.
Brand Colors: Primary #05386b, Accent #5cdb95
-------------------------------------------------------------------*/

/* 1. Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

/* 2. Global Styles & Variables -- UPDATED WITH YOUR BRAND COLORS */
:root {
    --primary-color: #05386b;     /* Your Main Brand Blue */
    --accent-color: #5cdb95;      /* Vibrant Green Accent */
    --background-color: #f7f9f6; /* Off-white for clean backgrounds */
    --light-accent-bg: #edf5e1;  /* Very light green for sections */
    --text-color: #373737;       /* Dark Grey for Text */
    --white-color: #FFFFFF;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Lora', serif;
}

/* Base styles for the entire template area */
.site-main {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

/* 3. Helper Classes */
.hhc-container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.hhc-section {
    padding: 80px 0;
}

.hhc-section-title {
    font-family: var(--heading-font);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.hhc-section-subtitle {
    font-family: var(--body-font);
    font-size: 1.15rem;
    color: #5a5a5a;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.hhc-btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--heading-font);
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.hhc-btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
    font-weight: 700;
}
.hhc-btn-primary:hover {
    background-color: #4ac583;
    border-color: #4ac583;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hhc-btn-secondary {
    background-color: transparent;
    color: var(--white-color);
    border-color: var(--white-color);
}
.hhc-btn-secondary:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

.hhc-btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* 4. Hero Section */
.hhc-hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.hhc-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(5, 56, 107, 0.7) 0%, rgba(5, 56, 107, 0.4) 100%);
}

.hhc-hero-content {
    position: relative;
    z-index: 2;
}

.hhc-hero-section h1 {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hhc-subheadline {
    font-family: var(--body-font);
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: 40px;
    opacity: 0.95;
}

.hhc-hero-buttons a {
    margin: 0 10px;
}

/* 5. Intro & Features Section */
.hhc-intro-section {
    background-color: var(--white-color);
}

.hhc-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    text-align: center;
}

.hhc-feature-item svg {
    color: var(--primary-color);
    margin-bottom: 15px;
    width: 48px;
    height: 48px;
}

.hhc-feature-item h3 {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hhc-feature-item p {
    font-family: var(--body-font);
    color: #6c757d;
    font-size: 1rem;
}

/* 6. Courses Section */
.hhc-courses-section {
    background-color: var(--background-color);
}

.hhc-course-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.hhc-course-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.hhc-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.hhc-course-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.hhc-course-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hhc-course-content h3 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hhc-course-content p {
    font-family: var(--body-font);
    margin-bottom: 20px;
    flex-grow: 1;
}

.hhc-course-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.hhc-course-content ul li {
    font-family: var(--body-font);
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
}
.hhc-course-content ul li::before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 7. Testimonials Section */
.hhc-testimonials-section {
    background-color: var(--light-accent-bg);
}

.hhc-testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hhc-testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--white-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hhc-testimonial blockquote {
    font-family: var(--body-font);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-color);
    margin: 0 0 15px 0;
    border: none;
    padding: 0;
}

.hhc-testimonial cite {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
}

/* 8. FAQ Section */
.hhc-faq-section {
    background-color: var(--background-color);
}
.hhc-faq-section .hhc-container { max-width: 800px; }

.hhc-faq-item {
    border-bottom: 1px solid #ddd;
}
.hhc-faq-item:last-child {
    border-bottom: none;
}

.hhc-faq-question {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 20px 0;
    position: relative;
    color: var(--primary-color);
}
.hhc-faq-question::after {
    content: '+';
    position: absolute;
    right: 10px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}
.hhc-faq-question.active::after {
    transform: rotate(45deg);
}

.hhc-faq-answer {
    display: none;
    padding: 0 10px 20px 10px;
}
.hhc-faq-answer p {
    font-family: var(--body-font);
    line-height: 1.7;
    margin: 0;
}

/* 9. CTA Section */
.hhc-cta-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
}

.hhc-cta-section h2 {
    font-family: var(--heading-font);
    font-size: 2rem;
    margin-bottom: 15px;
}

.hhc-cta-section p {
    font-family: var(--body-font);
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hhc-cta-section .hhc-btn-primary {
    color: var(--primary-color);
    background-color: var(--white-color);
    border-color: var(--white-color);
}
.hhc-cta-section .hhc-btn-primary:hover {
    background-color: #f1f1f1;
    border-color: #f1f1f1;
}


/* 10. Responsive Media Queries */
@media (max-width: 992px) {
    .hhc-course-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hhc-section {
        padding: 60px 0;
    }
    .hhc-hero-section {
        height: 80vh;
    }
    .hhc-features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .hhc-hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hhc-hero-buttons a {
        margin: 10px 0 !important;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    .hhc-features-grid {
        grid-template-columns: 1fr;
    }
    .hhc-section-title {
        font-size: 1.8rem;
    }
    .hhc-testimonial blockquote {
        font-size: 1.2rem;
    }
}


/* 11. Responsive Video Embed Styles */
.hhc-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
}

.hhc-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}