:root {
    --primary-blue: #0073e6;
    --secondary-blue: #0059b3;
    --accent-gold: #ffd700;
    --success-green: #28a745;
    --warning-orange: #fd7e14;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.15);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--dark-gray);
}

.logo-text h1 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 12px;
    color: var(--medium-gray);
    letter-spacing: 1px;
}

/* Updated Navigation with Bottom-to-Top Water Fill Effect */
nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
    display: block;
    overflow: hidden;
}

/* Bottom-to-Top Water Fill Effect */
.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, var(--primary-blue), var(--secondary-blue));
    z-index: -1;
    transition: height 0.4s ease;
    border-radius: 4px 4px 0 0;
}

.nav-links a:hover::before {
    height: 100%;
    animation: waterRise 0.6s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a.active::before {
    height: 100%;
}

.nav-links a.active {
    color: var(--white);
}

@keyframes waterRise {
    0% {
        height: 0%;
    }
    50% {
        height: 120%;
    }
    100% {
        height: 100%;
    }
}

/* News Modal Styles */
.news-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.news-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-medium);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 25px 30px;
    border-radius: 12px 12px 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-body {
    padding: 30px;
}

.modal-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--medium-gray);
    font-size: 14px;
}

.modal-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Go Up Button */
.go-up-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    border: none;
}

.go-up-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-up-btn:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    transform: translateY(-5px);
}

/* Modern Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.menu-icon {
    width: 100%;
    height: 100%;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-blue);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 10px;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

.mobile-menu-btn.active .menu-icon span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.mobile-menu-btn.active .menu-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-btn.active .menu-icon span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(85, 85, 246, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1563013544-824ae1b704d3?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 230, 0.2);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--dark-gray);
}

.btn-gold:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.badge {
    text-align: center;
}

.badge-icon {
    font-size: 32px;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

/* Banking Cards Showcase */
.cards-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}

.section-title p {
    color: var(--medium-gray);
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 18px;
}

.cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.bank-card {
    width: 340px;
    height: 215px;
    border-radius: 15px;
    padding: 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.bank-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-1 {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    transform: rotate(-5deg);
}

.card-2 {
    background: linear-gradient(135deg, var(--dark-gray), #666);
    color: white;
    transform: rotate(5deg);
}

.card-3 {
    background: linear-gradient(135deg, #ffd700, #ff9800);
    color: var(--dark-gray);
}

.card-chip {
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700, #ff9800);
    border-radius: 8px;
    margin-bottom: 20px;
}

.card-number {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    letter-spacing: 3px;
    margin: 15px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.card-details {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 14px;
}

/* Promotional Section Styles */
.promotional-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    max-width: 1200px;
    width: 100%;
    margin: 60px auto;
    position: relative;
}

.promo-container {
    display: flex;
    min-height: 500px;
}

/* Image Side */
.promo-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.promo-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 115, 230, 0.1), rgba(255, 215, 0, 0.05));
    z-index: 1;
}

.woman-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.promo-image:hover .woman-image {
    transform: scale(1.03);
}

.floating-card {
    position: absolute;
    width: 220px;
    height: 140px;
    background: linear-gradient(135deg, var(--accent-gold), #ff9800);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 3;
    animation: floatCard 6s ease-in-out infinite;
    bottom: 50px;
    right: 50px;
    transform: rotate(10deg);
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(10deg);
    }
    50% {
        transform: translateY(-15px) rotate(12deg);
    }
}

/* Content Side */
.promo-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.trust-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(0, 115, 230, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 600;
}

.promo-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    align-self: flex-start;
}

.promo-headline {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.promo-headline span {
    color: var(--accent-gold);
}

.promo-message {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
}

.benefits-list {
    list-style: none;
    margin-bottom: 40px;
}

.benefits-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    flex-shrink: 0;
}

.promo-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.promo-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.promo-btn.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
}

.promo-btn.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 115, 230, 0.2);
}

.promo-btn.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.promo-btn.btn-outline:hover {
    background: rgba(0, 115, 230, 0.1);
    transform: translateY(-3px);
}

