/* CSS Variables for Theming */
:root {
    --primary-color: #E67E22; /* Saffron */
    --secondary-color: #7B241C; /* Deep Maroon */
    --accent-color: #D4A017; /* Gold */
    --bg-color: #FFFFFF;
    --alt-bg-color: #FFFDF7;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #EAEAEA;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(123, 36, 28, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5EB 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}
.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Sections */
section {
    padding: 80px 0;
}
.bg-alt { 
    background: linear-gradient(135deg, #FFFDF7 0%, rgba(230, 126, 34, 0.08) 100%); 
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}
.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}
.btn-primary:hover {
    background: #d35400;
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
    transform: translateY(-2px);
}
.btn-secondary {
    background: var(--secondary-color);
    color: #fff;
}
.btn-secondary:hover {
    background: #641E16;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background: #128C7E;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}
.btn i { margin-right: 8px; }

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}
header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}
header.scrolled .nav-container {
    height: 60px;
}
.logo {
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}
.logo span { color: var(--primary-color); }
.nav-menu {
    display: flex;
    gap: 15px;
    align-items: center;
}
.nav-item { position: relative; }
.nav-link {
    font-weight: 500;
    color: var(--text-color);
    font-size: 1rem;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

/* Floating WhatsApp & Call */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}
.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}
.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}
.faq-question {
    padding: 20px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.faq-question:hover {
    color: var(--primary-color);
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.floating-call {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(123, 36, 28, 0.4);
    z-index: 999;
    transition: var(--transition);
}
.floating-call:hover {
    transform: scale(1.1);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.about-slider-img {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.about-slider-img.active {
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 20px 0;
        gap: 20px;
    }
    .nav-menu.active {
        left: 0;
    }
    .hamburger { display: block; }
    header.scrolled .nav-menu { top: 60px; }
}

/* Base Typography for Desktop */
.hero-pretitle {
    font-size: 2.2rem;
}
.hero-title {
    font-size: 3.5rem;
}

@media (max-width: 768px) {
    .hero-pretitle {
        font-size: 1.5rem !important;
    }
    .hero-title {
        font-size: 2rem !important;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    section {
        padding: 50px 0;
    }
    .hero {
        padding-top: 100px !important;
    }
}

@media (max-width: 480px) {
    .hero-pretitle {
        font-size: 1.2rem !important;
    }
    .hero-title {
        font-size: 1.6rem !important;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Language Toggle & Google Translate Overrides */
.lang-toggle:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.lang-toggle.hi-active .lang-en { color: #666 !important; }
.lang-toggle.hi-active .lang-hi { color: var(--primary-color) !important; }

/* Hide Google Translate UI completely */
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0px !important; }
.goog-logo-link { display:none !important; }
.goog-te-gadget { color: transparent !important; }
.goog-te-gadget .goog-te-combo { display: none !important; }
#goog-gt-tt { display: none !important; top: 0px !important; }
.goog-tooltip skiptranslate { display: none !important; }
.activity-root { display: none !important; }
.status-message { display: none !important; }
.started-activity-container { display: none !important; }

@media (min-width: 992px) {
    .hide-on-desktop { display: none !important; }
}

/* Missing Language Switch Slider CSS */
.lang-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    background: #f1f1f1;
    border-radius: 20px;
    padding: 3px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}
.lang-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
    pointer-events: none;
}
.lang-switch .slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 30px;
    height: calc(100% - 6px);
    background: #fff;
    border-radius: 15px;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.lang-switch input:checked ~ .slider {
    transform: translateX(25px);
}
.lang-switch .lang-text {
    position: relative;
    z-index: 1;
    padding: 2px 8px;
    transition: 0.3s;
}
.lang-switch input:checked ~ .lang-en { color: #888; }
.lang-switch input:checked ~ .lang-hi { color: var(--primary-color); }
.lang-switch input:not(:checked) ~ .lang-en { color: var(--primary-color); }
.lang-switch input:not(:checked) ~ .lang-hi { color: #888; }

/* Mobile Header Optimizations */
@media (max-width: 991px) {
    .logo {
        font-size: 1.2rem !important;
    }
    .mobile-nav-actions {
        gap: 8px !important;
    }
}
@media (max-width: 400px) {
    .logo {
        font-size: 1.05rem !important;
    }
    .mobile-nav-actions {
        gap: 5px !important;
    }
    .lang-switch-container {
        transform: scale(0.75) !important;
    }
}


/* Super Optimized Mobile Header Layout */
@media (max-width: 576px) {
    header { padding: 8px 5px !important; }
    .nav-container { padding: 0 2px !important; gap: 2px !important; justify-content: space-between !important; }
    
    header .logo { 
        font-size: 1rem !important; 
        letter-spacing: -0.5px; 
        white-space: nowrap; 
    }
    
    .mobile-nav-actions { 
        gap: 6px !important; 
        justify-content: flex-end; 
    }
    
    .lang-switch-wrapper { 
        transform: scale(0.7) !important; 
        margin-right: -8px !important; 
        margin-left: -5px !important;
        gap: 4px !important; 
    }
    
    .lang-label-en, .lang-label-hi { 
        font-size: 1rem !important; /* Will be scaled down by wrapper */
    }
    
    .mobile-nav-actions a { 
        font-size: 1.1rem !important; 
        margin: 0 1px;
    }
    
    .hamburger { 
        font-size: 1.2rem !important; 
        padding: 0 2px !important; 
        margin-left: 2px !important;
    }
}

@media (max-width: 360px) {
    header .logo { font-size: 0.9rem !important; }
    .lang-switch-wrapper { transform: scale(0.65) !important; margin-right: -12px !important; }
}


/* Mobile Nav Full Number Adjustment */
@media (max-width: 576px) {
    .mobile-phone-link { font-size: 1.05rem !important; }
}
@media (max-width: 400px) {
    .mobile-phone-link { font-size: 0.9rem !important; }
}
@media (max-width: 350px) {
    .mobile-phone-link { font-size: 0.8rem !important; }
    .logo { font-size: 0.9rem !important; }
}


/* Mobile number under logo */
@media (max-width: 768px) {
    .mobile-number-under-logo { display: block !important; }
}
@media (min-width: 769px) {
    .mobile-number-under-logo { display: none !important; }
}
