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

:root {
    /* Global Font Variables */
    --font-family-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-family-heading: 'Arial', 'Helvetica', sans-serif;

    /* Global Font Sizes */
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
    --font-size-h4: 1.25rem;
    --font-size-h5: 1.1rem;
    --font-size-h6: 1rem;

    /* Global Font Colors */
    --font-color-primary: #333333;
    --font-color-secondary: #666666;
    --font-color-light: #999999;
    --font-color-white: #ffffff;
    --font-color-heading: #1a1a1a;

    /* Simple Professional Color Scheme */
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #4299e1;
    --gm-red: #1a365d;
    --gm-red-gradient-start: #1a365d;
    --gm-red-gradient-end: #2c5282;
    --gm-gold: #2c5282;
    --gm-gold-gradient: #2c5282;
    --icon-gold-light: #ebf8ff;
    --icon-gold-medium: #4299e1;
    --icon-gold-gradient: linear-gradient(135deg, #ebf8ff 0%, #4299e1 50%, #2c5282 100%);
    --text-color: var(--font-color-primary);
    --light-bg: #f0f5fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Main Header Wrapper */
.main-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

/* Base Body Padding */
body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--font-color-primary);
    overflow-x: hidden;
    position: relative;
    background: #f0f5fa;
    min-height: 100vh;
    padding-top: 180px;
    /* Reduced for exact compact look */
}

body::before,
body::after {
    display: none;
}

/* Brand Header Styles - Exact Match */
.brand-header {
    background: #C11007;
    /* Maroon background from image */
    padding: 0 0;
    color: #ffffff;
    border-bottom: none;
}

.brand-header .container {
    display: flex;
    justify-content: center;
    padding: 0;
}

.brand-header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.brand-logo-area a {
    display: flex;
    align-items: center;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.brand-logo-img {
    height: 125px;
    width: auto;
    object-fit: contain;
    padding: 6px;

}

.brand-text-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-name-kannada {
    font-size: 1.95rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    color: #ffffff;
    font-family: var(--font-family-heading);
    letter-spacing: 0.5px;
    text-shadow: none;
}

.brand-name-english {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 4px 0;
    color: #ffffff;
    line-height: 1.1;
}

.brand-contact-info {
    font-size: 0.72rem;
    color: #ffffff;
    margin-top: 5px;
    font-weight: 600;
    opacity: 1;
    letter-spacing: 0.2px;
}

.brand-contact-info p {
    margin: 2px 0;
    line-height: 1.4;
}

/* Header (Navbar) Styles - Centered */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 0;
    display: flex;
    justify-content: center;
}

.header .container {
    width: auto;
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: center;
}

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

.nav-menu li a {
    display: block;
    padding: 12px 18px;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #2b6cb0;
    /* Navy blue from image */
    border-bottom: 3px solid #2b6cb0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .brand-header-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .brand-logo-img {
        height: 50px;
    }

    .brand-name-english {
        font-size: 1.2rem;
    }

    .brand-name-kannada {
        font-size: 1.1rem;
    }

    body {
        padding-top: 200px;
    }
}



.logo-gm {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--gm-red-gradient-start) 0%, var(--gm-red-gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(91, 31, 31, 0.2);
    position: relative;
    z-index: 2;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.logo-group {
    font-size: calc(var(--font-size-small) * 0.9);
    font-weight: 600;
    color: var(--font-color-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: -4px;
    position: relative;
    z-index: 1;
}

.logo-arc {
    position: absolute;
    left: -4px;
    top: 50%;
    width: 45px;
    height: 45px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    transform: translateY(-50%) rotate(-30deg);
    z-index: 0;
    opacity: 0.6;
}

.logo-bank {
    font-size: calc(var(--font-size-base) * 0.9);
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 2px;
}

.navbar {
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--font-color-primary);
    font-size: var(--font-size-base);
    font-weight: 500;
    font-family: var(--font-family-primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    padding: 10px 0;
    border-radius: 5px;
    margin-top: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1000;
}

/* Create a bridge area to maintain hover when moving from parent to dropdown */
.dropdown:not(.mega-dropdown)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 5px;
    background: transparent;
    z-index: 999;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu,
.dropdown:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Keep dropdown visible when hovering directly over the menu */
.dropdown-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    color: var(--font-color-primary);
    font-size: var(--font-size-base);
    font-family: var(--font-family-primary);
}

.dropdown-menu a:hover {
    background: rgba(26, 54, 93, 0.05);
    color: var(--primary-color);
}

/* Mega Menu Styling */
.mega-dropdown {
    position: static !important;
}

.mega-menu {
    width: 100vw !important;
    left: 0 !important;
    top: 100% !important;
    background: var(--white) !important;
    padding: 50px 0 !important;
    border-radius: 0 0 10px 10px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-5px) !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
    border-top: 3px solid #C11007 !important;
    pointer-events: none !important;
}

.mega-dropdown:hover .mega-menu,
.mega-dropdown.active .mega-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.mega-menu-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.mega-menu-column {
    flex: 1;
    min-width: 250px;
    padding: 0 40px;
    border-right: 1px solid #e2e8f0 !important;
}

.mega-menu-column:last-child {
    border-right: none !important;
}

.mega-menu-header {
    margin-bottom: 30px;
}

.mega-menu-header h3 {
    color: #C11007 !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin-bottom: 10px !important;
    letter-spacing: 1.5px !important;
}

.mega-menu-header .header-line {
    width: 20px;
    height: 3px;
    background: #C11007;
    opacity: 0.3;
}

.mega-menu-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mega-menu-list li {
    margin-bottom: 15px !important;
}

.mega-menu-list a {
    color: var(--font-color-primary) !important;
    text-transform: none !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 0 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    letter-spacing: 0.2px !important;
    display: block !important;
}

.mega-menu-list a:hover {
    color: #C11007 !important;
    background: transparent !important;
    transform: translateX(5px);
}

.mega-menu-loading {
    color: var(--font-color-light);
    text-align: center;
    padding: 40px;
    width: 100%;
}

/* Hide chevron icons for items without active dropdowns */
.nav-menu li.dropdown a[href="deposits.html"] .fa-chevron-down,
.nav-menu li.dropdown a[href="deposits.html"] i.fa-chevron-down,
.nav-menu li.dropdown a[data-page="deposits.html"] .fa-chevron-down,
.nav-menu li.dropdown a[data-page="deposits.html"] i.fa-chevron-down,
.nav-menu li.dropdown a[href="loans.html"] .fa-chevron-down,
.nav-menu li.dropdown a[href="loans.html"] i.fa-chevron-down,
.nav-menu li.dropdown a[data-page="loans.html"] .fa-chevron-down,
.nav-menu li.dropdown a[data-page="loans.html"] i.fa-chevron-down,
.nav-menu li.dropdown a[href="services.html"] .fa-chevron-down,
.nav-menu li.dropdown a[href="services.html"] i.fa-chevron-down,
.nav-menu li.dropdown a[data-page="services.html"] .fa-chevron-down,
.nav-menu li.dropdown a[data-page="services.html"] i.fa-chevron-down,
.nav-menu li.dropdown a[href="branches.html"] .fa-chevron-down,
.nav-menu li.dropdown a[href="branches.html"] i.fa-chevron-down,
.nav-menu li.dropdown a[data-page="branches.html"] .fa-chevron-down,
.nav-menu li.dropdown a[data-page="branches.html"] i.fa-chevron-down,
.nav-menu li.dropdown a[href="gallery.html"] .fa-chevron-down,
.nav-menu li.dropdown a[href="gallery.html"] i.fa-chevron-down,
.nav-menu li.dropdown a[data-page="gallery.html"] .fa-chevron-down,
.nav-menu li.dropdown a[data-page="gallery.html"] i.fa-chevron-down {
    display: inline-block !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    position: relative;
    padding: 5px;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

/* Hero Section */
.hero {
    background: url('https://d17ocfn2f5o4rl.cloudfront.net/wp-content/uploads/2022/08/header-5.jpg') center/cover no-repeat;
    color: var(--font-color-white);
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 54, 93, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: var(--font-size-h1);
    color: var(--font-color-white);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: var(--font-size-large);
    color: var(--font-color-white);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    text-align: center;
    font-size: 10rem;
    opacity: 0.2;
}

/* Modern Hero Section */
.hero-modern {
    padding: 120px 20px;
    min-height: 600px;
    background: linear-gradient(135deg, #1a1a2e 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
}

.hero-modern::before {
    width: 800px;
    height: 800px;
    top: -30%;
    right: -15%;
    background: radial-gradient(circle, rgba(26, 54, 93, 0.08) 0%, transparent 70%);
}

.hero-modern::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(91, 31, 31, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(26, 54, 93, 0.1);
    border: 1px solid rgba(26, 54, 93, 0.2);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: var(--font-size-small);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: var(--font-size-large);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gm-gold);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-small);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.hero-card i {
    font-size: 6rem;
    color: var(--gm-gold);
    opacity: 0.9;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(26, 54, 93, 0.08);
    float 6s ease-in-out infinite;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    right: 20%;
    animation-delay: 4s;
}

/* Stats Section */
.stats-section {
    padding: 80px 20px;
    background: transparent;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(240, 240, 240, 0.5);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 2rem;
    color: var(--gm-red);
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gm-red);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-content p {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    margin: 0;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gm-red);
}

.btn {
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    display: inline-block;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--font-color-white);
    box-shadow: 0 2px 8px rgba(26, 54, 93, 0.2);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: transparent;
}

