/* GT SmartBank Public Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --brand-red: #b60000;
    --brand-red-dark: #9c0000;
    --brand-gold: #f7b500;
    --brand-gold-dark: #d97706;
}

body {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
}

/* Custom Mega Menu Animations */
.mega-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.group:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Premium Gradient Hero (Sacombank/TPBank/HDBank hybrid) */
.hero-gradient {
    background: radial-gradient(circle at 10% 20%, #00122e 0%, #00224f 30%, #004d8c 70%, #0088cc 100%);
    position: relative;
    overflow: hidden;
}

/* Background animated blobs */
.hero-gradient::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.18) 0%, rgba(0, 180, 216, 0) 70%);
    pointer-events: none;
    border-radius: 50%;
    animation: blobFloatLeft 18s infinite alternate ease-in-out;
}

.hero-gradient::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(247, 181, 0, 0.1) 0%, rgba(247, 181, 0, 0) 75%);
    pointer-events: none;
    border-radius: 50%;
    animation: blobFloatRight 15s infinite alternate ease-in-out;
}

.hero-bg-glow {
    position: absolute;
    top: 30%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(182, 0, 0, 0.05) 0%, rgba(182, 0, 0, 0) 60%);
    pointer-events: none;
    border-radius: 50%;
    animation: blobCenter 22s infinite alternate ease-in-out;
    z-index: 1;
}

@keyframes blobFloatLeft {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.15) translate(40px, 30px); }
    100% { transform: scale(0.9) translate(-20px, -15px); }
}

@keyframes blobFloatRight {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(-30px, 40px); }
    100% { transform: scale(0.95) translate(20px, -20px); }
}

@keyframes blobCenter {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.2) translate(-20px, -30px); }
    100% { transform: scale(0.85) translate(30px, 20px); }
}

/* 3D card tilt & hover effects */
.transform-style-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Floating animation for credit card */
.premium-card-float {
    animation: cardFloat 5s ease-in-out infinite;
}

@keyframes cardFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Metallic credit card shimmer animation */
@keyframes shimmer {
    0% { transform: translateX(-150%) skewX(-30deg); }
    100% { transform: translateX(150%) skewX(-30deg); }
}

.animate-shimmer {
    animation: shimmer 6s infinite ease-in-out;
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark-panel {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Service Card Hover & Premium Card Hover */
.service-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -8px rgba(182, 0, 0, 0.15);
}

.hover-card-premium {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.hover-card-premium:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(182, 0, 0, 0.15) !important;
}

/* Glow effects */
.glow-gold {
    box-shadow: 0 0 20px rgba(247, 181, 0, 0.3);
}

.glow-red {
    box-shadow: 0 0 20px rgba(182, 0, 0, 0.2);
}

/* ── MODERN ENTERPRISE BANKING ANIMATIONS ── */

/* Page-level transition and smooth elements defaults */
.page-fade-in {
    animation: pageFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes pageFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll reveal helper */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Slide up / Fade in animation helpers */
.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-slide-up {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Button Ripple Styling */
.btn-ripple {
    position: relative;
    overflow: hidden;
}
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 0.6s ease-out;
    background-color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
    z-index: 10;
}
.ripple-dark {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 0.6s ease-out;
    background-color: rgba(0, 0, 0, 0.12);
    pointer-events: none;
    z-index: 10;
}
@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Loading Skeletons */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.6s infinite ease-in-out;
}
.dark .skeleton, .skeleton-dark {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.6s infinite ease-in-out;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.acb-service-menu {
    width: 100%;
    background: #fff;
    padding: 34px 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    border-bottom: 1px solid #eef2f7;
}

.service-menu-track {
    width: 100%;
    max-width: 1180px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 22px;
    align-items: stretch;
}

.service-menu-item {
    text-decoration: none;
    color: #243142;
    background: #fff;
    border-radius: 20px;
    padding: 22px 12px;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    transition: all 0.25s ease;
}

.service-menu-item:hover {
    background: #f5f8ff;
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0, 38, 130, 0.12);
    color: #b60000;
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #fff5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.service-arrow {
    border: none;
    background: transparent;
    font-size: 48px;
    color: #263545;
    cursor: pointer;
    line-height: 1;
}

.service-arrow:hover {
    color: #b60000;
}
@media (max-width: 992px) {
    .acb-service-menu {
        padding: 24px 20px;
    }

    .service-menu-track {
        overflow-x: auto;
        display: flex;
        gap: 16px;
        scroll-snap-type: x mandatory;
    }

    .service-menu-item {
        min-width: 150px;
        scroll-snap-align: start;
    }
}