/* YAC India - Master Responsive Stylesheet */
:root {
    --primary: #2d5a27;
    --primary-dark: #1e3d1a;
    --primary-light: #4c8c43;
    --accent: #d4a373;
    --accent-gold: #c68b59;
    --bg-warm: #faf6f0;
    --bg-card: #ffffff;
    --text-dark: #2c3531;
    --text-muted: #5c6b65;
    --text-light: #f8f9fa;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-heading: 'Cinzel', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-warm);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & General Classes */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.3;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-accent {
    background-color: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background-color: var(--accent-gold);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    background: transparent;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary-dark);
}

/* Top Info Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info span {
    margin-right: 20px;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
}

/* Main Header & Nav */
.main-header {
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2rem;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;

}

.brand-name span {
    color: var(--accent);
}

.brand-tagline {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

.nav-menu a.active, .nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    overflow: hidden;
    background-color: #1a2e18;
    color: #fff;
    min-height: 500px;
}

.slide {
    display: none;
    align-items: center;
    padding: 80px 0;
    animation: fadeIn 0.8s ease-in-out forwards;
}

.slide.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.slide-content h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

.slide-image img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: var(--accent);
    width: 28px;
    border-radius: 10px;
}

/* Page Header / Banner */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
}

/* Main Sections Layout */
.section {
    padding: 70px 0;
}

.bg-white { background-color: #ffffff; }
.bg-warm { background-color: var(--bg-warm); }

/* Card Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 15px;
}

.card-benefits {
    list-style: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}

.card-benefits li {
    font-size: 0.88rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Facility Card */
.facility-card {
    overflow: hidden;
    padding: 0;
}

.facility-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.facility-card-body {
    padding: 24px;
}

/* Testimonials Carousel / Grid */
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-dark);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQs Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-toggle {
    font-size: 1.4rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Contact Form & Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info-box {
    background: var(--primary-dark);
    color: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
}

.contact-info-box h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h4 {
    color: var(--accent);
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.info-item p, .info-item a {
    color: rgba(255,255,255,0.85);
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Alert Box */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Footer Styling */
.site-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo .brand-name {
    color: #fff;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-title {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.contact-item {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.contact-item a {
    color: var(--accent);
}

.footer-bottom {
    background-color: #142a12;
    padding: 20px 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.quote-text {
    font-style: italic;
    color: var(--accent);
}

/* Media Queries */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .slide-grid { grid-template-columns: 1fr; text-align: center; }
    .slide-content h1 { font-size: 2.2rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar-content { justify-content: center; text-align: center; }
    .mobile-toggle { display: flex; }
    .nav-menu {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
    .nav-menu.active { display: block; }
    .nav-menu ul { flex-direction: column; gap: 15px; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-flex { flex-direction: column; text-align: center; }
}


/* Video Hero Section */
/* Video Hero Section - Fit to Screen */
.hero-video-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
}

.hero-content h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}