.section-title {
    text-align: center;
    font-size: var(--font-size-h2);
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.feature-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(26, 54, 93, 0.1);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(26, 54, 93, 0.15);
    border-color: rgba(26, 54, 93, 0.2);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card:hover i {
    color: var(--secondary-color);
}

.feature-card h3 {
    font-size: var(--font-size-h3);
    margin-bottom: 1rem;
    color: var(--gm-red);
}

.feature-card p {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
}

/* Products Section */
.products {
    padding: 80px 20px;
    background: transparent;
}

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

.product-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(26, 54, 93, 0.1);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.product-card:hover i {
    color: var(--secondary-color);
}

.product-card h3 {
    font-size: var(--font-size-h3);
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.product-card p {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
}

.product-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.btn-link {
    color: var(--gm-red);
    text-decoration: none;
    font-size: var(--font-size-base);
    font-weight: 600;
    font-family: var(--font-family-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-link:hover {
    gap: 10px;
    color: var(--gm-red-gradient-end);
}

/* Page Content Styles */
.page-content {
    padding: 0;
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.page-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(26, 54, 93, 0.1);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: var(--font-size-h1);
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.page-header p {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
}

/* Board of Directors Banner */
.board-directors-banner {
    position: relative;
    width: 100%;
    height: 300px;
    background-image: url('../images/about-four-img-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(44, 82, 130, 0.75) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    max-width: 1200px;
    width: 100%;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Branch Managers Banner */
.branch-managers-banner {
    position: relative;
    width: 100%;
    height: 300px;
    background-image: url('../images/about-four-img-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.branch-managers-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(44, 82, 130, 0.75) 100%);
    z-index: 1;
}

.branch-managers-banner .banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    max-width: 1200px;
    width: 100%;
}

.branch-managers-banner .banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.branch-managers-banner .banner-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Annual Reports Banner */
.annual-reports-banner {
    position: relative;
    width: 100%;
    height: 300px;
    background-image: url('../images/about-four-img-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.annual-reports-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(44, 82, 130, 0.75) 100%);
    z-index: 1;
}

.annual-reports-banner .banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    max-width: 1200px;
    width: 100%;
}

.annual-reports-banner .banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.annual-reports-banner .banner-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Loans Banner */
.loans-banner {
    position: relative;
    width: 100%;
    height: 300px;
    background-image: url('../images/about-four-img-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.loans-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(44, 82, 130, 0.75) 100%);
    z-index: 1;
}

.loans-banner .banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    max-width: 1200px;
    width: 100%;
}

.loans-banner .banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.loans-banner .banner-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Gallery Banner */
.gallery-banner {
    position: relative;
    width: 100%;
    height: 300px;
    background-image: url('../images/about-four-img-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.gallery-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(44, 82, 130, 0.75) 100%);
    z-index: 1;
}

.gallery-banner .banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    max-width: 1200px;
    width: 100%;
}

.gallery-banner .banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-banner .banner-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Simple Gallery Section */
.gallery-section-simple {
    padding: 60px 20px;
    background: transparent;
    margin: 0 auto;
}

.gallery-container-simple {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.gallery-item-simple {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.gallery-item-simple.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: var(--animation-delay, 0s);
}

.gallery-item-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item-simple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item-simple:hover img {
    transform: scale(1.05);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loans Section */
.loans-section {
    padding: 60px 20px;
    background: transparent;
    margin: 0 auto;
}

.loans-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.loan-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: 100%;
    margin-bottom: 2rem;
}

/* Odd items (1st, 3rd, 5th): Image LEFT, Content RIGHT */
.loan-item.loan-left {
    flex-direction: row;
}

.loan-item.loan-left .loan-image {
    order: 1;
}

.loan-item.loan-left .loan-content {
    order: 2;
}

/* Even items (2nd, 4th): Image RIGHT, Content LEFT */
.loan-item.loan-right {
    flex-direction: row;
}

.loan-item.loan-right .loan-content {
    order: 1;
}

.loan-item.loan-right .loan-image {
    order: 2;
}

.loan-image {
    flex: 0 0 500px;
    width: 500px;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.loan-item:hover .loan-image {
    transform: scale(1.02);
}

.loan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.loan-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
}

.loan-image-placeholder i {
    font-size: 4rem;
    opacity: 0.8;
}

.loan-content {
    flex: 1;
    padding: 3rem 2rem;
}

.loan-name {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.loan-details {
    font-size: 1.5rem;
    color: var(--font-color-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: none;
    letter-spacing: 0;
}

.loan-description {
    font-size: 1.2rem;
    color: var(--font-color-secondary);
    font-weight: 400;
    margin: 0;
    line-height: 1.8;
    text-align: left;
}

/* Origin / History Section */
.origin-history-section {
    padding: 60px 20px;
    background: transparent;
    max-width: 1200px;
    margin: 0 auto;
}

.origin-header {
    text-align: center;
    margin-bottom: 3rem;
}

.origin-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(26, 54, 93, 0.08);
    border: 1px solid rgba(26, 54, 93, 0.2);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.origin-badge i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.origin-badge span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.origin-title {
    font-size: var(--font-size-h2);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.origin-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.origin-content {
    max-width: 100%;
    margin: 0 auto;
}

.origin-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.origin-intro-text {
    font-size: var(--font-size-large);
    color: var(--font-color-primary);
    line-height: 1.8;
}

.origin-intro-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Timeline */
.origin-timeline {
    position: relative;
    padding: 2rem 0;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.origin-timeline::before {
    display: none;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    position: relative;
    gap: 1.5rem;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.timeline-content {
    flex: 1;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(26, 54, 93, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.timeline-content h3 {
    font-size: var(--font-size-h3);
    color: var(--gm-red);
    margin-bottom: 1rem;
    font-weight: 700;
}

.timeline-content p {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    line-height: 1.8;
}

.timeline-content strong {
    color: var(--gm-red);
    font-weight: 700;
}

/* Value Cards */
.origin-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, all 0.4s ease;
}

.value-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.value-card.animate-in:nth-child(1) {
    transition-delay: 0.1s;
}

.value-card.animate-in:nth-child(2) {
    transition-delay: 0.2s;
}

.value-card.animate-in:nth-child(3) {
    transition-delay: 0.3s;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(238, 205, 112, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--gm-gold);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.15);
}

.value-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s;
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.2);
}

.value-icon i {
    font-size: 2.5rem;
    color: var(--gm-red);
    position: relative;
    z-index: 2;
}

.value-card h3 {
    font-size: var(--font-size-h3);
    color: var(--gm-red);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.value-card p {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Patrons Section */
.patrons-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 20px;
    background: #ffffff;
    width: 100vw;
    max-width: 100%;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50% + 20px);
    padding-right: calc(50vw - 50% + 20px);
}

.patrons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.patron-card {
    flex: 0 0 280px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.patron-image-wrapper {
    margin-bottom: 1.5rem;
}

.patron-image-placeholder {
    width: 200px;
    height: 240px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.2);
    overflow: hidden;
}

.patron-image-placeholder i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
}

.patron-info {
    text-align: center;
}

.patron-name {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.patron-title {
    font-size: 0.9rem;
    color: var(--font-color-secondary);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.patron-position {
    font-size: 0.85rem;
    color: var(--font-color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Center Logo */
.patrons-logo {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.25);
    position: relative;
    border: 5px solid #ffffff;
}


.logo-inner {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    text-align: center;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-text-top {
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.logo-center-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    box-shadow: 0 3px 10px rgba(26, 54, 93, 0.3);
}

.logo-center-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.logo-text-bottom {
    font-size: 0.65rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* President View Section */
.president-view-section {
    padding: 60px 20px;
    background: #ffffff;
    margin: 40px 0;
    width: 100%;
}

.president-view-container {
    max-width: 1200px;
    margin: 0 auto;
}

.president-view-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: visible;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    padding: 2rem;
}

.president-view-image-wrapper {
    flex: 0 0 280px;
    position: relative;
    height: auto;
    overflow: visible;
}

.president-view-image-frame {
    width: 280px;
    height: 350px;
    background: linear-gradient(135deg, #4ade80 0%, #3b82f6 50%, #1e3a8a 100%);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.president-view-image-circle {
    width: 240px;
    height: 240px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.president-view-image {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.president-view-image i {
    font-size: 5rem;
    color: var(--primary-color);
}

.president-view-info {
    flex: 1;
    padding: 0;
    text-align: left;
}

.president-view-name {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.president-view-position {
    font-size: 1rem;
    color: var(--font-color-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: none;
    letter-spacing: 0;
}

.president-view-bio {
    font-size: 1rem;
    color: var(--font-color-primary);
    line-height: 1.8;
}

.president-view-bio p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.president-view-bio p:last-child {
    margin-bottom: 0;
}

.president-view-bio strong {
    color: var(--primary-color);
    font-weight: 700;
}

.president-view-card:hover .president-view-image-frame {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Vice-President View Section */
.vice-president-view-section {
    padding: 60px 20px;
    background: #ffffff;
    margin: 40px 0;
    width: 100%;
}

.vice-president-view-container {
    max-width: 1200px;
    margin: 0 auto;
}

.vice-president-view-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: visible;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    padding: 2rem;
}

.vice-president-view-image-wrapper {
    flex: 0 0 280px;
    position: relative;
    height: auto;
    overflow: visible;
}

.vice-president-view-image-frame {
    width: 280px;
    height: 350px;
    background: linear-gradient(135deg, #4ade80 0%, #3b82f6 50%, #1e3a8a 100%);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vice-president-view-image-circle {
    width: 240px;
    height: 240px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.vice-president-view-image {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.vice-president-view-image i {
    font-size: 5rem;
    color: var(--primary-color);
}

.vice-president-view-info {
    flex: 1;
    padding: 0;
    text-align: left;
}

.vice-president-view-name {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.vice-president-view-position {
    font-size: 1rem;
    color: var(--font-color-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: none;
    letter-spacing: 0;
}

.vice-president-view-bio {
    font-size: 1rem;
    color: var(--font-color-primary);
    line-height: 1.8;
}

.vice-president-view-bio p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.vice-president-view-bio p:last-child {
    margin-bottom: 0;
}

.vice-president-view-bio strong {
    color: var(--primary-color);
    font-weight: 700;
}

.vice-president-view-card:hover .vice-president-view-image-frame {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Board of Directors Section */
.board-directors-section {
    padding: 30px 20px;
    background: transparent;
    max-width: 1200px;
    margin: 0 auto;
}

.board-container {
    max-width: 100%;
    margin: 0 auto;
}

.board-header {
    text-align: center;
    margin-bottom: 3rem;
}

.board-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(26, 54, 93, 0.08);
    border: 1px solid rgba(26, 54, 93, 0.2);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.board-badge i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.board-badge span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.board-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

.board-subtitle {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    margin-top: 1rem;
}

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

.director-card {
    background: transparent;
    padding: 0.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.director-card:hover {
    transform: translateY(-4px);
}

.director-photo {
    width: 200px;
    height: 240px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.director-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.director-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
}

.director-photo-placeholder i {
    font-size: 3.5rem;
    opacity: 0.8;
}

.director-name {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.director-position {
    font-size: 0.9rem;
    color: var(--font-color-secondary);
    font-weight: 500;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

/* President and Vice-President Special Section */
.president-vice-section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4rem;
    margin: 0.5rem 0 0;
    padding: 0.5rem 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.president-vice-card {
    flex: 0 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
}

.president-vice-photo {
    margin-bottom: 1.5rem;
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.president-vice-photo-frame {
    width: 260px;
    height: 320px;
    background: #1a365d;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e0e0;
    overflow: hidden;
}

.president-vice-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.president-vice-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    border-radius: 8px;
}

.president-vice-photo-placeholder i {
    font-size: 4rem;
    opacity: 0.8;
}

.president-vice-name {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.president-vice-info {
    font-size: 0.95rem;
    color: var(--font-color-secondary);
    font-weight: 400;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.president-vice-position {
    font-size: 1.1rem;
    color: var(--font-color-secondary);
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.president-vice-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    align-self: flex-start;
    padding-top: 0;
    height: 240px;
    box-sizing: border-box;
}

.president-logo-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    display: block;
}

/* Branch Managers Section */
.branch-managers-section {
    padding: 30px 20px;
    background: transparent;
    max-width: 1200px;
    margin: 0 auto;
}

.managers-container {
    max-width: 100%;
    margin: 0 auto;
}

.managers-header {
    text-align: center;
    margin-bottom: 3rem;
}

.managers-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(26, 54, 93, 0.08);
    border: 1px solid rgba(26, 54, 93, 0.2);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.managers-badge i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.managers-badge span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.managers-title {
    font-size: var(--font-size-h2);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.managers-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.managers-subtitle {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    margin-top: 1rem;
}

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

.manager-card {
    background: transparent;
    padding: 0.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.manager-card:hover {
    transform: translateY(-4px);
}

.manager-photo {
    width: 200px;
    height: 240px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.manager-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.manager-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
}

.manager-photo-placeholder i {
    font-size: 3.5rem;
    opacity: 0.8;
}

.manager-name {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.manager-position {
    font-size: 0.9rem;
    color: var(--font-color-secondary);
    font-weight: 500;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}


/* Annual Reports Section */
.annual-reports-section {
    padding: 60px 20px;
    background: transparent;
    max-width: 1200px;
    margin: 0 auto;
}

.reports-container {
    max-width: 100%;
    margin: 0 auto;
}

.reports-header {
    text-align: center;
    margin-bottom: 3rem;
}

.reports-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(26, 54, 93, 0.08);
    border: 1px solid rgba(26, 54, 93, 0.2);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.reports-badge i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.reports-badge span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.reports-title {
    font-size: var(--font-size-h2);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.reports-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.reports-subtitle {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    margin-top: 1rem;
}

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

.report-card {
    background: transparent;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.report-card:hover {
    transform: translateY(-4px);
}

.report-icon {
    width: 150px;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.report-icon i {
    font-size: 4rem;
    color: #ffffff;
}

.report-year {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.report-label {
    font-size: 0.9rem;
    color: var(--font-color-secondary);
    font-weight: 500;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

/* Annual Reports Animations */
@keyframes pdf-bounce {

    0%,
    100% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1.4) rotate(10deg);
    }
}

/* Deposit Sections - Matching Other Pages Style */
.deposit-section-modern {
    padding: 80px 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    background: transparent;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: visible;
}

@keyframes section-fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.deposit-section-1,
.deposit-section-2,
.deposit-section-3,
.deposit-section-4,
.deposit-section-5 {
    background: transparent;
}

.deposit-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: visible;
}

.deposit-wrapper {
    display: block;
    width: 100%;
    overflow: visible;
}



.visual-image-wrapper {
    width: 280px;
    height: 280px;
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.visual-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(238, 205, 112, 0.3);
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
}

.visual-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(238, 205, 112, 0.4);
}

.visual-image.special-image {
    box-shadow: 0 20px 60px rgba(91, 31, 31, 0.2);
    border: 3px solid var(--icon-gold-medium);
}

.visual-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gm-red);
    box-shadow: 0 20px 60px rgba(238, 205, 112, 0.3);
    position: relative;
    overflow: hidden;
}

.visual-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.visual-image-placeholder i {
    margin-bottom: 15px;
    icon-float 4s ease-in-out infinite;
}

.visual-image-placeholder span {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    padding: 0 20px;
}


.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--gm-red) 0%, #8b2a2a 100%);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 20px rgba(91, 31, 31, 0.4);
}


.deposit-info {
    position: relative;
    padding: 0;
    background: transparent;
    overflow: visible;
}

.info-header {
    margin-bottom: 35px;
    text-align: center;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    position: relative;
    overflow: visible;
}

.deposit-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 60px auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: visible;
}

.deposit-icon-wrapper.animate-in {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

@keyframes deposit-icon-pop-in {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }

    60% {
        transform: scale(1.15) rotate(10deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.deposit-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    transform: rotate(45deg);
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.2);
    overflow: visible;
}

@keyframes deposit-icon-bg-rotate {
    0% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(405deg);
    }
}

.deposit-icon-wrapper i {
    font-size: 2.8rem;
    color: var(--white);
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes deposit-icon-bounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.05);
    }
}

.deposit-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    opacity: 0.25;
    deposit-icon-ring-pulse 2s ease-out infinite;
}

@keyframes deposit-icon-ring-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.info-header:hover .deposit-icon-wrapper i {
    transform: scale(1.1);
    color: var(--white);
}

.info-header:hover .deposit-icon-bg {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    box-shadow: 0 12px 40px rgba(0, 51, 102, 0.3);
    transform: rotate(225deg);
}

.info-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.product-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(26, 54, 93, 0.08);
    border: 1px solid rgba(26, 54, 93, 0.2);
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.product-badge:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.product-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.3s;
}

.product-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.product-description {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    line-height: 1.8;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.4s;
}

.product-description.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 80px;
    margin: 35px 0 -15px 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.info-item {
    padding: 0;
    text-align: center;
    width: 100%;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.5s ease;
}

.info-item.animate-in {
    info-item-float 4s ease-in-out infinite;
}

@keyframes info-item-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-3px) scale(1.02);
    }
}

.info-item.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    item-pop 0.6s ease-out forwards;
}

.info-item:hover {
    transform: translateY(-8px) scale(1.05);
}

.item-label {
    font-size: 0.875rem;
    color: var(--font-color-secondary);
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item:hover .item-label {
    color: var(--gm-red);
}

.item-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gm-red);
    line-height: 1.3;
    margin-top: 5px;
}

.info-item:hover .item-value {
    transform: scale(1.1);
    text-shadow: 0 2px 8px rgba(91, 31, 31, 0.2);
}

.features-modern {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    border-top: none;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.features-modern h3.features-heading {
    margin-top: -10px !important;
    padding-top: 0 !important;
}

.features-modern.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.features-heading {
    font-size: var(--font-size-h3);
    color: var(--gm-red);
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-weight: 700;
    text-align: center;
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.features-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    transition: width 0.6s ease;
}

.features-modern.animate-in .features-heading::after {
    width: 80px;
}

.features-list-modern {
    list-style: none;
    padding: 0 !important;
    padding-bottom: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-width: 100%;
    margin: 0 auto 0 auto !important;
    margin-bottom: 0 !important;
    justify-items: start;
}

.features-list-modern li {
    padding: 4px 0;
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.5;
    position: relative;
    padding-left: 25px;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s ease;
}

.features-list-modern li.animate-in {
    opacity: 1;
    transform: translateX(0);
    animation: slide-in-left 0.5s ease-out forwards;
}

.features-list-modern li:last-child {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.features-list-modern li:hover {
    color: var(--gm-red);
    transform: translateX(8px);
    padding-left: 30px;
}

.features-list-modern li::before {
    content: '✓';
    position: absolute;
    left: 12px;
    color: var(--gm-red);
    font-weight: 700;
    font-size: 1.1rem;
}




.details-modern {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid rgba(238, 205, 112, 0.2);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.details-modern.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.detail-box {
    padding: 0;
    border-left: 3px solid var(--gm-red);
    padding-left: 20px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.detail-box.animate-in {
    opacity: 1;
    transform: translateX(0);
    slide-in-right 0.6s ease-out forwards;
}

.detail-box:hover {
    transform: translateX(5px);
    border-left-width: 5px;
    padding-left: 18px;
}

.detail-box h4 {
    font-size: var(--font-size-h5);
    color: var(--gm-red);
    margin-bottom: 15px;
    font-weight: 700;
}

.detail-box p {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.detail-box ul {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.detail-box ul li {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.8;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.detail-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gm-red);
    font-weight: 700;
    font-size: 1.1rem;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 54, 93, 0.12);
    border-radius: 50%;
}

/* Animations */
.deposit-info.animate-in {
    opacity: 0;
    transform: translateY(30px);
    fade-in-up 0.8s ease-out forwards;
}


@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes badge-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .deposit-section-modern {
        padding: 60px 0;
    }

    .deposit-info {
        padding: 35px 25px;
    }

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

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-list-modern {
        grid-template-columns: 1fr;
    }

    .details-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.deposit-section-1 {
    background: linear-gradient(135deg, rgba(247, 241, 180, 0.1) 0%, rgba(238, 205, 112, 0.15) 100%);
}

/* Members Savings Account - Center align Key Features only */
.deposit-section-1 .features-modern {
    text-align: center;
}

.deposit-section-1 .features-heading {
    text-align: center;
}

.deposit-section-1 .features-list-modern {
    justify-items: center;
    margin: 0 auto;
    max-width: 800px;
}

.deposit-section-2 {
    background: linear-gradient(135deg, rgba(91, 31, 31, 0.05) 0%, rgba(247, 241, 180, 0.1) 100%);
}

.deposit-section-3 {
    background: linear-gradient(135deg, rgba(238, 205, 112, 0.1) 0%, rgba(91, 31, 31, 0.05) 100%);
}

.deposit-section-4 {
    background: linear-gradient(135deg, rgba(91, 31, 31, 0.08) 0%, rgba(238, 205, 112, 0.12) 100%);
}

.deposit-section-5 {
    background: linear-gradient(135deg, rgba(247, 241, 180, 0.15) 0%, rgba(238, 205, 112, 0.2) 100%);
}

/* Loan Sections Background Colors */
.loan-section-1,
.loan-section-2,
.loan-section-3,
.loan-section-4,
.loan-section-5 {
    background: transparent;
}

/* Loan Sections - Modern Unique Design */
.loan-section {
    padding: 15px 0;
    position: relative;
    width: 100%;
}

.loan-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 40px;
}

.loan-main-card {
    background: transparent;
    border-radius: 20px;
    padding: 20px 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    width: 100%;
    max-width: 100%;
}

.loan-main-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(238, 205, 112, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.loan-main-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.loan-top-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(238, 205, 112, 0.2);
    position: relative;
}

.loan-icon-container {
    position: relative;
    width: 90px;
    height: 90px;
    min-width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin-bottom: 10px;
    loan-icon-rotate 8s linear infinite,
    loan-icon-pulse 3s ease-in-out infinite;
}

@keyframes loan-icon-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes loan-icon-pulse {

    0%,
    100% {
        filter: drop-shadow(0 4px 10px rgba(238, 205, 112, 0.3));
    }

    50% {
        filter: drop-shadow(0 8px 20px rgba(238, 205, 112, 0.5));
    }
}

.loan-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    transform: rotate(45deg);
    icon-bg-rotate 8s linear infinite;
    box-shadow: 0 8px 30px rgba(238, 205, 112, 0.4);
}

.loan-icon-container i {
    font-size: 2.5rem;
    color: var(--gm-red);
    position: relative;
    z-index: 3;
    loan-icon-bounce 3s ease-in-out infinite;
}

.loan-top-section:hover .loan-icon-container i {
    transform: scale(1.1) rotate(10deg);
}

.loan-title-section {
    width: 100%;
    max-width: 100%;
}

.loan-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--gm-red);
    color: #ffffff;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0;
    transform: translateY(-10px);
    tag-fade-in 0.6s ease-out 0.2s forwards;
    box-shadow: 0 4px 15px rgba(91, 31, 31, 0.3);
}

.loan-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(91, 31, 31, 0.3);
}

.loan-tag i {
    font-size: 0.8rem;
}

.loan-main-title {
    font-size: 2.8rem;
    color: var(--gm-red);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    title-fade-in 0.8s ease-out 0.4s forwards;
    position: relative;
}

.loan-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 2px;
    title-underline 1s ease-out 1s forwards;
}

.loan-main-desc {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    line-height: 1.8;
    max-width: 100%;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    desc-fade-in 0.8s ease-out 0.6s forwards;
}

.loan-quick-info {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    padding: 25px;
    background: transparent;
    border-radius: 15px;
    border: none;
}

.quick-info-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 15px;
    background: transparent;
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.9);
}

.quick-info-item.animate-in {
    opacity: 1;
    transform: scale(1);
    quick-info-pop 0.5s ease-out forwards;
}

.quick-info-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: none;
    background: transparent;
}

.quick-info-item i {
    font-size: 1.8rem;
    color: var(--icon-gold-medium);
    margin-bottom: 5px;
}

.quick-info-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--gm-red);
}

.quick-label {
    font-size: 0.75rem;
    color: var(--font-color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gm-red);
    line-height: 1.2;
}

.loan-content-sections {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.content-section-item {
    padding: 25px;
    background: transparent;
    border-radius: 12px;
    border-left: 4px solid var(--icon-gold-medium);
    opacity: 0;
    transform: translateX(-15px);
}

.content-section-item.animate-in {
    opacity: 1;
    transform: translateX(0);
    content-slide-in 0.5s ease-out forwards;
}

.content-section-item:hover {
    transform: translateX(5px);
    box-shadow: none;
    border-left-width: 6px;
    background: transparent;
}

.section-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.section-title-row i {
    font-size: 1.3rem;
    color: var(--icon-gold-medium);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(247, 241, 180, 0.4) 0%, rgba(238, 205, 112, 0.3) 100%);
    border-radius: 8px;
}

.content-section-item:hover .section-title-row i {
    transform: scale(1.15) rotate(-5deg);
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    color: var(--gm-red);
}

.section-title-row h3 {
    font-size: var(--font-size-h4);
    color: var(--gm-red);
    font-weight: 700;
    margin: 0;
}

.section-content {
    padding-left: 47px;
}

.section-content p {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    line-height: 1.7;
    margin: 0;
}

.section-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-content ul li {
    padding: 8px 0;
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.section-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--icon-gold-medium);
    font-weight: 700;
}

.section-content ul li:hover {
    color: var(--gm-red);
    padding-left: 25px;
}

.section-content ul li:hover::before {
    color: var(--gm-red);
    transform: translateX(3px);
}

/* Loan Animations */
@keyframes icon-bg-rotate {
    0% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(405deg);
    }
}

@keyframes loan-icon-bounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

@keyframes tag-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes title-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes title-underline {
    from {
        width: 0;
    }

    to {
        width: 150px;
    }
}

@keyframes desc-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes quick-info-pop {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    60% {
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes content-slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design for Loans */
@media (max-width: 968px) {
    .loan-container {
        padding: 0 20px;
    }

    .loan-main-card {
        padding: 30px 20px;
    }

    .loan-top-section {
        gap: 15px;
        padding-bottom: 20px;
    }

    .loan-icon-container {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }

    .loan-icon-container i {
        font-size: 2rem;
    }

    .loan-main-title {
        font-size: 2rem;
    }

    .loan-icon-container {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .loan-icon-container i {
        font-size: 1.8rem;
    }

    .loan-quick-info {
        flex-direction: column;
    }

    .loan-content-sections {
        grid-template-columns: 1fr;
    }

    .section-content {
        padding-left: 0;
    }
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 0;
}

.deposit-section-1 .section-background {
    background: radial-gradient(circle at 20% 50%, rgba(238, 205, 112, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(91, 31, 31, 0.1) 0%, transparent 50%);
}

.deposit-section-2 .section-background {
    background: radial-gradient(circle at 80% 20%, rgba(91, 31, 31, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(238, 205, 112, 0.15) 0%, transparent 50%);
}

.deposit-section-3 .section-background {
    background: radial-gradient(circle at 50% 50%, rgba(238, 205, 112, 0.2) 0%, transparent 60%);
}

.deposit-section-4 .section-background {
    background: radial-gradient(circle at 30% 70%, rgba(91, 31, 31, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(238, 205, 112, 0.15) 0%, transparent 50%);
}

.deposit-section-5 .section-background {
    background: radial-gradient(circle at 20% 30%, rgba(247, 241, 180, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(238, 205, 112, 0.2) 0%, transparent 50%);
}

.deposit-section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.deposit-section-content.reverse {
    direction: rtl;
}

.deposit-section-content.reverse>* {
    direction: ltr;
}

.deposit-left,
.deposit-right {
    position: relative;
}

.section-number {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(91, 31, 31, 0.1);
    position: absolute;
    top: -30px;
    left: -20px;
    z-index: 0;
    line-height: 1;
    font-family: 'Arial', sans-serif;
}

.section-icon-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    z-index: 2;
}

.section-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gm-red);
    box-shadow: 0 15px 40px rgba(238, 205, 112, 0.4);
    position: relative;
    z-index: 2;
    icon-float 4s ease-in-out infinite;
}

.icon-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid;
    border-radius: 50%;
    opacity: 0.3;
    ring-pulse 3s ease-out infinite;
}

.ring-1 {
    width: 120%;
    height: 120%;
    border-color: var(--icon-gold-medium);
    animation-delay: 0s;
}

.ring-2 {
    width: 150%;
    height: 150%;
    border-color: var(--icon-gold-light);
    animation-delay: 0.5s;
}

.ring-3 {
    width: 180%;
    height: 180%;
    border-color: var(--gm-red);
    animation-delay: 1s;
}

@keyframes ring-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    color: var(--gm-red);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(238, 205, 112, 0.3);
    badge-bounce 3s ease-in-out infinite;
}

.section-badge.special {
    background: linear-gradient(135deg, var(--gm-red) 0%, #8b2a2a 100%);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(91, 31, 31, 0.4);
}

.section-badge i {
    star-spin 2s linear infinite;
}

.section-title {
    font-size: 3rem;
    color: var(--gm-red);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.section-intro {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    line-height: 1.9;
    margin-bottom: 30px;
}

/* Section 1 - Members Savings Account */
.section-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    border: 2px solid var(--icon-gold-medium);
    font-weight: 600;
    color: var(--gm-red);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(238, 205, 112, 0.3);
}

.highlight-item i {
    color: var(--icon-gold-medium);
    font-size: 1.2rem;
}

.features-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(238, 205, 112, 0.3);
}

.features-title {
    font-size: var(--font-size-h3);
    color: var(--gm-red);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.features-title i {
    color: var(--icon-gold-medium);
    font-size: 1.5rem;
}

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

.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px;
    background: rgba(247, 241, 180, 0.2);
    border-radius: 15px;
    border-left: 4px solid var(--icon-gold-medium);
}

.feature-row:hover {
    background: rgba(247, 241, 180, 0.4);
    transform: translateX(10px);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gm-red);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.7;
}

.feature-value {
    color: var(--gm-red);
    font-weight: 700;
    margin-left: 5px;
}

/* Section 2 - Fixed Deposit */
.features-box-alt {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--icon-gold-medium);
}

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

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gm-red);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.info-card h4 {
    font-size: var(--font-size-h5);
    color: var(--gm-red);
    margin-bottom: 12px;
    font-weight: 700;
}

.info-card p {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.8;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card ul li {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.8;
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
}

.info-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--icon-gold-medium);
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(238, 205, 112, 0.3);
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.15);
    border-color: var(--icon-gold-medium);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gm-red);
    font-size: 1.8rem;
    margin: 0 auto 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gm-red);
    margin-bottom: 8px;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--font-color-secondary);
    font-weight: 600;
}

/* Section 3 - Recurring Deposit */
.timeline-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(238, 205, 112, 0.3);
    margin-top: 30px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 30px;
    width: 2px;
    height: calc(100% + 10px);
    background: linear-gradient(180deg, var(--icon-gold-medium) 0%, transparent 100%);
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
    box-shadow: 0 0 0 4px rgba(238, 205, 112, 0.2);
    dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(238, 205, 112, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(238, 205, 112, 0);
    }
}

.timeline-content {
    flex: 1;
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.8;
}

.timeline-content strong {
    color: var(--gm-red);
    font-weight: 700;
}

.details-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(238, 205, 112, 0.3);
}

.panel-title {
    font-size: var(--font-size-h3);
    color: var(--gm-red);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.panel-title i {
    color: var(--icon-gold-medium);
    font-size: 1.5rem;
}

.detail-item {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(238, 205, 112, 0.2);
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-item h4 {
    font-size: var(--font-size-h5);
    color: var(--gm-red);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.detail-item h4 i {
    color: var(--icon-gold-medium);
}

.detail-item p {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.9;
}

/* Section 4 - GM Cash Certificate */
.certificate-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(238, 205, 112, 0.4);
    position: relative;
    overflow: hidden;
}

.certificate-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(238, 205, 112, 0.1) 0%, transparent 70%);
    cert-glow 4s ease-in-out infinite;
}

@keyframes cert-glow {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }
}

.certificate-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--icon-gold-medium);
}

