:root {
    --primary: #d32f2f;
    --secondary: #1a237e;
    --dark: #121212;
    --light: #f4f7f6;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background: var(--light); color: var(--dark); line-height: 1.6; overflow-x: hidden; } /* Prevent side-scroll */

/* Navigation */
nav {
    background: var(--white);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky; top: 0; z-index: 1000;
}
.logo-container { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 55px; width: 55px; object-fit: contain; }
.logo-text { font-weight: 800; font-size: 0.9rem; color: var(--secondary); line-height: 1.2; text-transform: uppercase;}

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 18px; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.home-btn { background: var(--secondary); color: white !important; padding: 8px 18px; border-radius: 20px; }

/* Home Slideshow */
.slideshow-container {
    width: 100%;
    height: 75vh;
    background: #000;
    position: relative;
    overflow: hidden;
}
.mySlides { display: none; height: 100%; width: 100%; }
.mySlides img { width: 100%; height: 100%; object-fit: contain; }

/* Global Layout */
.container { max-width: 1100px; margin: 30px auto; padding: 0 20px; }
.card { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 30px; }
h2 { border-left: 5px solid var(--primary); padding-left: 15px; margin-bottom: 20px; color: var(--secondary); }

/* FAQ Grid */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.faq-item { padding: 15px; background: #fafafa; border-radius: 8px; border-bottom: 2px solid #eee; }
.faq-item h4 { color: var(--primary); margin-bottom: 5px; font-size: 0.95rem; }

/* Contact Styling */
.contact-hero { background: linear-gradient(45deg, var(--secondary), var(--primary)); padding: 60px 20px; text-align: center; color: white; }
.contact-card { background: white; padding: 40px; border-radius: 20px; margin-top: -40px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); text-align: center; }
.social-btns { display: flex; gap: 15px; justify-content: center; margin-top: 25px; flex-wrap: wrap; } /* Added wrap for small screens */
.social-btn { text-decoration: none; padding: 12px 25px; border-radius: 30px; color: white; font-weight: bold; }
.fb { background: #1877F2; } .ig { background: #E4405F; }

/* Tables - Added responsive wrapper capability */
table { width: 100%; border-collapse: collapse; margin-top: 15px; display: block; overflow-x: auto; } /* Allows table to scroll on mobile instead of breaking layout */
th, td { border: 1px solid #ddd; padding: 12px; text-align: left; min-width: 120px; }
th { background: var(--secondary); color: white; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; } /* Slightly smaller min-size for mobile */
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; }

/* --- RESPONSIVE FIXES --- */

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 15px;
    }
    
    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-links li {
        margin: 0 10px;
    }

    .slideshow-container {
        height: 40vh; /* Shorter slideshow for phones so content is visible */
    }

    .contact-card {
        padding: 20px;
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .logo-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 15px auto;
    }
    
    .card {
        padding: 20px;
    }
    
    .social-btn {
        width: 100%; /* Stack social buttons on very small phones */
        text-align: center;
    }
}