/* Add this at the top of your CSS file */
* {
    -webkit-tap-highlight-color: transparent; /* Removes blue box on mobile tap */
}

/* =========================================
   VARIABLES
   ========================================= */
:root {
    --bg-gray: #F5F7FA;
    --text-navy: #1F1F3D;
    
    /* Brand Colors */
    --brand-red: #d32f2f;
    --brand-red-dark: #b71c1c;
    
    --text-muted: #666;
    --card-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: var(--text-navy);
}

/* --- ADD THIS BLOCK --- */
#header {
    font-family: 'Roboto', sans-serif;
}

/* =========================================
   HERO LAYOUT
   ========================================= */
.hero-stats-design {
    position: relative;
    background-color: var(--bg-gray);
    padding: 80px 20px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* BACKGROUND IMAGE STYLING */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Behind content */
    opacity: 0.2; /* Full visibility on desktop */
    pointer-events: none;
}

.stats-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1; /* Content sits ABOVE the image */
}

/* =========================================
   LEFT CONTENT
   ========================================= */
.hero-left-content {
    flex: 1;
    max-width: 550px;
    /* Optional shadow for desktop readability over image */
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

/* Badge */
.top-pill {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; padding: 6px 16px 6px 6px;
    border-radius: 50px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}
.icon-circle {
    width: 32px; height: 32px; 
    background: var(--brand-red);
    color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.top-pill span { font-weight: 600; color: var(--text-navy); font-size: 0.9rem; }

/* Heading */
.hero-heading {
    font-size: 3.2rem; font-weight: 700; line-height: 1.2;
    color: var(--text-navy); margin: 0 0 20px 0;
}
.text-underline {
    position: relative; z-index: 1;
}
.text-underline::after {
    content: ''; position: absolute; bottom: 5px; left: 0;
    width: 100%; height: 8px; 
    background: rgba(211, 47, 47, 0.15); /* Soft Brand Red */
    z-index: -1;
}

.hero-description {
    font-size: 1.05rem; color: var(--text-navy);
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Checklist */
.check-list {
    list-style: none; padding: 0; margin: 0 0 40px 0;
    display: flex; flex-direction: column; gap: 15px;
}
.check-list li {
    display: flex; align-items: center; gap: 12px;
    font-size: 1rem; color: #111;
    font-weight: 600;
}
.check-list li i { 
    color: var(--brand-red);
    font-size: 1.2rem; 
}

/* Buttons */
.hero-buttons { display: flex; gap: 20px; }

.btn-primary-gradient {
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
    color: #fff; border-radius: 8px; text-decoration: none; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: transform 0.3s; 
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.25);
    text-shadow: none;
}
.btn-primary-gradient:hover { transform: translateY(-3px); }

.btn-secondary-outline {
    padding: 14px 35px; background: #fff; color: var(--text-navy);
    border: 2px solid var(--text-navy); border-radius: 8px;
    text-decoration: none; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: background 0.3s;
    text-shadow: none;
}
.btn-secondary-outline:hover { background: #f0f0f0; }

/* =========================================
   RIGHT CONTENT (CARD)
   ========================================= */
.hero-right-visual {
    flex: 1; display: flex; justify-content: flex-end;
}

.main-stats-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px; border-radius: 24px;
    box-shadow: var(--card-shadow); max-width: 500px; width: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
}

.card-header { text-align: center; margin-bottom: 30px; }
.card-header h3 { font-size: 1.4rem; color: var(--text-navy); margin: 0 0 5px 0; font-weight: 700; }
.card-header p { font-size: 0.9rem; color: #888; margin: 0; }

.stats-grid-box {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px;
}

.stat-mini-card {
    background: #fff; border: 1px solid #f0f0f0; padding: 20px;
    border-radius: 12px; text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: transform 0.3s;
}
.stat-mini-card:hover { transform: translateY(-5px); border-color: #eee; }

.stat-mini-card h4 { 
    font-size: 1.8rem; 
    color: var(--brand-red);
    margin: 0 0 5px 0; font-weight: 700; 
}
.stat-mini-card span { display: block; font-size: 0.95rem; color: var(--text-navy); font-weight: 600; margin-bottom: 4px; }
.stat-mini-card small { font-size: 0.75rem; color: #888; }

.card-footer-tags { display: flex; gap: 15px; }
.footer-tag {
    flex: 1; background: #faf5f6; padding: 12px; border-radius: 8px;
    font-size: 0.85rem; font-weight: 600; color: #444;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    border-left: 3px solid var(--brand-red);
}
.footer-tag i { color: var(--brand-red); }

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 900px) {
    /* Hide Background Image on Mobile */
    .hero-bg-img {
        display: none; 
    }

    .hero-stats-design {
        padding: 50px 20px;
        background-color: var(--bg-gray); /* Ensures readable background color */
    }

    .stats-container {
        flex-direction: column;
        gap: 50px;
    }

    /* Center Align Text */
    .hero-left-content {
        max-width: 100%;
        text-align: center;
        display: flex; flex-direction: column; align-items: center;
        text-shadow: none; /* Remove text shadow since bg image is gone */
    }

    .hero-heading { font-size: 2.2rem; margin-bottom: 15px; }
    
    .hero-description {
        font-size: 1rem; max-width: 500px;
        margin-left: auto; margin-right: auto;
    }

    .check-list {
        align-items: flex-start;
        display: inline-flex; text-align: left;
    }

    .hero-buttons {
        width: 100%; flex-direction: column; gap: 15px;
    }

    .btn-primary-gradient, .btn-secondary-outline {
        width: 100%;
        box-sizing: border-box;
    }

    .hero-right-visual { width: 100%; justify-content: center; }

    .main-stats-card { padding: 25px; }

    .stats-grid-box { gap: 15px; }

    .stat-mini-card { padding: 15px 10px; }
    .stat-mini-card h4 { font-size: 1.5rem; }
    
    .card-footer-tags { flex-direction: column; }
    .footer-tag { justify-content: flex-start; }
}

/* =========================================
   WHY INDIA: MODERN REDESIGN
   ========================================= */
.why-india-modern {
    padding: 100px 20px;
    background-color: #fff;
    overflow: hidden; /* Prevents sticky overflow issues */
}

.modern-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    position: relative;
}

/* --- LEFT SIDE (Sticky) --- */
.modern-left {
    flex: 1;
    max-width: 450px;
}

.sticky-content {
    position: sticky;
    top: 100px; /* Sticks 100px from top of screen */
}

/* Badge */
.badge-soft {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fef2f2; color: var(--brand-red);
    padding: 8px 16px; border-radius: 50px;
    font-weight: 700; font-size: 0.85rem; text-transform: uppercase;
    margin-bottom: 20px;
}

/* Typography */
.modern-title {
    font-size: 3rem;
    line-height: 1.1;
    color: var(--text-navy);
    margin: 0 0 20px 0;
    font-weight: 800;
}

.text-highlight {
    color: var(--brand-red);
    position: relative;
}
.text-highlight::after {
    content: ''; position: absolute; bottom: 5px; left: 0;
    width: 100%; height: 10px; background: rgba(211, 47, 47, 0.1);
    z-index: -1;
}

.modern-desc {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Image styling */
.left-image-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.left-image-box img {
    width: 100%; height: auto; display: block;
    transition: transform 0.5s;
}

.left-image-box:hover img {
    transform: scale(1.05);
}

.exp-badge {
    position: absolute; bottom: 20px; right: 20px;
    background: #fff; padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border-left: 4px solid var(--brand-red);
}
.exp-badge strong { display: block; font-size: 1.2rem; color: var(--text-navy); }
.exp-badge span { font-size: 0.8rem; color: #666; text-transform: uppercase; }


/* --- RIGHT SIDE (Grid) --- */
.modern-right {
    flex: 1.2;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns on Desktop */
    gap: 30px;
}

.feature-box {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

/* Large Background Number */
.watermark {
    position: absolute;
    top: -10px; right: -10px;
    font-size: 6rem;
    font-weight: 800;
    color: #f3f4f6;
    z-index: 0;
    opacity: 0.5;
    transition: 0.3s;
}

.feature-box:hover .watermark {
    color: #fef2f2; /* Turns faint red on hover */
    opacity: 1;
}

/* Content over watermark */
.icon-square, h3, p {
    position: relative;
    z-index: 1;
}

.icon-square {
    width: 60px; height: 60px;
    background: #fff0f0;
    color: var(--brand-red);
    font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.feature-box:hover .icon-square {
    background: var(--brand-red);
    color: #fff;
}

.feature-box h3 {
    font-size: 1.3rem;
    color: var(--text-navy);
    margin: 0 0 10px 0;
    font-weight: 700;
}

.feature-box p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* --- MOBILE RESPONSIVE (2 CARDS PER ROW) --- */
@media (max-width: 900px) {
    .modern-container {
        flex-direction: column;
        gap: 40px;
    }

    .modern-left {
        max-width: 100%;
        text-align: center;
    }
    
    .modern-title { font-size: 2.2rem; }

    .sticky-content { position: static; } /* Remove sticky on mobile */

    .left-image-box { margin: 0 auto; max-width: 500px; }

    /* GRID UPDATE FOR MOBILE */
    .modern-right {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Force 2 columns side-by-side */
        gap: 15px; /* Tighter gap for small screens */
    }

    /* Compact Card Styling */
    .feature-box {
        padding: 20px 15px;
    }

    .feature-box h3 {
        font-size: 1.1rem;
    }

    .feature-box p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .icon-square {
        width: 45px; height: 45px;
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .watermark {
        font-size: 4rem; /* Smaller number */
    }
}

/* =========================================
   NEW LAYOUT: OVERLAP / DEPTH STYLES
   ========================================= */
.overlap-layout {
    background-color: #f4f6f9;
    padding-bottom: 80px;
}

/* 1. DARK BACKGROUND HEADER */
.overlap-bg {
    background: linear-gradient(135deg, #1F1F3D 0%, #0f0f24 100%); /* Deep Navy */
    padding: 80px 20px 140px 20px; /* Extra bottom padding for overlap */
    text-align: center;
    color: #fff;
}

.ov-header { max-width: 700px; margin: 0 auto; }

.ov-badge {
    background: rgba(255,255,255,0.15); color: #fff;
    padding: 6px 14px; border-radius: 50px;
    font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
    margin-bottom: 20px; display: inline-block;
}

.ov-header h2 { font-size: 3rem; margin: 0 0 15px 0; font-weight: 700; }
.text-light { color: var(--brand-red); } /* Red highlight on dark bg */

.ov-header p { font-size: 1.1rem; opacity: 0.8; line-height: 1.6; }


/* 2. MAIN CONTAINER */
.ov-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    top: -80px; /* PULLS CONTENT UP */
}

/* 3. FLOATING CARDS */
.floating-cards {
    display: flex; gap: 30px;
    margin-bottom: 50px;
}

.float-card {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1); /* Deep Shadow */
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.3s;
}

.float-card:hover { transform: translateY(-10px); }

/* Card Icon Header */
.fc-icon {
    background: var(--brand-red);
    padding: 25px; text-align: center;
}
.icon-dark { background: #2c3e50; }

.fc-icon i { font-size: 2.5rem; color: #fff; }

.fc-content { padding: 30px; flex: 1; }

.fc-content h3 { margin: 0 0 5px 0; font-size: 1.4rem; color: var(--text-navy); }
.fc-sub { color: #888; font-size: 0.9rem; margin: 0 0 25px 0; font-weight: 500; }

/* Stats Row */
.fc-stats {
    display: flex; justify-content: space-between;
    background: #f8f9fa; padding: 15px; border-radius: 10px;
    margin-bottom: 25px; border: 1px solid #eee;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1rem; color: var(--text-navy); }
.stat span { display: block; font-size: 0.75rem; color: #888; text-transform: uppercase; }

/* Details List */
.fc-details p {
    margin: 0 0 10px 0; color: #555; font-size: 0.9rem;
    display: flex; align-items: center; gap: 10px;
}
.fc-details i { color: #27ae60; }

/* Footer Link */
.fc-footer {
    padding: 15px; text-align: center; border-top: 1px solid #f0f0f0; background: #fafafa;
}
.fc-footer a {
    text-decoration: none; color: var(--text-navy); font-weight: 600; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center; gap: 5px;
    transition: 0.3s;
}
.fc-footer a:hover { gap: 10px; color: var(--brand-red); }


/* 4. PROCESS SECTION */
.ov-process {
    background: #fff;
    padding: 40px; border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.proc-header h3 { margin: 0 0 30px 0; color: var(--text-navy); text-align: center; }

.proc-steps { display: flex; align-items: center; justify-content: space-between; }

.p-step { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; }
.p-num {
    width: 40px; height: 40px; background: #fff; border: 2px solid #ddd;
    color: #999; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; transition: 0.3s;
}
.p-step:hover .p-num { border-color: var(--brand-red); color: var(--brand-red); transform: scale(1.1); }

.p-step strong { font-size: 0.9rem; color: var(--text-navy); }

.p-line { flex: 1; height: 2px; background: #eee; margin: 0 10px; position: relative; top: -14px; }


/* 5. SERVICES GRID */
.ov-services {
    background: #fff;
    padding: 40px; border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}
.ov-services h3 { margin: 0 0 30px 0; color: var(--text-navy); display: flex; align-items: center; justify-content: center; gap: 10px; }
.ov-services h3 i { color: var(--brand-red); }

.svc-grid-box {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.s-box {
    padding: 20px; border-radius: 12px;
    background: #fff; border: 1px solid #f0f0f0;
    transition: 0.3s; cursor: default;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.s-box:hover {
    background: #fdf2f2; border-color: #fce8e8; transform: translateY(-3px);
}
.s-box i { font-size: 1.8rem; color: var(--brand-red); opacity: 0.8; }
.s-box span { font-weight: 600; font-size: 0.9rem; color: #444; }


/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .floating-cards { flex-direction: column; }
    
    .proc-steps { flex-direction: column; gap: 20px; align-items: flex-start; }
    .p-line { display: none; } /* Hide lines on mobile */
    .p-step { flex-direction: row; }
    .p-line { height: 100%; width: 2px; top: 0; left: 20px; margin: 0; }
    
    .svc-grid-box { grid-template-columns: repeat(2, 1fr); }
    
    .ov-header h2 { font-size: 2rem; }
    .ov-container { top: -40px; }
}

/* =========================================
   SIMPLE COLLEGE DATA TABLE SECTION - UPDATED
   ========================================= */
.college-data-simple {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.simple-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Section Header */
.section-header-simple {
    text-align: center;
    margin-bottom: 40px;
}

.simple-badge {
    display: inline-block;
    background: var(--brand-red);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.simple-title {
    font-size: 2.2rem;
    color: var(--text-navy);
    margin: 0 0 10px 0;
    font-weight: 700;
}

.simple-subtitle {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Search and Filter Section */
.filter-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.search-bar-simple {
    margin-bottom: 25px;
}

.search-wrapper-simple {
    position: relative;
}

.search-wrapper-simple i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-red);
    font-size: 1.2rem;
}

.search-input-simple {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f8fafc;
    color: var(--text-navy);
}

.search-input-simple:focus {
    outline: none;
    border-color: var(--brand-red);
    background: white;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.1);
}

/* Filter Grid */
.filter-grid-simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.filter-group-simple {
    position: relative;
}

.filter-label-simple {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-label-simple i {
    color: var(--brand-red);
    font-size: 1rem;
}

.filter-select-simple {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s;
    color: var(--text-navy);
    font-weight: 500;
}

.filter-select-simple:hover:not(:disabled) {
    border-color: #cbd5e1;
}

.filter-select-simple:focus {
    outline: none;
    border-color: var(--brand-red);
}

.filter-select-simple:disabled {
    background: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
    border-color: #e2e8f0;
    opacity: 0.7;
}

.filter-group-simple::after {
    content: '\f0d7';
    font-family: 'remixicon' !important;
    position: absolute;
    right: 15px;
    bottom: 12px;
    color: var(--brand-red);
    pointer-events: none;
    font-size: 1rem;
}

.filter-group-simple:has(.filter-select-simple:disabled)::after {
    color: #94a3b8;
}

/* Filter Actions */
.filter-actions-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.result-info {
    font-size: 0.95rem;
    color: #64748b;
}

.result-info strong {
    color: var(--brand-red);
    font-weight: 700;
}

.filter-buttons-simple {
    display: flex;
    gap: 10px;
}

.btn-filter-simple {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-filter-apply {
    background: var(--brand-red);
    color: white;
}

.btn-filter-apply:hover {
    background: var(--brand-red-dark);
    transform: translateY(-2px);
}

.btn-filter-reset {
    background: white;
    color: var(--text-navy);
    border: 2px solid #e2e8f0;
}

.btn-filter-reset:hover {
    background: #f8fafc;
}

/* Simple Data Table */
.table-container-simple {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.table-responsive-simple {
    overflow: auto;
    max-height: 600px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    scroll-behavior: smooth; /* Smooth scrolling */
    will-change: transform; /* Optimize for scrolling */
}

.simple-data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1200px;
    position: relative;
}

/* Fixed Header Styling */
.simple-data-table thead {
    background: linear-gradient(135deg, var(--text-navy) 0%, #2d3b5e 100%);
    position: sticky;
    top: 0;
    z-index: 10;
    transform: translateZ(0); /* Hardware acceleration */
    backface-visibility: hidden; /* Prevent flickering */
}

.simple-data-table th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, var(--text-navy) 0%, #2d3b5e 100%);
    z-index: 11;
}

.simple-data-table th:last-child {
    border-right: none;
}

.simple-data-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.3s;
}

.simple-data-table tbody tr:hover {
    background: #f8fafc;
}

.simple-data-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.simple-data-table tbody tr:nth-child(even):hover {
    background: #f5f5f5;
}

/* =========================================
   TABLE ALIGNMENT, SIZING & WRAPPING
   ========================================= */

/* 1. General Cell Styling (Center-Left Default) */
.simple-data-table td {
    padding: 12px 15px;
    color: #475569;
    font-size: 0.9rem;
    border-right: 1px solid #f1f5f9;
    
    /* ALIGNMENT: Vertical Center, Horizontal Left */
    vertical-align: middle !important; 
    text-align: left;
    
    /* WRAPPING: Allows text to go to next line if content is large */
    white-space: normal !important; 
    line-height: 1.5;
}

/* 2. Specific Column Widths */

/* Sr. No: Centered & Fixed Width */
.col-sr {
    width: 60px;
    min-width: 60px;
    text-align: center !important; /* Forces Center Alignment */
}

/* College Name: Flexible width, Left Aligned */
.col-name-simple {
    width: 30%;
    min-width: 250px;
    font-weight: 600;
    color: var(--text-navy);
}

/* College Code: Left Aligned */
.col-code-simple {
    width: 110px;
    min-width: 110px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--brand-red);
}

/* Address: Flexible width, Left Aligned */
.col-address-simple {
    width: 20%;
    min-width: 180px;
}

/* Est Year: Centered & Fixed Width */
.col-year {
    width: 90px;
    min-width: 90px;
    text-align: center !important; /* Forces Center Alignment */
    font-weight: 600;
}

/* Cutoff & Fee: Left Aligned (as per general rule) */
.col-cutoff {
    width: 150px;
    min-width: 150px;
}

.col-fee {
    width: 170px;
    min-width: 170px;
}

.simple-data-table td:last-child {
    border-right: none;
}

/* Specific column styles */
.col-sr {
    text-align: center;
    font-weight: 700;
    color: var(--text-navy);
    width: 60px;
}

.col-name-simple {
    min-width: 220px;
    font-weight: 600;
    color: var(--text-navy);
}

.col-code-simple {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--brand-red);
    white-space: nowrap;
}

.col-address-simple {
    min-width: 200px;
}

.address-line {
    display: block;
    margin-bottom: 3px;
}

.address-area {
    font-weight: 600;
    color: var(--text-navy);
}

.address-district {
    color: #64748b;
    font-size: 0.9rem;
}

.address-state {
    color: #64748b;
    font-size: 0.9rem;
    font-style: italic;
}

.col-year {
    text-align: center;
    color: var(--text-navy);
    font-weight: 600;
    width: 80px;
}

/* Cutoff Column */
.col-cutoff {
    min-width: 160px;
}

.cutoff-year-simple {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
}

.cutoff-year-simple:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cutoff-value-simple {
    font-weight: 700;
    color: var(--brand-red);
    font-size: 0.95rem;
}

.cutoff-label-simple {
    font-size: 0.85rem;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

/* Fee Column - Simplified */
.col-fee {
    min-width: 160px;
}

.fee-year-simple {
    margin-bottom: 8px;
}

.fee-year-simple:last-child {
    margin-bottom: 0;
}

.fee-amount-simple {
    font-weight: 700;
    color: var(--text-navy);
    font-size: 0.95rem;
}

.fee-year-label {
    font-size: 0.85rem;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

/* Type Badge - Simplified colors */
.type-badge-simple {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-govt-simple {
    background: transparent;
    color: var(--text-navy);
}

.badge-private-simple {
    background: transparent;
    color: var(--text-navy);
}

.badge-deemed-simple {
    background: transparent;
    color: var(--text-navy);
}

/* No Results State */
.no-results-simple {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.no-results-simple i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 15px;
    display: block;
}

.no-results-simple h4 {
    color: var(--text-navy);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Table Footer */
.table-footer-simple {
    background: #f8fafc;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    position: sticky;
    bottom: 0;
    z-index: 5;
}

.pagination-info-simple {
    font-size: 0.9rem;
    color: #64748b;
}

.pagination-info-simple strong {
    color: var(--text-navy);
}

.pagination-controls-simple {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-btn-simple {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--text-navy);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.page-btn-simple:hover:not(:disabled) {
    border-color: var(--brand-red);
    color: var(--brand-red);
}

.page-btn-simple.active {
    background: var(--brand-red);
    color: white;
    border-color: var(--brand-red);
}

.page-btn-simple:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading spinner for filtering */
.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--brand-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scrollbar styling for table */
.table-responsive-simple::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.table-responsive-simple::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.table-responsive-simple::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    transition: background 0.3s;
}

.table-responsive-simple::-webkit-scrollbar-thumb:hover {
    background: var(--brand-red);
}

.table-responsive-simple {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

/* Header section visible when scrolling */
.header-visible {
    position: relative;
    z-index: 20;
    background: white;
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    .filter-grid-simple {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .college-data-simple {
        padding: 40px 15px;
    }
    
    .simple-title {
        font-size: 1.8rem;
    }
    
    .filter-section {
        padding: 20px;
    }
    
    .filter-grid-simple {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .filter-actions-simple {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .filter-buttons-simple {
        justify-content: center;
    }
    
    .simple-data-table th,
    .simple-data-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    .table-footer-simple {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .col-name-simple {
        min-width: 180px;
    }
    
    .col-address-simple {
        min-width: 150px;
    }
    
    .table-responsive-simple {
        max-height: 500px;
    }
}

@media (max-width: 480px) {
    .simple-title {
        font-size: 1.5rem;
    }
    
    .simple-subtitle {
        font-size: 0.9rem;
    }
    
    .search-input-simple {
        padding: 12px 15px 12px 45px;
        font-size: 0.95rem;
    }
    
    .btn-filter-simple {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .simple-data-table th,
    .simple-data-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
}

/* =========================================
   VARIABLES
   ========================================= */
:root {
    --bg-gray: #F5F7FA;
    --text-navy: #1F1F3D;
    
    /* Brand Colors */
    --brand-red: #d32f2f;
    --brand-red-dark: #b71c1c;
    
    --text-muted: #666;
    --card-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: var(--text-navy);
}

/* =========================================
   HERO LAYOUT
   ========================================= */
.hero-stats-design {
    position: relative;
    background-color: var(--bg-gray);
    padding: 80px 20px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* BACKGROUND IMAGE STYLING */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Behind content */
    opacity: 0.2; /* Full visibility on desktop */
    pointer-events: none;
}

.stats-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1; /* Content sits ABOVE the image */
}

/* =========================================
   LEFT CONTENT
   ========================================= */
.hero-left-content {
    flex: 1;
    max-width: 550px;
    /* Optional shadow for desktop readability over image */
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

/* Badge */
.top-pill {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; padding: 6px 16px 6px 6px;
    border-radius: 50px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}
.icon-circle {
    width: 32px; height: 32px; 
    background: var(--brand-red);
    color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.top-pill span { font-weight: 600; color: var(--text-navy); font-size: 0.9rem; }

/* Heading */
.hero-heading {
    font-size: 3.2rem; font-weight: 700; line-height: 1.2;
    color: var(--text-navy); margin: 0 0 20px 0;
}
.text-underline {
    position: relative; z-index: 1;
}
.text-underline::after {
    content: ''; position: absolute; bottom: 5px; left: 0;
    width: 100%; height: 8px; 
    background: rgba(211, 47, 47, 0.15); /* Soft Brand Red */
    z-index: -1;
}

.hero-description {
    font-size: 1.05rem; color: var(--text-navy);
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Checklist */
.check-list {
    list-style: none; padding: 0; margin: 0 0 40px 0;
    display: flex; flex-direction: column; gap: 15px;
}
.check-list li {
    display: flex; align-items: center; gap: 12px;
    font-size: 1rem; color: #111;
    font-weight: 600;
}
.check-list li i { 
    color: var(--brand-red);
    font-size: 1.2rem; 
}

/* Buttons */
.hero-buttons { display: flex; gap: 20px; }

.btn-primary-gradient {
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
    color: #fff; border-radius: 8px; text-decoration: none; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: transform 0.3s; 
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.25);
    text-shadow: none;
}
.btn-primary-gradient:hover { transform: translateY(-3px); }

.btn-secondary-outline {
    padding: 14px 35px; background: #fff; color: var(--text-navy);
    border: 2px solid var(--text-navy); border-radius: 8px;
    text-decoration: none; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: background 0.3s;
    text-shadow: none;
}
.btn-secondary-outline:hover { background: #f0f0f0; }

/* =========================================
   RIGHT CONTENT (CARD)
   ========================================= */
.hero-right-visual {
    flex: 1; display: flex; justify-content: flex-end;
}

.main-stats-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px; border-radius: 24px;
    box-shadow: var(--card-shadow); max-width: 500px; width: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
}

.card-header { text-align: center; margin-bottom: 30px; }
.card-header h3 { font-size: 1.4rem; color: var(--text-navy); margin: 0 0 5px 0; font-weight: 700; }
.card-header p { font-size: 0.9rem; color: #888; margin: 0; }

.stats-grid-box {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px;
}

.stat-mini-card {
    background: #fff; border: 1px solid #f0f0f0; padding: 20px;
    border-radius: 12px; text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: transform 0.3s;
}
.stat-mini-card:hover { transform: translateY(-5px); border-color: #eee; }

.stat-mini-card h4 { 
    font-size: 1.8rem; 
    color: var(--brand-red);
    margin: 0 0 5px 0; font-weight: 700; 
}
.stat-mini-card span { display: block; font-size: 0.95rem; color: var(--text-navy); font-weight: 600; margin-bottom: 4px; }
.stat-mini-card small { font-size: 0.75rem; color: #888; }

.card-footer-tags { display: flex; gap: 15px; }
.footer-tag {
    flex: 1; background: #faf5f6; padding: 12px; border-radius: 8px;
    font-size: 0.85rem; font-weight: 600; color: #444;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    border-left: 3px solid var(--brand-red);
}
.footer-tag i { color: var(--brand-red); }

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 900px) {
    /* Hide Background Image on Mobile */
    .hero-bg-img {
        display: none; 
    }

    .hero-stats-design {
        padding: 50px 20px;
        background-color: var(--bg-gray); /* Ensures readable background color */
    }

    .stats-container {
        flex-direction: column;
        gap: 50px;
    }

    /* Center Align Text */
    .hero-left-content {
        max-width: 100%;
        text-align: center;
        display: flex; flex-direction: column; align-items: center;
        text-shadow: none; /* Remove text shadow since bg image is gone */
    }

    .hero-heading { font-size: 2.2rem; margin-bottom: 15px; }
    
    .hero-description {
        font-size: 1rem; max-width: 500px;
        margin-left: auto; margin-right: auto;
    }

    .check-list {
        align-items: flex-start;
        display: inline-flex; text-align: left;
    }

    .hero-buttons {
        width: 100%; flex-direction: column; gap: 15px;
    }

    .btn-primary-gradient, .btn-secondary-outline {
        width: 100%;
        box-sizing: border-box;
    }

    .hero-right-visual { width: 100%; justify-content: center; }

    .main-stats-card { padding: 25px; }

    .stats-grid-box { gap: 15px; }

    .stat-mini-card { padding: 15px 10px; }
    .stat-mini-card h4 { font-size: 1.5rem; }
    
    .card-footer-tags { flex-direction: column; }
    .footer-tag { justify-content: flex-start; }
}

/* =========================================
   WHY INDIA: MODERN REDESIGN
   ========================================= */
.why-india-modern {
    padding: 100px 20px;
    background-color: #fff;
    overflow: hidden; /* Prevents sticky overflow issues */
}

.modern-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    position: relative;
}

/* --- LEFT SIDE (Sticky) --- */
.modern-left {
    flex: 1;
    max-width: 450px;
}

.sticky-content {
    position: sticky;
    top: 100px; /* Sticks 100px from top of screen */
}

/* Badge */
.badge-soft {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fef2f2; color: var(--brand-red);
    padding: 8px 16px; border-radius: 50px;
    font-weight: 700; font-size: 0.85rem; text-transform: uppercase;
    margin-bottom: 20px;
}

/* Typography */
.modern-title {
    font-size: 3rem;
    line-height: 1.1;
    color: var(--text-navy);
    margin: 0 0 20px 0;
    font-weight: 800;
}

.text-highlight {
    color: var(--brand-red);
    position: relative;
}
.text-highlight::after {
    content: ''; position: absolute; bottom: 5px; left: 0;
    width: 100%; height: 10px; background: rgba(211, 47, 47, 0.1);
    z-index: -1;
}

.modern-desc {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Image styling */
.left-image-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.left-image-box img {
    width: 100%; height: auto; display: block;
    transition: transform 0.5s;
}

.left-image-box:hover img {
    transform: scale(1.05);
}

.exp-badge {
    position: absolute; bottom: 20px; right: 20px;
    background: #fff; padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border-left: 4px solid var(--brand-red);
}
.exp-badge strong { display: block; font-size: 1.2rem; color: var(--text-navy); }
.exp-badge span { font-size: 0.8rem; color: #666; text-transform: uppercase; }


/* --- RIGHT SIDE (Grid) --- */
.modern-right {
    flex: 1.2;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns on Desktop */
    gap: 30px;
}

.feature-box {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

/* Large Background Number */
.watermark {
    position: absolute;
    top: -10px; right: -10px;
    font-size: 6rem;
    font-weight: 800;
    color: #f3f4f6;
    z-index: 0;
    opacity: 0.5;
    transition: 0.3s;
}

.feature-box:hover .watermark {
    color: #fef2f2; /* Turns faint red on hover */
    opacity: 1;
}

/* Content over watermark */
.icon-square, h3, p {
    position: relative;
    z-index: 1;
}

.icon-square {
    width: 60px; height: 60px;
    background: #fff0f0;
    color: var(--brand-red);
    font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.feature-box:hover .icon-square {
    background: var(--brand-red);
    color: #fff;
}

.feature-box h3 {
    font-size: 1.3rem;
    color: var(--text-navy);
    margin: 0 0 10px 0;
    font-weight: 700;
}

.feature-box p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* --- MOBILE RESPONSIVE (2 CARDS PER ROW) --- */
@media (max-width: 900px) {
    .modern-container {
        flex-direction: column;
        gap: 40px;
    }

    .modern-left {
        max-width: 100%;
        text-align: center;
    }
    
    .modern-title { font-size: 2.2rem; }

    .sticky-content { position: static; } /* Remove sticky on mobile */

    .left-image-box { margin: 0 auto; max-width: 500px; }

    /* GRID UPDATE FOR MOBILE */
    .modern-right {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Force 2 columns side-by-side */
        gap: 15px; /* Tighter gap for small screens */
    }

    /* Compact Card Styling */
    .feature-box {
        padding: 20px 15px;
    }

    .feature-box h3 {
        font-size: 1.1rem;
    }

    .feature-box p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .icon-square {
        width: 45px; height: 45px;
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .watermark {
        font-size: 4rem; /* Smaller number */
    }
}

/* =========================================
   NEW LAYOUT: OVERLAP / DEPTH STYLES
   ========================================= */
.overlap-layout {
    background-color: #f4f6f9;
    padding-bottom: 80px;
}

/* 1. DARK BACKGROUND HEADER */
.overlap-bg {
    background: linear-gradient(135deg, #1F1F3D 0%, #0f0f24 100%); /* Deep Navy */
    padding: 80px 20px 140px 20px; /* Extra bottom padding for overlap */
    text-align: center;
    color: #fff;
}

.ov-header { max-width: 700px; margin: 0 auto; }

.ov-badge {
    background: rgba(255,255,255,0.15); color: #fff;
    padding: 6px 14px; border-radius: 50px;
    font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
    margin-bottom: 20px; display: inline-block;
}

.ov-header h2 { font-size: 3rem; margin: 0 0 15px 0; font-weight: 700; }
.text-light { color: var(--brand-red); } /* Red highlight on dark bg */

.ov-header p { font-size: 1.1rem; opacity: 0.8; line-height: 1.6; }


/* 2. MAIN CONTAINER */
.ov-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    top: -80px; /* PULLS CONTENT UP */
}

/* 3. FLOATING CARDS */
.floating-cards {
    display: flex; gap: 30px;
    margin-bottom: 50px;
}

.float-card {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1); /* Deep Shadow */
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.3s;
}

.float-card:hover { transform: translateY(-10px); }

/* Card Icon Header */
.fc-icon {
    background: var(--brand-red);
    padding: 25px; text-align: center;
}
.icon-dark { background: #2c3e50; }

.fc-icon i { font-size: 2.5rem; color: #fff; }

.fc-content { padding: 30px; flex: 1; }

.fc-content h3 { margin: 0 0 5px 0; font-size: 1.4rem; color: var(--text-navy); }
.fc-sub { color: #888; font-size: 0.9rem; margin: 0 0 25px 0; font-weight: 500; }

/* Stats Row */
.fc-stats {
    display: flex; justify-content: space-between;
    background: #f8f9fa; padding: 15px; border-radius: 10px;
    margin-bottom: 25px; border: 1px solid #eee;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1rem; color: var(--text-navy); }
.stat span { display: block; font-size: 0.75rem; color: #888; text-transform: uppercase; }

/* Details List */
.fc-details p {
    margin: 0 0 10px 0; color: #555; font-size: 0.9rem;
    display: flex; align-items: center; gap: 10px;
}
.fc-details i { color: #27ae60; }

/* Footer Link */
.fc-footer {
    padding: 15px; text-align: center; border-top: 1px solid #f0f0f0; background: #fafafa;
}
.fc-footer a {
    text-decoration: none; color: var(--text-navy); font-weight: 600; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center; gap: 5px;
    transition: 0.3s;
}
.fc-footer a:hover { gap: 10px; color: var(--brand-red); }


/* 4. PROCESS SECTION */
.ov-process {
    background: #fff;
    padding: 40px; border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.proc-header h3 { margin: 0 0 30px 0; color: var(--text-navy); text-align: center; }

.proc-steps { display: flex; align-items: center; justify-content: space-between; }

.p-step { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; }
.p-num {
    width: 40px; height: 40px; background: #fff; border: 2px solid #ddd;
    color: #999; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; transition: 0.3s;
}
.p-step:hover .p-num { border-color: var(--brand-red); color: var(--brand-red); transform: scale(1.1); }

.p-step strong { font-size: 0.9rem; color: var(--text-navy); }

.p-line { flex: 1; height: 2px; background: #eee; margin: 0 10px; position: relative; top: -14px; }


/* 5. SERVICES GRID */
.ov-services {
    background: #fff;
    padding: 40px; border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}
.ov-services h3 { margin: 0 0 30px 0; color: var(--text-navy); display: flex; align-items: center; justify-content: center; gap: 10px; }
.ov-services h3 i { color: var(--brand-red); }

.svc-grid-box {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.s-box {
    padding: 20px; border-radius: 12px;
    background: #fff; border: 1px solid #f0f0f0;
    transition: 0.3s; cursor: default;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.s-box:hover {
    background: #fdf2f2; border-color: #fce8e8; transform: translateY(-3px);
}
.s-box i { font-size: 1.8rem; color: var(--brand-red); opacity: 0.8; }
.s-box span { font-weight: 600; font-size: 0.9rem; color: #444; }


/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .floating-cards { flex-direction: column; }
    
    .proc-steps { flex-direction: column; gap: 20px; align-items: flex-start; }
    .p-line { display: none; } /* Hide lines on mobile */
    .p-step { flex-direction: row; }
    .p-line { height: 100%; width: 2px; top: 0; left: 20px; margin: 0; }
    
    .svc-grid-box { grid-template-columns: repeat(2, 1fr); }
    
    .ov-header h2 { font-size: 2rem; }
    .ov-container { top: -40px; }
}

/* =========================================
   SIMPLE COLLEGE DATA TABLE SECTION - UPDATED
   ========================================= */
.college-data-simple {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.simple-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Section Header */
.section-header-simple {
    text-align: center;
    margin-bottom: 40px;
}

.simple-badge {
    display: inline-block;
    background: var(--brand-red);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.simple-title {
    font-size: 2.2rem;
    color: var(--text-navy);
    margin: 0 0 10px 0;
    font-weight: 700;
}

.simple-subtitle {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Search and Filter Section */
.filter-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.search-bar-simple {
    margin-bottom: 25px;
}

.search-wrapper-simple {
    position: relative;
}

.search-wrapper-simple i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-red);
    font-size: 1.2rem;
}

.search-input-simple {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f8fafc;
    color: var(--text-navy);
}

.search-input-simple:focus {
    outline: none;
    border-color: var(--brand-red);
    background: white;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.1);
}

/* Filter Grid */
.filter-grid-simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.filter-group-simple {
    position: relative;
}

.filter-label-simple {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-label-simple i {
    color: var(--brand-red);
    font-size: 1rem;
}

.filter-select-simple {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s;
    color: var(--text-navy);
    font-weight: 500;
}

.filter-select-simple:hover:not(:disabled) {
    border-color: #cbd5e1;
}

.filter-select-simple:focus {
    outline: none;
    border-color: var(--brand-red);
}

.filter-select-simple:disabled {
    background: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
    border-color: #e2e8f0;
    opacity: 0.7;
}

.filter-group-simple::after {
    content: '\f0d7';
    font-family: 'remixicon' !important;
    position: absolute;
    right: 15px;
    bottom: 12px;
    color: var(--brand-red);
    pointer-events: none;
    font-size: 1rem;
}

.filter-group-simple:has(.filter-select-simple:disabled)::after {
    color: #94a3b8;
}

/* Filter Actions */
.filter-actions-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.result-info {
    font-size: 0.95rem;
    color: #64748b;
}

.result-info strong {
    color: var(--brand-red);
    font-weight: 700;
}

.filter-buttons-simple {
    display: flex;
    gap: 10px;
}

.btn-filter-simple {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-filter-apply {
    background: var(--brand-red);
    color: white;
}

.btn-filter-apply:hover {
    background: var(--brand-red-dark);
    transform: translateY(-2px);
}

.btn-filter-reset {
    background: white;
    color: var(--text-navy);
    border: 2px solid #e2e8f0;
}

.btn-filter-reset:hover {
    background: #f8fafc;
}

/* Simple Data Table */
.table-container-simple {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.table-responsive-simple {
    overflow: auto;
    max-height: 600px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    scroll-behavior: smooth; /* Smooth scrolling */
    will-change: transform; /* Optimize for scrolling */
}

.simple-data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1200px;
    position: relative;
}

/* Fixed Header Styling */
.simple-data-table thead {
    background: linear-gradient(135deg, var(--text-navy) 0%, #2d3b5e 100%);
    position: sticky;
    top: 0;
    z-index: 10;
    transform: translateZ(0); /* Hardware acceleration */
    backface-visibility: hidden; /* Prevent flickering */
}

.simple-data-table th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, var(--text-navy) 0%, #2d3b5e 100%);
    z-index: 11;
}

.simple-data-table th:last-child {
    border-right: none;
}

.simple-data-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.3s;
}

.simple-data-table tbody tr:hover {
    background: #f8fafc;
}

.simple-data-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.simple-data-table tbody tr:nth-child(even):hover {
    background: #f5f5f5;
}

.simple-data-table td {
    padding: 16px 15px;
    color: #475569;
    font-size: 0.95rem;
    border-right: 1px solid #f1f5f9;
    vertical-align: top;
}

.simple-data-table td:last-child {
    border-right: none;
}

/* Specific column styles */
.col-sr {
    text-align: center;
    font-weight: 700;
    color: var(--text-navy);
    width: 60px;
}

.col-name-simple {
    min-width: 220px;
    font-weight: 600;
    color: var(--text-navy);
}

.col-code-simple {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--brand-red);
    white-space: nowrap;
}

.col-address-simple {
    min-width: 200px;
}

.address-line {
    display: block;
    margin-bottom: 3px;
}

.address-area {
    font-weight: 600;
    color: var(--text-navy);
}

.address-district {
    color: #64748b;
    font-size: 0.9rem;
}

.address-state {
    color: #64748b;
    font-size: 0.9rem;
    font-style: italic;
}

.col-year {
    text-align: center;
    color: var(--text-navy);
    font-weight: 600;
    width: 80px;
}

/* Cutoff Column */
.col-cutoff {
    min-width: 160px;
}

.cutoff-year-simple {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
}

.cutoff-year-simple:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cutoff-value-simple {
    font-weight: 700;
    color: var(--brand-red);
    font-size: 0.95rem;
}

.cutoff-label-simple {
    font-size: 0.85rem;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

/* Fee Column - Simplified */
.col-fee {
    min-width: 160px;
}

.fee-year-simple {
    margin-bottom: 8px;
}

.fee-year-simple:last-child {
    margin-bottom: 0;
}

.fee-amount-simple {
    font-weight: 700;
    color: var(--text-navy);
    font-size: 0.95rem;
}

.fee-year-label {
    font-size: 0.85rem;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

/* Type Badge - Simplified colors */
.type-badge-simple {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-govt-simple {
    background: transparent;
    color: var(--text-navy);
}

.badge-private-simple {
    background: transparent;
    color: var(--text-navy);
}

.badge-deemed-simple {
    background: transparent;
    color: var(--text-navy);
}

/* No Results State */
.no-results-simple {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.no-results-simple i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 15px;
    display: block;
}

.no-results-simple h4 {
    color: var(--text-navy);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Table Footer */
.table-footer-simple {
    background: #f8fafc;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    position: sticky;
    bottom: 0;
    z-index: 5;
}

.pagination-info-simple {
    font-size: 0.9rem;
    color: #64748b;
}

.pagination-info-simple strong {
    color: var(--text-navy);
}

.pagination-controls-simple {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-btn-simple {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--text-navy);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.page-btn-simple:hover:not(:disabled) {
    border-color: var(--brand-red);
    color: var(--brand-red);
}

.page-btn-simple.active {
    background: var(--brand-red);
    color: white;
    border-color: var(--brand-red);
}

.page-btn-simple:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading spinner for filtering */
.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--brand-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scrollbar styling for table */
.table-responsive-simple::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.table-responsive-simple::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.table-responsive-simple::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    transition: background 0.3s;
}

.table-responsive-simple::-webkit-scrollbar-thumb:hover {
    background: var(--brand-red);
}

.table-responsive-simple {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

/* Header section visible when scrolling */
.header-visible {
    position: relative;
    z-index: 20;
    background: white;
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    .filter-grid-simple {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .college-data-simple {
        padding: 40px 15px;
    }
    
    .simple-title {
        font-size: 1.8rem;
    }
    
    .filter-section {
        padding: 20px;
    }
    
    .filter-grid-simple {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .filter-actions-simple {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .filter-buttons-simple {
        justify-content: center;
    }
    
    .simple-data-table th,
    .simple-data-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    .table-footer-simple {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .col-name-simple {
        min-width: 180px;
    }
    
    .col-address-simple {
        min-width: 150px;
    }
    
    .table-responsive-simple {
        max-height: 500px;
    }
}

@media (max-width: 480px) {
    .simple-title {
        font-size: 1.5rem;
    }
    
    .simple-subtitle {
        font-size: 0.9rem;
    }
    
    .search-input-simple {
        padding: 12px 15px 12px 45px;
        font-size: 0.95rem;
    }
    
    .btn-filter-simple {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .simple-data-table th,
    .simple-data-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
}

/* =========================================
   MOBILE RESPONSIVE COLLEGE TABLE
   ========================================= */

/* Mobile Info Message */
.mobile-info-message {
    display: none;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 0 15px 15px 15px;
    font-size: 0.85rem;
    align-items: center;
    gap: 8px;
}

.mobile-info-message i {
    color: #0ea5e9;
    font-size: 1rem;
    flex-shrink: 0;
}

.mobile-info-message p {
    margin: 0;
    line-height: 1.4;
}

/* Mobile Table View */
.mobile-table-view {
    display: none;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    margin: 0 15px;
}

.mobile-simple-table {
    width: 100%;
    border-collapse: collapse;
}

.mobile-simple-table thead {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-simple-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: var(--text-navy);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mobile-col-sr {
    width: 50px;
    text-align: center;
    color: var(--brand-red);
}

.mobile-col-name {
    padding-left: 0;
}

.mobile-table-row {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s;
    cursor: pointer;
}

.mobile-table-row:hover {
    background-color: #f8fafc;
}

.mobile-table-row:active {
    background-color: #f1f5f9;
}

.mobile-table-row td {
    padding: 14px 15px;
    vertical-align: middle;
}

.mobile-table-row td.mobile-col-sr {
    font-weight: 600;
    color: var(--brand-red);
    font-size: 0.85rem;
    text-align: center;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
}

.mobile-table-row td.mobile-col-name {
    color: var(--text-navy);
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1.3;
    padding-left: 10px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    /* Hide desktop table on mobile */
    .table-responsive-simple {
        display: none;
    }
    
    /* Show mobile table */
    .mobile-table-view {
        display: block;
    }
    
    /* Show mobile message */
    .mobile-info-message {
        display: flex;
    }
    
    /* Adjust table container */
    .table-container-simple {
        padding: 0;
        box-shadow: none;
        border: none;
        background: transparent;
    }
    
    .table-footer-simple {
        margin: 15px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        border: 1px solid #e2e8f0;
    }
    
    /* Hide no results for desktop, show for mobile */
    .no-results-simple {
        margin: 15px;
        background: white;
        border-radius: 8px;
        padding: 30px 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        border: 1px solid #e2e8f0;
    }
    
    /* Adjust filter section for mobile */
    .filter-section {
        margin: 0 15px 15px 15px;
    }
}





/* =========================================
   COMPACT PROFESSIONAL MODAL (POP-UP)
   ========================================= */

/* Overlay - Dimmed Background */
.college-modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.2s ease;
}

.college-modal-overlay.active { display: flex; opacity: 1; }

/* The Modal Card */
.modal-card-compact {
    background: #fff;
    width: 360px; /* Fixed mobile-like width */
    max-width: 90%;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    display: flex; flex-direction: column;
    animation: popUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popUp {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Header */
.compact-header { padding: 20px 20px 15px 20px; background: #fff; border-bottom: 1px solid #f1f5f9; }
.header-top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.meta-badge {
    font-size: 0.7rem; font-weight: 700; color: #64748b;
    background: #f1f5f9; padding: 3px 8px; border-radius: 4px; text-transform: uppercase;
}
.code-badge { background: #fef2f2; color: var(--brand-red); font-family: 'Courier New', monospace; margin-left: 10px; margin-right: auto; }
.close-compact-btn {
    background: transparent; border: none; font-size: 1.4rem; color: #94a3b8; cursor: pointer; padding: 0; line-height: 1;
}
.close-compact-btn:hover { color: var(--brand-red); }
.compact-title { font-size: 1.1rem; font-weight: 700; color: var(--text-navy); margin: 0 0 5px 0; line-height: 1.3; }
.compact-location { font-size: 0.8rem; color: #64748b; margin: 0; display: flex; align-items: center; gap: 5px; }

/* Body */
.compact-body { padding: 0; overflow-y: auto; max-height: 60vh; }
.info-strip {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 20px; background: #f8fafc; border-bottom: 1px solid #e2e8f0;
}
.info-item { text-align: center; flex: 1; }
.info-label { display: block; font-size: 0.65rem; text-transform: uppercase; color: #94a3b8; font-weight: 600; margin-bottom: 2px; }
.info-val { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-navy); }
.info-divider { width: 1px; height: 25px; background: #cbd5e1; }

/* Data Table */
.data-table-container { padding: 15px 20px; }
.data-row {
    display: grid; grid-template-columns: 1.2fr 1fr 1fr;
    padding: 10px 0; border-bottom: 1px solid #f1f5f9; align-items: center;
}
.data-row:last-child { border-bottom: none; }
.header-row { padding-top: 0; padding-bottom: 8px; border-bottom: 2px solid #f1f5f9; }
.col-head { font-size: 0.7rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; }
.col-label { font-size: 0.85rem; color: var(--text-navy); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.icon-red { color: var(--brand-red); font-size: 1rem; }
.col-val { font-size: 0.9rem; color: #334155; font-weight: 500; }
.center { text-align: center; }
.highlight { color: var(--brand-red); font-weight: 700; background: #fef2f2; padding: 2px 0; border-radius: 4px; }

/* Courses */
.compact-section { padding: 0 20px 20px 20px; }
.section-label-sm { display: block; font-size: 0.7rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; margin-bottom: 8px; }
.courses-tags-wrapper { display: flex; flex-wrap: wrap; gap: 6px; }
.tiny-tag {
    font-size: 0.75rem; background: #f1f5f9; color: #475569;
    padding: 4px 10px; border-radius: 50px; font-weight: 500; border: 1px solid #e2e8f0;
}

/* Footer */
.compact-footer { display: grid; grid-template-columns: 1fr 1.2fr; background: #fff; border-top: 1px solid #e2e8f0; }
.action-btn {
    border: none; padding: 16px; font-size: 0.9rem; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: background 0.2s;
}
.whatsapp-btn { background: #fff; color: #25D366; border-right: 1px solid #e2e8f0; }
.whatsapp-btn:hover { background: #f0fdf4; }
.apply-btn { background: var(--brand-red); color: #fff; }
.apply-btn:hover { background: var(--brand-red-dark); }

/* Responsive */
@media (max-width: 900px) {
    .hero-bg-img { display: none; }
    .hero-stats-design { padding: 50px 20px; background-color: var(--bg-gray); }
    .stats-container { flex-direction: column; gap: 50px; }
    .hero-left-content { max-width: 100%; text-align: center; }
    .hero-buttons { width: 100%; flex-direction: column; }
    .overlap-layout .floating-cards { flex-direction: column; }
    .filter-grid-simple { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .table-responsive-simple { display: none; }
    .mobile-table-view { display: block; }
    .mobile-info-message { display: flex; }
    .filter-grid-simple { grid-template-columns: 1fr; }
}

/* =========================================
   UPDATED FILTER SECTION & BADGE
   ========================================= */
.filter-actions-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 15px;
}

.result-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #64748b;
    flex-wrap: wrap; /* Ensures it wraps nicely on small screens */
}

.update-separator {
    color: #cbd5e1;
    font-weight: 300;
}

.data-updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.data-updated-badge i {
    font-size: 1rem;
    color: var(--brand-red);
}

/* =========================================
   UPDATED PAGINATION (Number Between Arrows)
   ========================================= */
.table-footer-simple {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
}

.pagination-range-text {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.pagination-controls-simple {
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-btn-simple {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: white;
    color: var(--text-navy);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.page-btn-simple:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.page-btn-simple:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8fafc;
}

/* The Number Circle in the Middle */
.current-page-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-red);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.2);
}

/* =========================================
   MOBILE RESPONSIVENESS TWEAKS
   ========================================= */
@media (max-width: 900px) {
    .filter-actions-simple {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .result-info {
        width: 100%;
        justify-content: space-between;
        margin-bottom: 5px;
    }
    
    /* Hide the update badge on very small screens if needed, 
       or let it wrap naturally (already handled by flex-wrap) */
}

@media (max-width: 500px) {
    .table-footer-simple {
        flex-direction: column;
        gap: 15px;
    }
    
    .data-updated-badge {
        display: none; /* Optional: Hide update time on very small mobile to save space */
    }
}

/* =========================================
   FIXED MOBILE TEXT (Paste at bottom of CSS)
   ========================================= */
@media (max-width: 768px) {
    
    .filter-actions-simple {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .result-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
        width: 100%;
    }

    /* Force the "Showing X of Y" text to be one line */
    .info-text-group {
        white-space: nowrap !important; /* Prevents text breaking */
        font-size: 0.95rem;
    }

    .update-separator {
        display: none !important;
    }

    .data-updated-badge {
        display: inline-flex !important;
        margin: 0 !important;
        font-size: 0.8rem !important;
        background: #f1f5f9;
        padding: 4px 10px;
        border-radius: 4px;
        white-space: nowrap !important; /* Prevents badge breaking */
    }
}

/* =========================================
   SPLIT HEADER LAYOUT (Left Content / Right Images)
   ========================================= */

.header-split-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
    padding: 20px 0;
}

/* --- LEFT SIDE --- */
.header-left-content {
    flex: 1;
    max-width: 600px;
}

.split-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-navy);
    margin: 0 0 20px 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-red) 0%, #b91c1c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.split-description {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

.split-description strong {
    color: var(--text-navy);
    font-weight: 600;
}

/* Advanced Features Pills */
.advanced-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.af-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 18px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-navy);
    transition: transform 0.2s;
}

.af-item:hover {
    transform: translateY(-2px);
    border-color: var(--brand-red);
}

.af-item i {
    color: var(--brand-red);
    font-size: 1.1rem;
}

/* --- RIGHT SIDE (Collage) --- */
.header-right-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.collage-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Large col | Small col */
    grid-template-rows: 1fr 1fr;      /* Two rows for small images */
    gap: 15px;
    height: 320px;
    width: 100%;
    max-width: 600px;
}

.c-img-box {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.c-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.c-img-box:hover img {
    transform: scale(1.05);
}

/* Grid Placement */
.c-img-box.large {
    grid-column: 1 / 2;
    grid-row: 1 / 3; /* Spans both rows */
}

/* Responsive */
@media (max-width: 900px) {
    .header-split-layout {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .header-left-content {
        margin: 0 auto;
    }

    .advanced-features {
        justify-content: center;
    }

    .header-right-visual {
        justify-content: center;
        width: 100%;
    }

    .collage-grid {
        height: 250px; /* Smaller height on mobile */
    }
    
    .split-title {
        font-size: 2.2rem;
    }
}

/* =========================================
   MOBILE VIEW FIXES
   ========================================= */

@media (max-width: 900px) {
    /* 1. Keep Header Visible but formatted for mobile */
    .header-split-layout {
        display: flex !important; /* Ensures images show */
        flex-direction: column;
        gap: 30px;
    }

    /* 2. Style the Note Box (Blue Box) */
    .mobile-info-message {
        background-color: #e0f2fe; /* Light Blue */
        border: 1px solid #bae6fd;
        color: #0369a1;
        padding: 15px;
        border-radius: 12px;
        margin-bottom: 20px;
        display: flex !important;
        align-items: flex-start;
        gap: 12px;
        font-size: 0.9rem;
        line-height: 1.5;
        
        /* CRITICAL: This ensures when we scroll to the note, it doesn't get hidden behind your top menu */
        scroll-margin-top: 120px; 
    }
    
    .mobile-info-message i {
        font-size: 1.2rem;
        margin-top: 2px;
    }

    /* 3. Filter Card Styling */
    .filter-section {
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        border: 1px solid #e2e8f0;
        background: #fff;
    }
}