.certificate-header i {
    font-size: 3rem;
    color: var(--icon-gold-medium);
}

.certificate-header h3 {
    font-size: var(--font-size-h3);
    color: var(--gm-red);
    font-weight: 800;
}

.cert-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(247, 241, 180, 0.15);
    border-radius: 15px;
    border-left: 4px solid var(--icon-gold-medium);
}

.cert-item:hover {
    background: rgba(247, 241, 180, 0.3);
    transform: translateX(10px);
}

.cert-item i {
    font-size: 2rem;
    color: var(--icon-gold-medium);
    flex-shrink: 0;
    margin-top: 5px;
}

.cert-item h4 {
    font-size: var(--font-size-h5);
    color: var(--gm-red);
    margin-bottom: 10px;
    font-weight: 700;
}

.cert-item p {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.8;
}

.cert-item ul {
    list-style: none;
    padding-left: 0;
}

.cert-item ul li {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.8;
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
}

.cert-item ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--icon-gold-medium);
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(238, 205, 112, 0.3);
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(238, 205, 112, 0.4);
    border-color: var(--icon-gold-medium);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--icon-gold-medium);
    margin-bottom: 15px;
}

.benefit-card h4 {
    font-size: var(--font-size-h5);
    color: var(--gm-red);
    margin-bottom: 10px;
    font-weight: 700;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--font-color-secondary);
    line-height: 1.6;
}

/* Section 5 - PIGMY Account */
.pigmy-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.pigmy-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--icon-gold-medium);
}

.pigmy-feature:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.15);
}

.pigmy-feature i {
    font-size: 2.5rem;
    color: var(--icon-gold-medium);
    flex-shrink: 0;
}

.pigmy-feature h4 {
    font-size: var(--font-size-h5);
    color: var(--gm-red);
    margin-bottom: 8px;
    font-weight: 700;
}

.pigmy-feature p {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    line-height: 1.7;
}

.pigmy-info-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(238, 205, 112, 0.3);
}

.info-title {
    font-size: var(--font-size-h3);
    color: var(--gm-red);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.info-title i {
    color: var(--icon-gold-medium);
    font-size: 1.5rem;
}

.info-text {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.9;
    margin-bottom: 20px;
}

.how-to-box {
    margin-top: 30px;
    padding: 25px;
    background: rgba(247, 241, 180, 0.2);
    border-radius: 15px;
    border-left: 4px solid var(--icon-gold-medium);
}

.how-to-box h4 {
    font-size: var(--font-size-h5);
    color: var(--gm-red);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.how-to-box h4 i {
    color: var(--icon-gold-medium);
}

.how-to-box ul {
    list-style: none;
    padding-left: 0;
}

.how-to-box ul li {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.9;
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}

.how-to-box ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--icon-gold-medium);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Animations */
.deposit-left.animate-in,
.deposit-right.animate-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.deposit-left.animate-in {
    slide-in-left 0.8s ease-out forwards;
}

.deposit-right.animate-in {
    slide-in-right 0.8s ease-out forwards;
}

.deposit-section-content.reverse .deposit-left.animate-in {
    slide-in-right 0.8s ease-out forwards;
}

.deposit-section-content.reverse .deposit-right.animate-in {
    slide-in-left 0.8s ease-out forwards;
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes badge-pop {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-10px);
    }

    50% {
        transform: scale(1.1) translateY(0);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes item-pop {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    60% {
        transform: translateY(-5px) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .deposit-section-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .deposit-section-content.reverse {
        direction: ltr;
    }

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

    .section-icon-wrapper {
        width: 120px;
        height: 120px;
    }

    .section-icon {
        font-size: 3rem;
    }

    .stats-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.deposits-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    float-shape 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--icon-gold-medium) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--gm-red) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--icon-gold-light) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float-shape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.gm-deposits-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.header-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gm-red);
    box-shadow: 0 10px 30px rgba(238, 205, 112, 0.4);
    icon-rotate 8s linear infinite,
    pulse-glow 3s ease-in-out infinite;
    position: relative;
}

.header-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    opacity: 0.3;
    pulse-ring 2s ease-out infinite;
}

.deposits-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    color: var(--gm-red);
    border-radius: 50px;
    font-size: var(--font-size-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(238, 205, 112, 0.3);
    badge-bounce 3s ease-in-out infinite;
}

.deposits-badge i {
    font-size: 0.9rem;
    star-spin 2s linear infinite;
}

.deposits-title {
    font-size: var(--font-size-h1);
    color: var(--gm-red);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.title-highlight {
    background: linear-gradient(135deg, var(--gm-red) 0%, var(--icon-gold-medium) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.deposits-subtitle {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.9;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.decoration-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--icon-gold-medium) 50%, transparent 100%);
    line-grow 2s ease-in-out infinite;
}

.decoration-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gm-red);
    font-size: 1.5rem;
    gem-rotate 4s linear infinite;
    box-shadow: 0 5px 15px rgba(238, 205, 112, 0.4);
}

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

.deposit-product-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(0, 51, 102, 0.15);
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    display: flex;
    flex-direction: column;
}

.deposit-product-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.deposit-product-card.animate-in:nth-child(1) {
    transition-delay: 0.1s;
}

.deposit-product-card.animate-in:nth-child(2) {
    transition-delay: 0.2s;
}

.deposit-product-card.animate-in:nth-child(3) {
    transition-delay: 0.3s;
}

.deposit-product-card.animate-in:nth-child(4) {
    transition-delay: 0.4s;
}

.deposit-product-card.animate-in:nth-child(5) {
    transition-delay: 0.5s;
}

.gm-deposits-header {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.gm-deposits-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(26, 54, 93, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.deposit-product-card:hover .card-glow {
    opacity: 1;
    glow-pulse 2s ease-in-out infinite;
}

.deposit-product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    border-color: var(--icon-gold-medium);
}

.card-special {
    border: 3px solid var(--icon-gold-medium);
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.15);
}

.special-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--gm-red) 0%, #8b2a2a 100%);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 5px 15px rgba(91, 31, 31, 0.4);
    badge-shake 3s ease-in-out infinite;
}

.special-badge i {
    star-spin 2s linear infinite;
}

.card-header {
    position: relative;
    padding: 30px 30px 20px;
    background: linear-gradient(135deg, rgba(247, 241, 180, 0.3) 0%, rgba(238, 205, 112, 0.2) 100%);
    border-bottom: 2px solid rgba(238, 205, 112, 0.3);
}

.card-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.card-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--gm-red);
    box-shadow: 0 10px 25px rgba(238, 205, 112, 0.4);
    icon-float 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.icon-shine {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    opacity: 0.4;
    shine-rotate 3s linear infinite;
    z-index: 1;
}

.card-number-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gm-red) 0%, #8b2a2a 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(91, 31, 31, 0.4);
    number-pulse 2s ease-in-out infinite;
}

.card-body {
    padding: 25px 30px;
    flex: 1;
}

.card-title {
    font-size: var(--font-size-h3);
    color: var(--gm-red);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.title-icon {
    color: var(--icon-gold-medium);
    font-size: 1.2rem;
    icon-bounce 2s ease-in-out infinite;
}

.card-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(247, 241, 180, 0.4) 0%, rgba(238, 205, 112, 0.3) 100%);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gm-red);
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    border: 1px solid rgba(238, 205, 112, 0.5);
}

.card-highlight i {
    color: var(--icon-gold-medium);
}

.card-description {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: center;
}

.card-footer {
    padding: 20px 30px 30px;
    background: linear-gradient(135deg, rgba(247, 241, 180, 0.15) 0%, rgba(238, 205, 112, 0.1) 100%);
    border-top: 2px solid rgba(238, 205, 112, 0.2);
    border-radius: 0 0 25px 25px;
}

.card-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    flex: 1;
    border: 2px solid transparent;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--icon-gold-medium);
    box-shadow: 0 5px 15px rgba(238, 205, 112, 0.3);
}

.stat-item i {
    font-size: 1.8rem;
    color: var(--icon-gold-medium);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gm-red);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--font-color-secondary);
    text-align: center;
    font-weight: 600;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(247, 241, 180, 0.2);
    border-radius: 10px;
    border-left: 3px solid var(--icon-gold-medium);
}

.feature-item:hover {
    background: rgba(247, 241, 180, 0.4);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--icon-gold-medium);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item span {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.6;
}

.card-details {
    margin-top: 25px;
}

.detail-section {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(247, 241, 180, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--icon-gold-medium);
}

.detail-section:hover {
    background: rgba(247, 241, 180, 0.2);
    transform: translateX(5px);
}

.detail-section h4 {
    font-size: var(--font-size-h5);
    color: var(--gm-red);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.detail-section h4 i {
    color: var(--icon-gold-medium);
    font-size: 1.3rem;
}

.detail-section p {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.8;
    margin-bottom: 10px;
}

.detail-section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.detail-section ul li {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.8;
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.detail-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--icon-gold-medium);
    font-weight: 700;
    font-size: 1.1rem;
}

.detail-section strong {
    color: var(--gm-red);
    font-weight: 600;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes icon-float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

@keyframes image-float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes icon-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes shine-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(238, 205, 112, 0.4);
    }

    50% {
        box-shadow: 0 10px 40px rgba(238, 205, 112, 0.6);
    }
}

@keyframes badge-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes badge-shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-3deg);
    }

    75% {
        transform: rotate(3deg);
    }
}

@keyframes star-spin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes icon-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes number-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes line-grow {

    0%,
    100% {
        width: 80px;
        opacity: 0.5;
    }

    50% {
        width: 120px;
        opacity: 1;
    }
}

@keyframes gem-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.15;
    }

    50% {
        opacity: 0.25;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .gm-deposits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .deposit-product-card {
        padding: 0;
    }

    .deposits-title {
        font-size: var(--font-size-h2);
    }

    .header-icon-wrapper {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .card-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .card-icon {
        font-size: 2.2rem;
    }
}

.content-section {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.content-section h2 {
    font-size: var(--font-size-h2);
    color: var(--gm-red);
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--gm-gold);
    font-weight: 700;
}

.content-section h3 {
    font-size: var(--font-size-h3);
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.content-section p {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    line-height: 1.8;
}

.content-section ul li {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
}

.content-section ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

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

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: var(--font-size-base);
    color: var(--font-color-heading);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: var(--font-size-base);
    font-family: var(--font-family-primary);
    color: var(--font-color-primary);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Gallery */
/* Gallery Page - Unique Modern Design */
.gallery-section {
    padding: 20px 20px 40px;
    background: transparent;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.gallery-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, rgba(230, 242, 255, 0.5) 0%, rgba(51, 153, 255, 0.3) 100%);
    border: 2px solid var(--gm-gold);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.gallery-badge.animate-in {
    opacity: 1;
    transform: translateY(0);
    badge-pulse 2s ease-in-out infinite,
    badge-shimmer 3s ease-in-out infinite;
}

@keyframes badge-shimmer {

    0%,
    100% {
        box-shadow: 0 3px 15px rgba(238, 205, 112, 0.3);
    }

    50% {
        box-shadow: 0 5px 25px rgba(238, 205, 112, 0.5), 0 0 20px rgba(238, 205, 112, 0.3);
    }
}

.gallery-badge i {
    color: var(--gm-gold);
    font-size: 1.2rem;
}

.gallery-badge span {
    color: var(--gm-red);
    font-weight: 700;
    font-size: var(--font-size-base);
    letter-spacing: 0.5px;
}

.gallery-section-title {
    font-size: var(--font-size-h1);
    color: var(--gm-red);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.gallery-section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.gallery-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--gm-red) 0%, var(--gm-gold) 100%);
    border-radius: 2px;
    transition: width 1.5s ease-out 0.5s;
}

.gallery-section-title.animate-in::after {
    width: 100px;
    underline-expand 1.5s ease-out forwards;
}

@keyframes underline-expand {
    0% {
        width: 0;
    }

    100% {
        width: 100px;
    }
}

.gallery-section-subtitle {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.gallery-section-subtitle.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Gallery Grid */
.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-card-modern {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 51, 102, 0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    cursor: pointer;
    aspect-ratio: 1;
    card-breathe 4s ease-in-out infinite;
}

@keyframes card-breathe {

    0%,
    100% {
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    }

    50% {
        box-shadow: 0 15px 45px rgba(238, 205, 112, 0.2);
    }
}

.gallery-card-modern.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    gallery-card-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.gallery-card-modern:nth-child(1).animate-in {
    animation-delay: 0.1s;
}

.gallery-card-modern:nth-child(2).animate-in {
    animation-delay: 0.2s;
}

.gallery-card-modern:nth-child(3).animate-in {
    animation-delay: 0.3s;
}

.gallery-card-modern:nth-child(4).animate-in {
    animation-delay: 0.4s;
}

.gallery-card-modern:nth-child(5).animate-in {
    animation-delay: 0.5s;
}

.gallery-card-modern:nth-child(6).animate-in {
    animation-delay: 0.6s;
}

@keyframes gallery-card-pop {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.8) rotate(-5deg);
    }

    60% {
        transform: translateY(-10px) scale(1.05) rotate(2deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

.gallery-card-modern:hover {
    transform: translateY(-15px) scale(1.03) rotateY(5deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 30px rgba(238, 205, 112, 0.3);
    border-color: var(--icon-gold-medium);
    card-hover-glow 2s ease-in-out infinite;
}

@keyframes card-hover-glow {

    0%,
    100% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 30px rgba(238, 205, 112, 0.3);
    }

    50% {
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 40px rgba(238, 205, 112, 0.4);
    }
}

.gallery-card-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 50%, var(--gm-red) 100%);
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    gradient-shift 8s ease infinite,
    image-bg-pulse 4s ease-in-out infinite;
}

