/* ======= CSS Variables (Luxurious Palette) ======= */
:root {
    /* Main Dark Theme (Black & Dark Blue) */
    --color-bg-deep: #02050a;
    --color-bg-darkblue: #081226;
    --color-bg-glass: rgba(14, 25, 48, 0.4);
    --color-border-glass: rgba(212, 175, 55, 0.15);

    /* Gold Accents */
    --color-gold-base: #d4af37;
    --color-gold-light: #f9e596;
    --color-gold-dark: #9e7f1f;
    --gradient-gold: linear-gradient(135deg, #a67c00 0%, #bf953f 25%, #fcf6ba 50%, #b38728 75%, #fdffcc 100%);

    /* Green Theme (Menfath) */
    --color-green-dark: #011c10;
    --color-green-glass: rgba(2, 45, 26, 0.6);
    --color-green-accent: #00ff88;
    --gradient-green: linear-gradient(135deg, #009952 0%, #00ff88 50%, #b3ffda 100%);

    /* Typography */
    --color-text-main: #e2e8f0;
    --color-text-muted: #94a3b8;
    --font-primary: 'Tajawal', sans-serif;
    
    /* Animation Speeds */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ======= CSS Reset & Core Settings ======= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-deep);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography Utilities */
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-white { color: #ffffff; }
.text-muted { color: var(--color-text-muted); }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.text-xl { font-size: 1.25rem; }

h1, h2, h3, h4, h5 { line-height: 1.2; }

/* Gradients */
.gold-gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
    display: inline-block;
    padding-bottom: 0.15em;
}

.green-gradient-text {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
    display: inline-block;
    padding-bottom: 0.15em;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* ======= Layout ======= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

/* ======= Background Ambient ======= */
.ambient-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 0%, var(--color-bg-darkblue) 0%, var(--color-bg-deep) 70%);
    z-index: -2;
}

.ambient-glow {
    position: fixed;
    top: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 60vh;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

/* ======= Navbar ======= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(4, 9, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    transition: transform var(--transition-smooth);
}

.brand:hover .brand-logo {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-gold-light);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-gold-base);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2, 5, 10, 0.98);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.mobile-close:hover {
    transform: rotate(90deg);
    color: var(--color-gold-light);
}

.mobile-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-links a {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    transition: color var(--transition-fast);
}

.mobile-links a:hover {
    color: var(--color-gold-base);
}

/* ======= Buttons ======= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: none;
    font-size: 1rem;
}

.btn-gold {
    background: var(--gradient-gold);
    background-size: 200% auto;
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-gold:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.glow-effect-gold {
    position: relative;
    overflow: hidden;
}

.glow-effect-gold::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.glow-effect-gold:hover::before {
    left: 150%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-gold-dark);
    color: var(--color-gold-light);
}

.btn-outline:hover {
    border-color: var(--color-gold-light);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-3px);
}

/* ======= Hero Section ======= */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
}

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

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: var(--color-gold-light);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    background: rgba(212, 175, 55, 0.05);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.block { display: block; }
.giant-text { font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: 1.35; padding-bottom: 0.15em; }

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

/* Glass Sphere and visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-sphere {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.1), rgba(8, 18, 38, 0.05));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 80px rgba(212, 175, 55, 0.1), inset 0 0 40px rgba(212, 175, 55, 0.05);
    animation: float 8s ease-in-out infinite;
}

.hero-logo-img {
    width: 250px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6));
}

.float-animation {
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.pulse-animation {
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    opacity: 0.7;
    animation: fadeInOut 2s infinite;
}

.mouse {
    width: 26px; height: 42px;
    border: 2px solid var(--color-gold-base);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px; height: 8px;
    background: var(--color-gold-light);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

.scroll-indicator .text {
    font-size: 0.75rem;
    color: var(--color-gold-base);
    letter-spacing: 2px;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* ======= Brands Marquee ======= */
.brands {
    background: #02050a;
    border-top: 1px solid rgba(212, 175, 55, 0.05);
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
    padding: 2.5rem 0;
    overflow: hidden;
    position: relative;
    /* Hide scrollbars just in case */
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.brands::-webkit-scrollbar { 
    display: none; 
}

.brands::before, .brands::after {
    content: '';
    position: absolute;
    top: 0; width: 10vw; height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brands::before { left: 0; background: linear-gradient(to right, #02050a, transparent); }
.brands::after { right: 0; background: linear-gradient(to left, #02050a, transparent); }

.brand-track {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.brand-group {
    display: flex;
    gap: 4rem;
    padding-right: 4rem; /* Exact gap padding to ensure perfect loop stitching */
    align-items: center;
}

.brand-item {
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: color 0.3s;
    user-select: none;
}

.brand-item:hover { color: var(--color-gold-light); }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* ======= Section Common ======= */
.section-tag {
    font-size: 0.85rem;
    color: var(--color-gold-base);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    margin-bottom: 2rem;
    border-radius: 3px;
}

.section-divider.center {
    margin: 0 auto 2rem auto;
}

/* ======= Glassmorphism Utils ======= */
.glass-panel {
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 2.5rem;
}

/* ======= About Section ======= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    padding: 1.5rem;
    text-align: center;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.4);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.about-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

.about-icon {
    width: 120px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
}

/* ======= Services Section ======= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-smooth);
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(20, 32, 60, 0.6);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(212, 175, 55, 0.1);
}

.service-icon {
    width: 60px; height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: var(--color-gold-base);
    margin-bottom: 1.5rem;
    transition: transform var(--transition-smooth), background var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(212, 175, 55, 0.2);
    color: var(--color-gold-light);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ======= Menfath Section (Deep Green Theme) ======= */
.green-theme {
    background-color: var(--color-green-dark);
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.green-ambient {
    position: absolute;
    top: 50%; left: 0;
    transform: translateY(-50%);
    width: 60vw; height: 80vh;
    background: radial-gradient(ellipse at left, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.menfath-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.glass-panel-green {
    background: var(--color-green-glass);
    border: 1px solid rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
}

.menfath-visual {
    padding: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.green-glow-orb {
    position: absolute;
    width: 250px; height: 250px;
    background: rgba(0, 255, 136, 0.15);
    filter: blur(60px);
    border-radius: 50%;
    animation: pulse 4s infinite alternate;
}

.menfath-image {
    width: 200px;
    position: relative;
    z-index: 2;
    /* Turn logo pure white for high contrast against the dark green bg */
    filter: brightness(0) invert(1) drop-shadow(0 10px 20px rgba(0,0,0,0.4));
}

.green-tag { color: var(--color-green-accent); }
.green-divider { background: var(--gradient-green); }

.menfath-desc {
    font-size: 1.1rem;
    color: #a0c4b3;
    margin-bottom: 2.5rem;
}

.supported-title { margin-bottom: 1.5rem; }

.wallets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.wallet-chip {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: #fff;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
    border-radius: 16px;
}

.wallet-chip:hover {
    transform: translateX(-5px);
    border-color: var(--color-green-accent);
    background: rgba(0, 255, 136, 0.1);
}

.wallet-icon {
    font-size: 1.5rem;
    color: var(--color-green-accent);
}

/* ======= Branches Section ======= */
.branches-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.branch-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.branch-card-header {
    background: rgba(212, 175, 55, 0.05);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.branch-icon {
    font-size: 1.5rem;
    color: var(--color-gold-base);
}

.branch-details {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-icon {
    background: rgba(212, 175, 55, 0.1);
    padding: 0.8rem;
    border-radius: 12px;
    color: var(--color-gold-light);
    font-size: 1.2rem;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--color-gold-dark);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.detail-val {
    color: var(--color-text-main);
    font-size: 0.95rem;
}

.btn-branch {
    border-radius: 0;
    padding: 1.2rem;
    background: rgba(212, 175, 55, 0.05);
    color: var(--color-gold-base);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    transition: all var(--transition-fast);
}

.btn-branch:hover {
    background: var(--gradient-gold);
    color: #000;
}

/* ======= Footer ======= */
.footer {
    background: #010306;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 60vw; height: 100%;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-logo {
    height: 60px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
}

.footer-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.footer-links ul, .contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a, .contact-list a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover, .contact-list a:hover {
    color: var(--color-gold-light);
    transform: translateX(-5px);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-gold-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-gold-light);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.social-icon:hover {
    background: var(--gradient-gold);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ======= Animations & Reveal Classes ======= */
.reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    will-change: transform, opacity;
}

.reveal, .reveal-up { transform: translateY(40px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-left { transform: translateX(60px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-right { transform: translateX(-60px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-scale { transform: scale(0.9); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }

.in-view {
    opacity: 1;
    transform: translate(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Removed stagger-reveal rule to simplify animations */

/* ======= Media Queries ======= */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .glass-sphere {
        width: 300px; height: 300px;
    }
    
    .about-container, .menfath-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-divider.green-divider { margin: 0 auto 2rem auto; }
    
    .wallets-grid {
        justify-content: center;
    }
    
    .menfath-visual {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn { display: none; }
    .mobile-toggle { display: block; }
    .navbar { padding: 1rem 0; }

    .hero { min-height: auto; padding-top: 100px; padding-bottom: 60px; }
    .hero-visual { display: none; }
    .giant-text { font-size: 2.8rem; }
    
    .branches-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    
    .contact-list li, .social-links { justify-content: center; }
    
    .section { padding: 4rem 0; }
    
    /* Ensure glass panels have proper internal spacing on mobile */
    .glass-panel, .glass-panel-green {
        padding: 1.5rem;
    }
}
