﻿/* CSS Updated: 2025-11-29 - Modern Bank Website Structure */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Information Bar */
.top-info-bar {
    background: linear-gradient(135deg, #1b3b86 0%, #2c5aa0 100%);
    color: white;
    padding: 8px 0;
    font-size: 13px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.top-info-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left span {
    margin-right: 20px;
    opacity: 0.9;
}

.reg-number {
    color: #f47721 !important;
    font-weight: 600;
    font-size: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.top-left i {
    margin-right: 5px;
    color: #f47721;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-link {
    color: white;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 12px;
}

.top-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f47721;
}

.top-link i {
    margin-right: 5px;
}

.language-selector select {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    display: none;
}

.language-selector select option {
    background: #1b3b86;
    color: white;
    display: none;
}

/* Logo Section */
.logo-section {
    background: white;
    padding: 2px 0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 5px;
}

.main-logo {
    height: 120px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-text h1 {
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    color: #1b3b86;
    line-height: 1.2;
    text-align: center;
}

.logo-text p {
    margin: 8px 0 0 0;
    font-size: 18px;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.kannada-text {
    font-size: 16px;
    color: #1b3b86;
    font-weight: 600;
    margin: 5px 0 0 0;
    text-align: left;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.kannada-reg {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin: 3px 0 0 0;
    text-align: left;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.since-text {
    font-size: 14px;
    color: #f47721;
    font-weight: 600;
    background: rgba(244, 119, 33, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    text-align: left;
    margin-top: 8px;
}

.search-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.search-box {
    display: flex;
    background: #f8f9fa;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.search-box input {
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    background: transparent;
    width: 250px;
    outline: none;
}

.search-box button {
    background: #f47721;
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background: #e56717;
}

.quick-actions {
    display: flex;
    gap: 10px;
}

.quick-btn {
    background: linear-gradient(135deg, #1b3b86, #2c5aa0);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(27, 59, 134, 0.2);
}

.quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(27, 59, 134, 0.3);
}

.quick-btn i {
    margin-right: 5px;
}

/* Main Navigation */
.main-navigation {
    background: linear-gradient(135deg, #1b3b86 0%, #2c5aa0 100%);
    box-shadow: 0 4px 12px rgba(27, 59, 134, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    flex: 1;
}

.nav-link {
    color: white !important;
    text-decoration: none;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
    -webkit-text-fill-color: white !important;
    background: none !important;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: #f47721 !important;
    -webkit-text-fill-color: #f47721 !important;
}

.nav-link i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.has-sub:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.has-sub {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border-radius: 8px;
    border-top: 3px solid #f47721;
    margin-top: 5px;
}

.has-sub:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.menu-category {
    background: #f8f9fa;
    color: #1b3b86;
    font-weight: 600;
    padding: 12px 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e0e0e0;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-category:hover {
    background: #e9ecef;
    color: #f47721;
}

.menu-category span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-icon {
    font-size: 10px;
    transition: transform 0.3s ease;
    color: #f47721;
}

.menu-category.expanded .category-icon {
    transform: rotate(90deg);
}

.category-items {
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 0;
}

.category-items.expanded {
    max-height: 500px;
}

.category-items ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-items ul li {
    border-bottom: 1px solid #f0f0f0;
}

.category-items ul li:last-child {
    border-bottom: none;
}

.sub-menu a {
    color: #333 !important;
    text-decoration: none;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
    transition: all 0.3s ease;
    -webkit-text-fill-color: #333 !important;
    background: none !important;
}

.sub-menu a:hover {
    background: linear-gradient(90deg, rgba(244, 119, 33, 0.1), rgba(27, 59, 134, 0.1));
    color: #1b3b86 !important;
    padding-left: 25px;
    -webkit-text-fill-color: #1b3b86 !important;
}

.sub-menu a i {
    width: 20px;
    color: #f47721;
    margin-right: 12px;
    font-size: 14px;
}

.sub-menu a:hover i {
    color: #1b3b86;
}

/* Nav Actions Button Group */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
}

.net-banking-btn {
    margin-left: 0;
}

.btn-primary {
    background: linear-gradient(45deg, #f47721, #ff6b6b);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(244, 119, 33, 0.3);
    display: block; line-height: 1.8;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 119, 33, 0.4);
}

.btn-primary i {
    font-size: 15px;
}

.btn-admin {
    background: linear-gradient(45deg, #1b3b86, #2c5aa0);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(27, 59, 134, 0.3);
    display: block; line-height: 1.8;
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 59, 134, 0.4);
    background: linear-gradient(45deg, #2c5aa0, #1b3b86);
}

.btn-admin i {
    font-size: 15px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .main-navigation {
        position: relative;
        padding: 10px 0;
    }

    .nav-wrapper {
        position: relative;
        height: 50px;
    }

    .top-info-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-left span {
        margin: 0 10px;
        font-size: 11px;
    }

    .top-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-wrapper {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .logo-container {
        flex-direction: column;
        gap: 15px;
    }

    .main-logo {
        height: 60px;
    }

    .logo-text h1 {
        font-size: 22px;
    }

    .search-section {
        align-items: center;
        width: 100%;
    }

    .search-box input {
        width: 200px;
    }

    .quick-actions {
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: block !important;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
        background: rgba(244, 119, 33, 0.9);
        border: 2px solid white;
        padding: 12px;
        border-radius: 8px;
        min-width: 44px;
        min-height: 44px;
        color: white !important;
        font-size: 24px !important;

    }

    .nav-menu {
        display: flex;
        position: absolute;
        top: 60px;
        left: -15px;
        width: 280px;
        height: calc(100vh - 60px);
        background-color: #1b3b86;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        margin: 0;
        gap: 0;
        padding: 20px 0;
        transition: transform 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu>ul {
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .nav-menu>ul>li {
        width: 100%;
        list-style: none;
    }

    .nav-menu li {
        width: 100%;
        list-style: none;
    }

    .nav-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        width: 100%;
        text-align: left;
        color: white !important;
        text-decoration: none;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        gap: 10px;
    }

    .nav-link i {
        min-width: 16px;
        text-align: center;
    }

    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.1);
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .sub-menu.active {
        max-height: 500px;
    }

    .menu-category {
        background: rgba(0, 0, 0, 0.2);
        color: #f47721;
        padding: 15px 20px;
        font-size: 14px;
        font-weight: 600;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        cursor: pointer;
        user-select: none;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .menu-category:hover {
        background: rgba(0, 0, 0, 0.3);
        color: white;
    }

    .menu-category span {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .category-icon {
        font-size: 12px;
        transition: transform 0.3s ease;
        color: #f47721;
    }

    .menu-category.expanded .category-icon {
        transform: rotate(90deg);
        color: white;
    }

    .category-items {
        overflow: hidden;
        transition: max-height 0.3s ease;
        max-height: 0;
        background: rgba(0, 0, 0, 0.15);
    }

    .category-items.expanded {
        max-height: 500px;
    }

    .category-items ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .category-items ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .category-items ul li:last-child {
        border-bottom: none;
    }

    .sub-menu a {
        color: rgba(255, 255, 255, 0.9);
        padding: 12px 30px;
        font-size: 14px;
        display: flex;
        align-items: center;
        width: 100%;
        text-align: left;
        text-decoration: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        gap: 10px;
    }

    .sub-menu a i {
        min-width: 16px;
        text-align: center;
    }

    .sub-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        padding-left: 35px;
    }

    .sub-menu a i {
        color: #f47721;
        width: 20px;
        margin-right: 12px;
    }

    .sub-menu a:hover i {
        color: white;
    }

    .net-banking-btn,
    .admin-login-btn,
    .nav-actions {
        display: none;
    }

    /* Overlay for mobile menu - REMOVED to prevent scrollbar issues */
    body.nav-open::after {
        display: none;
    }

    body.nav-open {
        overflow: hidden;
        padding-right: 0;
        /* Prevents scrollbar width shift */
    }
}

@media (max-width: 480px) {
    .search-box input {
        width: 216px;
    }

    .quick-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .quick-btn {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }

    .nav-menu {
        width: 250px;
    }
}

/* Page Content */
.page-content {
    background-color: #f5f7fa;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-banner {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    display: none;
}

.slide-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: slideInDown 1s ease-out;
    display: none;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    animation: slideInUp 1s ease-out;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeIn 1.5s ease-out;
}

.btn-hero {
    background: linear-gradient(45deg, #f47721, #ff6b6b);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 119, 33, 0.4);
    display: inline-block;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 119, 33, 0.6);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border: 2px solid white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero-outline:hover {
    background: white;
    color: #1b3b86;
    transform: translateY(-3px);
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(5px);
}

.slider-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-control.prev {
    left: 20px;
}

.slider-control.next {
    right: 20px;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.3);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1b3b86;
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #f47721, #1b3b86);
    border-radius: 2px;
}

.section-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Quick Services Section */
.quick-services {
    padding: 42px 0;
    background: white;
    margin-top: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.service-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(27, 59, 134, 0.15);
    border-color: #f47721;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    background: linear-gradient(135deg, #1b3b86, #2c5aa0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(27, 59, 134, 0.3);
}

.service-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.service-item:hover .service-icon {
    background: linear-gradient(45deg, #f47721, #ff6b6b);
    transform: scale(1.1);
}

.service-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 15px;
}

.service-item p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: #f47721;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #1b3b86;
    gap: 10px;
}

/* Interest Rates Section */
.interest-rates {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.rate-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.rate-card:hover {
    transform: translateY(-5px);
    border-color: #f47721;
    box-shadow: 0 15px 40px rgba(244, 119, 33, 0.2);
}

.rate-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #1b3b86, #2c5aa0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.rate-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 15px;
}

.rate-value {
    font-size: 36px;
    font-weight: 700;
    color: #f47721;
    margin-bottom: 10px;
}

.rate-value span {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.rate-card p {
    color: #666;
    font-size: 14px;
}

.rates-footer {
    text-align: center;
}

.btn-secondary {
    background: linear-gradient(135deg, #1b3b86, #2c5aa0);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 59, 134, 0.3);
}

/* Latest Updates Section */
.latest-updates {
    padding: 80px 0;
    background: white;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.update-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #f47721;
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(27, 59, 134, 0.15);
}

.update-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1b3b86, #2c5aa0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin-bottom: 20px;
    margin-left: 142px;
}

.update-date {
    color: #f47721;
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.update-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 15px;
}

.update-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.update-link {
    color: #f47721;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.update-link:hover {
    color: #1b3b86;
    gap: 10px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    margin-bottom: 30px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #f47721;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.founder-info {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.founder-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 5px;
}

.founder-info p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Quick Actions Section */
.quick-actions-section {
    padding: 80px 0;
    background: white;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.action-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.action-item:hover {
    transform: translateY(-5px);
    border-color: #f47721;
    box-shadow: 0 15px 40px rgba(244, 119, 33, 0.2);
    text-decoration: none;
    color: inherit;
}

.action-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #1b3b86, #2c5aa0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

.action-item:hover .action-icon {
    background: linear-gradient(45deg, #f47721, #ff6b6b);
    transform: scale(1.1);
}

.action-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 10px;
}

.action-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }

    .slide-content h2 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-hero,
    .btn-hero-outline {
        padding: 12px 25px;
        font-size: 14px;
    }

    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slider-control.prev {
        left: 10px;
    }

    .slider-control.next {
        right: 10px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .services-grid,
    .rates-grid,
    .updates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .quick-services,
    .interest-rates,
    .latest-updates,
    .about-section,
    .quick-actions-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }

    .service-item,
    .rate-card,
    .update-card {
        padding: 20px;
    }
}

/* Modern Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #1b3b86 0%, #0f2754 100%);
    color: white;
    padding: 0;
    margin-top: 0;
    position: relative;
}

.footer-main {
    padding: 60px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #f47721;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #f47721;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-logo h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: white;
}

.footer-logo p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-description {
    margin-bottom: 25px;
}

.footer-description p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.social-links h4 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-icon:hover {
    background: #f47721;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(244, 119, 33, 0.4);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #f47721;
    transform: translateX(5px);
}

.footer-links a i {
    width: 16px;
    color: #f47721;
    font-size: 14px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    width: 20px;
    height: 20px;
    color: #f47721;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-details strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.contact-details p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 5px 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
}

.footer-bottom-links a:hover {
    color: #f47721;
    border-bottom-color: #f47721;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #f47721, #ff6b6b);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 119, 33, 0.4);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(244, 119, 33, 0.6);
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-main {
        padding: 40px 0 30px 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .footer-logo img {
        height: 50px;
    }

    .footer-logo h3 {
        font-size: 18px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Fixed Deposit Three Column Layout */
.fd-content {
    display: flex;
    gap: 30px;
    width: 100%;
    align-items: flex-start;
}

.fd-left {
    flex: 0 0 20%;
    max-width: 20%;
}

.fd-middle {
    flex: 0 0 30%;
    max-width: 30%;
    padding: 0 15px;
}

.fd-right {
    flex: 0 0 50%;
    max-width: 50%;
}

.fd-middle p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    margin: 0;
}

@media (max-width: 768px) {
    .fd-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .fd-left,
    .fd-middle,
    .fd-right {
        max-width: 100%;
        flex: none;
        text-align: center;
    }

    .fd-middle {
        padding: 0;
    }
}

/* Surety Loan Content Styling */
.surety-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    margin: 0 0 15px 0;
}

/* Mortgage Loan Content Styling */
.mortgage-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    margin: 0 0 15px 0;
}

/* Vehicle Loan Content Styling */
.vehicle-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    margin: 0 0 10px 0;
}

/* Cash Credit Loan Content Styling */
.cashcredit-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    margin: 0 0 10px 0;
}

.cashcredit-content p strong {
    color: #1b3b86;
    font-weight: bold;
}

/* LIC Loan Content Styling */
.lic-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    margin: 0 0 15px 0;
}

/* Gold Loan Content Styling */
.gold-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    margin: 0 0 15px 0;
}

/* Leave Encashment Loan Content Styling */
.leave-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    margin: 0 0 15px 0;
}

/* Branches Page Styling */
.branches-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.branches-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 20px;
}

.branch-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
    background-color: #fff;
    border: 1px solid #1b3b86;
    border-radius: 2px;
    padding: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.branch-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.branch-left {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: center;
}

.branch-right {
    flex: 0 0 60%;
    max-width: 60%;
}

.bank-img {
    max-width: 90%;
    height: auto;
    max-height: 60px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.branch-card {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: none;
    width: 100%;
    overflow: visible;
}

.branch-card:hover {
    transform: none;
    box-shadow: none;
}

.branch-header {
    background-color: #1b3b86;
    color: white;
    padding: 3px 6px;
    text-align: center;
    border-radius: 1px 1px 0 0;
    margin-bottom: 4px;
}

.branch-header h3 {
    color: white;
    font-size: 11px;
    font-weight: bold;
    margin: 0;
}

.branch-details {
    padding: 0;
    margin-bottom: 4px;
}

.branch-details p {
    font-size: 9px;
    line-height: 1.1;
    color: #333;
    margin: 0 0 3px 0;
    text-align: left;
}

.branch-details p strong {
    color: #1b3b86;
    font-weight: bold;
    display: inline-block;
    min-width: 40px;
}

.branch-actions {
    padding: 0;
    text-align: center;
    margin-bottom: 4px;
}

.location-btn {
    background-color: #f47721;
    color: white;
    border: none;
    border-radius: 1px;
    padding: 2px 4px;
    font-size: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.location-btn:hover {
    background-color: #e56717;
}

.branch-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 2px 6px;
    text-align: center;
    border-radius: 0 0 1px 1px;
}

.branch-name {
    color: #1b3b86;
    font-size: 8px;
    font-weight: bold;
    margin: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .branches-content {
        gap: 15px;
    }

    .branches-grid {
        gap: 15px;
        padding: 0 10px;
    }

    .branch-row {
        flex-direction: column;
        gap: 15px;
        padding: 12px;
    }

    .branch-left,
    .branch-right {
        flex: 1;
        max-width: 100%;
    }

    .branch-left {
        text-align: center;
    }

    .branch-header {
        padding: 8px 12px;
    }

    .branch-header h3 {
        font-size: 14px;
    }

    .branch-details p {
        font-size: 11px;
    }

    .location-btn {
        padding: 5px 10px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .branches-grid {
        padding: 0 5px;
    }

    .branch-row {
        gap: 12px;
        padding: 10px;
    }

    .branch-header {
        padding: 6px 10px;
    }

    .branch-header h3 {
        font-size: 13px;
    }

    .branch-details p {
        font-size: 10px;
    }

    .branch-details p strong {
        min-width: 45px;
    }
}

.gold-features {
    margin-top: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.gold-features h3 {
    color: #1b3b86;
    font-size: 18px;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.gold-features ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.gold-features ul li {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin: 0 0 8px 0;
    padding-left: 25px;
    position: relative;
}

.gold-features ul li:before {
    content: "â€¢";
    color: #f47721;
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 0;
}

.gold-features ul li:last-child {
    margin-bottom: 0;
}

.requirements-list {
    margin-top: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.requirements-list h3 {
    color: #1b3b86;
    font-size: 18px;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.requirements-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.requirements-list ul li {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin: 0 0 8px 0;
    padding-left: 25px;
    position: relative;
}

.requirements-list ul li:before {
    content: "â€¢";
    color: #f47721;
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 0;
}

.requirements-list ul li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {

    .gold-features,
    .requirements-list {
        padding: 15px;
        margin-top: 15px;
    }

    .gold-features h3,
    .requirements-list h3 {
        font-size: 16px;
    }

    .gold-features ul li,
    .requirements-list ul li {
        font-size: 14px;
    }
}

/* Interest Rate Shadow Box with Individual Borders */
.interest-box {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.interest-box p {
    font-size: 18px;
    font-weight: bold;
    color: #1b3b86;
    margin: 0;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.interest-box p:last-child {
    border-bottom: none;
}

.interest-box p strong {
    color: black !important;
}

@media (max-width: 768px) {
    .interest-box {
        margin-top: 15px;
        padding: 15px;
    }

    .interest-box p {
        font-size: 16px;
        padding: 8px;
    }
}

.nav-search {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.nav-search input {
    height: 25px;
    border-radius: 3px 0 0 3px;
    border: none;
    padding: 0 6px;
    width: 120px;
    font-size: 12px;
}

.nav-search button {
    height: 25px;
    border-radius: 0 3px 3px 0;
    border: none;
    background-color: #f47721;
    color: #fff;
    cursor: pointer;
    padding: 0 8px;
    font-size: 12px;
}

.page-content {
    padding: 20px 20px 60px 20px;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

main {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Home layout without !important rules */
section.home-layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
}

section.home-layout>section {
    flex: 0 0 70%;
    max-width: 70%;
    flex: 0 0 70% !important;
    max-width: 70% !important;
    order: 2;
    overflow-x: hidden;
    box-sizing: border-box;
}

section.home-layout>aside {
    flex: 0 0 30% !important;
    max-width: 30% !important;
    order: 1;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Ensure card doesn't interfere with flex layout */
section.home-layout>aside.card {
    flex: 0 0 30% !important;
    max-width: 30% !important;
    margin: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Core Fix - Home Layout */
.home-layout {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-bottom: 20px;
}

/* Core Fix - Banner Slider */
#home-slider {
    position: relative;
    width: 100%;
    min-height: 220px;
    overflow: hidden;
    background-color: #f8f3d6;
    border: 1px solid #e0d7a0;
    border-radius: 8px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

/* Core Fix - Latest News */
.latest-news {
    width: 100%;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

/* Mobile navigation width fixes */
@media (max-width: 768px) {
    .top-strip {
        padding: 4px 15px;
        /* Reduced padding for mobile */
    }

    .logo-bar {
        padding: 10px 15px;
        /* Reduced padding for mobile */
    }

    .logo-circle {
        width: 100px;
        /* Smaller logo for mobile */
        height: 100px;
    }

    .main-nav {
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
        position: relative;
        padding: 0 15px;
        /* Ensure proper padding */
    }

    .main-nav .container {
        width: 100%;
        padding: 0 15px;
        min-height: 60px;
    }

    .nav-wrapper {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-brand {
        font-size: 18px;
        padding: 10px 0;
        min-height: 40px;
        text-align: center;
        margin-bottom: 10px;
    }

    /*
    .nav-menu {
        width: 100%;
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
        align-items: stretch;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 500px;
        overflow-y: auto;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li a {
        padding: 15px 20px;
        text-align: left;
        width: 100%;
        display: block;
    }
    */

    .mobile-menu-toggle {
        position: absolute;
        top: 15px;
        left: 15px;
        z-index: 1001;
    }

    /* Removed problematic overflow-x rule */

    .page-content {
        padding: 20px 15px 60px 15px;
        overflow-x: hidden;
    }
}

@media (max-width: 767px) {
    .latest-news {
        width: 100%;
        max-width: 100%;
        margin: 15px auto;
        min-height: 250px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        background-color: #fff;
    }

    .latest-news-header {
        background-color: #1b3b86;
        color: #fff;
        padding: 12px 16px;
        font-size: 16px;
        font-weight: 600;
        margin: 0;
        border-bottom: none;
    }

    .news-viewport {
        height: 180px;
        background-color: #fff;
        padding: 0;
    }

    .news-item {
        padding: 12px 16px;
        font-size: 14px;
        color: #333;
        border-bottom: 1px solid #f0f0f0;
        background-color: #fff;
        min-height: 40px;
        display: flex;
        align-items: center;
    }

    .news-item:last-child {
        border-bottom: none;
    }
}

/* MOBILE BANNER FIX - MOST IMPORTANT */
@media (max-width: 768px) {
    #home-slider {
        position: relative;
        width: 100%;
        height: 200px;
        /* FORCE height */
        min-height: 200px;
    }

    #home-slider .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Correct mobile home layout ordering */
    .home-layout {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        /* Center items */
    }

    .home-layout>section,
    .home-layout>aside {
        max-width: 100%;
        width: 100%;
        order: unset;
    }

    /* Reduce page-content padding for more width */
    .page-content {
        padding: 20px 5px 60px 5px;
        /* Reduced side padding from 40px to 5px */
    }

    /* Make Latest News centered with proper width */
    .latest-news {
        width: 100%;
        height: 100%;
        /* Full width on mobile */
        /* Remove max-width restriction */
        margin: 0;
        /* Remove margin to use full width */

        /* Ensure minimum height */
        padding: 0;
        /* Remove padding to maximize width */
    }

    .news-viewport {
        width: 100%;
        height: 180px;
        /* Increased height */
        padding: 0;
        /* Remove padding to maximize content space */
    }
}

/* Specific optimization for 375px devices (iPhone SE) */
@media (max-width: 375px) {
    .page-content {
        padding: 20px 2px 60px 2px;
        /* Minimal padding for maximum width */
    }

    .latest-news {
        width: 100%;
        /* Use full width */
        margin: 0;
        /* Remove negative margin */
        border-radius: 8px;
        /* Keep border radius */
    }

    .news-viewport {
        width: 100%;
        /* Use full width */
    }
}

/* Enhanced animations and transitions*/
* {
    transition: all 0.3s ease;
}


/* Modern gradient backgrounds */
body {
    background-color: #ffffff;
    /* Simple white background */
    min-height: 100vh;
}

.page-content {
    background-color: #ffffff;
    /* Simple white background */
    border-radius: 0;
    /* Remove border radius */
    box-shadow: none;
    /* Remove shadow */
    backdrop-filter: none;
    /* Remove blur */
}

/* Enhanced header with gradient */
.main-nav {
    background: linear-gradient(135deg, #1b3b86 0%, #2c5aa0 100%);
    box-shadow: 0 10px 30px rgba(27, 59, 134, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
}

/* Navigation container for proper width */
.main-nav .container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

/* Navigation menu wrapper */
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex: 1;
}

.nav-brand {
    background: linear-gradient(45deg, #fecf30, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 18px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    line-height: 1.2;
    white-space: nowrap;
    position: relative;
}

.nav-brand::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #fecf30, #ff6b6b);
    opacity: 0.7;
}

/* Enhanced navigation menu */
.nav-menu {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.nav-menu li a {
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    overflow: hidden;
    padding: 14px 8px;
    display: block;
    font-size: 14px;
    white-space: nowrap;
}

.nav-menu li a::before {
    display: none;
}

.nav-menu li a:hover::before {
    display: none;
}

/* Enhanced cards with modern effects */
.card,
.service-card,
.update-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.card::before,
.service-card::before,
.update-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1b3b86, #f47721, #1b3b86);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

.latest-news::before {
    display: none;
    /* Remove animated shimmer effect */
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.card:hover,
.service-card:hover,
.update-card:hover {
    transform: none;
    /* Remove transform */
    box-shadow: none;
    /* Remove shadow */
}

/* Enhanced buttons */
.know-more-button,
.location-btn {
    background: linear-gradient(45deg, #1b3b86, #2c5aa0);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.know-more-button::before,
.location-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #f47721, #ff6b6b);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.know-more-button:hover::before,
.location-btn:hover::before {
    opacity: 1;
}

.know-more-button:hover,
.location-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(244, 119, 33, 0.3);
}

/* Enhanced section titles */
.section-title {
    background: linear-gradient(45deg, #1b3b86, #f47721);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-align: center;
    position: relative;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #1b3b86, #f47721);
    border-radius: 2px;
}

/* Enhanced banner slider */
#home-slider {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

#home-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(27, 59, 134, 0.1), rgba(244, 119, 33, 0.1));
    z-index: 1;
    pointer-events: none;
}

.slide-btn {
    background: linear-gradient(45deg, #1b3b86, #2c5aa0);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(27, 59, 134, 0.3);
    z-index: 10;
}

.slide-btn:hover {
    transform: none;
    /* Remove scale effect */
    box-shadow: none;
    /* Remove shadow */
}

/* Enhanced Latest News */
.latest-news {
    background-color: #ffffff;
    /* Simple white background */
    border-radius: 8px;
    /* Reduced border radius */
    box-shadow: none;
    /* Remove shadow */
    overflow: hidden;
    position: relative;
}

.latest-news::before {
    display: none;
    /* Remove animated shimmer effect */
}

.latest-news-header {
    background-color: #1b3b86;
    /* Simple solid color */
    color: white;
    padding: 15px 20px;
    font-weight: 600;
    position: relative;
}

.latest-news-header::after {
    display: none;
    /* Remove gradient line */
}

.news-item {
    background-color: #ffffff;
    /* Simple white background */
    border-left: 4px solid #f47721;
    /* Static border color */
    transition: none;
    /* Remove transitions */
}

.news-item a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 12px 16px;
}

.news-item a:hover {
    color: #1b3b86;
    background-color: #f8f9fa;
}

/* Remove hover effect completely */

/* Enhanced footer */
footer {
    background: linear-gradient(135deg, #1b3b86 0%, #0f1f3d 100%);
    color: white;
    padding: 40px 0;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1b3b86, #f47721, #1b3b86);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

/* Remove animations - Static elements */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(0px);
    }

    /* No movement */
}

.floating {
    animation: none;
    /* Remove floating animation */
}

/* Remove pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1);
    }

    /* No scaling */
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: none;
    /* Remove pulse animation */
}

.latest-news-header {
    background-color: #30498b;
    color: #fff;
    padding: 12px 16px;
    border-bottom: none;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 600;
}

.latest-news .card-body {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-viewport {
    height: 300px;
    overflow: hidden;
    flex: 1;
}

.news-list {
    transition: none;
    /* Remove transitions */
}

.news-item {
    border-top: 1px solid #e0e0e0;
    padding: 16px;
    text-align: center;
    font-size: 14px;
    background-color: #fff;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-item:first-child {
    border-top: none;
}

.split-section {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 24px;
    gap: 0;
    justify-content: space-between;
    background-color: rgb(248, 243, 243);
}

@media (min-width: 992px) {
    .split-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: start;
    }
}

.services-column {
    width: 100%;
    padding-left: 20px;
}

@media (min-width: 992px) {
    .services-column {
        width: 100%;
        padding-left: 0;
        margin-left: 300px;
    }
}

.image-column {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

@media (min-width: 992px) {
    .image-column {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.card {
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 12px;
}

.card-header {
    font-weight: bold;
    padding-bottom: 6px;
    border-bottom: 2px solid #1b3b86;
    margin-bottom: 10px;
}

.latest-news {
    padding: 0;
    max-height: 420px;
    background-color: #fff;
    border-radius: 1rem;
    /* similar to rounded-4 */
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.latest-news-header {
    background-color: #30498b;
    color: #fff;
    padding: 10px 14px;
    border-bottom: none;
    margin-bottom: 0;
}

.latest-news .card-body {
    padding: 12px 0 16px 0;
}

.news-viewport {
    height: 220px;
    overflow: hidden;
}

.news-list {
    transition: none;
    /* Remove transitions */
}

.news-item {
    border-top: 1px solid #e0e0e0;
    padding: 14px 16px;
    text-align: center;
    font-size: 14px;
}

.split-image {
    max-width: 90%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.banner-placeholder {
    background-color: #f8f3d6;
    height: 420px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0d7a0;
    margin-bottom: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

#home-slider {
    position: relative;
    overflow: hidden;
}

#home-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

#home-slider .slide.active {
    opacity: 1;
}

/* Ensure first slide is always visible */
#home-slider .slide:first-child.active,
#home-slider .slide.active:first-child {
    opacity: 1 !important;
}

#home-slider .slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 18px;
}

#home-slider .prev {
    left: 10px;
}

#home-slider .next {
    right: 10px;
}

.table-section {
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 4px;
}

.section-title-wrapper {
    text-align: center;
    width: 100%;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    padding: 12px 24px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin: 40px 0 20px 0;
}

.three-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 20px;
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.service-icon {
    flex: 0 0 auto;
    margin-right: 16px;
    margin-top: 0;
}

.service-text-content {
    flex: 1;
}

.service-card-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 16px;
}

.view-more-button {
    background-color: #800080;
    color: #FFFFFF;
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.service-icon img {
    width: 34.42px;
    height: 34.42px;
    object-fit: contain;
}

.service-text-content {
    flex: 1;
}

.service-card h4 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.view-more-button {
    background-color: #6c5ce7;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.service-description {
    color: #ff69b4;
    font-size: 16px;
    margin-bottom: 16px;
}

.service-card button {
    margin-top: 10px;
    background-color: #6c5ce7;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 14px;
}

.founder-section {
    margin: 40px 0;
    padding: 20px;
}

.founder-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.yellow-bar {
    width: 5px;
    height: 32px;
    background-color: #f9b800;
    margin-right: 20px;
}

.founder-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.founder-left h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 20px;
}

.founder-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

.founder-data-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

.latest-updates {
    margin: 40px 0;
    padding: 0 10px;
}

.updates-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.updates-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.updates-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    justify-content: stretch;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.update-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 300px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-sizing: border-box;
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.update-icon img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 8px;
}

.update-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1b3b86;
    margin: 0 0 8px 0;
}

.update-description {
    font-size: 12px;
    color: #666;
    margin: 0 0 10px 0;
    line-height: 1.3;
    flex-grow: 1;
}

.know-more-button {
    background-color: #1b3b86;
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 6px 15px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: auto;
}

.know-more-button:hover {
    background-color: #12295c;
    transform: translateY(-2px);
}

.list-with-checks {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.list-with-checks li {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px;
    width: 100%;
}

@media screen and (max-width: 992px) {
    .list-with-checks li {
        font-size: 1.2rem;
        font-weight: 600;
        width: 100%;
    }
}

.list-with-checks li::before {
    content: "\2713";
    margin-right: 8px;
    color: green;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.latest-updates {
    margin-top: 40px;
}

.site-footer {
    background-color: #203b7a;
    color: #fff;
    padding: 40px;
    margin-top: 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-col h3 {
    margin-top: 0;
}

.footer-col ul {
    list-style: none;
    padding-left: 0;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* About Us Page Layout */
.about-layout {
    display: flex;
    gap: 30px;
    padding: 20px 40px 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-sidebar {
    flex: 0 0 250px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar-nav h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f47721;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background-color: #1b3b86;
    color: #fff;
    padding-left: 20px;
}

.about-content {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.content-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f47721;
}

.content-section p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.content-section strong {
    color: #1b3b86;
    font-weight: 600;
}

/* Registrations Certificate Page Layout */
.certificate-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.certificate-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.certificate-header .yellow-bar {
    width: 8px;
    height: 40px;
    background-color: #f9b800;
    margin-right: 15px;
}

.certificate-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1b3b86;
    margin: 0;
}

.certificate-content {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.certificate-left {
    flex: 0 0 20%;
    max-width: 20%;
}

.certificate-right {
    flex: 0 0 80%;
    max-width: 80%;
}

.certificate-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Board of Directors Grid Layout */
.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
}

.board-member {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.member-photo {
    width: 200px;
    height: 200px;
    border-radius: 2px;
    object-fit: fill;
    margin-bottom: 10px;
    border: 2px solid #f47721;
}

.board-member h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 8px;
}

.board-member p {
    font-size: 20px;
    color: #666;
    margin: 4px 0;
    line-height: 1.4;
}

/* Mobile-first responsive design improvements */

/* Extra small devices (phones, 320px and up) */
@media (max-width: 320px) {
    .top-strip {
        padding: 6px 8px;
        font-size: 10px;
    }

    .top-strip-right span {
        display: block;
        margin: 1px 0;
        font-size: 9px;
    }

    .logo-bar img {
        height: 80px;
    }

    .nav-brand {
        font-size: 12px;
    }

    .mobile-menu-toggle {
        font-size: 16px;
        padding: 8px;
    }

    .page-content {
        padding: 10px 8px;
    }

    section.home-layout {
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: 10px !important;
        align-items: center;
        /* Center items */
    }

    section.home-layout>section {
        flex: 1 !important;
        max-width: 100% !important;
        order: 1 !important;
    }

    section.home-layout>aside {
        flex: 1 !important;
        max-width: 100% !important;
        order: 2 !important;
    }

    .banner-placeholder {
        height: 120px;
        border-radius: 6px;
        background-color: #f8f3d6;
        border: 1px solid #e0d7a0;
        position: relative;
        overflow: hidden;
        width: 90%;
        /* Proper width */
        max-width: 400px;
        /* Max width */
        margin: 0 auto;
        /* Center */
    }

    #home-slider .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.6s ease;
        display: block;
    }

    #home-slider .slide.active {
        opacity: 1 !important;
        z-index: 1;
    }

    .banner-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        display: block;
    }

    .slide-btn {
        padding: 4px 8px;
        font-size: 12px;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        border: none;
        border-radius: 3px;
        cursor: pointer;
        z-index: 10;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .slide-btn.prev {
        left: 5px;
    }

    .slide-btn.next {
        right: 5px;
    }

    .latest-news {
        height: 200px;
        /* Increased from 120px */
        max-height: none;
        /* Remove max height restriction */
        border-radius: 6px;
        overflow: hidden;
        width: 95%;
        /* Adjusted width */
        max-width: 350px;
        /* Adjusted max width */
        margin: 0 auto;
        /* Center */
        min-height: 200px;
        /* Ensure minimum height */
    }

    .news-viewport {
        height: 140px;
        /* Increased from 70px */
        overflow: hidden;
    }

    .news-item {
        padding: 4px 6px;
        font-size: 9px;
        min-height: 18px;
        border-bottom: 1px solid #e0e0e0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .latest-news-header {
        padding: 6px 8px;
        font-size: 11px;
    }
}

/* Small devices (landscape phones, 321px to 480px) */
@media (min-width: 321px) and (max-width: 480px) {
    .top-strip {
        padding: 7px 10px;
        font-size: 10px;
    }

    .logo-bar img {
        height: 90px;
    }

    .nav-brand {
        font-size: 13px;
    }

    .page-content {
        padding: 12px 10px;
    }

    section.home-layout {
        flex-direction: column !important;
        gap: 12px !important;
        margin-bottom: 12px !important;
        align-items: center;
        /* Center items */
    }

    section.home-layout>section {
        flex: 1 !important;
        max-width: 100% !important;
        order: 1 !important;
    }

    section.home-layout>aside {
        flex: 1 !important;
        max-width: 100% !important;
        order: 2 !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .banner-placeholder {
        height: 130px;
        border-radius: 6px;
        background-color: #f8f3d6;
        border: 1px solid #e0d7a0;
        position: relative;
        overflow: hidden;
        width: 90%;
        /* Proper width */
        max-width: 400px;
        /* Max width */
        margin: 0 auto;
        /* Center */
    }

    #home-slider .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.6s ease;
        display: block;
    }

    #home-slider .slide.active {
        opacity: 1 !important;
        z-index: 1;
    }

    .banner-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        display: block;
    }

    .slide-btn {
        padding: 5px 9px;
        font-size: 13px;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        border: none;
        border-radius: 3px;
        cursor: pointer;
        z-index: 10;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .slide-btn.prev {
        left: 6px;
    }

    .slide-btn.next {
        right: 6px;
    }

    .latest-news {
        width: 100%;
        max-width: 100%;
        height: 220px;
        border-radius: 6px;
        overflow: hidden;
        margin: 0 auto;
    }

    .news-viewport {
        width: 100%;
        height: 160px;
        overflow: hidden;
    }

    .news-item {
        width: 100%;
        height: 100%;
        padding: 5px 8px;
        font-size: 10px;
        border-bottom: 1px solid #e0e0e0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .latest-news-header {
        height: 100%;
        padding: 0;
        font-size: 12px;
        width: 100%;
    }
}

/* FORCE Latest News card to expand - Guaranteed fix */
@media (min-width: 321px) and (max-width: 480px) {
    aside {
        width: 100% !important;
    }

    .latest-news {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .latest-news-header {
        width: 100% !important;
        display: block !important;
    }
}

/* Medium devices (tablets, 481px to 600px) */
@media (min-width: 481px) and (max-width: 600px) {
    .top-strip {
        padding: 8px 15px;
        font-size: 11px;
    }

    .logo-bar img {
        height: 100px;
    }

    .nav-brand {
        font-size: 14px;
    }

    .page-content {
        padding: 15px 12px;
    }

    section.home-layout {
        flex-direction: column !important;
        gap: 15px !important;
        margin-bottom: 15px !important;
        align-items: center;
        /* Center items */
    }

    section.home-layout>section {
        flex: 1 !important;
        max-width: 100% !important;
        order: 1 !important;
    }

    section.home-layout>aside {
        flex: 1 !important;
        max-width: 100% !important;
        order: 2 !important;
    }

    .banner-placeholder {
        height: 150px;
        border-radius: 7px;
        background-color: #f8f3d6;
        border: 1px solid #e0d7a0;
        position: relative;
        overflow: hidden;
        width: 90%;
        /* Proper width */
        max-width: 400px;
        /* Max width */
        margin: 0 auto;
        /* Center */
    }

    #home-slider .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.6s ease;
        display: block;
    }

    #home-slider .slide.active {
        opacity: 1 !important;
        z-index: 1;
    }

    .banner-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        display: block;
    }

    .slide-btn {
        padding: 6px 10px;
        font-size: 14px;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        border: none;
        border-radius: 3px;
        cursor: pointer;
        z-index: 10;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .slide-btn.prev {
        left: 7px;
    }

    .slide-btn.next {
        right: 7px;
    }

    .latest-news {
        height: 240px;
        /* Increased from 150px */
        max-height: none;
        /* Remove max height restriction */
        border-radius: 7px;
        overflow: hidden;
        width: 95%;
        /* Adjusted width */
        max-width: 350px;
        /* Adjusted max width */
        margin: 0 auto;
        /* Center */
        min-height: 240px;
        /* Ensure minimum height */
    }

    .news-viewport {
        height: 180px;
        /* Increased from 90px */
        overflow: hidden;
    }

    .news-item {
        padding: 6px 10px;
        font-size: 11px;
        min-height: 22px;
        border-bottom: 1px solid #e0e0e0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .latest-news-header {
        padding: 8px 12px;
        font-size: 13px;
    }

    .news-viewport {
        height: 120px;
    }

    .news-item {
        padding: 8px 12px;
        font-size: 12px;
        min-height: 26px;
        border-bottom: 1px solid #e0e0e0;
    }

    .latest-news-header {
        padding: 10px 14px;
        font-size: 14px;
    }

    .three-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Large tablets (601px to 768px) */
@media (min-width: 601px) and (max-width: 768px) {
    .top-strip {
        padding: 8px 20px;
        font-size: 11px;
    }

    .logo-bar img {
        height: 120px;
    }

    .nav-brand {
        font-size: 15px;
    }

    .page-content {
        padding: 18px 15px;
    }

    .banner-placeholder {
        height: 190px;
    }

    .latest-news {
        height: 210px;
    }

    .news-viewport {
        height: 150px;
    }

    .three-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

/* Small desktops (769px to 900px) */
@media (min-width: 769px) and (max-width: 900px) {
    .top-strip {
        padding: 10px 30px;
        font-size: 12px;
    }

    .logo-bar img {
        height: 140px;
    }

    .nav-brand {
        font-size: 16px;
    }

    .page-content {
        padding: 20px 20px;
    }

    .banner-placeholder {
        height: 220px;
    }

    .latest-news {
        height: 240px;
    }

    .news-viewport {
        height: 180px;
    }

    .three-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Medium desktops (901px to 1024px) */
@media (min-width: 901px) and (max-width: 1024px) {
    .top-strip {
        padding: 10px 35px;
        font-size: 12px;
    }

    .logo-bar img {
        height: 150px;
    }

    .nav-brand {
        font-size: 17px;
    }

    .page-content {
        padding: 22px 25px;
    }

    .banner-placeholder {
        height: 240px;
    }

    .latest-news {
        height: 260px;
    }

    .news-viewport {
        height: 200px;
    }

    .three-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

/* Large desktops (1025px to 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .top-strip {
        padding: 10px 40px;
        font-size: 13px;
    }

    .logo-bar img {
        height: 160px;
    }

    .nav-brand {
        font-size: 18px;
    }

    .page-content {
        padding: 25px 30px;
    }

    .banner-placeholder {
        height: 260px;
    }

    .latest-news {
        height: 280px;
    }

    .news-viewport {
        height: 220px;
    }

    .three-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

/* Extra large desktops (1201px and up) */
@media (min-width: 1201px) {
    .top-strip {
        padding: 10px 40px;
        font-size: 13px;
    }

    .logo-bar img {
        height: 180px;
    }

    .nav-brand {
        font-size: 20px;
    }

    .page-content {
        padding: 30px 40px;
    }

    .banner-placeholder {
        height: 300px;
    }

    .latest-news {
        height: 320px;
    }

    .news-viewport {
        height: 260px;
    }

    .three-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Mobile navigation and responsive fixes */
@media (max-width: 768px) {
    .top-strip {
        padding: 8px 15px;
        font-size: 11px;
        text-align: center;
        height: auto;
        min-height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .top-strip-right {
        display: block;
        width: 100%;
        text-align: center;
    }

    .top-strip-right span {
        display: inline-block;
        margin: 2px 5px;
        font-size: 10px;
    }

    .logo-bar {
        padding: 15px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-bar img {
        height: 120px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .kannada-text {
        font-size: 14px;
    }

    .english-title {
        font-size: 16px;
    }

    .since-text {
        font-size: 11px;
    }

    .main-nav {
        padding: 0 15px;
        flex-wrap: wrap;
        height: auto;
        min-height: 50px;
        align-items: center;
        position: relative;
    }

    .nav-brand {
        font-size: 14px;
        margin-right: 10px;
        padding: 10px 0;
        flex: 1;
        text-align: center;
        order: 1;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 18px;
        cursor: pointer;
        padding: 10px;
        order: 2;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .nav-menu {
        display: flex;
        position: absolute;
        top: 60px;
        left: -15px;
        /* Offset parent container padding */
        width: 280px;
        height: calc(100vh - 60px);
        background-color: #1b3b86;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        margin: 0;
        gap: 0;
        padding: 20px 0;
        transition: transform 0.3s ease, visibility 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        visibility: hidden;
    }

    .nav-menu.active {
        visibility: visible;
        transform: translateX(0);
    }

    body.nav-open {
        overflow: hidden;
        padding-right: 0;
        /* Prevents scrollbar width shift */
    }

    /* Removed problematic page shifting and overlay */

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        position: relative;
    }

    .nav-menu li a {
        display: block;
        padding: 15px 40px 15px 20px;
        color: #fff;
        text-decoration: none;
        transition: background-color 0.3s ease;
        font-size: 16px;
        font-weight: bold;
        text-align: left;
    }

    .nav-menu li a:hover {
        background-color: #12295c;
    }

    /* Submenu toggle icons */
    .nav-menu .has-sub>a {
        position: relative;
        padding-right: 50px;
    }

    .nav-menu .has-sub>a::after {
        content: '+';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        font-weight: bold;
        color: #fff;
        transition: transform 0.3s ease;
        pointer-events: none;
    }

    .nav-menu .has-sub.active>a::after {
        content: 'âˆ’';
        transform: translateY(-50%);
    }

    .nav-menu .sub-menu {
        display: none;
        background-color: #0d265a;
        text-align: left;
    }

    .nav-menu .sub-menu.active {
        display: block;
    }

    .nav-menu .sub-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu .sub-menu li a {
        padding: 12px 20px 12px 40px;
        font-size: 14px;
        font-weight: normal;
        color: #ccc;
        text-align: left;
        background-color: transparent;
    }

    .nav-menu .sub-menu li a:hover {
        background-color: #0a1a3a;
        color: #fff;
    }

    /* Nested submenu icons */
    .nav-menu .sub-menu .has-sub>a::after {
        content: '+';
        font-size: 14px;
        right: 15px;
    }

    .nav-menu .sub-menu .has-sub.active>a::after {
        content: 'âˆ’';
    }

    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        min-width: 100%;
        margin: 0;
        display: none;
        background-color: #12295c;
    }

    .nav-menu .sub-menu.active {
        display: block;
    }

    .nav-menu .sub-menu .sub-menu {
        position: static;
        transform: none;
        margin-left: 20px;
        background-color: #0a1a3a;
    }

    .nav-menu .has-sub>a::after {
        content: '+';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
    }

    .nav-menu .has-sub>a.active::after {
        content: '-';
    }

    .nav-search {
        display: none;
    }

    main {
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .page-content {
        padding: 15px 10px;
        overflow-x: hidden;
    }

    .banner-placeholder {
        height: 180px;
        margin-bottom: 15px;
        position: relative;
        overflow: hidden;
        background-color: #f8f3d6;
        border: 1px solid #e0d7a0;
        border-radius: 8px;
    }

    #home-slider .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.6s ease;
    }

    #home-slider .slide.active {
        opacity: 1 !important;
    }

    .banner-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    .slide-btn {
        padding: 8px 12px;
        font-size: 16px;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        z-index: 10;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .slide-btn.prev {
        left: 10px;
    }

    .slide-btn.next {
        right: 10px;
    }

    .latest-news {
        height: 200px;
        max-height: 200px;
        margin-bottom: 15px;
        overflow: hidden;
    }

    .news-viewport {
        height: 140px;
        overflow: hidden;
    }

    .news-item {
        padding: 12px;
        font-size: 12px;
        min-height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid #e0e0e0;
    }

    .news-item {
        padding: 10px 12px;
        font-size: 12px;
    }

    .section-title {
        font-size: 18px;
        padding: 8px 16px;
        margin: 20px 0 15px 0;
    }

    .three-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        padding: 15px;
    }

    .service-card h4 {
        font-size: 18px;
    }

    .service-description {
        font-size: 14px;
    }

    .view-more-button {
        padding: 6px 12px;
        font-size: 12px;
    }

    .founder-section {
        margin: 20px 0;
        padding: 15px;
    }

    .founder-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .founder-left h3 {
        font-size: 16px;
        margin: 0 0 15px 0;
        text-align: center;
    }

    .founder-image,
    .founder-data-image {
        max-width: 100%;
        height: auto;
    }

    .split-section {
        padding: 15px;
    }

    .services-column {
        padding-left: 0;
        margin-left: 0;
    }

    .list-with-checks li {
        font-size: 14px;
        padding: 8px;
    }

    .split-image {
        max-width: 100%;
        margin: 10px 0;
    }

    .updates-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
        justify-content: stretch;
        max-width: 600px;
        margin: 0 auto;
    }

    .update-card {
        width: 100%;
        height: 300px;
        padding: 12px;
        margin: 0;
    }

    .update-icon img {
        width: 100%;
        height: 100px;
        object-fit: cover;
    }

    .update-card h4 {
        font-size: 16px;
    }

    .update-description {
        font-size: 13px;
    }

    .know-more-button {
        padding: 7px 18px;
        font-size: 12px;
    }

    .know-more-button {
        padding: 5px 10px;
        font-size: 12px;
    }

    .site-footer {
        padding: 20px 15px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        font-size: 12px;
    }
}

/* Tablet styles */
@media (min-width: 481px) and (max-width: 768px) {
    .top-strip {
        padding: 4px 20px;
        font-size: 12px;
    }

    .logo-bar {
        padding: 10px 20px;
    }

    .logo-circle {
        width: 120px;
        height: 120px;
    }

    .main-nav {
        padding: 0 20px;
    }

    .nav-menu li a {
        font-size: 13px;
        padding: 14px 6px;
    }

    .nav-menu .sub-menu {
        min-width: 200px;
    }

    .page-content {
        padding: 20px 20px 50px 20px;
        overflow-x: hidden;
    }

    main {
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* Home layout tablet styles */
    section.home-layout {
        gap: 15px !important;
        margin-bottom: 25px !important;
    }

    .banner-placeholder {
        height: 320px;
    }

    .latest-news {
        height: 320px;
        max-height: 320px;
    }

    .news-viewport {
        height: 240px;
    }

    .news-item {
        padding: 14px;
        font-size: 13px;
        min-height: 55px;
    }

    .latest-news-header {
        padding: 11px 15px;
        font-size: 15px;
    }

    .section-title {
        font-size: 20px;
        margin: 30px 0 18px 0;
    }

    .three-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .service-card {
        padding: 18px;
    }

    .service-card h4 {
        font-size: 20px;
    }

    .service-description {
        font-size: 15px;
    }

    .founder-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .founder-left h3 {
        font-size: 18px;
    }

    .split-section {
        padding: 20px;
    }

    .list-with-checks li {
        font-size: 15px;
    }

    .updates-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
        justify-content: stretch;
        max-width: 600px;
        margin: 0 auto;
    }

    .update-card {
        width: 100%;
        height: 300px;
        padding: 13px;
        margin: 0;
    }

    .update-icon img {
        width: 100%;
        height: 110px;
        object-fit: cover;
    }

    .update-card h4 {
        font-size: 17px;
    }

    .update-description {
        font-size: 13px;
    }

    .know-more-button {
        padding: 8px 19px;
        font-size: 13px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

/* Desktop improvements */
@media (min-width: 769px) and (max-width: 1024px) {
    .three-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .founder-content {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .updates-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
        padding: 0 20px;
        justify-content: stretch;
        max-width: 1200px;
        margin: 0 auto;
    }

    .update-card {
        width: 100%;
        height: 300px;
        padding: 14px;
        margin: 0;
    }
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .menu-btn {
        display: block !important;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10000;
        background: #1f3c88;
        color: #fff;
        border: none;
        padding: 10px;
        font-size: 24px;
        cursor: pointer;
    }

    /*
    .nav-menu {
        display: none;
    }
    */

    .nav-search {
        display: none;
    }

    .nav-brand {
        flex: 1;
        text-align: center;
        font-size: 20px;
        margin-left: 40px;
        /* Add space for menu button */
    }
}

/* Desktop styles - hide mobile menu */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }

    .overlay {
        display: none !important;
    }

    .menu-btn {
        display: none !important;
    }
}

/* New Mobile Menu Styles */
.menu-btn {
    display: none;
    font-size: 24px;
    padding: 10px;
    background: #1f3c88;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* Hide menu button when mobile menu is open */
body.mobile-menu-open .menu-btn {
    display: none !important;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    display: none;
    z-index: 9998;
}

.mobile-menu {
    position: absolute;
    top: 0;
    left: -280px;
    width: 280px;
    height: calc(100vh - 50px);
    background: #334e9a;
    color: #fff;
    transition: 0.3s;
    z-index: 9999;
    overflow-y: auto;
}

.mobile-menu.open {
    left: 0;
}

.overlay.show {
    display: none;
    top: 50px;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #233d7b;
    font-weight: bold;
}

.menu-header button {
    background: none;
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.menu-list a,
.accordion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 16px;
    color: #fff;
    text-decoration: none;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
}

.accordion.active {
    background: #2b4586;
}

.accordion span {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.submenu {
    display: none;
    background: #2b4586;
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu.open {
    display: block;
}

.submenu li {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.submenu a {
    padding: 10px 16px 10px 30px;
    font-size: 14px;
    font-weight: normal;
    color: #eee;
    display: block;
    text-align: left;
}

.submenu a:hover {
    background: #1f3c88;
    color: #fff;
}

/* Additional responsive improvements for all components */

/* Home layout responsive fixes */
@media (max-width: 768px) {
    section.home-layout {
        flex-direction: column !important;
        gap: 20px !important;
        margin-bottom: 20px !important;
    }

    section.home-layout>section {
        flex: 1 !important;
        max-width: 100% !important;
        order: 1 !important;
    }

    section.home-layout>aside {
        flex: 1 !important;
        max-width: 100% !important;
        order: 2 !important;
    }

    .banner-placeholder {
        height: 250px;
        margin-bottom: 0;
    }

    #home-slider .slide.active {
        opacity: 1 !important;
    }

    .latest-news {
        height: auto;
        max-height: 300px;
        margin-bottom: 20px;
    }

    .news-viewport {
        height: 200px;
    }

    .news-item {
        padding: 12px;
        font-size: 13px;
        min-height: 50px;
    }

    .latest-news-header {
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    section.home-layout {
        gap: 10px !important;
        margin-bottom: 15px !important;
    }

    .banner-placeholder {
        height: 160px;
        margin-bottom: 12px;
        position: relative;
        overflow: hidden;
        background-color: #f8f3d6;
        border: 1px solid #e0d7a0;
        border-radius: 8px;
    }

    #home-slider .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.6s ease;
    }

    #home-slider .slide.active {
        opacity: 1 !important;
    }

    .banner-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    .slide-btn {
        padding: 6px 10px;
        font-size: 14px;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        z-index: 10;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .slide-btn.prev {
        left: 8px;
    }

    .slide-btn.next {
        right: 8px;
    }

    .latest-news {
        height: 180px;
        max-height: 180px;
        margin-bottom: 12px;
        overflow: hidden;
    }

    .news-viewport {
        height: 120px;
        overflow: hidden;
    }

    .news-item {
        padding: 10px;
        font-size: 11px;
        min-height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid #e0e0e0;
    }

    .news-viewport {
        height: 150px;
    }

    .news-item {
        padding: 10px 12px;
        font-size: 12px;
        min-height: 45px;
    }

    .latest-news-header {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Service cards responsive improvements */
@media (max-width: 480px) {
    .service-card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .service-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .service-icon img {
        width: 50px;
        height: 50px;
    }
}

/* Founder section responsive improvements */
@media (max-width: 480px) {
    .founder-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .yellow-bar {
        width: 4px;
        height: 24px;
        margin-right: 0;
    }

    .founder-header h2 {
        font-size: 18px;
    }
}

/* Updates section responsive improvements */
@media (max-width: 480px) {
    .updates-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .updates-header h2 {
        font-size: 18px;
    }
}

/* Interest rate box responsive improvements */
@media (max-width: 480px) {
    .interest-box {
        padding: 15px;
        margin-top: 15px;
    }

    .interest-box p {
        font-size: 14px;
        padding: 8px;
    }
}

/* Gold features and requirements responsive improvements */
@media (max-width: 480px) {

    .gold-features,
    .requirements-list {
        padding: 12px;
        margin-top: 15px;
    }

    .gold-features h3,
    .requirements-list h3 {
        font-size: 14px;
    }

    .gold-features ul li,
    .requirements-list ul li {
        font-size: 13px;
        padding-left: 20px;
    }
}

/* Branches responsive improvements */
@media (max-width: 480px) {
    .branches-grid {
        padding: 0 2px;
    }

    .branch-row {
        gap: 8px;
        padding: 8px;
    }

    .branch-header {
        padding: 4px 8px;
    }

    .branch-header h3 {
        font-size: 12px;
    }

    .branch-details p {
        font-size: 9px;
    }

    .location-btn {
        padding: 3px 6px;
        font-size: 9px;
    }
}

/* Board members responsive improvements */
@media (max-width: 480px) {
    .board-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .board-member {
        padding: 10px;
    }

    .member-photo {
        width: 50px;
        height: 50px;
    }

    .board-member h4 {
        font-size: 14px;
    }

    .board-member p {
        font-size: 12px;
    }
}

/* Administrative team responsive improvements */
@media (max-width: 480px) {
    .admin-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .admin-member {
        padding: 15px;
    }

    .admin-photo {
        width: 80px;
        height: 80px;
    }

    .admin-member h4 {
        font-size: 14px;
    }

    .admin-member p {
        font-size: 12px;
    }
}

/* Branch managers responsive improvements */
@media (max-width: 480px) {
    .branch-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .branch-member {
        padding: 10px;
    }

    .branch-photo {
        width: 50px;
        height: 50px;
    }

    .branch-member h4 {
        font-size: 11px;
    }

    .branch-member p {
        font-size: 9px;
    }
}

/* Staff list responsive improvements */
@media (max-width: 480px) {
    .staff-grid {
        gap: 10px;
    }

    .staff-card {
        padding: 15px;
    }

    .staff-card h3 {
        font-size: 14px;
    }

    .staff-members {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .staff-member {
        padding: 10px;
    }

    .staff-photo {
        width: 40px;
        height: 40px;
    }

    .staff-member p {
        font-size: 10px;
    }
}

/* About page responsive improvements */
@media (max-width: 480px) {
    .about-layout {
        flex-direction: column;
        padding: 15px 10px;
        gap: 15px;
    }

    .about-sidebar {
        flex: none;
        position: static;
        margin-bottom: 15px;
        padding: 15px;
    }

    .about-content {
        padding: 15px;
    }

    .content-section h2 {
        font-size: 18px;
    }

    .content-section p {
        font-size: 13px;
    }
}

/* Certificate page responsive improvements */
@media (max-width: 480px) {
    .certificate-layout {
        padding: 20px 10px;
    }

    .certificate-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .certificate-header h2 {
        font-size: 18px;
    }

    .certificate-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .certificate-left,
    .certificate-right {
        max-width: 100%;
        flex: none;
    }
}

/* Society page responsive improvements */
@media (max-width: 480px) {
    .society-layout {
        flex-direction: column;
        padding: 15px 10px;
        gap: 20px;
    }

    .society-content h2 {
        font-size: 18px;
    }

    .society-content h3 {
        font-size: 16px;
    }

    .society-content p {
        font-size: 13px;
    }

    .society-image {
        flex: none;
        max-width: 100%;
        margin: 0 auto;
    }
}

/* SMCSSN page responsive improvements */
@media (max-width: 480px) {
    .smcssn-header-layout {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .smcssn-logo {
        flex: none;
        max-width: 150px;
        margin: 0 auto;
    }

    .smcssn-text p {
        font-size: 13px;
    }

    .smcssn-info {
        padding: 15px;
        margin-top: 15px;
    }

    .smcssn-info h3 {
        font-size: 16px;
    }

    .smcssn-info li {
        font-size: 12px;
        padding: 6px 0;
    }
}

/* Membership and benefits responsive improvements */
@media (max-width: 480px) {

    .membership-info h3,
    .benefits-grid h3 {
        font-size: 16px;
    }

    .membership-info li {
        font-size: 13px;
        padding: 6px 0;
        padding-left: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .benefit-card {
        padding: 15px;
    }

    .benefit-card h4 {
        font-size: 14px;
    }

    .benefit-card p {
        font-size: 12px;
    }
}

/* Activities and achievements responsive improvements */
@media (max-width: 480px) {
    .activity-item {
        padding: 12px 15px;
        margin-bottom: 12px;
    }

    .activity-item h4 {
        font-size: 14px;
    }

    .activity-item p {
        font-size: 12px;
    }

    .achievements-timeline::before {
        left: 15px;
    }

    .achievement-item {
        padding-left: 40px;
        margin-bottom: 20px;
    }

    .achievement-item::before {
        left: 10px;
        width: 10px;
        height: 10px;
    }

    .achievement-item h4 {
        font-size: 14px;
    }

    .achievement-item p {
        font-size: 12px;
    }
}

/* Contact info responsive improvements */
@media (max-width: 480px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-item {
        padding: 15px;
    }

    .contact-item h4 {
        font-size: 14px;
    }

    .contact-item p {
        font-size: 12px;
    }
}

/* Fixed deposit responsive improvements */
@media (max-width: 480px) {
    .fd-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .fd-left,
    .fd-middle,
    .fd-right {
        max-width: 100%;
        flex: none;
        text-align: center;
    }

    .fd-middle {
        padding: 0;
    }

    .fd-middle p {
        font-size: 13px;
    }
}

/* Loan pages responsive improvements */
@media (max-width: 480px) {

    .surety-content p,
    .mortgage-content p,
    .vehicle-content p,
    .cashcredit-content p,
    .lic-content p,
    .gold-content p,
    .leave-content p {
        font-size: 13px;
        line-height: 1.5;
        margin: 0 0 12px 0;
    }
}

/* Table section responsive improvements */
@media (max-width: 480px) {
    .table-section {
        padding: 8px;
        border-radius: 4px;
    }
}

/* Card responsive improvements */
@media (max-width: 480px) {
    .card {
        padding: 8px 10px;
        border-radius: 4px;
    }

    .card-header {
        font-size: 14px;
        padding-bottom: 4px;
        margin-bottom: 8px;
    }
}

/* Image responsive fixes */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Section and container fixes */
section {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Grid and flex container fixes */
.three-cards,
.updates-cards,
.founder-content {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Card fixes */
.card,
.service-card,
.update-card {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Button responsive improvements */
@media (max-width: 480px) {
    button {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Form responsive improvements */
@media (max-width: 480px) {

    input,
    textarea,
    select {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* Typography responsive improvements */
@media (max-width: 480px) {
    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    h4 {
        font-size: 14px;
    }

    p {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* Utility responsive improvements */
@media (max-width: 480px) {
    .text-center {
        text-align: center;
    }

    .mb-3 {
        margin-bottom: 1rem;
    }

    .mt-3 {
        margin-top: 1rem;
    }

    .p-3 {
        padding: 1rem;
    }
}

@media (max-width: 1200px) {
    .board-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .certificate-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .certificate-left,
    .certificate-right {
        max-width: 100%;
        flex: none;
    }

    .board-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 10px;
    }

    .member-photo {
        width: 60px;
        height: 60px;
    }
}

.society-layout {
    display: flex;
    gap: 40px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.society-content {
    flex: 1;
}

.society-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #f47721;
}

.society-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1b3b86;
    margin: 25px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f47721;
}

.society-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

.society-image {
    flex: 0 0 300px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.society-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    .society-layout {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
    }

    .society-image {
        flex: none;
        max-width: 300px;
        margin: 0 auto;
    }

    .society-content h2 {
        font-size: 24px;
    }

    .society-content h3 {
        font-size: 18px;
    }
}

.smcssn-header-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.smcssn-logo {
    flex: 0 0 200px;
}

.smcssn-logo-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
}

.smcssn-text {
    flex: 1;
}

.smcssn-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.smcssn-info {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.smcssn-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f47721;
}

.smcssn-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.smcssn-info li {
    padding: 8px 0;
    color: #555;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
}

.smcssn-info li:last-child {
    border-bottom: none;
}

.smcssn-info strong {
    color: #1b3b86;
    font-weight: 600;
}

@media (max-width: 768px) {
    .smcssn-header-layout {
        flex-direction: column;
        gap: 20px;
    }

    .smcssn-logo {
        flex: none;
        max-width: 200px;
        margin: 0 auto;
    }
}

.membership-info h3,
.benefits-grid h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.membership-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.membership-info li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    font-size: 15px;
}

.membership-info li::before {
    content: "âœ“";
    position: absolute;
    left: 0;
    color: #f47721;
    font-weight: bold;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.benefit-card {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.benefit-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.activities-list {
    margin-top: 20px;
}

.activity-item {
    background-color: #f8f9fa;
    border-left: 4px solid #f47721;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
}

.activity-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 8px;
}

.activity-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.achievements-timeline {
    margin-top: 20px;
    position: relative;
}

.achievements-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #f47721;
}

.achievement-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
}

.achievement-item::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #f47721;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #f47721;
}

.achievement-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 5px;
}

.achievement-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.contact-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.board-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.member-card {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.member-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 10px;
}

.member-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

/* Responsive for About Us */
@media (max-width: 768px) {
    .about-layout {
        flex-direction: column;
        padding: 20px;
    }

    .about-sidebar {
        flex: none;
        position: static;
        margin-bottom: 20px;
    }

    .about-content {
        padding: 20px;
    }

    .board-members {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {

    .logo-bar,
    .main-nav {
        padding: 10px 15px;
    }

    .home-layout {
        flex-direction: column;
    }

    .three-cards,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .split-section,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Administrative Team Grid Layout */
.admin-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 20px;
    width: 100%;
}

.admin-member {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admin-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.admin-photo {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #f47721;
    flex-shrink: 0;
}

.admin-member h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 10px;
}

.admin-member p {
    font-size: 16px;
    color: #666;
    margin: 5px 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .certificate-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .certificate-left,
    .certificate-right {
        max-width: 100%;
        flex: none;
    }

    .admin-member {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .admin-photo {
        width: 100px;
        height: 100px;
    }

    .admin-member h4 {
        font-size: 16px;
    }

    .admin-member p {
        font-size: 14px;
    }
}

/* Branch Managers Grid Layout */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    padding: 20px 0;
    justify-items: center;
    /* Center items in grid cells */
    align-items: start;
    /* Align items to top */
}

.branch-member {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    /* Ensure full width within grid cell */
    max-width: 300px;
    /* Set max width for consistency */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    /* Prevent content overflow */
    word-wrap: break-word;
    /* Break long words */
    word-break: break-word;
    /* Break long words */
}

.branch-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.branch-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    /* Make perfectly circular */
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid #f47721;
    display: block;
    /* Ensure block display */
    margin-left: auto;
    /* Center horizontally */
    margin-right: auto;
    flex-shrink: 0;
    /* Prevent image from shrinking */
}

.branch-member h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1b3b86;
    margin-bottom: 8px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.branch-member h5 {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.branch-member p {
    font-size: 12px;
    color: #666;
    margin: 4px 0;
    line-height: 1.4;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    /* Special handling for email addresses */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Special handling for email and phone lines */
.branch-member p:contains("Email"),
.branch-member p:contains("Mobile") {
    word-break: break-all;
    font-size: 11px;
}

/* Large Desktop (1201px and above) */
@media (min-width: 1201px) {
    .branch-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }

    .certificate-layout {
        padding: 50px 30px;
    }
}

/* Desktop (992px to 1200px) */
@media (min-width: 992px) and (max-width: 1200px) {
    .branch-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .certificate-layout {
        padding: 40px 25px;
    }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .branch-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        justify-items: center;
    }

    .certificate-content {
        flex-direction: column;
        gap: 30px;
    }

    .certificate-left,
    .certificate-right {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .certificate-layout {
        padding: 35px 20px;
    }

    .certificate-header h2 {
        font-size: 24px;
    }
}

/* Mobile Large (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .branch-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        justify-items: center;
    }

    .certificate-content {
        flex-direction: column;
        gap: 25px;
    }

    .certificate-left,
    .certificate-right {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .certificate-layout {
        padding: 30px 15px;
    }

    .certificate-header {
        margin-bottom: 30px;
    }

    .certificate-header h2 {
        font-size: 22px;
    }

    .branch-member {
        max-width: 280px;
        /* Smaller max width for mobile */
        padding: 12px;
    }

    .branch-photo {
        width: 70px;
        height: 70px;
    }

    .branch-member h4 {
        font-size: 13px;
    }

    .branch-member h5 {
        font-size: 12px;
    }

    .branch-member p {
        font-size: 11px;
        line-height: 1.3;
    }
}

/* Mobile Small (320px to 575px) */
@media (max-width: 575px) {
    .branch-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        justify-items: center;
    }

    .certificate-content {
        flex-direction: column;
        gap: 20px;
    }

    .certificate-left,
    .certificate-right {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .certificate-layout {
        padding: 25px 10px;
    }

    .certificate-header {
        margin-bottom: 25px;
        flex-direction: column;
        text-align: center;
    }

    .certificate-header .yellow-bar {
        width: 60px;
        height: 4px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .certificate-header h2 {
        font-size: 20px;
    }

    .branch-member {
        padding: 12px;
        text-align: center;
        max-width: 260px;
        /* Even smaller max width for small mobile */
    }

    .branch-photo {
        width: 60px;
        height: 60px;
        margin: 0 auto 10px;
    }

    .branch-member h4 {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .branch-member h5 {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .branch-member p {
        font-size: 10px;
        margin: 3px 0;
        line-height: 1.3;
        /* More aggressive text handling for small screens */
        word-break: break-all;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }
}

@media (max-width: 1200px) {
    .branch-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .branch-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 10px;
    }

    .branch-photo {
        width: 60px;
        height: 60px;
    }

    .branch-member h4 {
        font-size: 12px;
    }

    .branch-member p {
        font-size: 10px;
    }
}

/* Staff List Collapsible Grid Layout */
.staff-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.staff-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.staff-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.staff-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1b3b86;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f47721;
}

.staff-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.staff-card.active .staff-content {
    max-height: 500px;
    margin-top: 15px;
}

.staff-members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.staff-member {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.staff-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #f47721;
}

.staff-member .staff-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px auto;
    border: 3px solid #f47721;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    display: block;
    transition: all 0.3s ease;
}

.staff-member:hover .staff-photo {
    transform: scale(1.05);
    border-color: #1b3b86;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.staff-member p {
    font-size: 13px;
    color: #666;
    margin: 6px 0;
    line-height: 1.4;
    font-weight: 500;
}

.staff-member p:first-of-type {
    font-weight: 700;
    color: #1b3b86;
    font-size: 14px;
    margin-bottom: 8px;
}

.staff-member p:nth-of-type(2) {
    color: #f47721;
    font-weight: 600;
    font-size: 12px;
}

@media (max-width: 768px) {
    .certificate-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .certificate-left,
    .certificate-right {
        max-width: 100%;
        flex: none;
    }

    .staff-members {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .staff-photo {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }

    .staff-member {
        padding: 15px 10px;
    }

    .staff-member p {
        font-size: 11px;
        margin: 4px 0;
    }

    .staff-member p:first-of-type {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .staff-card h3 {
        font-size: 16px;
    }
}

/* Custom Mobile Header adjustments */
@media (max-width: 768px) {
    .logo-section {
        display: none !important;
    }

    .mobile-nav-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        margin-left: 60px;
        /* clear absolute hamburger which is at left: 15px */
        height: 100%;
        max-width: calc(100% - 80px);
        /* Leave room for hamburger */
    }

    .mobile-nav-logo img {
        height: 36px;
        width: auto;
        border-radius: 4px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

    .mobile-nav-logo .mobile-nav-title {
        color: white;
        font-weight: 700;
        font-size: 15px;
        white-space: nowrap;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Remove redundant CSS toggle icons (+/-) since HTML has chevrons */
    .nav-menu .has-sub > a::after,
    .nav-menu .sub-menu .has-sub > a::after {
        display: none !important;
        content: "" !important;
    }
    
    /* Ensure sub-menu items are highly visible on mobile dark background */
    .nav-menu .category-items ul li a,
    .nav-menu .sub-menu a {
        color: rgba(255,255,255,0.9) !important;
        -webkit-text-fill-color: rgba(255,255,255,0.9) !important;
        padding-left: 20px;
        background: none !important;
    }
    
    .nav-menu .category-items ul li a:hover,
    .nav-menu .sub-menu a:hover {
        color: #f47721 !important;
        -webkit-text-fill-color: #f47721 !important;
        background: rgba(255,255,255,0.05) !important;
    }
    
    /* Responsive Hero Slider for mobile */
    .hero-section {
        height: auto !important;
    }
    
    #hero-slider .slide {
        position: absolute;
        height: auto;
    }
    
    #hero-slider .slide.active {
        position: relative;
    }
    
    #hero-slider .slide img {
        height: auto !important;
        display: block; /* Removes baseline gap */
    }
    
    .slider-indicators {
        bottom: 15px !important;
    }
    
    /* Remove overlapping margin that completely covers the mobile slider */
    .quick-services {
        margin-top: 0 !important;
    }
}

@media (min-width: 769px) {
    .mobile-nav-logo {
        display: none !important;
    }

    /* Desktop Hover Logic for Sub-Menu Categories (Accounts, Loans) */
    .nav-menu .menu-category:hover + .category-items,
    .nav-menu .category-items:hover {
        max-height: 1000px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .nav-menu .menu-category:hover .category-icon {
        transform: rotate(90deg);
        color: #f47721;
    }
}

/* ========================================================
   GLOBAL FIX: Responsive Scaling Hero Banners
   Prevents desktop and tablet views from aggressively 
   squeezing/cropping text-heavy ad banners inside the 
   legacy 600px/400px absolute height constraints.
======================================================== */
.hero-section {
    height: auto !important;
}

#hero-slider .slide {
    position: absolute;
    height: auto;
}

/* The active slide creates the actual physical height constraint */
#hero-slider .slide.active {
    position: relative;
    z-index: 1; /* Keep above background */
}

#hero-slider .slide img {
    height: auto !important;
    object-fit: contain !important;
    display: block; 
}

/* Constrain slider controls inside the dynamically sized banner */
.slider-indicators {
    bottom: 25px !important;
    z-index: 5 !important;
}/* ========================================================
   CUSTOM 3-COLUMN FOOTER 
   (Requested styling mapping screenshot)
======================================================== */
.custom-footer-layout {
    background-color: #385695;
    color: #ffffff;
    font-family: inherit;
    padding: 0;
    margin-top: 0;
}
.custom-footer-layout .footer-main {
    padding: 60px 0 40px;
}
.custom-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 40px;
}
.custom-footer-col {
    display: flex;
    flex-direction: column;
}
.custom-footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    margin-top: 0;
}
.custom-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.custom-footer-links li {
    margin-bottom: 18px;
}
.custom-footer-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}
.custom-footer-links li a:hover {
    opacity: 0.8;
}
.custom-footer-phone { margin-top: 20px; 
    margin-top: 10px;
    font-size: 13px;
    color: #ffffff;
    display: block; line-height: 1.8;
}
.custom-footer-box {
    background: rgba(255, 255, 255, 0.08); /* Transparent Light Overlay */
    border-radius: 8px;
    padding: 25px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.custom-box-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #ffffff;
    margin-top: 0;
}
.custom-box-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}
.custom-footer-bottom {
    background-color: #1a2230; /* Very dark slate blue for copyright strip */
    padding: 15px 0;
    text-align: center;
}
.custom-footer-bottom p {
    margin: 0;
    color: #e0e0e0;
    font-size: 12px;
    letter-spacing: 0.5px;
}
@media (max-width: 992px) {
    .custom-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .custom-footer-box {
        grid-column: 1 / -1;
        margin-top: 20px;
    }
}
@media (max-width: 768px) {
    .custom-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .custom-footer-layout .footer-main {
        padding: 40px 0 30px;
    }
}