/* Stats Section */
.promo-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 14px;
    color: #666;
}

/* Quick Services Section - Flip Cards */
.quick-services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Flip Cards */
.flip-card {
    perspective: 1000px;
    height: 300px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.flip-card-front {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.flip-card-back {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 32px;
}

/* Digital Banking Section - Updated Text */
.digital-banking {
    padding: 80px 0;
    background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.digital-banking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
}

.digital-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.phones-container {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone {
    position: absolute;
    width: 250px;
    height: 500px;
    background-color: var(--white);
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px;
    border: 10px solid #222;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 20px;
    text-align: center;
}

.phone-1 {
    left: 0;
    z-index: 2;
    animation: floatPhone 6s infinite ease-in-out;
}

.phone-2 {
    right: 0;
    z-index: 1;
    animation: floatPhone 6s infinite ease-in-out reverse;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* Featured Products Slider */
.featured-products {
    padding: 80px 0;
    background: url('https://images.unsplash.com/photo-1501167786227-4cba60f6d58f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.featured-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
}

.featured-products .container {
    position: relative;
    z-index: 1;
}

.products-slider-container {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: 15px;
}

.products-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.product-card {
    min-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.product-inner {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.product-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 25px;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-gold);
    color: var(--dark-gray);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 20px;
}

.slider-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Why Choose Us Accordion - Fixed to not open by default */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--white);
}

.accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-item.active {
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-blue);
}

.accordion-header {
    padding: 20px 30px;
    background-color: var(--light-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: rgba(0, 115, 230, 0.05);
}

.accordion-header.active {
    background-color: rgba(0, 115, 230, 0.1);
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-gray);
}

.accordion-item.active .accordion-title {
    color: var(--primary-blue);
}

.accordion-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.accordion-toggle {
    font-size: 20px;
    color: var(--primary-blue);
    transition: transform 0.3s;
    cursor: pointer;
}

.accordion-item.active .accordion-toggle {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background-color: var(--white);
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-body {
    padding: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.accordion-item.active .accordion-body {
    padding: 25px 30px;
    opacity: 1;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--medium-gray);
}

.news-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-category {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.news-content h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 20px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--accent-gold);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
}

.newsletter {
    margin-top: 20px;
}

.newsletter input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .digital-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .phones-container {
        order: -1;
        height: 350px;
        margin-bottom: 30px;
    }
    
    .bank-card {
        width: 300px;
        height: 190px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Promotional Section Responsive */
    .promo-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .promo-image {
        height: 400px;
    }
    
    .floating-card {
        width: 180px;
        height: 115px;
        bottom: 30px;
        right: 30px;
    }
    
    .promo-content {
        padding: 40px;
    }
    
    .promo-headline {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: var(--shadow-medium);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a::before {
        display: none;
    }
    
    .nav-links a.active {
        color: var(--primary-blue);
        background-color: rgba(0, 115, 230, 0.1);
        padding: 10px;
        border-radius: 4px;
    }
    
    .hero {
        padding: 80px 0;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .bank-card {
        width: 280px;
        height: 180px;
        transform: none !important;
    }
    
    .bank-card:hover {
        transform: translateY(-10px) !important;
    }
    
    .flip-card {
        height: 280px;
    }
    
    .accordion-header {
        padding: 15px 20px;
    }
    
    .accordion-title {
        font-size: 16px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .card-number {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .card-details {
        font-size: 12px;
    }
    
    .go-up-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    /* Promotional Section Responsive */
    .promo-headline {
        font-size: 32px;
    }
    
    .promo-message {
        font-size: 16px;
    }
    
    .promo-buttons {
        flex-direction: column;
    }
    
    .promo-btn {
        width: 100%;
        justify-content: center;
    }
    
    .promo-stats {
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 1 1 calc(50% - 15px);
        margin-bottom: 20px;
    }
    
    .floating-card {
        width: 150px;
        height: 95px;
        padding: 15px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
    }
    
    .trust-badges {
        gap: 20px;
        flex-direction: column;
    }
    
    .bank-card {
        width: 320px;
        height: 200px;
    }
    
    .phone {
        width: 200px;
        height: 400px;
    }
    
    .phones-container {
        height: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .flip-card:hover .flip-card-inner {
        transform: none;
    }
    
    /* Mobile touch for flip cards */
    .flip-card.touch-active .flip-card-inner {
        transform: rotateY(180deg);
    }
    
    .product-header, .accordion-body {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-image {
        height: 180px;
    }
    
    /* Promotional Section Responsive */
    .promotional-section {
        margin: 30px auto;
    }
    
    .promo-content {
        padding: 30px 20px;
    }
    
    .promo-headline {
        font-size: 28px;
    }
    
    .promo-image {
        height: 350px;
    }
    
    .floating-card {
        width: 120px;
        height: 75px;
        padding: 10px;
        bottom: 15px;
        right: 15px;
    }
    
    .promo-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .trust-badge {
        top: 20px;
        right: 20px;
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 360px) {
    .logo-text h1 {
        font-size: 20px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .bank-card {
        width: 280px;
        height: 180px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
}

/* Open Account Page Styles */
:root {
    --primary-dark-purple: #2d1b69;
    --dark-purple: #1f1147;
    --light-purple: #f5f3ff;
    --accent-orange: #ff6b35;
    --dark-orange: #e55a2b;
    --text-dark: #222222;
    --text-light: #666666;
    --white: #ffffff;
    --gray-bg: #f8f9fa;
    --border-color: #e1e5eb;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --success-green: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--gray-bg);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-link h1 {
    color: var(--primary-dark-purple);
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo-link p {
    color: var(--accent-orange);
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-top: 3px;
    font-weight: 700;
}

.back-link {
    color: var(--primary-dark-purple);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--accent-orange);
}

/* Hero Section */
.account-hero {
    background-color: var(--primary-dark-purple);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.account-hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 900;
}

.account-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Account Types */
.account-types {
    padding: 80px 0;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.type-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
    border-top: 5px solid var(--primary-dark-purple);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.type-card:hover {
    transform: translateY(-10px);
}

.type-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-dark-purple);
    font-size: 32px;
}

.type-card h3 {
    color: var(--primary-dark-purple);
    margin-bottom: 15px;
    font-weight: 900;
    font-size: 24px;
}

.type-features {
    list-style: none;
    margin: 20px 0;
    flex-grow: 1;
}

.type-features li {
    margin-bottom: 10px;
    color: var(--text-light);
    padding-left: 25px;
    position: relative;
    text-align: left;
}

.type-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

.type-price {
    font-size: 28px;
    color: var(--primary-dark-purple);
    font-weight: 900;
    margin: 20px 0;
}

.type-price span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
}

/* Application Form */
.application-section {
    background-color: var(--white);
    padding: 80px 0;
}

.application-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 50px;
    box-shadow: var(--card-shadow);
    border-top: 5px solid var(--accent-orange);
}

.form-card h3 {
    color: var(--primary-dark-purple);
    margin-bottom: 30px;
    font-weight: 900;
    font-size: 28px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-dark);
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-dark-purple);
}

.form-note {
    background-color: var(--light-purple);
    padding: 15px;
    border-radius: 4px;
    margin: 30px 0;
    font-size: 14px;
    color: var(--text-light);
}

.form-note strong {
    color: var(--primary-dark-purple);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}

.checkbox-group a {
    color: var(--accent-orange);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    background-color: var(--accent-orange);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 900;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: var(--dark-orange);
}

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: var(--white);
    border-radius: 10px;
    padding: 50px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: translateY(-50px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background-color: var(--success-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 36px;
}

.modal h3 {
    color: var(--primary-dark-purple);
    margin-bottom: 15px;
    font-weight: 900;
    font-size: 28px;
}

.modal p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: var(--primary-dark-purple);
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 900;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--accent-orange);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--accent-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .account-hero h2 {
        font-size: 36px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .account-hero {
        padding: 60px 0;
    }
    
    .account-hero h2 {
        font-size: 32px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .account-hero h2 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .form-card {
        padding: 20px;
    }
    
    .modal {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}