@keyframes image-bg-pulse {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.1);
    }
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.gallery-card-image i {
    font-size: 5rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: all 0.5s ease;
    icon-float-advanced 4s ease-in-out infinite;
}

@keyframes icon-float-advanced {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    }

    25% {
        transform: translateY(-12px) rotate(5deg) scale(1.05);
        filter: drop-shadow(0 6px 15px rgba(255, 255, 255, 0.3));
    }

    50% {
        transform: translateY(-8px) rotate(-5deg) scale(1.1);
        filter: drop-shadow(0 8px 20px rgba(255, 255, 255, 0.4));
    }

    75% {
        transform: translateY(-15px) rotate(3deg) scale(1.05);
        filter: drop-shadow(0 6px 15px rgba(255, 255, 255, 0.3));
    }
}

.gallery-card-modern:hover .gallery-card-image i {
    transform: scale(1.2) rotate(15deg);
    filter: drop-shadow(0 6px 20px rgba(255, 255, 255, 0.5));
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: translateY(20px);
}

.gallery-card-modern:hover .gallery-overlay {
    transform: translateY(0);
    overlay-slide-up 0.5s ease forwards;
}

@keyframes overlay-slide-up {
    0% {
        transform: translateY(20px);
    }

    100% {
        transform: translateY(0);
    }
}

.gallery-card-modern:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    color: var(--gm-red);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-card-modern:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-overlay-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gm-red);
    overlay-title-fade 0.6s ease forwards;
}

@keyframes overlay-title-fade {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.gallery-overlay-content p {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    overlay-text-fade 0.8s ease 0.2s forwards;
    opacity: 0;
}

@keyframes overlay-text-fade {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Testimonial Cards */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 51, 102, 0.15);
    border-left: 4px solid var(--gm-gold);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.testimonial-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card.animate-in:nth-child(1) {
    transition-delay: 0.1s;
}

.testimonial-card.animate-in:nth-child(2) {
    transition-delay: 0.2s;
}

.testimonial-card.animate-in:nth-child(3) {
    transition-delay: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(238, 205, 112, 0.2);
    border-left-color: var(--gm-red);
    border-left-width: 5px;
    testimonial-hover-glow 2s ease-in-out infinite;
}

@keyframes testimonial-hover-glow {

    0%,
    100% {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(238, 205, 112, 0.2);
    }

    50% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 30px rgba(238, 205, 112, 0.3);
    }
}

.testimonial-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(238, 205, 112, 0.3);
    testimonial-icon-pulse 3s ease-in-out infinite;
}

@keyframes testimonial-icon-pulse {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(238, 205, 112, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 8px 30px rgba(238, 205, 112, 0.5);
        transform: scale(1.05);
    }
}

.testimonial-card:hover .testimonial-icon {
    transform: scale(1.1) rotate(10deg);
}

.testimonial-icon i {
    font-size: 1.8rem;
    color: var(--gm-red);
}

.testimonial-content p {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(238, 205, 112, 0.3);
    author-icon-float 3s ease-in-out infinite;
}

@keyframes author-icon-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.testimonial-card:hover .author-icon {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px rgba(238, 205, 112, 0.5);
}

.author-icon i {
    font-size: 1.5rem;
    color: var(--gm-red);
}

.author-info h4 {
    font-size: var(--font-size-base);
    color: var(--gm-red);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.author-info span {
    font-size: var(--font-size-small);
    color: var(--font-color-secondary);
}


/* Video Cards - Modern Design */
.video-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.video-card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 51, 102, 0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    cursor: pointer;
    video-card-breathe 5s ease-in-out infinite;
}

@keyframes video-card-breathe {

    0%,
    100% {
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    }

    50% {
        box-shadow: 0 15px 45px rgba(238, 205, 112, 0.25);
    }
}

.video-card-modern.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    video-card-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.video-card-modern:nth-child(1).animate-in {
    animation-delay: 0.1s;
}

.video-card-modern:nth-child(2).animate-in {
    animation-delay: 0.2s;
}

.video-card-modern:nth-child(3).animate-in {
    animation-delay: 0.3s;
}

.video-card-modern:nth-child(4).animate-in {
    animation-delay: 0.4s;
}

.video-card-modern:nth-child(5).animate-in {
    animation-delay: 0.5s;
}

.video-card-modern:nth-child(6).animate-in {
    animation-delay: 0.6s;
}

@keyframes video-card-pop {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9) rotate(-3deg);
    }

    60% {
        transform: translateY(-8px) scale(1.02) rotate(1deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

.video-card-modern:hover {
    transform: translateY(-12px) scale(1.02) rotateY(3deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 25px rgba(238, 205, 112, 0.3);
    border-color: var(--icon-gold-medium);
    video-card-hover-glow 2s ease-in-out infinite;
}

@keyframes video-card-hover-glow {

    0%,
    100% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 25px rgba(238, 205, 112, 0.3);
    }

    50% {
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2), 0 0 35px rgba(238, 205, 112, 0.4);
    }
}

.video-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 50%, var(--gm-red) 100%);
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    gradient-shift 8s ease infinite,
    video-bg-pulse 4s ease-in-out infinite;
}

@keyframes video-bg-pulse {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.1);
    }
}

.video-card-image i {
    font-size: 4.5rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: all 0.5s ease;
    icon-float-advanced 4s ease-in-out infinite,
    video-icon-glow 3s ease-in-out infinite;
}

@keyframes video-icon-glow {

    0%,
    100% {
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 0px rgba(255, 255, 255, 0));
    }

    50% {
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    }
}

.video-card-modern:hover .video-card-image i {
    transform: scale(1.2) rotate(15deg);
    filter: drop-shadow(0 6px 20px rgba(255, 255, 255, 0.5));
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    play-button-pulse 2s ease-in-out infinite;
}

@keyframes play-button-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.video-card-modern:hover .video-play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button i {
    font-size: 1.8rem;
    color: var(--gm-red);
    margin-left: 3px;
    none;
    filter: none;
}

.video-card-content {
    padding: 2rem;
    text-align: center;
}

.video-card-content h3 {
    font-size: var(--font-size-h3);
    color: var(--gm-red);
    margin-bottom: 0.8rem;
    font-weight: 700;
    title-shimmer 3s ease-in-out infinite;
}

@keyframes title-shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.video-card-modern:hover .video-card-content h3 {
    background: linear-gradient(135deg, var(--gm-red) 0%, var(--gm-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-card-content p {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .gallery-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .testimonial-grid,
    .video-grid-modern {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .gallery-card-image i {
        font-size: 4rem;
    }
}

/* Branch Cards */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.branch-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.branch-card h3 {
    font-size: var(--font-size-h3);
    color: var(--gm-red);
    margin-bottom: 1rem;
    font-weight: 600;
}

.branch-card p {
    font-size: var(--font-size-base);
    margin-bottom: 0.5rem;
    color: var(--font-color-secondary);
}

.branch-card i {
    background: var(--icon-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 10px;
    opacity: 1;
}

/* Branches Sections - Matching About Us Style */
.branches-locations-section,
.branches-atm-section,
.branches-timings-section {
    padding: 20px 20px 40px;
    background: transparent;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.branches-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.branches-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, rgba(230, 242, 255, 0.5) 0%, rgba(51, 153, 255, 0.3) 100%);
    border: 2px solid var(--gm-gold);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.branches-badge.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.branches-badge i {
    color: var(--gm-gold);
    font-size: 1.2rem;
}

.branches-badge span {
    color: var(--gm-red);
    font-weight: 700;
    font-size: var(--font-size-base);
    letter-spacing: 0.5px;
}

.branches-section-title {
    font-size: var(--font-size-h1);
    color: var(--gm-red);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.branches-section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.branches-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--gm-red) 0%, var(--gm-gold) 100%);
    border-radius: 2px;
    transition: width 1.5s ease-out 0.5s;
}

.branches-section-title.animate-in::after {
    width: 100px;
}

.branches-section-subtitle {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.branches-section-subtitle.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.branches-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(238, 205, 112, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(91, 31, 31, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(247, 241, 180, 0.1) 0%, transparent 40%);
    hero-bg-float 25s ease-in-out infinite;
    z-index: 0;
}

.branches-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(238, 205, 112, 0.03) 2px, rgba(238, 205, 112, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(91, 31, 31, 0.03) 2px, rgba(91, 31, 31, 0.03) 4px);
    grid-move 20s linear infinite;
    z-index: 0;
}

@keyframes hero-bg-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(40px, -40px) scale(1.15) rotate(5deg);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.95) rotate(-5deg);
    }
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--icon-gold-medium);
    border-radius: 50%;
    opacity: 0.6;
    particle-float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    width: 12px;
    height: 12px;
}

.particle:nth-child(2) {
    left: 80%;
    top: 40%;
    animation-delay: 2s;
    width: 6px;
    height: 6px;
}

.particle:nth-child(3) {
    left: 30%;
    top: 70%;
    animation-delay: 4s;
    width: 10px;
    height: 10px;
}

.particle:nth-child(4) {
    left: 70%;
    top: 10%;
    animation-delay: 6s;
    width: 8px;
    height: 8px;
}

.particle:nth-child(5) {
    left: 50%;
    top: 60%;
    animation-delay: 8s;
    width: 14px;
    height: 14px;
}

.particle:nth-child(6) {
    left: 20%;
    top: 50%;
    animation-delay: 10s;
    width: 7px;
    height: 7px;
}

@keyframes particle-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    25% {
        transform: translate(30px, -50px) scale(1.2);
        opacity: 0.8;
    }

    50% {
        transform: translate(-20px, -100px) scale(0.8);
        opacity: 0.4;
    }

    75% {
        transform: translate(40px, -30px) scale(1.1);
        opacity: 0.7;
    }
}

.branches-hero-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.branches-hero-content {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.branches-hero-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-icon-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon-ring {
    position: absolute;
    border: 4px solid var(--icon-gold-medium);
    border-radius: 50%;
    icon-ring-pulse 3s ease-in-out infinite;
}

.hero-icon-ring:nth-child(1) {
    width: 100%;
    height: 100%;
    opacity: 0.4;
    animation-delay: 0s;
    border-color: var(--icon-gold-light);
}

.hero-icon-ring:nth-child(2) {
    width: 140%;
    height: 140%;
    opacity: 0.3;
    animation-delay: 0.7s;
    border-color: var(--icon-gold-medium);
}

.hero-icon-ring:nth-child(3) {
    width: 180%;
    height: 180%;
    opacity: 0.2;
    animation-delay: 1.4s;
    border-color: var(--gm-red);
}

.hero-icon-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(238, 205, 112, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    icon-glow-pulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes icon-ring-pulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.1;
    }
}

@keyframes icon-glow-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

.hero-icon-wrapper i {
    font-size: 6rem;
    color: var(--gm-red);
    position: relative;
    z-index: 3;
    icon-bounce-advanced 4s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(91, 31, 31, 0.3));
}

.hero-icon-wrapper:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 25px rgba(238, 205, 112, 0.5));
}

@keyframes icon-bounce-advanced {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-20px) rotate(5deg) scale(1.05);
    }

    50% {
        transform: translateY(-10px) rotate(-5deg) scale(1.1);
    }

    75% {
        transform: translateY(-15px) rotate(3deg) scale(1.05);
    }
}

.branches-hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 1.1;
}

