* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
    max-width: 100vw;
}

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #f59e0b;
    --accent: #ef4444;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #64748b;
}

/* ========== NAVBAR ========== */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 1rem 0;
}
/* Navbar responsive fixes */
.navbar-brand span {
    font-size: 1rem;
    white-space: normal;
    line-height: 1.2;
    max-width: 350px;
}

.navbar-brand img {
    height: 35px;
}

@media (max-width: 1200px) {
    .navbar-brand span {
        font-size: 0.75rem;
        max-width: 300px;
    }
    
    .nav-link {
        padding: 0.5rem 0.5rem !important;
        font-size: 0.85rem;
    }
    
    .navbar-nav {
        gap: 0 !important;
    }
}

@media (max-width: 991px) {
    .navbar-brand {
        display: none !important;
    }
    
    .navbar-brand-media {
        display: flex !important;
        font-weight: 700;
        color: var(--dark) !important;
        align-items: center;
        gap: 0.75rem;
        text-decoration: none !important;
    }
    
    .navbar-brand-media img {
        width: 35px !important;
        height: 35px !important;
    }
    
    .navbar-brand-media span {
        font-size: 0.85rem;
        max-width: 300px;
    }
    
    .navbar-collapse {
        background: white;
        border-radius: 0 0 16px 16px;
        padding: 1rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        margin-top: 0.75rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
    }
    
    .nav-link:hover {
        background: #f0f9ff;
    }
}
.navbar-nav{
    overflow-x: auto !important;
    width: 100% !important;
}
.navbar-brand {
    font-weight: 700;
    color: var(--dark) !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand img { height: 45px; }

.ansap-logo { height: 70px; }

.nav-link {
    color: var(--gray) !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover { color: var(--primary) !important; }

/* ========== BUTTONS ========== */
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 1.5px solid #e2e8f0;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(14, 165, 233, 0.05);
}

/* ========== HERO SECTION ========== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.hero .highlight { color: var(--primary); }

/* ========== STATS ========== */
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
}

/* ========== SECTIONS ========== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* ========== MISSION BOX ========== */
.mission-box {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

/* ========== SERVICE CARDS ========== */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #f0f9ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

/* ========== CONTACT ========== */
.contact-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.contact-item:last-child { border-bottom: none; }

.contact-icon {
    width: 45px;
    height: 45px;
    background: #f0f9ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover { color: white; }

/* ========== MAP ========== */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

/* ========== MOBILE NAV ========== */
.navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
}

.navbar-toggler {
    padding: 0.5rem;
    border: none;
    outline: none;
}

.navbar-toggler:focus { box-shadow: none; }

/* ========== GALLERY ========== */
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* ========== FACILITY CARDS ========== */
.facility-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.facility-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.facility-card .card-body {
    padding: 1.5rem;
}

/* ========== HERO IMAGE ========== */
.hero-image {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ========== CTA BANNER ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: white;
}

.cta-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-banner .btn-white {
    background: white;
    color: var(--primary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-banner .btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    html { overflow-x: hidden !important; }
    
    .navbar-brand-media {
        display: flex !important;
        font-weight: 700;
        color: var(--dark) !important;
        align-items: center;
        gap: 0.75rem;
        text-decoration: none !important;
    }
    
    .navbar-brand { display: none !important; }
    .navbar-brand-media img { width: 35px !important; height: 35px !important; }
    .navbar { padding: 0.75rem 0; }
    
    .navbar-collapse {
        background: white;
        border-radius: 0 0 16px 16px;
        padding: 1rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        margin-top: 0.75rem;
    }
    
    .navbar-nav { gap: 0.5rem; }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
    }
    
    .nav-link:hover { background: #f0f9ff; }
    .hero h1 { font-size: 2rem; }
    .section-title { font-size: 1.75rem; }
    .stat-number { font-size: 1.75rem; }
    .gallery-img { height: 180px; }
    .facility-card img { height: 160px; }
}