/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333333;
    overflow-x: hidden;
    background: #ffffff;
    padding-top: 90px; /* offset for fixed navbar */
    scroll-padding-top: 100px; /* anchor offset */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #333333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #34499B 0%, #4a5bb8 100%);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #34499B 0%, #4a5bb8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 73, 155, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 0, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #34499B;
    border: 2px solid #34499B;
}

.btn-secondary:hover {
    background: #34499B;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #34499B;
    border: 2px solid #34499B;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: #34499B;
    color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid #34499B;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    color: #34499B;
    transform: scale(1.05);
}

.nav-logo i {
    margin-right: 12px;
    font-size: 2.2rem;
    color: #34499B;
    transition: all 0.3s ease;
}

.nav-logo:hover i {
    color: #333333;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 12px;
    margin: 0;
    padding: 0 10px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 14px 18px;
    border-radius: 8px;
    margin: 0 2px;
    overflow: hidden;
    display: inline-block;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 73, 155, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #34499B;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #34499B;
    background: rgba(255, 255, 255, 0.15);
    font-weight: 600;
    border: 2px solid #34499B;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 2px solid #34499B;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 15px 0;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: rgba(52, 73, 155, 0.2);
    color: #34499B;
    border-left-color: #34499B;
    transform: translateX(5px);
}

.dropdown-item i {
    font-size: 1.1rem;
    color: #34499B;
    transition: all 0.3s ease;
}

.dropdown-item:hover i {
    color: #333333;
}

/* Hero Section Styles */
.hero {
    background: #ffffff;
    color: white;
    text-align: center;
    padding: 140px 0 80px; /* extra top space under fixed navbar */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 73, 155, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #333333;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    color: #666666;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(52, 73, 155, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(52, 73, 155, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #34499B;
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #34499B;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #666666;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(52, 73, 155, 0.3);
    position: relative;
}

.hero-graphic i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-graphic img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
}




/* Page Header Styles (for pages that use page-header instead of hero) */
.page-header {
    background: #ffffff;
    color: white;
    text-align: center;
    padding: 140px 0 80px; /* extra top space under fixed navbar */
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 73, 155, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.page-header .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #333333;
}

.page-header p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    color: #666666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.header-stats .stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(52, 73, 155, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(52, 73, 155, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #34499B;
    transform: translateY(-5px);
}

.header-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #34499B;
}

