﻿/* Basic Clean CSS Reset & Variables */
:root {
    --primary-color: #2e7d32;
    /* Green */
    --secondary-color: #1b5e20;
    /* Darker Green */
    --accent-color: #ffc107;
    /* Pop of color (Yellow/Orange) */
    --text-color: #333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --gray-bg: #e9e9e9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    background-color: var(--white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 60px;
    width: auto;
}

.nav-item {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    border-radius: 4px;
    top: 100%;
    left: 0;
    text-align: left;
}

.dropdown-content a {
    color: var(--secondary-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin: 0;
    border-bottom: 1px solid #eee;
    text-transform: none;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.nav-item:hover .dropdown-content {
    display: block;
}

/* Dropdown arrow */
.nav-item .fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s;
}

.nav-item:hover .fa-chevron-down {
    transform: rotate(180deg);
}

/* Base Nav Links */
.nav a {
    margin-left: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/hero-dakvhhp7.png');
    background-size: cover;
    background-position: center;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Page Header (for non-home pages) */
.page-header {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 3rem 1rem;
}

.page-header h1 {
    font-size: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn:hover {
    background-color: var(--secondary-color);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Rating Section */
.rating-section {
    padding: 4rem 2rem;
    background-color: var(--white);
    text-align: center;
}

.rating-content {
    max-width: 800px;
    margin: 0 auto;
}

.rating-content h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.qr-container {
    margin: 2rem auto;
    max-width: 200px;
}

.qr-code {
    width: 100%;
    border: 2px solid #ddd;
    border-radius: 8px;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
    text-align: center;
}

.why-choose-us h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.reason-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.reason-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.reason-card p {
    font-size: 1.25rem;
    /* Increased size */
    color: #555;
}

/* Vision Section - Centerpiece */
.vision-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    text-align: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
}

.vision-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
}

.vision-content p {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    font-weight: 300;
}

/* Connect Section */
.connect-section {
    padding: 4rem 2rem;
    background-color: var(--white);
    text-align: center;
}

.connect-section h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.connect-section p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.social-icons-large {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icons-large a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.8rem;
    transition: all 0.3s;
}

.social-icons-large a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Services Section */
.services {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
    flex-grow: 1;
    /* Pushes footer down */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    /* Center all text in cards */
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card h3 {
    margin: 1.5rem 1rem 0.5rem;
    color: var(--secondary-color);
}

.service-card p {
    padding: 0 1rem;
    color: #666;
}

.service-card .service-list {
    flex-grow: 1;
    margin-bottom: 1rem;
    text-align: left;
    /* Keep bullets aligned left for readability */
    display: inline-block;
    /* Allows focusing the list in the center */
    margin-left: auto;
    margin-right: auto;
    max-width: fit-content;
    /* Hugs the content so it centers properly */
}

.service-card .btn-container {
    padding: 0 1rem 1.5rem;
    text-align: center;
    margin-top: auto;
}

/* About Section Styles */
.about-section {
    padding: 4rem 2rem;
    flex-grow: 1;
    text-align: center;
    /* Center about text */
    background-color: var(--light-bg);
}

.story-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
    text-align: center;
    border-top: 5px solid var(--primary-color);
}

.story-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.story-card p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.reason-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.reason-card p {
    font-size: 1.25rem;
    color: #555;
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    text-align: center;
    flex-grow: 1;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

/* About Section */
.about-section {
    padding: 4rem 2rem;
    line-height: 1.8;
    flex-grow: 1;
}

/* Footer */
.footer {
    background-color: #222;
    color: #aaa;
    padding: 2rem;
    text-align: center;
    margin-top: auto;
    /* Ensures footer stays at bottom if content is short */
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

/* Review Carousel Styles */
.review-container {
    max-width: 600px;
    margin: 2rem auto;
    min-height: 150px;
    /* Prevent jumping */
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-fade-in {
    animation: fadeIn 1s ease-in-out;
    text-align: center;
}

.review-stars {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.review-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #555;
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.review-author {
    font-weight: bold;
    color: var(--secondary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service List Bullets */
.service-list {
    text-align: left;
    margin: 1rem auto;
    padding-left: 1.5rem;
    /* Space for bullets */
    display: inline-block;
    /* Aligns list neatly in center text context */
    list-style-type: disc;
    /* Ensure bullets show */
}

.service-list li {
    margin-bottom: 0.5rem;
    color: #444;
}

/* Mobile Menu Button (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Responsive Nav & Mobile Optimization */
@media (max-width: 768px) {
    .header {
        flex-direction: row;
        /* Keep logo and burger side-by-side */
        justify-content: space-between;
        padding: 1rem;
        flex-wrap: wrap;
        /* Allow nav to break to next line */
    }

    .logo {
        height: 50px;
    }

    .logo-container {
        margin-bottom: 0;
    }

    .mobile-menu-btn {
        display: block;
        /* Show burger on mobile */
    }

    .nav {
        display: none;
        /* Hide menu by default */
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-top: 1rem;
        background-color: var(--white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
        /* overflow: hidden; Removed to allow dropdowns to show */
    }

    .nav.active {
        display: flex;
        /* Show when active */
    }

    .nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px;
        margin: 0;
        border-bottom: 1px solid #eee;
        border-radius: 0;
        background: none;
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .nav a:hover,
    .nav a.active {
        background-color: var(--light-bg);
        color: var(--primary-color);
        border-bottom: 1px solid #eee;
        /* Maintain border */
    }

    /* Grids & Typography remain same */
    .services-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .hero-content h1,
    .vision-content h2 {
        font-size: 2rem;
    }

    .hero-content p,
    .vision-content p {
        font-size: 1.2rem;
    }

    /* Footer adjustments */
    .social-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    /* Content Width Optimization for Mobile */
    /* Reduce global section padding to reclaim width */
    .services,
    .contact,
    .why-choose-us,
    .rating-section,
    .connect-section {
        padding: 2rem 1rem;
    }

    /* About Section - Ultra Wide for Mobile */
    .about-section {
        padding: 2rem 0.5rem;
        /* Minimal side padding */
    }

    /* Maximize Card Widths */
    .story-card {
        padding: 1rem;
        /* Very tight padding to maximize text space */
        margin-top: 1rem;
        box-shadow: none;
        border-radius: 8px;
        width: 100%;
        /* Ensure it fills container */
    }

    /* Mobile Dropdown Fixes */
    .nav-item {
        width: 100%;
        display: block;
        text-align: center;
    }

    .nav-item .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background-color: #f9f9f9;
        border-radius: 0;
    }

    .nav-item.active .dropdown-content {
        display: block;
    }

    .nav-item.active .fa-chevron-down {
        transform: rotate(180deg);
    }

    .dropdown-content a {
        padding-left: 16px;
        /* Reset indentation */
        text-align: center;
        /* Center items */
    }

}

.service-card {
    margin-bottom: 1rem;
}

.form-container {
    width: 100%;
    padding: 0;
}

/* ----------------- */
/* FAQ Page Styles   */
/* ----------------- */
.faq-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    flex-grow: 1;
    text-align: center;
    /* Center everything in section */
}

.faq-category-title {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.faq-category-title:first-child {
    margin-top: 0;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    text-align: center;
    /* Center text */
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    /* Center content flex-wise */
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
    /* For absolute icon positioning if needed, or just gap */
    gap: 10px;
    /* Space between text and icon */
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-icon {
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    /* Turns plus to x */
}

.faq-answer {
    max-height: 0;
    /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fafafa;
    text-align: center;
    /* Center answer text */
}

.faq-answer p {
    padding: 1.5rem;
    padding-top: 0.5rem;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* Visible on active */
}


/* ----------------------- */
/* Expanded Footer Styles  */
/* ----------------------- */
.footer {
    background-color: #222;
    color: #ccc;
    padding: 4rem 2rem 2rem;
    font-size: 0.95rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    /* Force horizontal row */
    justify-content: space-evenly;
    /* Spread out evenly */
    align-items: flex-start;
    /* Align to top */
    gap: 2rem;
    text-align: left;
    flex-wrap: wrap;
    /* Allow wrap on mobile only */
}

.footer-section {
    flex: 1;
    min-width: 250px;
    /* Ensure structure, but allows shrinking */
    text-align: center;
    /* Center footer columns content too? User asked to center FAQ, usually footer looks nice centered if horizontal */
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #444;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aaa;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center contact items */
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    /* Reduced margin */
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.85rem;
}

/* Update social icons for footer */
.footer-social .social-links {
    display: flex;
    justify-content: center;
    /* Center social icons */
}

.footer-social .social-links a {
    background-color: #333;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 5px;
    font-size: 1.1rem;
}

/* ----------------------- */
/* Mobile Optimization     */
/* ----------------------- */
@media (max-width: 768px) {

    /* Footer: Stack columns vertically */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .footer-section {
        width: 100%;
        min-width: unset;
        /* Allow full width */
    }

    .footer-links li {
        text-align: center;
    }

    .footer-section h3 {
        display: inline-block;
        /* Keep underline consistent */
    }

    /* FAQ: Optimize padding and text */
    .faq-section {
        padding: 3rem 1rem;
        /* Tighter padding */
    }

    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 1.25rem;
    }
}

/* ----------------- */
/* Blog Page Styles  */
/* ----------------- */
.blog-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    flex-grow: 1;
    text-align: center;
}

.blog-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 800px;
    text-align: center;
    border-top: 5px solid var(--primary-color);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
    display: block;
}

.blog-card h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.blog-card p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ----------------- */
/* Article Page Styles */
/* ----------------- */
.article-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 3rem;
    flex-grow: 1;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-color);
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    font-size: 1rem;
    color: #999;
}

.article-content {
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

.article-content p {
    margin-bottom: 2rem;
}

.article-content h2 {
    color: var(--secondary-color);
    margin: 3rem 0 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.article-content ul,
.article-content ol {
    margin: 2rem 0;
    padding-left: 2rem;
    text-align: left;
}

.article-content li {
    margin-bottom: 1rem;
}

.article-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2.5rem auto 1rem;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-caption {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    text-align: center;
    margin-bottom: 2.5rem;
}

.article-navigation {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {

    .article-container,
    .blog-card {
        padding: 2rem 1rem;
        margin: 2rem 1rem;
    }

    .article-header h1 {
        font-size: 2rem;
    }
}