    /* ========== RESET & GLOBAL ========== */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html, body {
      overflow-x: hidden;
      width: 100%;
      position: relative;
    }
    body {
      font-family: 'Inter', sans-serif;
      background-color: #ffffff;
    }
    
    /* ========== NAVBAR - OPAQUE WHITE ========== */
    .navbar {
      background: #ffffff !important;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      padding: 12px 0;
      transition: all 0.3s ease;
    }
    .navbar .navbar-brand img {
      border-radius: 12px;
    }
    .navbar-center-text span {
      font-size: 1.3rem;
      font-weight: 700;
      background: linear-gradient(135deg, #1e3c72, #2a5298);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      letter-spacing: -0.3px;
    }
    /* Login button - white background with primary border and text */
    .btn-outline-login {
      background-color: white !important;
      color: #0d6efd !important;
      border: 1.5px solid #0d6efd !important;
      transition: all 0.2s ease;
    }
    .btn-outline-login:hover {
      background-color: #0d6efd !important;
      color: white !important;
    }
    .btn-primary-reg {
      background: linear-gradient(105deg, #0d6efd, #0a58ca);
      border: none;
      color: white;
    }
    .btn-primary-reg:hover {
      background: #0a58ca;
      transform: translateY(-2px);
    }
    .navbar-nav .nav-link {
      font-weight: 500;
      padding: 8px 18px;
    }
    
    /* Hero section - starts directly after navbar (no overlap) */
    .hero-section {
      position: relative;
      width: 100%;
      min-height: 100vh;
      background-image: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 100%), url('https://images.pexels.com/photos/5212687/pexels-photo-5212687.jpeg');
      background-size: cover;
      background-position: center 30%;
      background-repeat: no-repeat;
      display: flex;
      align-items: center;
      margin-top: 0;  /* no negative margin */
      top: 0;
    }
    
    /* Counter cards */
    .stat-card {
      background: white;
      border-radius: 28px;
      transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
      border: 1px solid rgba(0,0,0,0.03);
    }
    .stat-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.12) !important;
    }
    .counter-number {
      font-size: 2.8rem;
      font-weight: 800;
      background: linear-gradient(145deg, #1e2a5e, #2c3e66);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    /* mission bg */
    .bg-light-gradient {
      background: linear-gradient(120deg, #f8faff 0%, #ffffff 100%);
    }
    .mission-card {
      background: white;
      backdrop-filter: blur(2px);
      border-radius: 2rem;
    }
    /* course cards */
    .course-card {
      transition: all 0.3s ease;
      cursor: default;
    }
    .course-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.15) !important;
    }
    .bg-soft-primary { background: rgba(13,110,253,0.1); }
    .bg-soft-success { background: rgba(25,135,84,0.1); }
    .bg-soft-warning { background: rgba(255,193,7,0.1); }
    .bg-soft-danger { background: rgba(220,53,69,0.1); }
    
    /* footer styles */
    .footer-link {
      color: #b9c8ff;
      transition: 0.2s;
    }
    .footer-link:hover {
      color: white;
      padding-left: 6px;
    }
    .social-icon-circle {
      background: rgba(255,255,255,0.08);
      transition: 0.25s;
      color: white;
    }
    .social-icon-circle:hover {
      background: #0d6efd;
      transform: scale(1.05);
    }
    .bg-white-10 {
      background: rgba(255,255,255,0.05);
    }
    /* prevent any horizontal overflow */
    .container, .container-fluid {
      overflow-x: hidden;
    }
    .row {
      margin-left: 0;
      margin-right: 0;
    }
    img, svg, iframe {
      max-width: 100%;
    }
    /* fix for any potential bootstrap row overflow */
    .row > * {
      padding-left: calc(var(--bs-gutter-x) * 0.5);
      padding-right: calc(var(--bs-gutter-x) * 0.5);
    }
    /* navbar scrolled effect (keep opaque though) */
    .navbar-scrolled {
      background: #ffffff !important;
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    /* ULTIMATE FIX - paste at the very end of your style tag */
body {
    overflow-x: hidden !important;
    width: 100% !important;
}

* {
    overflow-x: visible !important;
}

.row, .container, [class*="col-"] {
    overflow-x: visible !important;
}

/* This prevents the vertical scroll flash */
body::-webkit-scrollbar {
    width: 8px;
}

/* Hide the temporary overflow that appears during animations */
@keyframes aos-fix {
    0% { overflow: hidden; }
    100% { overflow: hidden; }
}

[data-aos] {
    animation-name: aos-fix !important;
}




    @media (max-width: 991px) {
      .navbar-nav {
        margin-top: 1rem;
        align-items: center;
      }
      .hero-section {
        background-position: 40% 20%;
      }
      .counter-number {
        font-size: 2.3rem;
      }
    }



    /* Faculty Section Styles */
    .faculty-section {
        background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    }
    
    .faculty-card {
        background: white;
        border-radius: 30px;
        overflow: hidden;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        margin-bottom: 2rem;
    }
    
    .faculty-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    }
    
    .faculty-image-wrapper {
        position: relative;
        padding: 2rem;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 350px;
    }
    
    .faculty-img {
        width: 220px;
        height: 220px;
        border-radius: 50%;
        object-fit: cover;
        border: 5px solid white;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease;
    }
    
    .faculty-card:hover .faculty-img {
        transform: scale(1.02);
    }
    
    .social-links {
        margin-top: 1.5rem;
        display: flex;
        gap: 1rem;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    
    .social-links a:hover {
        background: white;
        color: #667eea;
        transform: translateY(-3px);
    }
    
    .faculty-content {
        padding: 2rem;
    }
    
    .faculty-name {
        font-size: 1.8rem;
        font-weight: 700;
        color: #1a2c4e;
        margin-bottom: 0.5rem;
    }
    
    .faculty-title {
        color: #0d6efd;
        font-weight: 600;
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }
    
    .faculty-qualifications {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .faculty-bio {
        color: #6c7a91;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }
    
    .faculty-stats {
        display: flex;
        gap: 2rem;
        padding-top: 1rem;
        border-top: 2px solid #eef2f9;
    }
    
    .stat {
        text-align: center;
    }
    
    .stat-number {
        display: block;
        font-size: 1.5rem;
        font-weight: 700;
        color: #0d6efd;
    }
    
    .stat-label {
        font-size: 0.75rem;
        color: #8e9aaf;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* Mobile Responsive */
    @media (max-width: 768px) {
        .faculty-card {
            border-radius: 20px;
            margin-bottom: 1.5rem;
        }
        
        .faculty-image-wrapper {
            padding: 1.5rem;
            min-height: auto;
        }
        
        .faculty-img {
            width: 150px;
            height: 150px;
        }
        
        .faculty-content {
            padding: 1.5rem;
            text-align: center;
        }
        
        .faculty-name {
            font-size: 1.4rem;
        }
        
        .faculty-title {
            font-size: 0.85rem;
        }
        
        .faculty-qualifications {
            justify-content: center;
        }
        
        .faculty-bio {
            font-size: 0.9rem;
            text-align: justify;
        }
        
        .faculty-stats {
            justify-content: center;
            gap: 1.5rem;
        }
        
        .stat-number {
            font-size: 1.2rem;
        }
        
        .stat-label {
            font-size: 0.7rem;
        }
        
        .social-links {
            justify-content: center;
        }
    }
    
    /* Tablet Responsive */
    @media (min-width: 769px) and (max-width: 991px) {
        .faculty-img {
            width: 180px;
            height: 180px;
        }
        
        .faculty-name {
            font-size: 1.5rem;
        }
        
        .faculty-bio {
            font-size: 0.9rem;
        }
    }