.title-word {
    display: inline-block;
    background: linear-gradient(135deg, var(--gm-red) 0%, var(--icon-gold-medium) 50%, var(--gm-red) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    title-gradient-shift 5s ease infinite,
    title-word-float 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(238, 205, 112, 0.3);
}

.title-word:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes title-gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes title-word-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.branches-hero-subtitle {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-stat-item {
    text-align: center;
    padding: 30px 35px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 3px solid rgba(238, 205, 112, 0.3);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 180px;
    position: relative;
    overflow: hidden;
}

.hero-stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(238, 205, 112, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-stat-item:hover::before {
    opacity: 1;
}

.hero-stat-item:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    border-color: var(--icon-gold-medium);
    background: rgba(255, 255, 255, 1);
}

.stat-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(238, 205, 112, 0.3);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.hero-stat-item:hover .stat-icon-wrapper {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 12px 35px rgba(238, 205, 112, 0.5);
}

.stat-icon-wrapper i {
    font-size: 2.8rem;
    color: var(--gm-red);
    transition: all 0.5s ease;
}

.hero-stat-item:hover .stat-icon-wrapper i {
    color: #ffffff;
    transform: scale(1.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gm-red);
    margin-bottom: 5px;
}

.stat-label {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Branches Container */
.branches-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Headers */
.branches-section-header {
    text-align: center;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s ease;
}

.branches-section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-icon-box {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 50%, var(--gm-red) 100%);
    background-size: 200% 200%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(238, 205, 112, 0.4);
    icon-box-rotate 10s linear infinite,
    section-icon-gradient 6s ease infinite;
    position: relative;
    overflow: hidden;
}

.section-icon-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    icon-shine-rotate 3s linear infinite;
}

@keyframes section-icon-gradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes icon-shine-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes icon-box-rotate {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.section-icon-box i {
    font-size: 3.5rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
}

.branches-section-header:hover .section-icon-box i {
    transform: scale(1.15) rotate(10deg);
}

.branches-section-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gm-red) 0%, var(--icon-gold-medium) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.branches-section-header:hover .branches-section-title {
    transform: scale(1.05);
}

.branches-section-subtitle {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Branch Locations Section */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.branch-location-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(0, 51, 102, 0.15);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.branch-location-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.branch-location-card.animate-in:nth-child(1) {
    transition-delay: 0.1s;
}

.branch-location-card.animate-in:nth-child(2) {
    transition-delay: 0.2s;
}

.branch-location-card.animate-in:nth-child(3) {
    transition-delay: 0.3s;
}

.branch-location-card.animate-in:nth-child(4) {
    transition-delay: 0.4s;
}

.branch-location-card:hover {
    transform: translateY(-10px);
    border-color: var(--gm-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.branch-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.branch-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.branch-location-card:hover .branch-image-overlay {
    background: rgba(255, 255, 255, 0.2);
}

.branch-card-image i {
    font-size: 4rem;
    color: var(--gm-red);
    position: relative;
    z-index: 2;
}

.branch-location-card:hover .branch-card-image i {
    transform: scale(1.1);
}

.branch-badge-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--gm-red);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.branch-card-content {
    padding: 2rem;
}

.branch-card-title {
    font-size: var(--font-size-h3);
    color: var(--gm-red);
    margin-bottom: 1rem;
    font-weight: 600;
}

.branch-location-card:hover .branch-card-title {
    background: linear-gradient(135deg, var(--gm-red) 0%, var(--gm-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.branch-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0.8rem;
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    line-height: 1.6;
}

.branch-info-item i {
    background: var(--icon-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
    margin-top: 3px;
    min-width: 20px;
    margin-right: 10px;
}

.branch-card-footer {
    padding: 1.5rem 2rem;
    background: rgba(247, 241, 180, 0.1);
    border-top: 1px solid rgba(238, 205, 112, 0.2);
    text-align: center;
}

.branch-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gm-red);
    color: #ffffff !important;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    box-shadow: 0 3px 10px rgba(91, 31, 31, 0.2);
}

.branch-action-btn span,
.branch-action-btn i {
    color: #ffffff !important;
}

.branch-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 31, 31, 0.3);
    background: var(--icon-gold-medium);
    color: var(--gm-red) !important;
}

.branch-action-btn:hover span,
.branch-action-btn:hover i {
    color: var(--gm-red) !important;
}

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

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

.atm-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(0, 51, 102, 0.15);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.atm-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.atm-card.animate-in:nth-child(1) {
    transition-delay: 0.1s;
}

.atm-card.animate-in:nth-child(2) {
    transition-delay: 0.2s;
}

.atm-card.animate-in:nth-child(3) {
    transition-delay: 0.3s;
}

.atm-card.animate-in:nth-child(4) {
    transition-delay: 0.4s;
}

.atm-card:hover {
    transform: translateY(-10px);
    border-color: var(--gm-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.atm-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atm-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 50%, var(--gm-red) 100%);
    background-size: 200% 200%;
    border-radius: 50%;
    atm-icon-pulse 3s ease-in-out infinite,
    atm-gradient-rotate 5s linear infinite;
    box-shadow: 0 10px 35px rgba(238, 205, 112, 0.4);
}

@keyframes atm-gradient-rotate {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes atm-icon-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.atm-icon-wrapper i {
    font-size: 3.5rem;
    color: var(--gm-red);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.atm-card:hover .atm-icon-wrapper i {
    transform: scale(1.2) rotate(15deg);
    color: #ffffff;
}

.atm-card:hover .atm-icon-bg {
    background: linear-gradient(135deg, var(--gm-red) 0%, var(--icon-gold-medium) 100%);
}

.atm-card-title {
    font-size: var(--font-size-h3);
    color: var(--gm-red);
    margin-bottom: 1rem;
    font-weight: 600;
}

.atm-card:hover .atm-card-title {
    background: linear-gradient(135deg, var(--gm-red) 0%, var(--gm-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.atm-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
}

.atm-info-item i {
    color: var(--icon-gold-medium);
}

.atm-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
}

.atm-status i {
    font-size: 0.7rem;
    status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

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

.timing-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(0, 51, 102, 0.15);
    border-left: 4px solid var(--gm-gold);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.timing-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.timing-card.animate-in:nth-child(1) {
    transition-delay: 0.1s;
}

.timing-card.animate-in:nth-child(2) {
    transition-delay: 0.2s;
}

.timing-card.animate-in:nth-child(3) {
    transition-delay: 0.3s;
}

.timing-card:hover {
    transform: translateY(-10px);
    border-left-color: var(--gm-red);
    border-left-width: 5px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.timing-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.15);
}

.timing-card:hover .timing-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.2);
}

.timing-icon i {
    font-size: 2rem;
    color: var(--gm-red);
}

.timing-title {
    font-size: var(--font-size-h3);
    color: var(--gm-red);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.timing-card:hover .timing-title {
    background: linear-gradient(135deg, var(--gm-red) 0%, var(--gm-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timing-schedule {
    text-align: left;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 51, 102, 0.15);
}

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

.schedule-day {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    font-weight: 600;
}

.schedule-time {
    font-size: var(--font-size-base);
    color: var(--icon-gold-medium);
    font-weight: 600;
}

.schedule-time.closed {
    color: #f44336;
}

/* Responsive Design */
@media (max-width: 968px) {

    .branches-hero-wrapper,
    .branches-container {
        padding: 0 20px;
    }

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

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-item {
        min-width: 120px;
        padding: 15px 20px;
    }

    .branches-grid,
    .atm-grid,
    .timings-grid {
        grid-template-columns: 1fr;
    }

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

/* Footer */
#header-container {
    width: 100%;
    position: relative;
    z-index: 1000;
}

#footer-container {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Footer Styles - Redesigned */
.footer {
    background: transparent;
    color: var(--white);
    padding: 0;
    margin: 0;
    margin-top: 80px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0;
    padding-bottom: 0;
    z-index: 1;
    box-sizing: border-box;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Mobile App Download Banner */
.footer-app-banner {
    background: #1A3D4D;
    padding: 40px 20px;
    margin-bottom: -30px;
    position: relative;
    z-index: 2;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.app-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.app-banner-text {
    flex: 1;
    min-width: 300px;
}

.app-banner-text p {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
}

.app-banner-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: #1a1a1a;
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff !important;
    transition: all 0.3s ease;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.app-store-btn:hover {
    transform: translateY(-3px);
    background: #2a2a2a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.app-store-btn-content {
    display: flex;
    align-items: center;
    color: #ffffff !important;
}

.app-store-btn-content * {
    color: #ffffff !important;
}

.app-store-btn-content i {
    color: #ffffff !important;
}

.app-store-btn-content span {
    color: #ffffff !important;
}

.app-store-btn-content div {
    color: #ffffff !important;
}

.app-store-img {
    height: 100%;
    width: auto;
    display: block;
}

/* Main Footer */
.footer-main {
    background: #1C2A3B;
    padding: 60px 20px 40px;
    position: relative;
    margin-top: 0;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #A0D468 20%, #A0D468 80%, transparent 100%);
    border-radius: 0 0 50% 50%;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Column 1: Bank Information */
.footer-logo-section {
    margin-bottom: 1.5rem;
}

.footer-logo-wrapper {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-bank-name-kannada {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.footer-bank-name-english {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0.5rem 0 1rem;
    line-height: 1.4;
}

.footer-about {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 1.5rem;
}

.footer-regulatory {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.footer-dic-logo,
.footer-qr-code {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.dic-logo-img,
.qr-code-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-registration {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    flex: 1;
    min-width: 150px;
}

/* Footer Headings */
.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #A0D468;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-sub-heading {
    margin-top: 2rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #A0D468;
    padding-left: 5px;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.footer-contact i {
    color: #A0D468;
    margin-top: 3px;
    min-width: 18px;
    font-size: 1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #A0D468;
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social .social-icon:hover {
    background: #A0D468;
    border-color: #A0D468;
    color: #1C2A3B;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    background: #15202B;
    padding: 1.5rem 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.scroll-to-top.show {
    display: flex;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-app-banner {
        padding: 30px 20px;
        margin-bottom: -20px;
    }

    .app-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .app-banner-text p {
        font-size: 1.2rem;
    }

    .app-banner-buttons {
        justify-content: center;
    }

    .footer-main {
        padding: 50px 20px 30px;
    }

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

    .footer-regulatory {
        flex-direction: column;
        align-items: flex-start;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Legacy Footer Styles (for backward compatibility) */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-app {
    display: flex;
    align-items: center;
}

.app-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    text-decoration: none;
    color: var(--white);
}

.app-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gm-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 205, 112, 0.3);
}

.app-link i {
    font-size: 2.5rem;
    color: var(--gm-gold);
}

.app-text {
    display: flex;
    flex-direction: column;
}

.app-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1;
}

.app-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 1.3rem;
}

.social-icon:hover {
    background: var(--gm-gold);
    border-color: var(--gm-gold);
    color: var(--gm-red);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(238, 205, 112, 0.4);
}

.footer-copyright {
    text-align: center;
    padding: 1.5rem 0 0;
    margin: 0;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-base);
    margin: 0;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(91, 31, 31, 0.1);
    border: 1px solid var(--gm-red);
    border-radius: 30px;
    color: var(--gm-red);
    font-size: var(--font-size-small);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-description {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.8;
}

/* Modern Features */
.features-modern {
    padding: 100px 20px;
    background: transparent;
}

.feature-modern {
    text-align: left;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(240, 240, 240, 0.5);
}

.feature-modern:hover {
    border-color: var(--gm-gold);
    transform: translateY(-8px);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon-wrapper i {
    font-size: 2rem;
    color: var(--gm-red);
    background: none;
    -webkit-text-fill-color: var(--gm-red);
}

.feature-modern h3 {
    margin-bottom: 1rem;
    color: var(--gm-red);
}

.feature-modern p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-link {
    color: var(--gm-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.feature-link:hover {
    gap: 12px;
}

/* Modern Products */
.products-modern {
    padding: 100px 20px;
    background: transparent;
}

.product-modern {
    text-align: left;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(224, 224, 224, 0.5);
    position: relative;
    overflow: hidden;
}

.product-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gm-red) 0%, var(--gm-gold) 100%);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.product-modern:hover::before {
    transform: scaleX(1);
}

.product-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--gm-gold);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.product-icon i {
    font-size: 2.5rem;
    color: var(--gm-red);
    background: none;
    -webkit-text-fill-color: var(--gm-red);
}

.product-features {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--font-color-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li i {
    color: var(--gm-gold);
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gm-red);
    color: var(--gm-red);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline:hover {
    background: var(--gm-red);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: var(--font-size-large);
}

.btn i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.btn:hover i {
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--gm-red) 0%, #4a1a1a 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(238, 205, 112, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: var(--font-size-h1);
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: var(--font-size-large);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.fade-in-up {
    opacity: 0;
    fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    slideInRight 0.8s ease-out forwards;
}

.slide-in-up {
    opacity: 0;
    transform: translateY(50px);
    slideInUp 0.8s ease-out forwards;
}

.floating {
    float 6s ease-in-out infinite;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reference Website Styles */
.hero-reference {
    background: url('https://d17ocfn2f5o4rl.cloudfront.net/wp-content/uploads/2022/08/header-5.jpg') center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-home {
    background: url('../images/001.jpeg') center/cover no-repeat !important;
}

.hero-board {
    background: url('../images/board%20(1).jpg') center/cover no-repeat !important;
}

.hero-about {
    background: url('../images/about.webp') center/cover no-repeat !important;
}

/* Announcements Section */
.announcements-section {
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.announcements-marquee {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
}

.announcements-content {
    display: inline-flex;
    gap: 40px;
    white-space: nowrap;
    animation: scroll-announcements 30s linear infinite;
}


.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 25px;
    border-radius: 20px;
    flex-shrink: 0;
    cursor: pointer;
}

.announcement-badge:hover {
    transform: scale(1.05);
}

.announcement-badge i {
    font-size: 1.1rem;
    color: var(--gm-red);
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.announcement-badge span {
    font-size: var(--font-size-large);
    color: var(--font-color-primary);
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.3px;
}

@keyframes scroll-announcements {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hero-reference::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 54, 93, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content-reference {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content-reference h1 {
    font-size: var(--font-size-h1);
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content-reference p {
    font-size: var(--font-size-large);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* About Hero Section - Matching Index Page Style */
.about-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 54, 93, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.about-hero-section>* {
    position: relative;
    z-index: 1;
}

.btn-hero {
    padding: 16px 40px;
    font-size: var(--font-size-large);
}

/* Introduction Section */
.introduction-section {
    padding: 80px 20px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.intro-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: rgba(193, 16, 7, 0.05);
    border: 2px solid #C11007;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.intro-badge i {
    color: #eecd70;
    font-size: 1.1rem;
}

.intro-badge span {
    color: #C11007;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.intro-title {
    font-size: var(--font-size-h1);
    color: var(--gm-red);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
}

.intro-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--gm-red) 0%, var(--gm-gold) 100%);
    border-radius: 2px;
}

.intro-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem auto;
    padding: 2rem 0;
}

.intro-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.intro-logo:hover {
    transform: scale(1.05);
}

.intro-description {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    line-height: 1.8;
    max-width: 100%;
    margin: 3rem auto 4rem;
}

.highlight-text {
    color: var(--gm-red);
    font-weight: 700;
}

/* Gold color for blue backgrounds */
.hero .highlight-text,
.hero-content-reference .highlight-text,
.cta-section .highlight-text,
[style*="background"][style*="blue"] .highlight-text {
    color: #FFD700;
}

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

.intro-feature-item {
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}


.intro-feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(238, 205, 112, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.intro-feature-item:hover::before {
    opacity: 1;
}

.intro-feature-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--gm-gold);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.15);
}

.intro-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s;
}

.intro-feature-item:nth-child(1) .intro-icon-wrapper {
    animation-delay: 0s;
}

.intro-feature-item:nth-child(2) .intro-icon-wrapper {
    animation-delay: 0.5s;
}

.intro-feature-item:nth-child(3) .intro-icon-wrapper {
    animation-delay: 1s;
}

.intro-feature-item:nth-child(4) .intro-icon-wrapper {
    animation-delay: 1.5s;
}

.intro-feature-item:hover .intro-icon-wrapper {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.2);
}

.intro-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--gm-red);
    position: relative;
    z-index: 2;
}

.intro-feature-item h3 {
    font-size: var(--font-size-h3);
    color: var(--gm-red);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.intro-feature-item p {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes badge-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(238, 205, 112, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(238, 205, 112, 0);
    }
}

@keyframes icon-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes line-expand {
    from {
        width: 0;
    }

    to {
        width: 100px;
    }
}

@keyframes icon-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes feature-glow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

/* Auto Scrolling Gallery Section */
.gallery-auto-scroll-section {
    padding: 80px 20px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: rgba(193, 16, 7, 0.05);
    border: 2px solid #C11007;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.gallery-badge i {
    color: #eecd70;
    font-size: 1.1rem;
}

.gallery-badge span {
    color: #C11007;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.gallery-title {
    font-size: var(--font-size-h1);
    color: var(--gm-red);
    margin-bottom: 1rem;
    font-weight: 700;
}

.gallery-subtitle {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Gallery Scroll Container */
.gallery-scroll-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 20px 0;
}

/* Gallery Scroll Track */
.gallery-scroll-track {
    display: flex;
    gap: 2rem;
    width: fit-content;
    will-change: transform;
}

.gallery-scroll-track:hover {
    animation-play-state: paused;
}

/* Gallery Item */
.gallery-item {
    position: relative;
    flex-shrink: 0;
    width: 280px;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-footer {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .gallery-item {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 968px) {
    .gallery-item {
        width: 240px;
        height: 240px;
    }

    .gallery-scroll-track {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {

    /* Gallery Section Mobile - Reduced size to show at least 2 images */
    .gallery-auto-scroll-section {
        padding: 30px 15px;
    }

    .gallery-scroll-container {
        padding: 10px 0;
    }

    .gallery-item {
        width: 160px !important;
        height: 160px !important;
        min-width: 160px;
    }

    .gallery-scroll-track {
        gap: 0.75rem !important;
        padding: 0;
    }
}

.btn-view-gallery {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--gm-red) 0%, #4a1a1a 100%);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: var(--font-size-large);
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(91, 31, 31, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-view-gallery span,
.btn-view-gallery i {
    color: #ffffff !important;
}

.btn-view-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-view-gallery:hover::before {
    left: 100%;
}

.btn-view-gallery:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(91, 31, 31, 0.5);
    background: linear-gradient(135deg, #4a1a1a 0%, var(--gm-red) 100%);
    color: #ffffff !important;
}

.btn-view-gallery:hover span,
.btn-view-gallery:hover i {
    color: #ffffff !important;
}

.btn-view-gallery i {
    transition: transform 0.4s ease;
}

.btn-view-gallery:hover i {
    transform: translateX(5px);
}

@keyframes icon-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Financial Partner Section */
.financial-partner-section {
    padding: 0px 20px 40px;
    background: transparent;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.partner-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.partner-content {
    margin-top: 0;
    padding-top: 0;
    width: 100%;
}

.partner-image {
    position: relative;
    height: auto;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    float: right;
}

.partner-graphic {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.partner-img {
    max-width: 100%;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s ease;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    image-float 3s ease-in-out infinite;
}

.partner-graphic:hover .partner-img {
    transform: scale(1.05);
}

@keyframes image-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Founder Section */
.founder-section {
    padding: 100px 20px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.founder-header-top {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.founder-header-top .founder-label {
    margin: 0 auto 1.5rem;
}

.founder-header-top .founder-title-new {
    margin-bottom: 1rem;
}

.founder-header-top .founder-org-name {
    margin: 0;
}

.founder-logo-section-new {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    margin-bottom: 3rem;
    margin-top: -1rem;
}

.founder-logo-new {
    width: 100%;
    height: auto;
    max-width: 280px;
    display: block;
    margin: 0 auto;
}

.founder-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.founder-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(238, 205, 112, 0.15);
    color: var(--gm-gold);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 auto;
}

.founder-title-new {
    font-size: 2.8rem;
    color: var(--gm-red);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.founder-org-name {
    font-size: 1.15rem;
    color: var(--gm-gold);
    font-weight: 600;
    margin: 0;
}

.founder-description-new {
    padding-top: 1rem;
    text-align: center;
}

.founder-description-new p {
    font-size: 1.05rem;
    color: var(--font-color-secondary);
    line-height: 1.8;
    margin: 0;
    text-align: center;
}

.founder-stats-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(238, 205, 112, 0.2) 0%, rgba(247, 241, 180, 0.2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-box i {
    font-size: 1.8rem;
    color: var(--gm-gold);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gm-red);
    line-height: 1.2;
}

.stat-text {
    font-size: 0.85rem;
    color: var(--font-color-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.founder-actions-new {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
    justify-content: center;
    align-items: center;
}

.action-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
    border: 2px solid;
}

.btn-fill {
    background: var(--gm-red);
    color: #ffffff;
    border-color: var(--gm-red);
}

.btn-fill:hover {
    background: transparent;
    color: var(--gm-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--gm-red);
    border-color: var(--gm-red);
}

.btn-outline:hover {
    background: var(--gm-red);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.2);
}

.partner-title {
    font-size: var(--font-size-h1);
    color: var(--gm-red);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}


.partner-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gm-gold) 0%, rgba(238, 205, 112, 0.5) 100%);
    border-radius: 2px;
    animation: line-expand 1.5s ease-out 0.8s forwards;
}

.partner-text {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes orb-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Careers Section */
.careers-section {
    padding: 80px 20px;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.careers-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.careers-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.careers-content.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.careers-title {
    font-size: var(--font-size-h1);
    color: var(--gm-gold);
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(238, 205, 112, 0.3);
}

.careers-text {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.btn-careers {
    display: inline-block;
    padding: 14px 35px;
    background: var(--font-color-heading);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: var(--font-size-base);
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-careers:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--gm-red);
}

.careers-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.careers-image.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.careers-graphic {
    position: relative;
    width: 300px;
    height: 350px;
}

.careers-graphic i {
    font-size: 8rem;
    color: #2d5016;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: tree-grow 2s ease-out;
}

.growth-tree {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 250px;
    background: linear-gradient(to bottom, #8b4513 0%, #8b4513 15%, #228b22 15%, #228b22 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    z-index: 1;
    tree-grow 2s ease-out;
}

.gold-coins {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 120px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    border-radius: 0 0 90px 90px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 -20px 30px rgba(0, 0, 0, 0.2);
    z-index: 0;
    animation: coins-shine 3s ease-in-out infinite;
}

.gold-coins::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 100px;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 15px,
            rgba(255, 255, 255, 0.1) 15px,
            rgba(255, 255, 255, 0.1) 20px);
    border-radius: 0 0 75px 75px;
}

/* Services Showcase Section */
.services-showcase-section {
    padding: 80px 20px;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e0e0e0;
}

.services-showcase-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.services-showcase-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.services-showcase-image.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.services-graphic {
    position: relative;
    width: 300px;
    height: 300px;
}

.services-graphic i {
    font-size: 12rem;
    color: #ff69b4;
    piggy-bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(255, 105, 180, 0.3));
}

.services-showcase-content {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.services-showcase-content.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.services-showcase-title {
    font-size: var(--font-size-h1);
    color: var(--font-color-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

.services-showcase-text {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.services-list-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-item-showcase {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    transition: all 0.3s ease, opacity 0.8s ease-out, transform 0.8s ease-out;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.service-item-showcase.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-item-showcase.animate-in:nth-child(1) {
    transition-delay: 0.1s;
}

.service-item-showcase.animate-in:nth-child(2) {
    transition-delay: 0.2s;
}

.service-item-showcase.animate-in:nth-child(3) {
    transition-delay: 0.3s;
}

.service-item-showcase.animate-in:nth-child(4) {
    transition-delay: 0.4s;
}

.service-item-showcase.animate-in:nth-child(5) {
    transition-delay: 0.5s;
}

.service-item-showcase.animate-in:nth-child(6) {
    transition-delay: 0.6s;
}

.service-item-showcase:hover {
    transform: translateX(5px);
    border-color: var(--gm-gold);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 5px 15px rgba(238, 205, 112, 0.2);
}

.service-item-showcase i {
    font-size: 1.5rem;
    color: var(--gm-gold);
    flex-shrink: 0;
}

.service-item-showcase span {
    font-size: var(--font-size-base);
    color: var(--font-color-primary);
    font-weight: 500;
}

/* Animations */
@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes tree-grow {
    from {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
}

@keyframes coins-shine {

    0%,
    100% {
        box-shadow: inset 0 -20px 30px rgba(0, 0, 0, 0.2), 0 0 0 rgba(255, 215, 0, 0);
    }

    50% {
        box-shadow: inset 0 -20px 30px rgba(0, 0, 0, 0.2), 0 0 30px rgba(255, 215, 0, 0.5);
    }
}

@keyframes piggy-bounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* Deposit Cards Section */
.deposit-cards-section {
    padding: 80px 20px;
    background: transparent;
}

.deposit-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.deposit-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.8s ease-out, transform 0.8s ease-out;
    border: 2px solid rgba(240, 240, 240, 0.5);
    opacity: 0;
    transform: translateY(30px);
}

.deposit-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.deposit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--gm-gold);
}

.deposit-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deposit-icon i {
    font-size: 3rem;
    color: var(--gm-red);
    background: none;
    -webkit-text-fill-color: var(--gm-red);
}

.deposit-card h3 {
    font-size: var(--font-size-h3);
    color: var(--gm-red);
    margin-bottom: 1rem;
    font-weight: 700;
}

.deposit-card p {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Read More Button */
.btn-read-more {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gm-red);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    border: 2px solid var(--gm-red);
}

.btn-read-more:hover {
    background: transparent;
    color: var(--gm-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 31, 31, 0.3);
}

/* Single Page Deposits Layout */
.deposits-page-header {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.05) 0%, rgba(238, 205, 112, 0.1) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.deposits-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(26,54,93,0.1)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.page-header-content>p {
    font-size: 1.2rem;
    color: var(--font-color-secondary);
    margin-bottom: 30px;
}

.deposits-types-section {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

.deposits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.deposit-card-modern {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
}

.deposit-card-modern.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.deposit-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--icon-gold-medium);
}

.deposit-card-header {
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    padding: 30px 25px 25px;
    text-align: center;
    position: relative;
}

.deposit-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.deposit-card-modern:hover .deposit-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.deposit-icon-modern i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.deposit-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deposit-card-body {
    padding: 30px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.deposit-card-body h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.deposit-description {
    color: var(--font-color-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: center;
    flex: 1;
}

.deposit-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.highlight-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.highlight-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(26, 54, 93, 0.1);
    transform: translateY(-2px);
}

.highlight-label {
    font-size: 0.95rem;
    color: var(--font-color-secondary);
    font-weight: 500;
    letter-spacing: 0.2px;
}

.highlight-value {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.btn-view-details {
    width: 100%;
    padding: 14px 20px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
}

.btn-view-details:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 54, 93, 0.3);
}

.btn-view-details i {
    transition: transform 0.3s ease;
}

.deposit-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #f8f9fa;
}

.deposit-details.active {
    max-height: 2000px;
    padding: 25px;
}

.details-content {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.details-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
    margin-top: 20px;
}

.details-content h4:first-child {
    margin-top: 0;
}

.details-content p {
    color: var(--font-color-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.details-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.details-content ul li {
    padding: 8px 0 8px 25px;
    color: var(--font-color-secondary);
    line-height: 1.7;
    position: relative;
    font-size: 0.95rem;
}

.details-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--icon-gold-medium);
    font-weight: bold;
    font-size: 1.2rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
}

.features-list li i {
    color: var(--icon-gold-medium);
    margin-top: 4px;
    flex-shrink: 0;
}

.detail-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .deposits-page-header {
        padding: 60px 0 40px;
    }

    .page-header-content h1 {
        font-size: 2rem;
    }

    .page-header-content>p {
        font-size: 1rem;
    }

    .deposits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }

    .deposit-card-modern {
        border-radius: 15px;
    }

    .deposit-card-header {
        padding: 25px 20px 20px;
    }

    .deposit-icon-modern {
        width: 70px;
        height: 70px;
    }

    .deposit-icon-modern i {
        font-size: 2rem;
    }

    .deposit-card-body {
        padding: 25px 20px;
    }

    .deposit-card-body h3 {
        font-size: 1.3rem;
    }

    .highlight-item {
        padding: 14px 16px;
    }

    .highlight-label {
        font-size: 0.9rem;
    }

    .highlight-value {
        font-size: 1rem;
    }

    .deposit-details.active {
        padding: 20px;
    }
}

/* Main Section (Deposits, About) */
.main-section {
    padding: 80px 20px;
}

.deposits-main {
    background: transparent;
}

.about-main {
    background: transparent;
}

.section-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.section-content-wrapper.reverse {
    direction: rtl;
}

.section-content-wrapper.reverse>* {
    direction: ltr;
}

.section-text h2 {
    font-size: var(--font-size-h1);
    color: var(--gm-red);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section-text p {
    font-size: var(--font-size-large);
    color: var(--font-color-primary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.section-text p strong {
    color: var(--gm-red);
    font-weight: 700;
}

.section-image {
    text-align: center;
    font-size: 8rem;
    color: var(--gm-gold);
    opacity: 0.3;
}

/* Loans Main Section */
.loans-main-section {
    padding: 80px 20px;
    background: transparent;
}

.loans-header {
    text-align: center;
    max-width: 100%;
    margin: 0 auto 3rem;
}

.loans-header h2 {
    font-size: var(--font-size-h1);
    color: var(--gm-red);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.loans-header p {
    font-size: var(--font-size-large);
    color: var(--font-color-primary);
    line-height: 1.8;
}

.loans-header p strong {
    color: var(--gm-red);
    font-weight: 700;
}


/* Services Main Section */
/* Services Main Section - Clean Professional Design */
.services-main-section {
    padding: 80px 0;
    background: transparent;
    width: 100%;
}

.services-main-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.services-main-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s ease;
}

.services-main-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.services-main-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.services-main-subtitle {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-main-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px 35px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(26, 54, 93, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    cursor: pointer;
}

.service-main-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 50%, var(--gm-red) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-main-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-main-item:hover {
    transform: translateY(-8px) rotateY(3deg);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12), 0 0 25px rgba(238, 205, 112, 0.2);
    border-color: var(--icon-gold-medium);
    animation: service-hover-glow 2s ease-in-out infinite;
}

@keyframes service-hover-glow {

    0%,
    100% {
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12), 0 0 25px rgba(238, 205, 112, 0.2);
    }

    50% {
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15), 0 0 35px rgba(238, 205, 112, 0.3);
    }
}

.service-main-item:nth-child(1).animate-in {
    transition-delay: 0.1s;
}

.service-main-item:nth-child(2).animate-in {
    transition-delay: 0.2s;
}

.service-main-item:nth-child(3).animate-in {
    transition-delay: 0.3s;
}

.service-main-item:nth-child(4).animate-in {
    transition-delay: 0.4s;
}

.service-main-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    service-icon-float 4s ease-in-out infinite;
}

@keyframes service-icon-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

.service-main-icon {
    background: linear-gradient(135deg, rgba(247, 241, 180, 0.2) 0%, rgba(238, 205, 112, 0.15) 100%);
    border-radius: 50%;
    border: 2px solid rgba(238, 205, 112, 0.3);
    transition: all 0.4s ease;
}

.service-main-item:hover .service-main-icon {
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-color: var(--icon-gold-medium);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(238, 205, 112, 0.3);
}

.service-main-icon i {
    font-size: 2.8rem;
    color: var(--gm-red);
    transition: all 0.4s ease;
    animation: service-icon-pulse 3s ease-in-out infinite;
}

@keyframes service-icon-pulse {

    0%,
    100% {
        filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
    }

    50% {
        filter: drop-shadow(0 4px 10px rgba(91, 31, 31, 0.3));
    }
}

.service-main-item:hover .service-main-icon i {
    color: #ffffff;
    transform: scale(1.1);
}

.service-main-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gm-red);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-main-item:hover .service-main-title {
    color: var(--icon-gold-medium);
}

.service-main-description {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design for Services Main */
@media (max-width: 968px) {
    .services-main-wrapper {
        padding: 0 20px;
    }

    .services-main-heading {
        font-size: 2.2rem;
    }

    .services-main-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-main-item {
        padding: 35px 30px;
    }

    .service-main-icon {
        width: 80px;
        height: 80px;
    }

    .service-main-icon i {
        font-size: 2.4rem;
    }

    .service-main-title {
        font-size: 1.3rem;
    }
}

.btn-view-more {
    display: inline-block;
    padding: 14px 35px;
    background: var(--gm-red);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: var(--font-size-base);
    border: 2px solid var(--gm-red);
}

.btn-view-more:hover {
    background: transparent;
    color: var(--gm-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 31, 31, 0.3);
}

/* Social Activities Section */
.social-activities-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--gm-red) 0%, #4a1a1a 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.social-activities-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(238, 205, 112, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.social-content {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.social-content h2 {
    font-size: var(--font-size-h1);
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.social-content p {
    font-size: var(--font-size-large);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Contact Info Section */
.contact-info-section {
    padding: 60px 20px;
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.contact-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--gm-red);
    width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: var(--font-size-h4);
    color: var(--gm-red);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-item p {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    margin: 0.25rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --font-size-h1: 2rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.35rem;
    }

    /* Top Utility Bar - Hide on Mobile */
    .top-utility-bar {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Adjust header position since utility bar is hidden */
    .header {
        top: 0 !important;
    }

    /* Adjust body padding since utility bar is hidden */
    body {
        padding-top: 80px !important;
        /* Only header height, no utility bar */
    }

    .utility-bar-content {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .utility-left,
    .utility-right {
        width: 100%;
        justify-content: center;
    }

    .utility-left {
        gap: 1rem;
        margin-bottom: 0.5rem;
    }

    .utility-email {
        font-size: 0.85rem;
    }

    .utility-email span {
        word-break: break-all;
    }

    .social-links-utility {
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-link-utility {
        width: 30px;
        height: 30px;
    }

    .social-link-utility i {
        font-size: 0.8rem;
    }

    .header {
        top: 58px;
        /* Adjust for smaller utility bar on mobile */
    }

    body {
        padding-top: 138px;
        /* Adjust for mobile utility bar + header */
    }

    .hamburger {
        display: flex !important;
        z-index: 1001;
        position: relative;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .hamburger:active {
        opacity: 0.7;
    }

    .logo-image {
        width: 45px;
        height: 45px;
    }

    .logo-kannada {
        font-size: 1.1rem;
    }

    .logo-english {
        font-size: 0.8rem;
    }

    .logo {
        gap: 10px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        /* Adjusted for header only (utility bar hidden on mobile) */
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
        z-index: 1000;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

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

    /* Hamburger active state */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hamburger span {
        transition: all 0.3s ease;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0 1rem 4px;
    }

    .nav-menu a {
        padding-left: 8px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none;
        box-shadow: none;
        background: var(--light-bg);
        margin-top: 0;
        padding: 0.5rem 0 !important;
        max-height: 500px !important;
        overflow: visible !important;
        display: block !important;
        height: auto !important;
    }

    /* Style dropdown menu items when visible */
    .dropdown.active .dropdown-menu li {
        padding: 0.5rem 0;
    }

    .dropdown.active .dropdown-menu a {
        padding: 0.75rem 1.5rem;
        display: block;
        color: var(--font-color-primary);
        text-decoration: none;
        transition: background-color 0.2s ease;
    }

    .dropdown.active .dropdown-menu a:hover {
        background-color: rgba(26, 54, 93, 0.08);
        color: var(--primary-color);
    }

    /* Style chevron icon for mobile - make it clickable */
    .nav-menu .dropdown>a .fa-chevron-down {
        cursor: pointer;
        transition: transform 0.3s ease;
        margin-left: 0.5rem;
        display: inline-block;
    }

    /* Rotate chevron when dropdown is active */
    .nav-menu .dropdown.active>a .fa-chevron-down {
        transform: rotate(180deg);
    }

    /* Make chevron icon visually distinct */
    .nav-menu .dropdown>a .fa-chevron-down {
        opacity: 0.7;
        font-size: 0.75rem;
    }

    .nav-menu .dropdown>a .fa-chevron-down:hover {
        opacity: 1;
    }

    /* Hide Loans dropdown menu on mobile */
    .nav-menu li.dropdown:has(a[href="loans.html"]) .dropdown-menu,
    .nav-menu li.dropdown:has(a[data-page="loans.html"]) .dropdown-menu,
    .nav-menu li.dropdown a[href="loans.html"]+.dropdown-menu,
    .nav-menu li.dropdown a[data-page="loans.html"]+.dropdown-menu,
    .nav-menu li.dropdown>a[href="loans.html"]~.dropdown-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Hide chevron icon for Loans on mobile */
    .nav-menu li.dropdown a[href="loans.html"] .fa-chevron-down,
    .nav-menu li.dropdown a[href="loans.html"] i.fa-chevron-down,
    .nav-menu li.dropdown a[data-page="loans.html"] .fa-chevron-down,
    .nav-menu li.dropdown a[data-page="loans.html"] i.fa-chevron-down {
        display: none !important;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    /* Hero Reference - Index Page */
    section.hero.hero-reference {
        padding: 60px 20px 40px !important;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: var(--font-size-h1);
    }

    .hero-image {
        display: none;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: var(--font-size-h2);
    }

    .features-grid,
    .products-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .stats-section {
        margin-top: 0;
        padding: 60px 20px;
    }

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

    .section-content-wrapper.reverse {
        direction: ltr;
    }

    .section-image {
        font-size: 5rem;
    }

    .deposit-cards-grid,
    .services-list,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Container - Reduced padding for mobile */
    .container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

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

    .hero-content-reference p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero.hero-reference {
        padding: 40px 15px 30px !important;
    }

    .hero-content-reference {
        padding: 0;
    }

    .btn-hero {
        width: 100%;
        text-align: center;
    }

    .announcements-marquee {
        width: 100%;
    }

    .announcements-section {
        padding: 15px 15px !important;
    }

    .announcements-content {
        gap: 25px;
    }

    .announcement-badge {
        padding: 8px 18px;
        gap: 10px;
    }

    .announcement-badge span {
        font-size: var(--font-size-small);
    }

    .announcement-badge i {
        font-size: 1rem;
    }

    /* Introduction Section Mobile */
    .introduction-section {
        padding: 30px 15px !important;
    }

    .intro-badge {
        padding: 8px 16px;
        font-size: var(--font-size-small);
    }

    .intro-title {
        font-size: var(--font-size-h2);
    }

    .intro-logo-container {
        margin: 2rem auto;
        padding: 1.5rem 0;
    }

    .intro-logo {
        max-width: 250px;
    }

    .intro-description {
        font-size: var(--font-size-base);
        margin: 1.5rem auto 2rem;
        padding: 0 5px;
    }

    .intro-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .intro-feature-item {
        padding: 2rem 1.5rem;
    }

    .intro-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .intro-icon-wrapper i {
        font-size: 2rem;
    }

    /* Origin/History Section Mobile */
    .origin-history-section {
        padding: 40px 15px;
    }

    .origin-header {
        margin-bottom: 2.5rem;
    }

    .origin-badge {
        padding: 10px 20px;
        font-size: var(--font-size-small);
    }

    .origin-title {
        font-size: var(--font-size-h2);
    }

    .origin-intro-text {
        font-size: var(--font-size-base);
    }

    .origin-timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 80px;
        transform: translateX(-30px);
    }

    .timeline-item:nth-child(even) {
        flex-direction: column !important;
        transform: translateX(-30px);
    }

    .timeline-item.animate-in {
        transform: translateX(0);
    }

    .timeline-icon {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
    }

    .timeline-icon i {
        font-size: 1.5rem;
    }

    .timeline-content {
        margin: 0;
        padding: 1.5rem;
    }

    .origin-values {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card {
        padding: 2rem 1.5rem;
    }

    .value-icon {
        width: 70px;
        height: 70px;
    }

    .value-icon i {
        font-size: 2rem;
    }

    .patrons-container {
        flex-direction: column;
        gap: 2rem;
    }

    .patron-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
    }

    .patrons-logo {
        flex: 0 0 auto;
        order: -1;
        margin-bottom: 1rem;
    }

    .logo-circle {
        width: 150px;
        height: 150px;
    }

    .logo-inner {
        width: 135px;
        height: 135px;
    }

    .logo-center-icon {
        width: 50px;
        height: 50px;
    }

    .logo-center-icon i {
        font-size: 1.5rem;
    }

    .logo-text-top {
        font-size: 0.55rem;
    }

    .logo-text-bottom {
        font-size: 0.5rem;
    }

    .patron-image-placeholder {
        width: 180px;
        height: 220px;
    }

    .patron-image-placeholder i {
        font-size: 4rem;
    }

    /* President View Section Mobile */
    .president-view-section {
        padding: 40px 15px;
        margin: 30px 0;
    }

    .president-view-card {
        flex-direction: column;
        padding: 1.5rem;
        gap: 2rem;
        align-items: center;
    }

    .president-view-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
    }

    .president-view-image-frame {
        width: 100%;
        max-width: 280px;
        height: 350px;
        margin: 0 auto;
    }

    .president-view-image-circle {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .president-view-image {
        width: 160px;
        height: 160px;
    }

    .president-view-image i {
        font-size: 4rem;
    }

    .president-view-info {
        text-align: center;
    }

    .president-view-name {
        font-size: 1.5rem;
        text-align: center;
    }

    .president-view-position {
        text-align: center;
    }

    .president-view-bio {
        text-align: left;
        font-size: 0.95rem;
    }

    .president-view-bio p {
        text-align: justify;
    }

    /* Vice-President View Section Mobile */
    .vice-president-view-section {
        padding: 40px 15px;
        margin: 30px 0;
    }

    .vice-president-view-card {
        flex-direction: column;
        padding: 1.5rem;
        gap: 2rem;
        align-items: center;
    }

    .vice-president-view-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
    }

    .vice-president-view-image-frame {
        width: 100%;
        max-width: 280px;
        height: 350px;
        margin: 0 auto;
    }

    .vice-president-view-image-circle {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .vice-president-view-image {
        width: 160px;
        height: 160px;
    }

    .vice-president-view-image i {
        font-size: 4rem;
    }

    .vice-president-view-info {
        text-align: center;
    }

    .vice-president-view-name {
        font-size: 1.5rem;
        text-align: center;
    }

    .vice-president-view-position {
        text-align: center;
    }

    .vice-president-view-bio {
        text-align: left;
        font-size: 0.95rem;
    }

    .vice-president-view-bio p {
        text-align: justify;
    }

    /* President and Vice-President Mobile */
    .president-vice-section {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0.5rem 1rem;
        margin: 0.5rem 0 0;
    }

    .president-vice-card {
        max-width: 100%;
    }

    .president-vice-photo-frame {
        width: 160px;
        height: 200px;
    }

    .president-vice-photo-placeholder i {
        font-size: 3rem;
    }

    .president-vice-name {
        font-size: 1.1rem;
    }

    .president-vice-info {
        font-size: 0.85rem;
    }

    .president-vice-position {
        font-size: 1rem;
    }

    .president-vice-logo {
        padding: 1rem 0;
        order: -1;
    }

    .president-logo-image {
        width: 150px;
        height: 150px;
    }

    /* Board of Directors Mobile */
    .director-card {
        padding: 1.25rem 1rem;
    }

    .director-photo {
        width: 120px;
        height: 150px;
        margin-bottom: 1rem;
    }

    .director-photo-placeholder i {
        font-size: 2.5rem;
    }

    .director-name {
        font-size: 1rem;
    }

    .director-position {
        font-size: 0.85rem;
    }

    .view-icon {
        width: 60px;
        height: 60px;
    }

    .view-icon i {
        font-size: 1.8rem;
    }

    .view-header h3 {
        font-size: var(--font-size-h3);
    }

    .view-content {
        font-size: var(--font-size-small);
    }

    /* Board of Directors Banner Mobile */
    .board-directors-banner {
        height: 250px;
        margin-top: 80px;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    /* Branch Managers Banner Mobile */
    .branch-managers-banner {
        height: 250px;
        margin-top: 80px;
    }

    .branch-managers-banner .banner-content h1 {
        font-size: 2rem;
    }

    .branch-managers-banner .banner-content p {
        font-size: 1rem;
    }

    /* Annual Reports Banner Mobile */
    .annual-reports-banner {
        height: 250px;
        margin-top: 80px;
    }

    .annual-reports-banner .banner-content h1 {
        font-size: 2rem;
    }

    .annual-reports-banner .banner-content p {
        font-size: 1rem;
    }

    /* Loans Banner Mobile */
    .loans-banner {
        height: 250px;
        margin-top: 80px;
    }

    .loans-banner .banner-content h1 {
        font-size: 2rem;
    }

    .loans-banner .banner-content p {
        font-size: 1rem;
    }

    /* Gallery Banner Mobile */
    .gallery-banner {
        height: 250px;
        margin-top: 80px;
    }

    .gallery-banner .banner-content h1 {
        font-size: 2rem;
    }

    .gallery-banner .banner-content p {
        font-size: 1rem;
    }

    /* Simple Gallery Mobile */
    .gallery-section-simple {
        padding: 40px 15px;
    }

    .gallery-grid-simple {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    /* Board of Directors Mobile */
    .board-directors-section {
        padding: 40px 15px;
        margin: 2rem 0;
    }

    .board-header {
        margin-bottom: 2rem;
    }

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

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

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

    .director-card {
        border-radius: 15px;
    }

    .director-image-wrapper {
        height: 250px;
    }

    .director-image i {
        font-size: 5rem;
    }

    .director-info {
        padding: 1.5rem;
    }

    .director-name {
        font-size: var(--font-size-h3);
    }

    .director-social {
        gap: 1rem;
    }

    .director-social a {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .director-badge {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }

    .director-badge i {
        font-size: 1.2rem;
    }

    /* Branch Managers Mobile */
    .branch-managers-section {
        padding: 40px 15px;
        margin: 2rem 0;
    }

    .managers-header {
        margin-bottom: 2.5rem;
    }

    .managers-badge {
        padding: 10px 20px;
        font-size: var(--font-size-small);
    }

    .managers-title {
        font-size: var(--font-size-h2);
    }

    .managers-subtitle {
        font-size: var(--font-size-base);
        margin-top: 1rem;
    }

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

    .manager-card {
        padding: 1.25rem 1rem;
    }

    .manager-photo {
        width: 120px;
        height: 150px;
        margin-bottom: 1rem;
    }

    .manager-photo-placeholder i {
        font-size: 2.5rem;
    }

    .manager-name {
        font-size: 1rem;
    }

    .manager-position {
        font-size: 0.85rem;
    }

    .manager-image-wrapper {
        width: 120px;
        height: 120px;
    }

    .manager-image i {
        font-size: 3rem;
    }

    .manager-front,
    .manager-back {
        padding: 1.5rem;
    }

    .manager-details h4 {
        font-size: var(--font-size-h3);
        margin-bottom: 1rem;
    }

    .manager-contact p {
        font-size: var(--font-size-small);
    }

    .manager-experience {
        padding: 0.8rem;
    }

    .manager-experience span {
        font-size: var(--font-size-small);
    }

    /* Annual Reports Mobile */
    .annual-reports-section {
        padding: 40px 15px;
        margin: 2rem 0;
    }

    .reports-header {
        margin-bottom: 2.5rem;
    }

    .reports-badge {
        padding: 10px 20px;
        font-size: var(--font-size-small);
    }

    .reports-title {
        font-size: var(--font-size-h2);
    }

    .reports-subtitle {
        font-size: var(--font-size-base);
        margin-top: 1rem;
    }

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

    .report-card {
        padding: 1.25rem 1rem;
    }

    .report-icon {
        width: 120px;
        height: 150px;
        margin-bottom: 1rem;
    }

    .report-icon i {
        font-size: 3rem;
    }

    .report-year {
        font-size: 1rem;
    }

    .report-label {
        font-size: 0.85rem;
    }

    /* Loans Mobile */
    .loans-container {
        gap: 2rem;
        max-width: 100%;
    }

    .loan-item {
        flex-direction: column !important;
        gap: 1.5rem;
        text-align: center;
    }

    .loan-image {
        flex: none;
        width: 100%;
        max-width: 100%;
        height: 250px;
    }

    .loan-content {
        padding: 0;
    }

    .loan-image-placeholder i {
        font-size: 3rem;
    }

    .loan-name {
        font-size: 1.8rem;
        text-align: center;
    }

    .loan-details {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .loan-description {
        font-size: 1.1rem;
        text-align: center;
    }

    .report-stats {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .report-stat {
        padding: 0.6rem 1rem;
        font-size: var(--font-size-small);
    }

    .report-buttons {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .report-btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: var(--font-size-small);
    }

    .report-action {
        padding: 0.8rem 1.5rem;
        font-size: var(--font-size-small);
    }

    /* Latest Images Section Mobile */
    .latest-images-section {
        padding: 60px 15px;
    }

    .images-header {
        margin-bottom: 2.5rem;
    }

    .images-badge {
        padding: 10px 20px;
        font-size: var(--font-size-small);
    }

    .images-title {
        font-size: var(--font-size-h2);
    }

    .images-subtitle {
        font-size: var(--font-size-base);
    }

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

    .image-wrapper {
        height: 250px;
    }

    .btn-view-gallery {
        padding: 14px 30px;
        font-size: var(--font-size-base);
    }

    /* Financial Partner Section Mobile */
    /* Gallery Section Mobile - Reduced padding */
    .gallery-auto-scroll-section {
        padding: 30px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .gallery-header {
        padding: 0;
        margin-bottom: 2rem;
    }

    .gallery-title {
        font-size: 1.5rem !important;
    }

    .gallery-subtitle {
        font-size: 0.95rem !important;
        padding: 0;
    }

    .gallery-scroll-container {
        padding: 10px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-scroll-track {
        gap: 0.75rem !important;
        padding: 0;
    }

    .gallery-item {
        width: 160px !important;
        height: 160px !important;
        flex-shrink: 0;
        min-width: 160px;
    }

    .gallery-footer {
        padding: 0;
        margin-top: 1.5rem;
    }

    .btn-view-gallery {
        padding: 12px 30px;
        font-size: 0.95rem;
        width: auto;
        display: inline-flex;
    }

    /* Financial Partner Section Mobile */
    .financial-partner-section {
        padding: 30px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .partner-title {
        font-size: var(--font-size-h2);
        margin-bottom: 1.5rem;
    }

    .partner-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        width: 100% !important;
    }

    .partner-content {
        width: 100% !important;
        padding: 0;
    }

    .partner-image {
        height: auto;
        min-height: 200px;
        order: -1;
        width: 100% !important;
        display: flex;
        justify-content: center;
    }

    .partner-graphic {
        max-width: 100% !important;
        width: 100% !important;
        display: flex;
        justify-content: center;
    }

    .partner-img {
        max-height: 200px !important;
        max-width: 80% !important;
    }

    .partner-text {
        font-size: var(--font-size-base);
        margin-bottom: 1.2rem;
    }

    /* Founder Section Mobile */
    .founder-section {
        padding: 60px 15px !important;
    }

    .founder-header-top {
        margin-bottom: 3rem !important;
        text-align: center !important;
    }

    .founder-header-top .founder-label {
        margin-bottom: 1rem !important;
        font-size: 0.85rem !important;
    }

    .founder-header-top .founder-title-new {
        font-size: 1.8rem !important;
        margin-bottom: 0.75rem !important;
    }

    .founder-header-top .founder-org-name {
        font-size: 0.95rem !important;
    }

    .founder-logo-section-new {
        margin-bottom: 2rem !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .founder-logo-new {
        max-width: 180px !important;
    }

    .founder-info-section {
        gap: 1.5rem !important;
        max-width: 100% !important;
    }

    .founder-description-new p {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }

    .founder-stats-new {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 1.5rem 0 !important;
    }

    .stat-box {
        padding: 1.25rem !important;
    }

    .stat-icon-box {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 0.75rem !important;
    }

    .stat-icon-box i {
        font-size: 1.5rem !important;
    }

    .stat-number {
        font-size: 1.1rem !important;
    }

    .stat-text {
        font-size: 0.8rem !important;
    }

    .founder-actions-new {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .action-btn {
        width: 100% !important;
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
        text-align: center !important;
    }

    /* CTA Section Mobile */
    .cta-section {
        padding: 30px 15px !important;
    }

    .cta-content h2 {
        font-size: 1.5rem !important;
    }

    .cta-buttons {
        flex-direction: column !important;
        gap: 1rem;
    }

    .btn-large {
        width: 100% !important;
    }

    .founder-main-title {
        font-size: 1.8rem !important;
    }

    .founder-subtitle {
        font-size: 1rem !important;
    }

    .founder-achievements {
        grid-template-columns: 1fr !important;
    }

    /* Careers & Services Section Mobile */
    .careers-wrapper,
    .services-showcase-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .careers-image,
    .services-showcase-image {
        height: 300px;
        order: -1;
    }

    .careers-graphic {
        width: 250px;
        height: 300px;
    }

    .careers-graphic i {
        font-size: 6rem;
    }

    .growth-tree {
        width: 150px;
        height: 200px;
    }

    .gold-coins {
        width: 140px;
        height: 100px;
    }

    .services-graphic {
        width: 250px;
        height: 250px;
    }

    .services-graphic i {
        font-size: 10rem;
    }

    .services-list-showcase {
        grid-template-columns: 1fr;
    }

    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-app {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact Hero Section */
.contact-hero-section {
    padding: 40px 0 20px 0;
    position: relative;
    background: transparent;
}

.contact-hero-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 40px;
}

.contact-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-hero-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    color: var(--gm-red);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 20px rgba(238, 205, 112, 0.3);
    position: relative;
    z-index: 2;
    order: 1;
}

.contact-hero-badge i {
    font-size: 1.1rem;
}

.contact-hero-title {
    font-size: 3rem;
    color: var(--gm-red);
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    order: 2;
}

.contact-hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    transition: width 1s ease;
}

.contact-hero-content.animate-in .contact-hero-title::after {
    width: 150px;
}

.contact-hero-description {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    order: 3;
}

/* Contact Info Section */
.contact-info-section {
    padding: 20px 0;
    position: relative;
    background: transparent;
}

.contact-info-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 40px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 51, 102, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    contact-card-breathe 5s ease-in-out infinite;
}

.contact-info-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.contact-info-card:nth-child(1).animate-in {
    transition-delay: 0.1s;
}

.contact-info-card:nth-child(2).animate-in {
    transition-delay: 0.2s;
}

.contact-info-card:nth-child(3).animate-in {
    transition-delay: 0.3s;
}

.contact-info-card:nth-child(4).animate-in {
    transition-delay: 0.4s;
}

@keyframes contact-card-breathe {

    0%,
    100% {
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    }

    50% {
        box-shadow: 0 15px 45px rgba(238, 205, 112, 0.2);
    }
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 50%, var(--gm-red) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.contact-info-card:hover {
    transform: translateY(-15px) scale(1.02) rotateY(3deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 30px rgba(238, 205, 112, 0.3);
    border-color: var(--icon-gold-medium);
    contact-card-hover-glow 2s ease-in-out infinite;
}

@keyframes contact-card-hover-glow {

    0%,
    100% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 30px rgba(238, 205, 112, 0.3);
    }

    50% {
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2), 0 0 40px rgba(238, 205, 112, 0.4);
    }
}

.contact-card-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    icon-bg-rotate 8s linear infinite;
    box-shadow: 0 8px 30px rgba(238, 205, 112, 0.4);
}

.contact-card-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--gm-red);
    position: relative;
    z-index: 2;
    contact-icon-float 4s ease-in-out infinite;
}

@keyframes contact-icon-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.contact-info-card:hover .contact-card-icon-wrapper i {
    transform: scale(1.2) rotate(15deg);
    color: #ffffff;
}

.contact-info-card:hover .contact-card-icon-bg {
    background: linear-gradient(135deg, var(--gm-red) 0%, #8b2a2a 100%);
}

.contact-card-title {
    font-size: 1.5rem;
    color: var(--gm-red);
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-card-description {
    font-size: var(--font-size-base);
    color: var(--font-color-secondary);
    margin-bottom: 20px;
}

.contact-card-content {
    text-align: left;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(247, 241, 180, 0.1);
    border-radius: 15px;
    border-left: 4px solid var(--icon-gold-medium);
}

.contact-card-content p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-card-content strong {
    color: var(--gm-red);
    font-weight: 600;
}

.contact-card-content a {
    color: var(--gm-red);
    text-decoration: none;
}

.contact-card-content a:hover {
    color: var(--icon-gold-medium);
    text-decoration: underline;
}

.contact-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    color: var(--gm-red);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 3px 15px rgba(238, 205, 112, 0.3);
}

.contact-card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.2);
    background: linear-gradient(135deg, var(--gm-red) 0%, #8b2a2a 100%);
    color: #ffffff;
}

.contact-card-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 20px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #4caf50;
    border-radius: 50%;
    status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
}

.status-text {
    color: #4caf50;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: 20px 0;
    position: relative;
    background: transparent;
}

.contact-form-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 40px;
}

.contact-form-wrapper {
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    position: relative;
    overflow: visible;
}

.contact-form-wrapper::before {
    display: none;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 0;
    padding-top: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.contact-form-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    color: var(--gm-red);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(238, 205, 112, 0.3);
}

.contact-form-title {
    font-size: 2.5rem;
    color: var(--gm-red);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-form-subtitle {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    line-height: 1.6;
}

.contact-form {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
    width: 100%;
    max-width: 100%;
}

.contact-form.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gm-red);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--icon-gold-medium);
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(238, 205, 112, 0.3);
    border-radius: 15px;
    font-size: var(--font-size-base);
    font-family: var(--font-family-primary);
    color: var(--font-color-primary);
    background: rgba(255, 255, 255, 0.9);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--icon-gold-medium);
    box-shadow: 0 0 0 4px rgba(238, 205, 112, 0.1);
    background: #ffffff;
    transform: translateY(-2px);
}

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

.contact-form-submit {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--gm-red) 0%, #8b2a2a 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 5px 25px rgba(91, 31, 31, 0.3);
    margin-top: 10px;
}

.contact-form-submit span,
.contact-form-submit i {
    color: #ffffff !important;
}

.contact-form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(91, 31, 31, 0.4);
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    color: var(--gm-red) !important;
}

.contact-form-submit:hover span,
.contact-form-submit:hover i {
    color: var(--gm-red) !important;
}

.contact-form-submit:active {
    transform: translateY(-1px);
}

/* Map Section */
.contact-map-section {
    padding: 20px 0;
    position: relative;
    background: transparent;
}

.contact-map-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 40px;
}

.contact-map-header {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.contact-map-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-map-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    color: var(--gm-red);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(238, 205, 112, 0.3);
}

.contact-map-title {
    font-size: 2.5rem;
    color: var(--gm-red);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-map-subtitle {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    line-height: 1.6;
}

.contact-map-wrapper {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.contact-map-wrapper.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.map-placeholder {
    background: linear-gradient(135deg, rgba(247, 241, 180, 0.3) 0%, rgba(238, 205, 112, 0.2) 100%);
    padding: 80px 40px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(238, 205, 112, 0.1) 0%, transparent 70%);
    map-bg-rotate 20s linear infinite;
}

@keyframes map-bg-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.map-placeholder i {
    font-size: 5rem;
    color: var(--gm-red);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    map-icon-float 4s ease-in-out infinite;
}

@keyframes map-icon-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

.map-placeholder p {
    font-size: var(--font-size-large);
    color: var(--font-color-primary);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.map-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--gm-red) 0%, #8b2a2a 100%);
    color: #ffffff !important;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    box-shadow: 0 5px 25px rgba(91, 31, 31, 0.3);
    position: relative;
    z-index: 2;
}

.map-link-btn i {
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
    flex-shrink: 0;
    none !important;
    transition: none !important;
    transform: none !important;
}

.map-link-btn span {
    color: #ffffff !important;
    line-height: 1;
    vertical-align: middle;
}

.map-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(91, 31, 31, 0.4);
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    color: var(--gm-red) !important;
}

.map-link-btn:hover i {
    color: var(--gm-red) !important;
    transform: none !important;
    none !important;
    transition: none !important;
}

.map-link-btn:hover span {
    color: var(--gm-red) !important;
}

/* Social Media Section */
.contact-social-section {
    padding: 20px 0;
    position: relative;
    background: transparent;
}

.contact-social-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 40px;
}

.contact-social-header {
    text-align: center;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.contact-social-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-social-title {
    font-size: 2.5rem;
    color: var(--gm-red);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-social-subtitle {
    font-size: var(--font-size-large);
    color: var(--font-color-secondary);
    line-height: 1.6;
}

.contact-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.social-link-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 51, 102, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    position: relative;
    overflow: hidden;
}

.social-link-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.social-link-card:nth-child(1).animate-in {
    transition-delay: 0.1s;
}

.social-link-card:nth-child(2).animate-in {
    transition-delay: 0.2s;
}

.social-link-card:nth-child(3).animate-in {
    transition-delay: 0.3s;
}

.social-link-card:nth-child(4).animate-in {
    transition-delay: 0.4s;
}

.social-link-card:nth-child(5).animate-in {
    transition-delay: 0.5s;
}

.social-link-card:nth-child(6).animate-in {
    transition-delay: 0.6s;
}

.social-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

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

.social-link-card:hover {
    transform: translateY(-10px) scale(1.05) rotateY(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 0 25px rgba(238, 205, 112, 0.3);
    border-color: var(--icon-gold-medium);
}

.social-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    social-icon-float 3s ease-in-out infinite;
}

@keyframes social-icon-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

.social-link-card:hover .social-icon-wrapper {
    transform: scale(1.15) rotate(360deg);
    background: linear-gradient(135deg, var(--gm-red) 0%, #8b2a2a 100%);
    box-shadow: 0 8px 25px rgba(91, 31, 31, 0.4);
}

.social-icon-wrapper i {
    font-size: 1.8rem;
    color: var(--gm-red);
    transition: all 0.4s ease;
}

.social-link-card:hover .social-icon-wrapper i {
    color: #ffffff;
    transform: scale(1.2);
}

.social-link-card span {
    display: block;
    color: var(--gm-red);
    font-weight: 600;
    font-size: 0.95rem;
}

.social-link-card:hover span {
    color: var(--icon-gold-medium);
}

/* Contact Page Responsive */
@media (max-width: 968px) {
    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .contact-form-wrapper {
        padding: 40px 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .contact-hero-section,
    .contact-info-section,
    .contact-form-section,
    .contact-map-section,
    .contact-social-section {
        padding: 40px 0;
    }

    .contact-hero-title,
    .contact-form-title,
    .contact-map-title,
    .contact-social-title {
        font-size: 2rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-placeholder {
        padding: 60px 20px;
        min-height: 300px;
    }

    .map-placeholder i {
        font-size: 3.5rem;
    }
}

/* ============================================
   INDEX PAGE NEW SECTIONS - PROFESSIONAL DESIGN
   ============================================ */

/* Hero Buttons Enhancement */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    justify-content: center;
}

.btn-hero {
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--font-color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Stats Showcase Section */
.stats-showcase-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.stats-showcase-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.stat-showcase-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    background: #ffffff;
}

.stat-showcase-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.stat-showcase-card:hover .stat-showcase-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

.stat-showcase-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.stat-showcase-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
    font-family: var(--font-family-heading);
}

.stat-showcase-label {
    font-size: 1.1rem;
    color: var(--font-color-secondary);
    font-weight: 500;
    margin: 0;
}

/* Services Preview Section */
.services-preview-section {
    padding: 100px 0;
    background: var(--light-bg);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(26, 54, 93, 0.1);
    border: 1px solid rgba(26, 54, 93, 0.2);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.section-badge i {
    font-size: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--font-color-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.service-preview-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(26, 54, 93, 0.1);
    display: flex;
    flex-direction: column;
}

.service-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(26, 54, 93, 0.15);
    border-color: var(--primary-color);
}

.service-preview-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.service-preview-card:hover .service-preview-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-preview-icon i {
    font-size: 1.8rem;
    color: #ffffff;
}

.service-preview-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-preview-card p {
    color: var(--font-color-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-preview-link:hover {
    color: var(--secondary-color);
    gap: 12px;
}

.service-preview-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.service-preview-link:hover i {
    transform: translateX(4px);
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

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

.why-choose-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.why-choose-card:hover {
    transform: translateY(-8px);
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(26, 54, 93, 0.12);
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.why-choose-card:hover .why-choose-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

.why-choose-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.why-choose-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.why-choose-card p {
    color: var(--font-color-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Partner Actions */
.partner-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.partner-actions .btn {
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.partner-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.3);
}

/* Call to Action Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Scroll Animation Classes */
.stat-showcase-card,
.service-preview-card,
.why-choose-card,
.cta-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.stat-showcase-card.animate-in,
.service-preview-card.animate-in,
.why-choose-card.animate-in,
.cta-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design for New Sections */
@media (max-width: 968px) {

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

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

    .cta-content h2 {
        font-size: 2.2rem;
    }

    /* Top Utility Bar - Medium Screens */
    .utility-email {
        font-size: 0.85rem;
    }

    .social-link-utility {
        width: 30px;
        height: 30px;
    }

    .social-link-utility i {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {

    .stats-showcase-section,
    .services-preview-section,
    .why-choose-section,
    .cta-section {
        padding: 60px 0;
    }

    .stats-showcase-grid,
    .services-preview-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .hero-buttons,
    .partner-actions,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn,
    .partner-actions .btn,
    .cta-buttons .btn {
        width: 100%;
    }

    /* Index Page Mobile Styles - High Specificity Override - Reduced Padding */
    body .hero.hero-reference {
        padding: 40px 15px 30px !important;
    }

    body .announcements-section {
        padding: 15px 15px !important;
    }

    body .introduction-section {
        padding: 30px 15px !important;
    }

    body .gallery-auto-scroll-section {
        padding: 30px 15px !important;
    }

    /* Gallery Items Mobile - Show at least 2 images */
    body .gallery-scroll-container {
        padding: 10px 0 !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body .gallery-scroll-track {
        gap: 0.75rem !important;
        padding: 0 !important;
    }

    body .gallery-item {
        width: 160px !important;
        height: 160px !important;
        min-width: 160px !important;
        flex-shrink: 0 !important;
    }

    body .financial-partner-section {
        padding: 30px 15px !important;
    }

    body .founder-section {
        padding: 30px 15px !important;
    }

    body .cta-section {
        padding: 30px 15px !important;
    }

    body .container {
        padding: 0 15px !important;
    }

    /* Hide Top Utility Bar on Mobile - High Specificity */
    body .top-utility-bar {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        transform: translateY(-100%) !important;
    }

    /* Adjust header and body when utility bar is hidden */
    body .header {
        top: 0 !important;
    }

    body {
        padding-top: 80px !important;
    }

    /* Hamburger Menu Fix - High Specificity */
    body .hamburger {
        display: flex !important;
        z-index: 1001 !important;
        cursor: pointer !important;
        position: relative !important;
    }

    body .nav-menu {
        top: 80px !important;
        z-index: 1000 !important;
    }

    body .nav-menu.active {
        left: 0 !important;
    }

    body .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }

    body .hamburger.active span:nth-child(2) {
        opacity: 0 !important;
    }

    body .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px) !important;
    }

    .stat-showcase-number {
        font-size: 2.5rem;
    }

    /* Board of Directors Page Mobile - Complete Redesign */
    body .board-directors-section {
        padding: 30px 15px !important;
        margin: 0 !important;
    }

    body .board-container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    /* Hero Section Mobile */
    body .hero.hero-reference {
        padding: 30px 15px !important;
    }

    body .hero-content-reference h1 {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    body .hero-content-reference p {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.6 !important;
    }

    /* President and Vice-President Section Mobile */
    body .president-vice-section {
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 0 !important;
        margin: 1rem 0 !important;
        align-items: center !important;
    }

    body .president-vice-card {
        max-width: 100% !important;
        width: 100% !important;
        padding: 1rem 0.75rem !important;
    }

    body .president-vice-photo {
        height: auto !important;
        margin-bottom: 0.75rem !important;
    }

    body .president-vice-photo-frame {
        width: 140px !important;
        height: 180px !important;
        margin: 0 auto !important;
    }

    body .president-vice-photo-placeholder i {
        font-size: 2.5rem !important;
    }

    body .president-vice-name {
        font-size: 1rem !important;
        margin-bottom: 0.35rem !important;
        line-height: 1.4 !important;
    }

    body .president-vice-info {
        font-size: 0.8rem !important;
        margin-bottom: 0.35rem !important;
        line-height: 1.4 !important;
    }

    body .president-vice-position {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
    }

    body .president-vice-logo {
        padding: 0.25rem 0 !important;
        margin: 0 !important;
        order: -1 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    body .president-logo-image {
        width: 120px !important;
        height: 120px !important;
        object-fit: contain !important;
    }

    /* Directors Grid Mobile - 2 Columns */
    body .directors-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        margin-top: 1rem !important;
    }

    body .director-card {
        padding: 0.75rem 0.5rem !important;
        background: transparent !important;
    }

    body .director-card:hover {
        transform: none !important;
    }

    body .director-photo {
        width: 100px !important;
        height: 130px !important;
        margin-bottom: 0.5rem !important;
        border-radius: 6px !important;
    }

    body .director-photo-placeholder i {
        font-size: 2rem !important;
    }

    body .director-name {
        font-size: 0.9rem !important;
        margin-bottom: 0.15rem !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
    }

    body .director-position {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }

    /* Branch Managers Page Mobile - Complete Redesign */
    body .branch-managers-section {
        padding: 30px 15px !important;
        margin: 0 !important;
    }

    body .managers-container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    /* Hero Section Mobile */
    body .hero.hero-reference {
        padding: 30px 15px !important;
    }

    body .hero-content-reference h1 {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    body .hero-content-reference p {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.6 !important;
    }

    /* Managers Grid Mobile - 2 Columns */
    body .managers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        margin-top: 1rem !important;
    }

    body .manager-card {
        padding: 0.75rem 0.5rem !important;
        background: transparent !important;
    }

    body .manager-card:hover {
        transform: none !important;
    }

    body .manager-photo {
        width: 100px !important;
        height: 130px !important;
        margin-bottom: 0.5rem !important;
        border-radius: 6px !important;
    }

    body .manager-photo-placeholder i {
        font-size: 2rem !important;
    }

    body .manager-name {
        font-size: 0.9rem !important;
        margin-bottom: 0.15rem !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
    }

    body .manager-position {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }

    /* Annual Reports Page Mobile - Complete Redesign */
    body .annual-reports-section {
        padding: 30px 15px !important;
        margin: 0 !important;
    }

    body .reports-container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    /* Hero Section Mobile */
    body .hero.hero-reference {
        padding: 30px 15px !important;
    }

    body .hero-content-reference h1 {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    body .hero-content-reference p {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.6 !important;
    }

    /* Reports Grid Mobile - 2 Columns */
    body .reports-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        margin-top: 1rem !important;
    }

    body .report-card {
        padding: 0.75rem 0.5rem !important;
        background: transparent !important;
    }

    body .report-card:hover {
        transform: none !important;
    }

    body .report-icon {
        width: 100px !important;
        height: 130px !important;
        margin-bottom: 0.5rem !important;
        border-radius: 6px !important;
    }

    body .report-icon i {
        font-size: 2.5rem !important;
    }

    body .report-year {
        font-size: 0.9rem !important;
        margin-bottom: 0.15rem !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
    }

    body .report-label {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }

    /* Deposits Page Mobile - Complete Redesign */
    body .deposits-section {
        padding: 30px 15px !important;
    }

    body .deposits-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    body .deposit-card {
        margin-bottom: 0 !important;
    }

    body .deposit-card:hover {
        transform: none !important;
    }

    body .deposit-image-wrapper {
        height: 140px !important;
    }

    body .deposit-content {
        padding: 1.25rem 1rem !important;
    }

    body .deposit-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3 !important;
    }

    body .deposit-rate-badge {
        padding: 0.5rem 1rem !important;
        margin-top: 0.5rem !important;
    }

    body .deposit-rate-label {
        font-size: 0.75rem !important;
    }

    body .deposit-rate-value {
        font-size: 1.2rem !important;
    }

    /* Loans & Services Pages Mobile - Complete Redesign */
    /* Override inline styles for sections */
    body section[style*="padding: 50px 20px"] {
        padding: 30px 15px !important;
    }

    /* Override container max-width */
    body section[style*="padding: 50px 20px"] div[style*="max-width: 1200px"] {
        max-width: 100% !important;
        padding: 0 15px !important;
    }

    /* Override grid layouts */
    body section[style*="padding: 50px 20px"] div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Override card padding */
    body section[style*="padding: 50px 20px"] div[style*="padding: 2rem"] {
        padding: 1.25rem 1rem !important;
    }

    /* Override icon sizes */
    body section[style*="padding: 50px 20px"] div[style*="width: 60px"] {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 1rem !important;
    }

    body section[style*="padding: 50px 20px"] div[style*="width: 60px"] i {
        font-size: 1.25rem !important;
    }

    /* Override headings */
    body section[style*="padding: 50px 20px"] h1 {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    body section[style*="padding: 50px 20px"] h2 {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
    }

    body section[style*="padding: 50px 20px"] h3 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }

    body section[style*="padding: 50px 20px"] h4 {
        font-size: 0.95rem !important;
        margin-bottom: 0.35rem !important;
    }

    /* Override text sizes */
    body section[style*="padding: 50px 20px"] p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }

    /* Override info section padding */
    body section[style*="padding: 50px 20px"] div[style*="padding: 3rem"] {
        padding: 1.5rem 1rem !important;
        margin-top: 2rem !important;
    }

    /* Override small icons */
    body section[style*="padding: 50px 20px"] div[style*="width: 30px"] {
        width: 25px !important;
        height: 25px !important;
    }

    body section[style*="padding: 50px 20px"] div[style*="width: 30px"] i {
        font-size: 0.75rem !important;
    }

    /* Override header section margin */
    body section[style*="padding: 50px 20px"] div[style*="text-align: center"] {
        margin-bottom: 2rem !important;
    }

    /* About Us Page - Center Align Text Content on Mobile */
    body #content-text {
        text-align: center !important;
    }

    body #content-text h2 {
        text-align: center !important;
    }

    body #content-text p {
        text-align: center !important;
    }

    body .page-content>section:first-of-type #content-text {
        text-align: center !important;
    }

    body .page-content>section:first-of-type #content-text h2 {
        text-align: center !important;
    }

    body .page-content>section:first-of-type #content-text p {
        text-align: center !important;
    }

    /* Center align leadership section text on mobile */
    body .leadership-content-wrapper {
        text-align: center !important;
    }

    body .leadership-content-wrapper h2 {
        text-align: center !important;
    }

    body .leadership-content-wrapper p {
        text-align: center !important;
    }

    /* Center align mission vision cards text on mobile */
    body .mission-vision-card {
        text-align: center !important;
    }

    body .mission-vision-card h3 {
        text-align: center !important;
    }

    body .mission-vision-card p {
        text-align: center !important;
    }

    /* Center align why choose us section text on mobile */
    body .page-content>section:nth-of-type(5)>div>div:last-child>div {
        text-align: center !important;
    }

    body .page-content>section:nth-of-type(5)>div>div:last-child>div h3 {
        text-align: center !important;
    }

    body .page-content>section:nth-of-type(5)>div>div:last-child>div p {
        text-align: center !important;
    }

    /* Center align additional info section text on mobile */
    body .page-content>section:nth-of-type(3)>div>div:last-child {
        text-align: center !important;
    }

    body .page-content>section:nth-of-type(3)>div>div:last-child h3 {
        text-align: center !important;
    }

    body .page-content>section:nth-of-type(3)>div>div:last-child p {
        text-align: center !important;
    }

    /* Center align badge text on mobile */
    body #content-text>div[style*="background: rgba"] {
        text-align: center !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body .leadership-content-wrapper>div[style*="background: rgba"] {
        text-align: center !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Lightbox Modal */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border: 5px solid white;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
    z-index: 10001;
}

.lightbox-close:hover {
    color: #C11007;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.2);
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.3s;
    user-select: none;
    z-index: 10000;
}

.lightbox-nav:hover {
    background: rgba(193, 16, 7, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

@ m e d i a   ( m a x - w i d t h :   5 7 6 p x )    {
       . s t a t s - g r i d - m o d e r n    {
           g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
           
    }

       . s t a t - s h o w c a s e - n u m b e r    {
           f o n t - s i z e :    1 . 8 r e m ;
           
    }

       
}

@ m e d i a   ( m a x - w i d t h :   5 7 6 p x )    {
       . s t a t s - g r i d - m o d e r n    {
           g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
           
    }

       . s t a t - s h o w c a s e - n u m b e r    {
           f o n t - s i z e :    1 . 8 r e m ;
           
    }

       
}

     
/* Stats Grid Responsive */
@media (max-width: 768px) {
    .stats-grid-mobile {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}  
/* Stats Section Styling */  
.stats-section { padding: 80px 20px; background: #f0f5fa; } 

/* Stats Banner Section Styling (Compact underneath Hero) */
.stats-banner-section {
    padding: 20px 0 !important;
    background: #f8fafc !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    margin-top: 0 !important;
}

.stats-banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.stats-banner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 12px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stats-banner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--gm-gold);
}

.stats-banner-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--icon-gold-light) 0%, var(--icon-gold-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(238, 205, 112, 0.2);
}

.stats-banner-icon i {
    font-size: 1.15rem;
    color: var(--gm-red);
}

.stats-banner-content {
    display: flex;
    flex-direction: column;
}

.stats-banner-content h3 {
    font-size: 1.4rem;
    color: var(--gm-red);
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
}

.stats-banner-content p {
    font-size: 0.7rem;
    color: var(--gm-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 3px 0 0 0;
}

@media (max-width: 991px) {
    .stats-banner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .stats-banner-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .stats-banner-item {
        justify-content: flex-start;
        padding-left: 20px;
    }
}

/* Introduction Section Rearrangement (Simple Two-Column Layout) */
.intro-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-left {
    flex: 1.2;
    text-align: left;
}

.intro-right {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-left .intro-title::after {
    left: 0;
    transform: none;
}

.intro-left .intro-description {
    margin: 2rem 0 0 0;
}

.intro-logo-simple {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
}

@media (max-width: 991px) {
    .intro-wrapper {
        flex-direction: column-reverse;
        gap: 3rem;
        text-align: center;
    }
    
    .intro-left {
        text-align: center;
    }
    
    .intro-left .intro-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .intro-logo-simple {
        max-width: 240px;
    }
}

