/* ===== Variables & Global Styles ===== */
:root {
    --primary: #1a2a6c;     /* Deep Navy */
    --accent: #f2994a;      /* Amber Gold */
    --light: #f8f9fa;
    --dark: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--white);
    color: var(--dark);
    scroll-behavior: smooth;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.main-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    line-height: 1;
}

.sub-title {
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-btn {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
}

/* ===== Hero Section ===== */
.hero {
    height: 85vh;
    background: url('https://images.unsplash.com/photo-1497633762265-9d179a990aa6?auto=format&fit=crop&w=1500&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
    min-height: 100vh;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 42, 108, 0.9), rgba(1, 1, 1, 0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.badge {
    background: var(--accent);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    flex-direction: column; 
    gap: 15px;   
    width: 249px;
    text-align: center;
    margin: 20px auto;   
}

.btn {
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary { background: var(--accent); color: white; }
.btn-outline { border: 2px solid white; color: white; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(242, 153, 74, 0.4); }

/* ===== Features ===== */
.features { padding: 100px 0; background: var(--light); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--primary); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(26, 42, 108, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

/* ===== Gallery & Motivation Sliders (Common Logic) ===== */
.gallery-slider, .motivation-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.gallery-track, .motivation-wrapper {
    display: flex;
    /* transition: transform 0.4s ease-in-out; */
    transition: transform 0.25s ease;
}

.gallery-item, .mot-card {
    min-width: 100%;
    padding: 10px;
    height: 350px;
    overflow: hidden;
}

.gallery-item img, .mot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Navigation Buttons Fix (Z-Index) */
.prev, .next, .mot-prev, .mot-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 22px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 100; /* Fixed: higher than images */
    transition: 0.3s;
}

.prev, .mot-prev { left: 15px; }
.next, .mot-next { right: 15px; }

/* .prev:hover, .next:hover, .mot-prev:hover, .mot-next:hover { background: var(--accent); } */

/* ===== Motivation Specific ===== */
.motivation {
    padding: 80px 0;
    background: #f5f5f5;
}

/* ===== Contact Section ===== */
.contact-wrapper {
    display: flex;
    background: var(--primary);
    border-radius: 20px;
    overflow: hidden;
    color: white;
}

.contact-info { flex: 1; padding: 60px; }
.info-list { margin-top: 30px; }
.info-link {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.info-link i { color: var(--accent); font-size: 1.5rem; }
.info-link a { color: #ffffff; text-decoration: none; transition: 0.3s ease; }
.info-link a:hover { color: var(--accent); }

/* .contact-map { flex: 1; min-height: 400px; } */
.contact-map {
    width: 100%;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}
.contact-map iframe { width: 100%; height: 350px; border: 0; }

/* ===== WhatsApp & Footer ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.footer {
    background: #111;
    color: #888;
    text-align: center;
    padding: 30px;
}

/* ===== Responsive Styles (Mobile/Tablet) ===== */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px; 
        left: -100%; 
        width: 100%;
        background: white; 
        flex-direction: column; 
        padding: 20px;
        transition: 0.4s ease;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active { left: 0; }
    
    .burger { display: block; cursor: pointer; }
    .burger span {
        display: block;
        width: 25px;
        height: 3px; 
        background: var(--primary);
        margin: 5px; 
        transition: 0.3s;
    }

    /* Burger Animation */
    .burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .burger.active span:nth-child(2) { opacity: 0; }
    .burger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    .hero h1 { font-size: 2.2rem; }

    .contact-wrapper {
        flex-direction: column;
        background: none;
    }

    .contact-info {
        background: var(--primary);
        padding: 40px 25px;
        border-radius: 15px 15px 0 0;
    }

    .contact-map {
        background: var(--white);
        padding: 15px;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    }
}

/* ===== Desktop View (Grid layouts) ===== */
@media (min-width: 768px) {
    .hero { background-attachment: fixed; }

    /* Gallery Grid */
    .gallery-track, .motivation-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        transform: none !important;
    }

    .gallery-item, .mot-card {
        min-width: auto;
        height: 250px;
    }

    /* Hide slider buttons on Desktop */
    .prev, .next, .mot-prev, .mot-next {
        display: none;
    }
}