/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1F1D0B;
    background-color: #ffffff;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

html {
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    gap: 5px;
    background: white;
    border-radius: 20px;
    padding: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    color: #666;
}

.lang-btn.active {
    background: #FDB913;
    color: white;
}

.lang-btn:hover:not(.active) {
    background: #f5f5f5;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    padding: 0 2rem;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 0;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #1F1D0B;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FDB913;
}

.btn-login {
    background: #FDB913;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #e6a50f;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #1F1D0B;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 2rem;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1F1D0B;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #FDB913;
    color: white;
}

.btn-primary:hover {
    background: #e6a50f;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(253, 185, 19, 0.3);
}

.btn-secondary {
    background: white;
    color: #1F1D0B;
    border: 2px solid #FDB913;
}

.btn-secondary:hover {
    background: #FDB913;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(253, 185, 19, 0.3);
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F1D0B;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: #FDB913;
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1F1D0B;
    margin-bottom: 1rem;
}

.service-description {
    color: #6c757d;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #f8f9fa;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    background: #FDB913;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.2rem;
}

.feature-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F1D0B;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #6c757d;
    line-height: 1.6;
}

.features-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

/* Mobile App Section */
.mobile-app {
    padding: 6rem 0;
    background: #1F1D0B;
    color: white;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-img {
    width: 300px;
    height: 600px;
    object-fit: cover;
    border-radius: 24px;
    margin: 0 auto;
    display: block;
}

.mobile-app .section-title {
    color: white;
}

.mobile-app .section-subtitle {
    color: #adb5bd;
    margin-bottom: 2rem;
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.app-feature-icon {
    font-size: 1.5rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
}

.download-badge {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.download-badge:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #1F1D0B;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo .logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: #adb5bd;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #FDB913;
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(253, 185, 19, 0.4);
    background: #e6a50f;
}

.social-link i {
    font-size: 1.2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FDB913;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FDB913;
}

.footer-bottom {
    border-top: 1px solid #343a40;
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Global mobile overflow prevention */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .language-toggle {
        position: fixed;
        top: 80px;
        right: 15px;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 5px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .language-toggle button {
        font-size: 12px;
        padding: 6px 12px;
        min-width: 35px;
    }

    .nav {
        padding: 0 1rem;
    }

    .nav-login {
        display: none;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .app-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .app-buttons {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .app-img {
        width: 250px;
        height: 500px;
    }
}

/* Personal Banking Section */
.personal-banking {
    padding: 6rem 0;
    background: #f8f9fa;
}

.personal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.personal-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.personal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.personal-icon {
    margin-bottom: 1.5rem;
    color: #FDB913;
    font-size: 3rem;
    display: flex;
    justify-content: center;
}

.personal-icon i {
    font-size: 3rem;
}

.personal-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1F1D0B;
}

.personal-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-link {
    color: #FDB913;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #e6a50a;
}

/* Corporate Banking Section */
.corporate-banking {
    padding: 6rem 0;
    background: white;
}

.corporate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.corporate-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.corporate-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.corporate-feature .feature-icon {
    font-size: 2rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF8E1;
    border-radius: 12px;
    color: #FDB913;
}

.corporate-feature .feature-icon i {
    font-size: 2rem;
}

.corporate-feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1F1D0B;
}

.corporate-feature p {
    color: #666;
    line-height: 1.6;
}

.corporate-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* Cards Section */
.cards-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.card-item:hover {
    transform: translateY(-5px);
}

.card-visual {
    margin-bottom: 2rem;
}

.credit-card {
    width: 280px;
    height: 180px;
    border-radius: 12px;
    padding: 1.5rem;
    color: white;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.credit-card.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.credit-card.platinum {
    background: linear-gradient(135deg, #C0C0C0, #808080);
}

.credit-card.classic {
    background: linear-gradient(135deg, #4169E1, #1E90FF);
}

.card-logo {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: right;
}

.card-chip {
    width: 40px;
    height: 30px;
    background: #FFD700;
    border-radius: 4px;
    position: absolute;
    top: 60px;
    left: 24px;
}

.card-number {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-top: 1rem;
}

.card-holder {
    font-size: 0.9rem;
    opacity: 0.9;
}

.card-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1F1D0B;
}

.card-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Loans Section */
.loans-section {
    padding: 6rem 0;
    background: white;
}

.loans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.loan-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.loan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.loan-icon {
    margin-bottom: 1.5rem;
    color: #FDB913;
    font-size: 3rem;
    display: flex;
    justify-content: center;
}

.loan-icon i {
    font-size: 3rem;
}

.loan-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1F1D0B;
}

.loan-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.loan-features {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.loan-features span {
    background: #FFF8E1;
    color: #FDB913;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Digital Banking Section */
.digital-banking {
    padding: 6rem 0;
    background: #f8f9fa;
}

.digital-content {
    margin-top: 3rem;
}

.digital-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.digital-feature {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.digital-feature .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FDB913;
    display: flex;
    justify-content: center;
}

.digital-feature .feature-icon i {
    font-size: 3rem;
}

.digital-feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1F1D0B;
}

.digital-feature p {
    color: #666;
    line-height: 1.6;
}

.mobile-app-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-app-showcase .app-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1F1D0B;
}

.mobile-app-showcase .app-text p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF8E1;
    border-radius: 12px;
    color: #FDB913;
}

.contact-icon i {
    font-size: 2rem;
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1F1D0B;
}

.contact-item p {
    color: #666;
    margin-bottom: 0.5rem;
}

.contact-item strong {
    color: #FDB913;
    font-weight: 600;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1F1D0B;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form input,
.form select,
.form textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: #FDB913;
}

.form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .personal-grid,
    .cards-grid,
    .loans-grid,
    .digital-features {
        grid-template-columns: 1fr;
    }
    
    .corporate-content,
    .contact-content,
    .mobile-app-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Fix mobile app section overflow */
    .mobile-app-showcase {
        padding: 2rem 1rem;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .mobile-app-showcase .app-text,
    .mobile-app-showcase .app-image {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .mobile-app-showcase .app-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .mobile-app-showcase .app-download {
        width: 100%;
        max-width: 200px;
    }
    
    .credit-card {
        width: 250px;
        height: 160px;
    }
    
    .loan-features {
        flex-direction: column;
        align-items: center;
    }
    
    .corporate-feature,
    .contact-item,
    .digital-feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1rem;
    }
    
    .corporate-feature .feature-icon,
    .contact-icon,
    .digital-feature .feature-icon {
        align-self: center;
        margin-bottom: 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .contact-item h3,
    .digital-feature h3 {
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .contact-item p,
    .contact-item strong,
    .digital-feature p {
        text-align: center;
    }
    
    .contact-info {
        gap: 2.5rem;
    }
    
    .contact-form {
        margin-top: 1rem;
    }
}