:root {
    --gold: #ffc107;
    --jungle: #1b3d2f;
    --dark: #121212;
    --accent: #f39c12;
}

/* --- Global Reset & Base Styles --- */
* { box-sizing: border-box; }

body { 
    font-family: 'Poppins', sans-serif; 
    background-color: #fff; 
    color: #444;
    overflow-x: hidden; 
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar { 
    background: rgba(0,0,0,0.95) !important; 
    padding: 10px 0; 
    border-bottom: 2px solid var(--gold); 
    z-index: 1000;
}
.navbar-brand { 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700; 
    font-size: 1.2rem;
}

/* Premium Hero Section */
.hero-premium {
    min-height: 85vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Black Transparency with Gradient: Upar se halka (40%) aur niche se thoda dark (70%) */
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 0;
}

.hero-premium .container { 
    position: relative;
    z-index: 1; 
}

/* Responsive fix for mobile transparency */
@media (max-width: 768px) {
    .hero-overlay {
        /* Mobile par kabhi-kabhi image kam dikhti hai, isliye thoda aur dark background taaki text clear rahe */
        background: rgba(0, 0, 0, 0.6);
    }
}

/* Typography */
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.2; }
.display-2 { font-size: calc(1.8rem + 2.5vw); font-weight: 800; }
.sub-heading {
    color: var(--gold);
    letter-spacing: 2.5px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    display: block;
}

.section-padding { padding: 80px 0; }

/* Stats Bar (Dark Section) */
.bg-dark h3 { font-size: 1.8rem; margin-bottom: 5px; }
.bg-dark .text-muted { color: #ffffff !important; opacity: 0.9; } /* White color for stats description */
.border-secondary { border-color: rgba(255,255,255,0.1) !important; }

/* Image Effects & Badges */
.image-stack { position: relative; display: block; max-width: 100%; margin: 0 auto; }
.image-stack img { width: 100%; height: auto; object-fit: cover; border-radius: 15px; }

.experience-badge {
    position: absolute; bottom: 20px; left: -15px;
    background: var(--gold); color: #000;
    padding: 12px 18px; font-weight: 800;
    border-radius: 4px; font-size: 0.7rem;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.3);
    z-index: 2;
    text-transform: uppercase;
}

/* Timeline / Milestones */
.fact-card { border-radius: 20px; }
.timeline-item { 
    border-left: 2px dashed rgba(255,193,7,0.4); 
    padding-left: 25px; 
    margin-bottom: 30px; 
    position: relative; 
}
.timeline-item::before {
    content: ''; position: absolute; left: -7px; top: 5px;
    width: 12px; height: 12px; background: var(--gold); border-radius: 50%;
}
.timeline-item h5 { color: var(--gold); margin-bottom: 5px; font-size: 1.1rem; }

/* Cards & Hover Effects */
.card.hover-lift { 
    transition: all 0.3s ease; 
    border: 1px solid rgba(0,0,0,0.05); 
    border-radius: 15px;
}
.card.hover-lift:hover { 
    transform: translateY(-10px); 
    border-color: var(--gold); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* --- THE FINAL RESPONSIVE TABLE SOLUTION --- */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 1.5rem;
}

.table {
    width: 100% !important;
    margin-bottom: 0;
    border-collapse: collapse;
    table-layout: fixed; 
}

.table thead th {
    background-color: var(--jungle);
    color: var(--gold);
    padding: 15px 10px;
    font-size: 0.85rem;
    text-align: center;
    border-bottom: 2px solid var(--gold);
    white-space: normal !important; 
    word-wrap: break-word;
}

.table tbody td {
    padding: 12px 10px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f1f1;
    text-align: center;
    color: #555;
    font-size: 0.85rem;
    white-space: normal !important;
    word-wrap: break-word;
    word-break: break-word;
}

/* Specific Column Widths for Wrapping (Re-added) */
.table th:nth-child(1), .table td:nth-child(1) { width: 25%; }
.table th:nth-child(2), .table td:nth-child(2) { width: 30%; }
.table th:nth-child(3), .table td:nth-child(3) { width: 45%; }

/* Scrollbar Styling */
.table-responsive::-webkit-scrollbar { height: 5px; }
.table-responsive::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

/* --- Media Queries --- */

@media (max-width: 991px) {
    .section-padding { padding: 60px 0; }
    .display-2 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    /* Hero Adjustments */
    .hero-premium { background-attachment: scroll; text-align: center; }
    .hero-premium .d-flex { justify-content: center !important; flex-direction: column; gap: 15px !important; }
    
    /* Stats Section Grid (2 per row) */
    .bg-dark .col-6 { padding: 20px 10px; }
    .bg-dark .border-end:nth-child(2n) { border-right: none !important; }

    /* Layout Adjustments */
    .image-stack { margin-top: 40px; max-width: 95%; }
    .experience-badge { left: 0; bottom: 0; position: relative; display: inline-block; margin-top: -20px; }
    
    .col-lg-6, .col-lg-7, .col-lg-5 { text-align: center; }
    .pe-lg-5 { padding-right: 0 !important; }
    
    /* Border Fixes */
    .border-start { border-start: none !important; border-top: 5px solid var(--gold) !important; text-align: center; }
    
    /* Timeline Mobile Fix */
    .flex-row-reverse { flex-direction: column !important; }
    .timeline-item { padding-left: 20px; text-align: left; }

    /* Table Mobile Force Scroll */
    .table { min-width: 500px; } 
}

@media (max-width: 576px) {
    .display-2 { font-size: 2.2rem; }
    .display-6 { font-size: 1.6rem; }
    .btn-lg { width: 100%; padding: 15px; }
    .content { font-size: 0.95rem; line-height: 1.6; }
    
    .container { padding-left: 20px; padding-right: 20px; }

    /* Table specific widths for small screens */
    .table { min-width: 400px; }
    .table tbody td { font-size: 0.8rem; }
}