.header-stats .stat-label {
    font-size: 1rem;
    opacity: 0.8;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quick Access Section */
.quick-access {
    padding: 80px 0;
    background: #f8f9fa;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-access-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-access-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.quick-access-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.quick-access-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.quick-access-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Scholarships Section */
.scholarships {
    padding: 80px 0;
    background: white;
}

.scholarship-categories {
    max-width: 1000px;
    margin: 0 auto;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid #667eea;
    background: transparent;
    color: #667eea;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab-btn.active,
.tab-btn:hover {
    background: #667eea;
    color: white;
}

.search-filter-section {
    margin-bottom: 3rem;
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px 0 0 25px;
    font-size: 1rem;
    outline: none;
}

.search-box input:focus {
    border-color: #667eea;
}

.search-btn {
    padding: 15px 25px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #5a6fd8;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    min-width: 150px;
}

.filter-select:focus {
    border-color: #667eea;
}

.scholarships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.scholarship-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.scholarship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.scholarship-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.scholarship-header h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    flex: 1;
    margin-right: 1rem;
}

.scholarship-type {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.scholarship-type.government {
    background: #e3f2fd;
    color: #1976d2;
}

.scholarship-type.foundation {
    background: #f3e5f5;
    color: #7b1fa2;
}

.scholarship-type.university {
    background: #e8f5e8;
    color: #388e3c;
}

.scholarship-type.corporate {
    background: #fff3e0;
    color: #f57c00;
}

.scholarship-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.scholarship-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #888;
}

.scholarship-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Pathways Section */
.pathways {
    padding: 80px 0;
    background: #f8f9fa;
}

.pathways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pathway-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pathway-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pathway-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #34499B 0%, #4a5bb8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.pathway-icon i {
    font-size: 2rem;
    color: white;
}

.pathway-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.pathway-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.pathway-features {
    list-style: none;
    margin-bottom: 1.5rem;
    text-align: left;
}

.pathway-features li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.pathway-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Success Stories Section */
.stories {
    padding: 80px 0;
    background: white;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.story-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.story-image {
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.1);
}

.story-content {
    padding: 1.5rem;
}

.story-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.story-location {
    color: #667eea;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.story-summary {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.story-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f0f0f0;
    color: #666;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Resources Section */
.resources {
    padding: 80px 0;
    background: #f8f9fa;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.resource-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #34499B 0%, #4a5bb8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.resource-icon i {
    font-size: 2rem;
    color: white;
}

.resource-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.resource-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.resource-features {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.resource-features span {
    background: #f0f0f0;
    color: #666;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-graphic {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #34499B 0%, #4a5bb8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.about-graphic i {
    font-size: 6rem;
    color: white;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-item i {
    font-size: 1.2rem;
    color: #667eea;
    width: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #667eea;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #764ba2;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-graphic,
    .about-graphic {
        width: 200px;
        height: 200px;
    }

    .hero-graphic i {
        font-size: 5rem;
    }

    .about-graphic i {
        font-size: 4rem;
    }

    .category-tabs {
        flex-direction: column;
        align-items: center;
    }

    .filters {
        flex-direction: column;
        align-items: center;
    }

    .scholarship-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .quick-access-grid,
    .scholarships-grid,
    .pathways-grid,
    .stories-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-access-card,
.scholarship-card,
.pathway-card,
.story-card,
.resource-card {
    animation: fadeInUp 0.6s ease forwards;
}

.quick-access-card:nth-child(1) { animation-delay: 0.1s; }
.quick-access-card:nth-child(2) { animation-delay: 0.2s; }
.quick-access-card:nth-child(3) { animation-delay: 0.3s; }
.quick-access-card:nth-child(4) { animation-delay: 0.4s; }

.scholarship-card:nth-child(1) { animation-delay: 0.1s; }
.scholarship-card:nth-child(2) { animation-delay: 0.2s; }
.scholarship-card:nth-child(3) { animation-delay: 0.3s; }
.scholarship-card:nth-child(4) { animation-delay: 0.4s; }

.pathway-card:nth-child(1) { animation-delay: 0.1s; }
.pathway-card:nth-child(2) { animation-delay: 0.2s; }
.pathway-card:nth-child(3) { animation-delay: 0.3s; }
.pathway-card:nth-child(4) { animation-delay: 0.4s; }

.story-card:nth-child(1) { animation-delay: 0.1s; }
.story-card:nth-child(2) { animation-delay: 0.2s; }
.story-card:nth-child(3) { animation-delay: 0.3s; }

.resource-card:nth-child(1) { animation-delay: 0.1s; }
.resource-card:nth-child(2) { animation-delay: 0.2s; }
.resource-card:nth-child(3) { animation-delay: 0.3s; }
.resource-card:nth-child(4) { animation-delay: 0.4s; }

/* Page Header Styles */
.page-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #34499B 0%, #4a5bb8 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.header-stats .stat-item {
    text-align: center;
}

.header-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
}

.header-stats .stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Scholarship Categories Section */
.scholarship-categories-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid #667eea;
    background: transparent;
    color: #667eea;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab-btn.active,
.tab-btn:hover {
    background: #667eea;
    color: white;
}

/* Search and Filters Section */
.search-filters-section {
    padding: 40px 0;
    background: white;
}

.search-filter-container {
    max-width: 1000px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px 0 0 25px;
    font-size: 1rem;
    outline: none;
}

.search-box input:focus {
    border-color: #667eea;
}

.search-btn {
    padding: 15px 25px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #5a6fd8;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    min-width: 150px;
}

.filter-select:focus {
    border-color: #667eea;
}

/* Scholarships Grid Section */
.scholarships-grid-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.scholarships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.scholarship-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.scholarship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.scholarship-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.scholarship-header h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    flex: 1;
    margin-right: 1rem;
}

.scholarship-type {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.scholarship-type.government {
    background: #e3f2fd;
    color: #1976d2;
}

.scholarship-type.foundation {
    background: #f3e5f5;
    color: #7b1fa2;
}

.scholarship-type.corporate {
    background: #fff3e0;
    color: #f57c00;
}

.scholarship-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.scholarship-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #888;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.scholarship-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scholarship-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f0f0f0;
    color: #666;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.scholarship-actions {
    display: flex;
    gap: 0.5rem;
}

.scholarship-actions .btn {
    flex: 1;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Loading and No Results */
.error-message {
    text-align: center;
    padding: 60px 20px;
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 10px;
    margin: 20px 0;
}

.error-message i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #dc3545;
}

.error-message h3 {
    margin-bottom: 15px;
    color: #721c24;
}

.error-message p {
    margin: 10px 0;
    color: #721c24;
}

.loading-message {
    text-align: center;
    padding: 60px 20px;
    color: #2c5aa0;
}

.loading-message i {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c5aa0;
}

.loading-message p {
    font-size: 1.1rem;
    color: #666;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #bdc3c7;
}

/* Application Guide Section */
.application-guide-section {
    padding: 80px 0;
    background: #f8fafc;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.step p {
    color: #6b7280;
    line-height: 1.6;
}

/* Loan Comparison Section */
.loan-comparison-section {
    padding: 80px 0;
    background: white;
}

.comparison-table-container {
    overflow-x: auto;
    margin-top: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.loan-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 800px;
}

.loan-comparison-table th,
.loan-comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.loan-comparison-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.loan-comparison-table td {
    color: #374151;
    font-size: 0.95rem;
}

.loan-comparison-table tr:hover {
    background: #f8fafc;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
    }
    
    .loans-hero .hero-stats {
        gap: 40px;
    }
    
    .loans-hero .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .loans-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .loans-hero .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .loan-types-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-steps {
        grid-template-columns: 1fr;
    }
    
    .calculator-container {
        padding: 20px;
    }
    
    .input-with-slider {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .input-with-slider input[type="number"] {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .loans-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .emi-calculator-section .section-title {
        font-size: 2rem;
    }
    
    .calculator-container {
        padding: 15px;
    }
    
    .chart-container {
        height: 250px;
    }
} 

/* Quick Navigation Styles */
.quick-navigation {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid #34499B;
}

.quick-navigation .nav-item {
    position: relative;
}

.quick-navigation .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    color: #333333;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #34499B;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.quick-navigation .nav-link:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
}

.quick-navigation .nav-link:active {
    transform: translateY(-1px);
}

.quick-navigation .nav-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.quick-navigation .nav-link:hover i {
    transform: scale(1.1);
}

/* Responsive adjustments for quick navigation */
@media (max-width: 768px) {
    .quick-navigation {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .quick-navigation .nav-link {
        min-width: 250px;
        justify-content: center;
    }
} 

/* Dropdown Menu Styles */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 2px solid #34499B;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e5e7eb;
    padding: 8px 0;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #3b82f6;
    border-left-color: #3b82f6;
}

.dropdown-item i {
    font-size: 1rem;
    color: #6b7280;
    transition: color 0.2s ease;
}

.dropdown-item:hover i {
    color: #3b82f6;
}

/* Arrow indicator for dropdown */
.nav-item.dropdown .nav-link::after {
    content: '▾';
    margin-left: 6px;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.nav-item.dropdown:hover .nav-link::after {
    transform: rotate(180deg);
}

/* Responsive adjustments for dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        margin-top: 10px;
    }
    
    .dropdown-item {
        padding: 8px 0;
        border-left: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .dropdown-item:hover {
        background: transparent;
        border-bottom-color: #3b82f6;
    }
} 

/* FAQ Section Styles */
.faq-section {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    transition: transform 0.3s ease;
    min-width: 20px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f8fafc;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 15px;
}

.faq-answer ul {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer li {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 8px;
}

.faq-answer li::marker {
    color: #3b82f6;
}

/* Responsive adjustments for FAQ */
@media (max-width: 768px) {
    .faq-question {
        padding: 20px 25px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 25px 20px;
    }
    
    .faq-container {
        margin: 30px auto 0;
    }
} 

/* Loan Comparison Detailed Section */
.loan-comparison-detailed-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

/* Hide any misplaced scheme details in the loan comparison section */
.loan-comparison-detailed-section .scheme-details {
    display: none;
}

.comparison-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 18px 35px;
    border: 2px solid #34499B;
    background: #ffffff;
    color: #666666;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tab-btn:hover {
    border-color: #34499B;
    color: #34499B;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 73, 155, 0.3);
}

.tab-btn.active {
    background: linear-gradient(135deg, #34499B, #4a5bb8);
    color: white;
    border-color: #34499B;
    box-shadow: 0 8px 25px rgba(52, 73, 155, 0.4);
    transform: translateY(-2px);
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.loan-type-details {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid #34499B;
    position: relative;
    overflow: hidden;
}

.loan-type-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #34499B, #4a5bb8, #34499B);
}

.loan-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #34499B;
}

.loan-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #34499B, #4a5bb8);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 12px 35px rgba(52, 73, 155, 0.4);
    position: relative;
}

.loan-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #34499B, #4a5bb8);
    border-radius: 26px;
    z-index: -1;
    opacity: 0.3;
}

.loan-title h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.loan-subtitle {
    font-size: 1.2rem;
    color: #666666;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

.loan-overview {
    margin-bottom: 50px;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.stat {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #34499B;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.stat:hover::before {
    transform: scaleX(1);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.loan-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.features-section {
    background: #f8fafc;
    border-radius: 20px;
    padding: 35px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.features-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: #3b82f6;
}

.features-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e293b;
}

.text-success {
    color: #10b981;
    font-size: 1.4rem;
}

.text-danger {
    color: #ef4444;
    font-size: 1.4rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #374151;
    font-size: 1.05rem;
    line-height: 1.6;
    position: relative;
    padding-left: 35px;
    font-weight: 500;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 16px;
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.2rem;
    background: rgba(59, 130, 246, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.lender-examples h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 30px;
    text-align: center;
}

.lender-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.lender-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lender-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.lender-card:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.lender-card:hover::before {
    transform: scaleX(1);
}

.lender-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    text-align: center;
}

.lender-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rate {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    padding: 12px 16px;
    border-radius: 12px;
    display: inline-block;
    width: fit-content;
    text-align: center;
    margin: 0 auto;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.amount {
    font-size: 1rem;
    color: #64748b;
    font-weight: 600;
    text-align: center;
    background: white;
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .loan-comparison-detailed-section {
        padding: 40px 0;
    }
    
    .comparison-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 320px;
    }
    
    .loan-type-details {
        padding: 30px;
    }
    
    .loan-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .loan-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .loan-title h3 {
        font-size: 1.8rem;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .loan-features {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .lender-cards {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat {
        padding: 25px 20px;
    }
    
    .features-section {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .loan-type-details {
        padding: 25px;
    }
    
    .loan-title h3 {
        font-size: 1.5rem;
    }
    
    .stat {
        padding: 20px 15px;
    }
    
    .lender-card {
        padding: 25px;
    }
    
    .features-section {
        padding: 20px;
    }
}

/* Government Schemes Section */
.government-schemes-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.government-schemes-section .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 50px;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.schemes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.scheme-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    border: 2px solid #34499B;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.scheme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #34499B, #4a5bb8, #34499B);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.scheme-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(52, 73, 155, 0.3);
    border-color: #34499B;
}

.scheme-card:hover::before {
    transform: scaleX(1);
}

.scheme-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.scheme-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #34499B, #4a5bb8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(52, 73, 155, 0.4);
    flex-shrink: 0;
}

.scheme-title h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.scheme-description {
    font-size: 1rem;
    color: #666666;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.scheme-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 16px;
    border: 2px solid #34499B;
}

.highlight-item {
    text-align: center;
    padding: 15px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #34499B;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 73, 155, 0.3);
    border-color: #34499B;
}

.highlight-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #34499B;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #34499B, #4a5bb8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-label {
    font-size: 0.9rem;
    color: #666666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scheme-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    color: #333333;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
}

.feature i {
    color: #34499B;
    font-size: 1.2rem;
    background: rgba(52, 73, 155, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Responsive Design for Government Schemes */
@media (max-width: 768px) {
    .government-schemes-section {
        padding: 40px 0;
    }
    
    .schemes-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .scheme-card {
        padding: 30px;
    }
    
    .scheme-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .scheme-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto;
    }
    
    .scheme-title h3 {
        font-size: 1.3rem;
    }
    
    .scheme-highlight {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }
    
    .highlight-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .scheme-card {
        padding: 25px;
    }
    
    .scheme-title h3 {
        font-size: 1.2rem;
    }
    
    .scheme-highlight {
        padding: 15px;
    }
    
    .highlight-item {
        padding: 12px;
    }
    
    .highlight-number {
        font-size: 1.4rem;
    }
}

/* EMI Calculator Section */
.emi-calculator-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.emi-calculator-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333333;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid #34499B;
    position: relative;
    z-index: 1;
}

/* Calculator Inputs */
.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
}

.input-with-slider {
    display: flex;
    align-items: center;
    gap: 15px;
}

.input-with-slider input[type="number"] {
    width: 120px;
    padding: 12px 15px;
    border: 2px solid #34499B;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #333333;
    background: #f8f9fa;
}

.input-with-slider input[type="number"]:focus {
    outline: none;
    border-color: #34499B;
    box-shadow: 0 0 0 3px rgba(52, 73, 155, 0.3);
}

.formatted-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666666;
    min-width: 80px;
}

/* Slider Styles */
.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #34499B;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #34499B;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(52, 73, 155, 0.4);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #34499B;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(52, 73, 155, 0.4);
}

/* Calculation Results */
.calculation-results {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #34499B;
    margin-top: 20px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item label {
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
}

.result-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}

.monthly-payable .result-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3b82f6;
}

