/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    font-size: 15px;
}

.container {
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 769px) {
    .top-bar .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    header .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
}

.hero .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

h1, h2, h3, h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #fdfdfd;
}

a {
    text-decoration: none;
    color: #0066cc;
    transition: all 0.3s ease;
}

a:hover {
    color: #004080;
}

.btn {
    display: inline-block;
    background-color: #1a75ff;
    color: white;
    padding: 10px 20px;
    border-radius: 3px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
}

section {
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Top Bar Styles */
.top-bar {
    background-color: #13386c;
    color: white;
    padding: 5px 0;
}

.top-links {
    text-align: right;
    padding-right: 0;
    margin-right: 0;
}

@media (min-width: 769px) {
    .top-links {
        padding-right: 10px;
    }
}

.top-links a {
    color: white;
    font-size: 0.9rem;
    margin-left: 10px;
    margin-right: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.top-links a:hover {
    text-decoration: underline;
    color: #f57c00;
}

.top-links a.active {
    color: #f57c00;
    font-weight: bold;
}

@media (max-width: 768px) {
    .top-bar {
        padding: 6px 0;
    }
    
    .top-links {
        text-align: right;
        padding-right: 5px;
        margin-right: 0;
        margin-top: 0;
    }
    
    .top-links a {
        font-size: 0.7rem;
        margin-left: 8px;
        margin-right: 0;
        padding: 4px 6px;
        border-radius: 3px;
        line-height: 1.2;
        display: inline-block;
        vertical-align: middle;
    }
    
    .top-links a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #f57c00;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    margin-right: 15px;
    margin-left: -15px;
}

@media (min-width: 769px) {
    .logo img {
        margin-left: -10px;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 60px;
        margin-right: 0;
        margin-left: -10px;
    }
}

.logo-text h1 {
    font-size: 1.6rem;
    color: #13386c;
    margin: 0;
}

.logo-text p {
    font-size: 0.9rem;
    color: #666;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #13386c;
    z-index: 1001;
    position: relative;
    width: 24px;
    height: 24px;
}

.menu-toggle i {
    color: #13386c;
    transition: none;
    position: absolute;
    top: 0;
    left: 0;
}

.menu-toggle:hover i {
    color: #13386c;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #13386c;
    font-weight: 500;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #f57c00;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

@media (min-width: 769px) {
    nav ul {
        margin-right: -10px;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
    }
    
    nav::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(255, 255, 255 / 0);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }
    
    nav.active::after {
        opacity: 1;
        visibility: visible;
    }
    
    nav::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 20px;
        width: 250px;
        height: 50px;
        background-image: url('../assets/logo.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left center;
        background-color: transparent;
        z-index: 1001;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
        margin-top: 0px;
    }
    
    nav ul li {
        margin: 0 0 20px 0;
    }
    
    nav ul li a {
        font-size: 18px;
        padding: 10px 0;
        display: block;
        border-bottom: 1px solid #eee;
    }
    
    nav ul li a:after {
        display: none;
    }
}

/* Force mobile navigation for specific devices */
body.force-mobile-nav .menu-toggle {
    display: block !important;
}

body.force-mobile-nav header nav {
    display: block !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
    padding-top: 80px;
    background-color: #fff;
}

body.force-mobile-nav header nav::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: -1;
}

body.force-mobile-nav header nav.active::after {
    opacity: 1;
    visibility: visible;
}

body.force-mobile-nav header nav::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 250px;
    height: 50px;
    background-image: url('../assets/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    background-color: transparent;
    z-index: 1001;
}

body.force-mobile-nav header nav.active {
    right: 0;
}

body.force-mobile-nav header nav ul {
    flex-direction: column !important;
    padding: 20px !important;
    margin-top: 0 !important;
    display: block !important;
}

body.force-mobile-nav header nav ul li {
    margin: 0 0 20px 0 !important;
}

body.force-mobile-nav header nav ul li a {
    font-size: 18px !important;
    padding: 10px 0 !important;
    display: block !important;
    border-bottom: 1px solid #eee !important;
}

body.force-mobile-nav header nav ul li a:after {
    display: none !important;
}

/* Hero Section */
.hero {
    color: white;
    text-align: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.video-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-video.active {
    opacity: 1;
    position: relative;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow-left {
    left: 20px;
}

.nav-arrow-right {
    right: 20px;
}

.video-indicators {
    display: none;
}

.indicator {
    display: none;
}

.indicator.active {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    padding: 0;
    max-width: 100%;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Responsive for Video */
@media screen and (max-width: 768px) {
    .hero-video {
        width: 100%;
        max-width: 100%;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
        background: transparent;
        box-shadow: none;
    }
    
    .nav-arrow:hover {
        background: transparent;
    }
    
    .nav-arrow-left {
        left: 10px;
    }
    
    .nav-arrow-right {
        right: 10px;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 0;
    }
    
    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
        background: transparent;
        box-shadow: none;
    }
    
    .nav-arrow:hover {
        background: transparent;
    }
    
    .nav-arrow-left {
        left: -5px;
    }
    
    .nav-arrow-right {
        right: 5px;
    }
    
    .indicator {
        display: none;
    }
}

/* Important News Section */
.important-news {
    background-color: #f8f8f8;
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Make Important News span full width, no side padding */
.important-news .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.news-content {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 0;
}

.news-label {
    background-color: #13386c;
    color: white;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.news-text {
    flex: 1;
    padding: 12px 20px;
    background-color: #fff;
    overflow: hidden;
    position: relative;
    min-height: 40px;
}

.news-text .highlight {
    color: #dc3545;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
}

.marquee {
    white-space: nowrap;
    position: relative;
    width: 100%;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
    transform: translateX(-1500%);
    }
}

/* Desktop-specific shorter distance for faster repeat without affecting mobile */
@keyframes scrollDesktop {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-500%);
  }
}

/* Desktop-only: reduce trailing spacing so repeat starts immediately */
@media (min-width: 769px) {
  .marquee span {
    padding-right: 500%;
  }
}

.marquee span {
    display: inline-block;
    padding-right: 1500%;
    white-space: nowrap;
}

.marquee:hover {
    animation-play-state: paused;
}


@media (max-width: 768px) {
    .important-news {
        padding: 0;
    }
    
    .news-content {
        flex-direction: row;
        border-radius: 0;
        margin-top: 0;
    }
    
    .news-label {
        width: 30%;
        text-align: center;
        padding: 10px 8px;
        font-size: 0.75rem;
    }
    
    .news-text {
        padding: 10px 8px;
        width: 70%;
    }
    
    .news-text .highlight {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    
}

@media (max-width: 480px) {
    .important-news {
        padding: 0;
    }
    
    .news-content {
        margin-top: 0;
        border-radius: 0;
        flex-direction: row;
    }
    
    .news-label {
        padding: 8px 6px;
        font-size: 0.7rem;
        width: 30%;
    }
    
    .news-text {
        padding: 8px 6px;
        width: 70%;
    }
    
    .news-text .highlight {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    
}

/* About Section */
.about {
    background-color: #fff;
}

/* About Modern (streamlined) */
.about-modern {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-title {
    font-size: 2rem;
    color: #13386c;
    margin-bottom: 10px;
}

.about-subtext {
    color: #555;
    margin-bottom: 18px;
    max-width: 680px;
}

.about-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 12px;
    margin: 16px 0 24px 0;
}

.about-features li {
    background: linear-gradient(180deg, #f8fbff 0%, #f3f7ff 100%);
    border: 1px solid #e6efff;
    border-radius: 10px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #13386c;
}

.about-features i {
    color: #1a75ff;
}

.about-cta {
    margin-top: 4px;
}

.about-modern-left .about-cta + .about-cta {
    margin-left: 10px;
}

/* Keep About CTAs side-by-side on mobile */
.cta-row {
    display: flex;
    align-items: center;
}

.cta-row .about-cta {
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .cta-row {
        gap: 8px;
    }
    .cta-row .about-cta {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cta-row {
        gap: 6px;
    }
    .cta-row .about-cta {
        padding: 7px 12px;
        font-size: 0.85rem;
    }
}

.about-modern-right .about-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.about-card img {
    display: block;
    width: 100%;
    height: auto;
}

.about-card-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 10%, rgba(26,117,255,0.18), transparent 40%),
                radial-gradient(circle at 80% 90%, rgba(255,123,0,0.15), transparent 35%);
    pointer-events: none;
}

@media (max-width: 992px) {
    .about-modern {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .about-title,
    .about-subtext {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .about-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 1.8rem;
        margin-bottom: 14px;
        padding: 0 15px;
    }
    .about-subtext {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 15px;
    }
    .about-features {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* Scholarships Section */
.scholarships {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}

.scholarships::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="scholarships-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%2313376c" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23f57c00" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%2313376c" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23f57c00" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23scholarships-grain)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.scholarships h2 {
    text-align: center;
    margin-bottom: 60px;
    color: #13386c;
    font-size: 2.8rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.scholarships h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #13386c, #f57c00);
    margin: 20px auto 0;
    border-radius: 2px;
}

.scholarship-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .scholarships {
        padding: 60px 0;
    }
    
    .scholarships h2 {
        font-size: 2.2rem;
        margin-bottom: 35px;
        padding: 0 15px;
    }
    
    .scholarships h2::after {
        width: 80px;
        height: 3px;
    }
    
    .scholarship-cards {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
}

.card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid rgba(19, 56, 108, 0.1);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #f57c00, #ff9800, #f57c00);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .card {
        padding: 20px;
        margin: 0 5px;
    }
    
    .card h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .card .category {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .card .amount {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .card .description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    /* Make CTA buttons full-width and easy to tap on phones */
    .card .btn {
        display: block;
        width: 100%;
        text-align: center;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    /* Subtle structure on mobile */
    .card {
        border: 1px solid #eee;
    }
}

.card h3 {
    color: #13386c;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
}

.card h3::before {
    content: '🎓';
    margin-right: 8px;
    font-size: 1.3rem;
}

.card .category {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.card .amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f57c00;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f57c00, #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card .description {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

/* Eligibility Section */
.eligibility {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
}

.eligibility::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="eligibility-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="%23f57c00" opacity="0.1"/><circle cx="70" cy="70" r="1" fill="%2313376c" opacity="0.1"/><circle cx="20" cy="80" r="0.5" fill="%23f57c00" opacity="0.05"/><circle cx="80" cy="20" r="0.5" fill="%2313376c" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23eligibility-grain)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.eligibility h2 {
    text-align: center;
    margin-bottom: 60px;
    color: #13386c;
    font-size: 2.8rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.eligibility h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #13386c, #f57c00);
    margin: 20px auto 0;
    border-radius: 2px;
}

.eligibility-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .eligibility {
        padding: 60px 0;
    }
    
    .eligibility h2 {
        font-size: 2.2rem;
        margin-bottom: 35px;
        padding: 0 15px;
    }
    
    .eligibility h2::after {
        width: 80px;
        height: 3px;
    }
    
    .eligibility-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
}

.eligibility-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(19, 56, 108, 0.1);
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.eligibility-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f57c00, #ff9800, #f57c00);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.eligibility-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
}

.eligibility-item h3 {
    color: #13386c;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.eligibility-item h3::before {
    content: '📋';
    margin-right: 10px;
    font-size: 1.2rem;
}

.eligibility-item ul {
    list-style: none;
    margin-top: 15px;
    padding-left: 0;
    position: relative;
    z-index: 2;
}

.eligibility-item li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
    color: #555;
    font-size: 1.05rem;
    z-index: 2;
}

.eligibility-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f57c00;
    font-weight: bold;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .eligibility-item {
        padding: 25px 20px;
        margin: 0 5px;
    }
    
    .eligibility-item h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .eligibility-item p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .eligibility-item ul {
        margin-top: 12px;
    }
    
    .eligibility-item li {
        font-size: 1rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .eligibility-item {
        padding: 20px 15px;
    }
    
    .eligibility-item h3 {
        font-size: 1.2rem;
    }
    
    .eligibility-item li {
        font-size: 0.95rem;
    }
}

/* Vision Section */
.vision {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}

.vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23f57c00" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%2313376c" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23f57c00" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%2313376c" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.vision h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #13386c;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.vision h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f57c00, #ff9800);
    margin: 15px auto 0;
    border-radius: 2px;
}

.vision-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.vision-content p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #333;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(245, 124, 0, 0.1);
    position: relative;
    font-weight: 500;
}

.vision-content p::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: #f57c00;
    font-family: serif;
    opacity: 0.3;
}

.vision-content p::after {
    content: '"';
    position: absolute;
    bottom: -20px;
    right: 30px;
    font-size: 4rem;
    color: #f57c00;
    font-family: serif;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .vision {
        padding: 60px 0;
    }
    
    .vision h2 {
        font-size: 2.2rem;
        margin-bottom: 35px;
        padding: 0 15px;
    }
    
    .vision h2::after {
        width: 60px;
        height: 3px;
    }
    
    .vision-content {
        padding: 0 15px;
    }
    
    .vision-content p {
        font-size: 1.1rem;
        padding: 35px 25px;
        line-height: 1.7;
    }
    
    .vision-content p::before {
        font-size: 3rem;
        top: -5px;
        left: 20px;
    }
    
    .vision-content p::after {
        font-size: 3rem;
        bottom: -15px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .vision {
        padding: 50px 0;
    }
    
    .vision h2 {
        font-size: 1.9rem;
        margin-bottom: 30px;
    }
    
    .vision-content p {
        font-size: 1rem;
        padding: 30px 20px;
        line-height: 1.6;
    }
    
    .vision-content p::before {
        font-size: 2.5rem;
        top: -3px;
        left: 15px;
    }
    
    .vision-content p::after {
        font-size: 2.5rem;
        bottom: -12px;
        right: 15px;
    }
}

/* Contact Section */
.contact {
    background-color: #f8f8f8;
}

.contact h2 {
    text-align: center;
    margin-bottom: 40px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info, .contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 20px;
    color: #ff6b6b;
}

.contact-info p {
    margin-bottom: 15px;
}

.social-links {
    margin-top: 20px;
}

.social-icon {
    margin-right: 15px;
    font-weight: 500;
}

/* Footer social icon sizes */
.footer-contact .social-icon i {
    font-size: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
    position: relative;
    text-align: center;
}

.footer-content {
    text-align: left;
}



.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* About Column */
.about-column {
    text-align: left;
}

.footer-logo img {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
}

.about-text {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #ccc;
}

.donate-btn {
    background-color: #ffd700;
    color: #000;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.donate-btn:hover {
    background-color: #ffcc00;
    transform: translateY(-2px);
}

.donate-btn i {
    margin-right: 8px;
}

/* Links Column */
.links-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.links-categories-row {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.links-section,
.categories-section {
    flex: 1;
}

.links-section ul,
.categories-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-section li,
.categories-section li {
    margin-bottom: 8px;
}

.links-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.links-section a:hover {
    color: #ffd700;
}

.categories-section li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.categories-section li a:hover {
    color: #ffd700;
}

.categories-section li {
    color: #ccc;
}

/* Contact Column */
.contact-column {
    text-align: left;
}

.address {
    margin-bottom: 15px;
    line-height: 1.5;
}

.email,
.phone {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.email i,
.phone i {
    color: #ffd700;
    width: 16px;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.social-icon {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #ffd700;
    color: #000;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .about-column {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }
    
    .links-categories-row {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .links-categories-row {
        gap: 25px;
    }
    
    .social-icons {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 30px 0 15px;
    }
    
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-logo img {
        width: 60px;
    }
    
    .donate-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .social-icons {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .contact-column {
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }
    
    .hero {
        padding: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 12.5px;
    }
    .logo img {
        height: 55px;
        margin-left: -5px;
    }
    
    .menu-toggle {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }
    
    nav {
        width: 70%;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .card, .eligibility-item, .contact-info, .contact-form {
        padding: 20px;
    }
}

/* Footer-specific smaller text on phones only */
@media (max-width: 480px) {
    .footer-contact {
        font-size: 1px;
    }
    .footer-contact p,
    .footer-contact a {
        font-size: 5px;
    }
}

/* Help Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #13386c 0%, #1e4a7a 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: rgb(255, 0, 0);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    position: relative;
    z-index: 10;
    padding: 5px 10px;
    display: inline-block;
    user-select: none;
}

.close:hover {
    color: #f57c00;
}

.modal-body {
    padding: 30px 25px;
}

.help-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.help-section h4 {
    color: #13386c;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f57c00;
    display: inline-block;
}

.help-section p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.help-section ul {
    list-style: none;
    padding-left: 0;
}

.help-section li {
    color: #555;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.help-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f57c00;
    font-weight: bold;
    font-size: 1.1rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #555;
}

.contact-info i {
    color: #13386c;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact-info strong {
    color: #13386c;
    margin-right: 8px;
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .close {
        font-size: 24px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .help-content {
        gap: 20px;
    }
    
    .help-section h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .help-section p,
    .help-section li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 5% auto;
        width: 98%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .help-content {
        gap: 15px;
    }
    
    .help-section h4 {
        font-size: 1rem;
    }
    
    .help-section p,
    .help-section li {
        font-size: 0.9rem;
    }
}

/* Style about-title links */
.about-title a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 1;
}
.about-title a:hover {
    color: #f57c00;
}

/* Ensure logo link works */
.logo a {
    display: block;
    z-index: 1;
    position: relative;
}

/* Larger social icons on desktop */
@media (min-width: 769px) {
    .footer-contact .social-icon i {
        font-size: 22px;
    }
}

/* WhatsApp floating action button */
.whatsapp-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    z-index: 1002;
}

.whatsapp-fab i {
    font-size: 26px;
}

.whatsapp-fab:hover {
    filter: brightness(0.95);
}

@media (min-width: 769px) {
    .whatsapp-fab {
        right: 24px;
        bottom: 24px;
        width: 58px;
        height: 58px;
    }
    .whatsapp-fab i {
        font-size: 28px;
    }
}

@media (min-width: 992px) {
    .footer-contact .social-icon i {
        font-size: 24px;
    }
}

/* Our Scholars Section */
.our-scholars {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

/* Scholars List Toggle Dropdown */
.scholars-list-toggle {
    text-align: center;
    margin: 40px 0 30px 0;
}

.scholars-dropdown {
    padding: 12px 20px;
    font-size: 1rem;
    border: 2px solid #13386c;
    border-radius: 8px;
    background: #fff;
    color: #13386c;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 200px;
}

.scholars-dropdown:hover {
    background: #13386c;
    color: #fff;
}

.scholars-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(19, 56, 108, 0.2);
}

.our-scholars h2 {
    text-align: center;
    color: #13386c;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.our-scholars h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #13386c, #f57c00);
    border-radius: 2px;
}

/* Statistics Cards */
.scholars-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.scholars-stats .stat-card {
    background: linear-gradient(135deg, #13386c 0%, #1e4a7a 100%);
    color: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(19, 56, 108, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scholars-stats .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(19, 56, 108, 0.4);
}

.scholars-stats .stat-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.scholars-stats .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.scholars-stats .stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Scholars List */
.scholars-list {
    max-width: 1200px;
    margin: 0 auto;
}

.scholars-list h3 {
    color: #13386c;
    font-size: 1.8rem;
    margin: 40px 0 25px 0;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.scholars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.scholar-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.scholar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.scholar-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #13386c;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.scholar-details {
    margin-bottom: 15px;
}

.scholar-details > div {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scholar-details i {
    color: #13386c;
    width: 18px;
    font-size: 0.9rem;
}

.scholar-id,
.scholar-scheme,
.scholar-institution,
.scholar-location {
    word-break: break-word;
}

.scholar-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f57c00;
    text-align: center;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
    margin-top: 15px;
}

.no-scholars {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .our-scholars {
        padding: 50px 0;
    }
    
    .our-scholars h2 {
        font-size: 2rem;
        margin-bottom: 35px;
    }
    
    .scholars-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .scholars-stats .stat-card {
        padding: 25px 20px;
    }
    
    .scholars-stats .stat-icon {
        font-size: 40px;
    }
    
    .scholars-stats .stat-value {
        font-size: 2rem;
    }
    
    .scholars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .scholar-card {
        padding: 20px;
    }
    
    .scholar-name {
        font-size: 1.1rem;
    }
    
    .scholar-amount {
        font-size: 1.3rem;
    }
    
    .scholars-list h3 {
        font-size: 1.5rem;
        margin: 30px 0 20px 0;
    }
}
/* AI Scholarship Details Section */
.ai-section {
    padding: 60px 0;
    background: #f9fbff;
}

.ai-section .container {
    max-width: 900px;
    margin: auto;
}

.ai-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 25px;
    color: #1a237e;
    font-weight: 700;
}

.ai-section h3 {
    margin-top: 25px;
    font-size: 1.3rem;
    color: #0d47a1;
}

.ai-section ul, 
.ai-section ol {
    background: #ffffff;
    padding: 18px 25px;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    line-height: 1.7;
}

.ai-section li {
    margin-bottom: 8px;
    font-size: 1rem;
}

.ai-section p {
    margin-top: 10px;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    line-height: 1.7;
}

/* Improve FAQ style */
.ai-section p strong {
    color: #0d47a1;
    font-size: 1.05rem;
}

/* Better spacing */
.ai-section ol li {
    margin-bottom: 12px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ai-section h2 {
        font-size: 1.6rem;
    }
    .ai-section h3 {
        font-size: 1.2rem;
    }
    .ai-section ul, 
    .ai-section ol, 
    .ai-section p {
        padding: 15px 18px;
    }
}
