/* Base Styles */
:root {
    --primary-color: #003366; /* Deep Blue */
    --secondary-color-gold: #FFD700; /* Gold */
    --secondary-color-green: #1ABC9C; /* Green */
    --neutral-light: #f8f9fa;
    --neutral-gray: #e9ecef;
    --text-dark: #343a40;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
/* Sticky Top Bar */
.topbar-sticky {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.98rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.topbar-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0.3rem 1.5rem;
    gap: 1.2rem;
}
.topbar-support a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
    margin-left: 0.3rem;
}
.support-phone {
    white-space: nowrap;
.topbar-support {
    display: flex;
    align-items: center;
    white-space: nowrap;
    min-width: 180px;
    max-width: 500px;
    flex: 0 0 220px;
}
}
.topbar-news {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}
.news-label {
    font-weight: 600;
    margin-right: 0.5rem;
}
.news-marquee {
    overflow: hidden;
    white-space: nowrap;
    min-width: 120px;
    flex: 1;
    position: relative;
}
.news-marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-scroll 18s linear infinite;
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
@media (max-width: 768px) {
    .topbar-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.3rem 0.7rem;
        font-size: 0.92rem;
        gap: 0.2rem;
    }
    .topbar-news {
        margin-top: 2px;
    }
}
/* Hamburger Menu Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
}

.hamburger {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    display: block;
    position: relative;
    border-radius: 2px;
    transition: background 0.3s;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.3s, top 0.3s, bottom 0.3s;
}
.hamburger::before {
    top: -9px;
}
.hamburger::after {
    bottom: -9px;
}
.menu-toggle.active .hamburger {
    background: transparent;
}
.menu-toggle.active .hamburger::before {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active .hamburger::after {
    transform: translateY(-9px) rotate(-45deg);
}

.nav {
    position: relative;
}
.nav.open ul {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.logo span {
    color: var(--secondary-color-gold);
}

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

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
    background-color: var(--neutral-gray);
}

/* Hero Section */

/* Image Slider Styles */
.slider-section {
    width: 100%;
    background: var(--neutral-light);
    padding: 0;
    margin: 0;
}
.slider-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 16/6;
    min-height: 200px;
    max-height: 420px;
    background: #eee;
}
.slider {
    position: relative;
    width: 100%;
    height: 100%;
}
.slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.7s cubic-bezier(0.77,0,0.175,1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}
.slide.active {
    opacity: 1;
    z-index: 2;
}
.slide-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 0.3rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
}
.slider-arrow:hover {
    background: rgba(0,0,0,0.7);
}
.slider-arrow.prev {
    left: 20px;
}
.slider-arrow.next {
    right: 20px;
}
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 4;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary-color);
    opacity: 0.6;
    cursor: pointer;
    transition: background 0.3s, opacity 0.3s;
}
.slider-dot.active {
    background: var(--primary-color);
    opacity: 1;
}

@media (max-width: 768px) {
    .slider-container {
        aspect-ratio: 16/9;
        min-height: 120px;
        max-height: 220px;
    }
    .slide img {
        height: 100%;
        min-height: 120px;
        max-height: 220px;
    }
    .slide-caption {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
    .slider-arrow {
        font-size: 1.5rem;
        padding: 0.2rem 0.7rem;
    }
}
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.9)), url('https://images.unsplash.com/photo-1452800185063-6db5e12b8e2e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    box-shadow: var(--shadow);
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.secondary-btn {
    background-color: var(--secondary-color-gold);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color-gold);
}

.secondary-btn:hover {
    background-color: transparent;
    color: var(--secondary-color-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--neutral-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.testimonial-card {
    background-color: var(--neutral-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.customer {
    font-weight: 600;
    color: var(--primary-color);
}

.certifications {
    text-align: center;
}

.certifications h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.cert-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.cert-logo {
    font-size: 3rem;
}

/* Quick Links */
.quick-links {
    padding: 5rem 0;
    background-color: var(--neutral-gray);
}

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

.quick-link-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: var(--primary-color);
}

.quick-link-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-section h3 span {
    color: var(--secondary-color-gold);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color-gold);
}

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

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

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--secondary-color-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* About Page Styles */
.mission-values {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.value-card {
    background-color: var(--neutral-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.history {
    padding: 5rem 0;
    background-color: var(--neutral-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-year {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.leadership {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.leader-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--neutral-light);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.leader-img {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Services Page Styles */
.services-accounts,
.services-loans,
.services-cards,
.services-digital {
    padding: 5rem 0;
}

.services-accounts,
.services-digital {
    background-color: var(--white);
}

.services-loans,
.services-cards {
    background-color: var(--neutral-light);
}

.services-grid ul {
    list-style: none;
    margin-top: 1rem;
}

.services-grid ul li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.services-grid ul li::before {
    content: "✓";
    color: var(--secondary-color-gold);
    position: absolute;
    left: 0;
}

.services-cta {
    padding: 5rem 0;
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), url('https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn {
        display: block;
        margin: 1rem auto;
        width: 80%;
        max-width: 250px;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
        z-index: 201;
    }
    header {
        height: 64px;
        min-height: 64px;
    }
    .logo h2 {
        font-size: 1.4rem;
    }
    .menu-toggle {
        top: 50%;
        transform: translateY(-50%);
    }
    nav ul {
        flex-direction: column;
        background-color: var(--white);
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        width: 100vw;
        height: calc(100vh - 64px);
        box-shadow: var(--shadow);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease;
        z-index: 9999;
        text-align: left;
        margin: 0;
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
        overflow-y: auto;
    }
    .nav.open ul {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    nav ul li {
        margin: 0;
    }
    nav ul li a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--neutral-gray);
    }
    nav {
        flex: 1;
    }
    header .container {
        position: relative;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--neutral-gray);
    }
    
    .cert-logos {
        flex-wrap: wrap;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
}

/* Force primary color for footer and top bar */
footer, .topbar-sticky {
    background-color: var(--primary-color) !important;
}