/* Calculator Chart */
.calculator-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.calculator-chart h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chart-legend {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.legend-color.principal {
    background: #3b82f6;
}

.legend-color.interest {
    background: #ef4444;
}

/* Market Insights Section */
.market-insights-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.market-insights-section .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 50px;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.insight-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    border: 2px solid #34499B;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #34499B, #4a5bb8, #34499B);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(52, 73, 155, 0.3);
    border-color: #34499B;
}

.insight-card:hover::before {
    transform: scaleX(1);
}

.insight-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f1f5f9;
}

.insight-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #34499B, #4a5bb8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(52, 73, 155, 0.4);
    flex-shrink: 0;
}

.insight-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.insight-title p {
    font-size: 1rem;
    color: #666666;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.insight-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.highlight-item {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 25px;
    border-radius: 16px;
    border: 2px solid #34499B;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #34499B, #4a5bb8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(52, 73, 155, 0.3);
    border-color: #34499B;
}

.highlight-item:hover::before {
    transform: scaleX(1);
}

.highlight-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #34499B, #4a5bb8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-number.success {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-number.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-number.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-label {
    font-size: 1.1rem;
    color: #666666;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.highlight-period {
    font-size: 0.9rem;
    color: #34499B;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(52, 73, 155, 0.2);
    color: #34499B;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(52, 73, 155, 0.4);
}

/* Responsive Design for Market Insights */
@media (max-width: 768px) {
    .market-insights-section {
        padding: 40px 0;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .insight-card {
        padding: 30px;
    }
    
    .insight-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .insight-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto;
    }
    
    .insight-title h3 {
        font-size: 1.3rem;
    }
    
    .highlight-item {
        padding: 20px;
    }
    
    .highlight-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .insight-card {
        padding: 25px;
    }
    
    .insight-title h3 {
        font-size: 1.2rem;
    }
    
    .highlight-item {
        padding: 15px;
    }
    
    .highlight-number {
        font-size: 1.6rem;
    }
    
    .highlight-label {
        font-size: 1rem;
    }
}

/* Portal Card Styles */
.portal-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #007bff;
    position: relative;
    overflow: hidden;
    grid-column: 1 / -1; /* Make it span the full width of the grid */
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.portal-card .scheme-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.portal-info {
    padding: 1.5rem 0;
}

.portal-description {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.portal-highlights {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.portal-highlights .highlight-item {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.portal-highlights .highlight-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.25rem;
}

.portal-highlights .highlight-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.portal-features {
    margin-bottom: 2rem;
}

.portal-features .feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
}

.portal-features .feature i {
    color: #28a745;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.portal-features .feature span {
    color: #495057;
    font-size: 0.9rem;
}

.portal-action {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.portal-action .btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.portal-action .btn-large i {
    font-size: 1rem;
}

.portal-note {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.portal-note i {
    color: #17a2b8;
}

/* Responsive adjustments for portal card */
@media (max-width: 768px) {
    .portal-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portal-action .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Section Backgrounds - Black and White Theme */
.scholarship-categories-section,
.search-filters-section,
.scholarships-grid-section,
.pathway-section,
.resources-section,
.about-section,
.contact-section,
.faq-section,
.stories-section {
    background: #f8f9fa;
    padding: 80px 0;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Titles - Black and White Theme */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333333;
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #34499B, #4a5bb8);
    border-radius: 2px;
}

/* Section Subtitles */
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 50px;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Styles - Black and White Theme */
.pathway-card,
.scholarship-card,
.resource-card,
.story-card,
.about-card,
.contact-card,
.faq-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid #34499B;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pathway-card::before,
.scholarship-card::before,
.resource-card::before,
.story-card::before,
.about-card::before,
.contact-card::before,
.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #34499B, #4a5bb8, #34499B);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pathway-card:hover::before,
.scholarship-card:hover::before,
.resource-card:hover::before,
.story-card:hover::before,
.about-card:hover::before,
.contact-card:hover::before,
.faq-card:hover::before {
    transform: scaleX(1);
}

.pathway-card:hover,
.scholarship-card:hover,
.resource-card:hover,
.story-card:hover,
.about-card:hover,
.contact-card:hover,
.faq-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(52, 73, 155, 0.3);
    border-color: #34499B;
}

/* Card Content Colors */
.pathway-card h3,
.scholarship-card h3,
.resource-card h3,
.story-card h3,
.about-card h3,
.contact-card h3,
.faq-card h3 {
    color: #333333;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.pathway-card p,
.scholarship-card p,
.resource-card p,
.story-card p,
.about-card p,
.contact-card p,
.faq-card p {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Icon Styles - Black and White Theme */
.pathway-icon,
.scholarship-icon,
.resource-icon,
.story-icon,
.about-icon,
.contact-icon,
.faq-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #34499B, #4a5bb8);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(52, 73, 155, 0.3);
}

/* Grid Layouts */
.pathways-grid,
.scholarships-grid,
.resources-grid,
.stories-grid,
.about-grid,
.contact-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Search and Filter Styles - Black and White Theme */
.search-filter-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    border: 2px solid #34499B;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #34499B;
    border-radius: 12px;
    font-size: 1rem;
    background: #f8f9fa;
    color: #333333;
}

.search-box input::placeholder {
    color: #666666;
}

.search-box input:focus {
    outline: none;
    border-color: #34499B;
    box-shadow: 0 0 0 3px rgba(52, 73, 155, 0.3);
}

.search-btn {
    padding: 15px 20px;
    background: #34499B;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #4a5bb8;
    transform: translateY(-2px);
}

.filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 12px 15px;
    border: 2px solid #34499B;
    border-radius: 8px;
    background: #f8f9fa;
    color: #333333;
    font-size: 0.9rem;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #34499B;
    box-shadow: 0 0 0 3px rgba(52, 73, 155, 0.3);
}

/* Category Tabs - Black and White Theme */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-tabs .tab-btn {
    padding: 15px 25px;
    border: 2px solid #34499B;
    background: #ffffff;
    color: #666666;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tabs .tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #34499B;
    transform: translateY(-3px);
}

.category-tabs .tab-btn.active {
    background: linear-gradient(135deg, #34499B, #4a5bb8);
    color: white;
    box-shadow: 0 8px 25px rgba(52, 73, 155, 0.4);
}

/* List Styles - Black and White Theme */
.pathway-features,
.scholarship-features,
.resource-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pathway-features li,
.scholarship-features li,
.resource-features li {
    padding: 8px 0;
    color: #666666;
    position: relative;
    padding-left: 25px;
}

.pathway-features li::before,
.scholarship-features li::before,
.resource-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #34499B;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .header-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .pathways-grid,
    .scholarships-grid,
    .resources-grid,
    .stories-grid,
    .about-grid,
    .contact-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .search-filter-container {
        padding: 20px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .filters {
        flex-direction: column;
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
}

/* Additional Black and White Theme Elements */

/* Form Elements */
input, textarea, select {
    background: #f8f9fa;
    border: 2px solid #34499B;
    color: #333333;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #34499B;
    box-shadow: 0 0 0 3px rgba(52, 73, 155, 0.3);
}

input::placeholder, textarea::placeholder {
    color: #666666;
}

/* FAQ Specific Styles */
.faq-item {
    background: #ffffff;
    border: 2px solid #34499B;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(52, 73, 155, 0.3);
    transform: translateY(-2px);
}

.faq-question {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(52, 73, 155, 0.1);
}

.faq-question h3 {
    color: #333333;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-toggle {
    color: #34499B;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.faq-answer {
    background: #ffffff;
    padding: 20px;
    color: #666666;
    line-height: 1.6;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Story Card Specific Styles */
.story-card {
    background: #ffffff;
    border: 2px solid #34499B;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(52, 73, 155, 0.3);
}

.story-image {
    position: relative;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #34499B;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.story-content {
    padding: 25px;
}

.story-content h3 {
    color: #333333;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.story-location {
    color: #34499B;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.story-summary {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.story-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(52, 73, 155, 0.2);
    color: #34499B;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(52, 73, 155, 0.3);
}

/* Mission Vision Cards */
.mission-card, .vision-card {
    background: #ffffff;
    border: 2px solid #34499B;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(52, 73, 155, 0.3);
}

.mission-icon, .vision-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #34499B, #4a5bb8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 25px;
    box-shadow: 0 12px 30px rgba(52, 73, 155, 0.3);
}

.mission-card h2, .vision-card h2 {
    color: #333333;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.mission-card p, .vision-card p {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.point {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666666;
}

.point i {
    color: #34499B;
    font-size: 1.1rem;
    background: rgba(52, 73, 155, 0.2);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Form Styles */
.contact-form {
    background: #ffffff;
    border: 2px solid #34499B;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.contact-form h3 {
    color: #333333;
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 600;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: #f8f9fa;
    border: 2px solid #34499B;
    color: #333333;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #34499B;
    box-shadow: 0 0 0 3px rgba(52, 73, 155, 0.3);
}

.submit-btn {
    background: linear-gradient(135deg, #34499B, #4a5bb8);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 73, 155, 0.4);
}

/* Map Controls */
.map-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.map-filter-btn {
    padding: 12px 20px;
    border: 2px solid #34499B;
    background: #ffffff;
    color: #666666;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #34499B;
}

.map-filter-btn.active {
    background: linear-gradient(135deg, #34499B, #4a5bb8);
    color: white;
    box-shadow: 0 8px 25px rgba(52, 73, 155, 0.4);
}

/* India Map Container */
.india-map {
    background: #ffffff;
    border: 2px solid #34499B;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Footer Styles */
.footer {
    background: #ffffff;
    color: #333333;
    padding: 60px 0 30px;
    border-top: 2px solid #34499B;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #34499B;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: #666666;
    line-height: 1.6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #34499B;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34499B;
    color: #666666;
}

/* 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.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #ffffff;
    border: 2px solid #34499B;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(52, 73, 155, 0.5);
    animation: modalSlideIn 0.3s ease-out;
    max-height: 85vh;
    overflow-y: auto;
}

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

.modal-header {
    background: linear-gradient(135deg, #34499B, #4a5bb8);
    color: white;
    padding: 25px 30px;
    border-radius: 18px 18px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.modal-close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    color: #333333;
    background: #ffffff;
    border-radius: 0 0 18px 18px;
}

.modal-body h3 {
    color: #34499B;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.modal-body p {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-body ul {
    color: #666666;
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-body li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.modal-body strong {
    color: #333333;
    font-weight: 600;
}

.eligibility-section, .application-section, .benefits-section {
    background: #f8f9fa;
    border: 1px solid #34499B;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.eligibility-section h4, .application-section h4, .benefits-section h4 {
    color: #34499B;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.amount-highlight {
    background: linear-gradient(135deg, #34499B, #4a5bb8);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin: 15px 0;
    box-shadow: 0 8px 20px rgba(52, 73, 155, 0.3);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 80vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 20px;
    }
}

/* Loans hero alignment tweaks */
.loans-hero .container {
    text-align: center;
}
.loans-hero .hero-content {
    max-width: 820px;
    margin: 0 auto 18px;
}
.loans-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.loans-hero .stat-item {
    min-width: 260px;
}

/* Loans hero base spacing (prevent overlap with fixed header) */
.loans-hero {
    background: #ffffff;
    padding: 140px 0 40px; /* matches page-header top offset */
}
