/* Color Palette: Royal Velvet Sapphire, Pure Navy Metallic & Brilliant Gold Accents */
:root {
    --royal-bg-deep: #061026;   /* Clean Rich Deep Sapphire Blue */
    --royal-bg-darker: #030a1a; /* Pitch Deep Contrast Layer */
    --royal-bg-card: #0f1e42;   /* Distinct Metallic Bluish Finish */
    --royal-gold: #e5b82c;      /* Brilliant Shined Executive Gold */
    --royal-gold-hover: #ffe485;
    --text-light: #f5f8ff;
    --text-muted: #9ab4e3;
    --border-gold-dim: rgba(229, 184, 44, 0.25);
    
    /* Terminal Auth Configurations */
    --git-bg: #0d1117;
    --git-border: #30363d;
    --git-green: #238636;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--royal-bg-deep);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    /* Doodles removed completely - pristine dark sapphire gradient layout */
    background-image: linear-gradient(135deg, var(--royal-bg-deep) 0%, var(--royal-bg-darker) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

.hidden { display: none !important; }
.gold-text { color: var(--royal-gold); font-weight: 500; }

/* --- PREMIUM INTERACTIVE SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--royal-bg-darker);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--royal-gold) 0%, #b38a10 100%);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--royal-gold-hover);
}

/* --- TERMINAL LOCK SYSTEM --- */
.git-terminal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--git-bg); display: flex; align-items: center; justify-content: center; z-index: 9999;
}
.git-box {
    background: #161b22; border: 1px solid var(--git-border); border-radius: 6px;
    width: 90%; max-width: 460px; box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}
.git-header {
    background: #1f242c; padding: 12px; border-bottom: 1px solid var(--git-border); display: flex; align-items: center;
}
.dots span { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.d1 { background: #ff5f56; } .d2 { background: #ffbd2e; } .d3 { background: #27c93f; }
.git-title { font-family: 'Fira Code', monospace; font-size: 12px; color: #8b949e; margin-left: 15px; }
.git-body { padding: 25px; font-family: 'Fira Code', monospace; font-size: 14px; line-height: 1.6; }
.pl-k { color: #ff7b72; } .pl-v { color: #d29922; } .pl-s { color: #a5d6ff; }
.code-comment { color: #8b949e; margin-bottom: 15px; display: block; }
.input-line { display: flex; align-items: center; gap: 10px; margin: 20px 0; background: var(--git-bg); padding: 10px; border-radius: 4px; border: 1px solid var(--git-border); }
.prompt { color: #58a6ff; }
.input-line input { background: transparent; border: none; outline: none; color: #56d364; width: 100%; font-family: inherit; }
.git-btn { width: 100%; background: var(--git-green); border: none; padding: 10px; color: #fff; border-radius: 6px; font-weight: 600; cursor: pointer; font-family: inherit; }
.git-btn:hover { background: #2ea043; }
.error-msg { margin-top: 10px; color: #f85149; font-size: 12px; text-align: center; }

/* --- NAVIGATION HUB --- */
.royal-navbar {
    height: 80px; width: 100%; position: sticky; top: 0; 
    background: rgba(6, 16, 38, 0.95);
    backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-gold-dim);
    display: flex; justify-content: space-between; align-items: center; padding: 0 8%; z-index: 100;
}
.royal-navbar .logo { font-family: 'Cinzel', serif; font-size: 24px; font-weight: 700; color: var(--royal-gold); letter-spacing: 2px; }
.nav-links a { color: var(--text-light); text-decoration: none; margin-left: 25px; font-size: 14px; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--royal-gold); text-shadow: 0 0 10px rgba(229, 184, 44, 0.6); }

/* --- HERO LANDING GRAPHICS --- */
.hero-section {
    min-height: 65vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 0 20px; border-bottom: 1px solid var(--border-gold-dim);
    background: radial-gradient(circle at center, rgba(15, 30, 66, 0.9) 0%, transparent 75%);
}
.hero-content { position: relative; }
.hero-content .subtitle { font-size: 12px; color: var(--royal-gold); font-weight: 600; letter-spacing: 3px; display: block; margin-bottom: 20px; }

.glow-title { 
    font-family: 'Cinzel', serif; font-size: 46px; margin-bottom: 20px; font-weight: 600; line-height: 1.2; color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.1);
    animation: textPulse 4s ease-in-out infinite alternate;
}
@keyframes textPulse {
    from { text-shadow: 0 0 15px rgba(255,255,255,0.05); }
    to { text-shadow: 0 0 30px rgba(229, 184, 44, 0.2); }
}

.hero-content p { color: var(--text-muted); max-width: 650px; margin: 0 auto 35px; font-size: 16px; font-weight: 300; line-height: 1.6; }

.hero-cta-group { display: flex; justify-content: center; gap: 15px; }
.royal-btn {
    display: inline-block; padding: 12px 35px; border-radius: 4px; font-size: 13px;
    letter-spacing: 2px; text-transform: uppercase; font-weight: 500; transition: 0.4s; text-decoration: none;
}
.royal-btn.solid { background: var(--royal-gold); color: var(--royal-bg-darker) !important; font-weight: 600; }
.royal-btn.solid:hover { background: var(--royal-gold-hover); box-shadow: 0 0 20px rgba(229, 184, 44, 0.4); }
.royal-btn.outline { border: 1px solid var(--royal-gold); color: var(--royal-gold) !important; }
.royal-btn.outline:hover { background: rgba(229, 184, 44, 0.1); }

/* --- CORE ARCHITECTURE GRID LAYOUT --- */
.content-wrapper { max-width: 1100px; margin: 0 auto; padding: 50px 20px; display: flex; flex-direction: column; gap: 50px; }
.portfolio-section { width: 100%; padding: 10px 0; }
.section-title { font-family: 'Cinzel', serif; font-size: 26px; color: var(--royal-gold); margin-bottom: 25px; font-weight: 600; letter-spacing: 1px; border-left: 4px solid var(--royal-gold); padding-left: 15px; }

/* Custom High-performance Cards Setup */
.royal-card { 
    background: var(--royal-bg-card); border: 1px solid var(--border-gold-dim); 
    border-radius: 8px; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); width: 100%; position: relative; overflow: hidden;
}
.dynamic-padding { padding: 40px; }
.animate-hover-lift:hover { transform: translateY(-6px); border-color: var(--royal-gold); box-shadow: 0 12px 30px rgba(0,0,0,0.5); }

/* LEADERSHIP DESIGN MODULE */
.executive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.profile-card { border-top: 3px solid var(--royal-gold); background: linear-gradient(145deg, var(--royal-bg-card) 0%, #0a1530 100%); }
.exec-name { font-family: 'Cinzel', serif; font-size: 22px; color: #fff; margin-bottom: 5px; }
.exec-title { font-size: 13px; color: var(--royal-gold); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 15px; }
.exec-desc { color: var(--text-muted); font-size: 14px; line-height: 1.6; font-weight: 300; }
.badge-top { position: absolute; top: 15px; right: 20px; font-size: 10px; border: 1px solid var(--border-gold-dim); padding: 2px 10px; border-radius: 12px; font-weight: 500; color: var(--royal-gold); text-transform: uppercase; }

/* CREATIVE APPS ECOSYSTEM MODULE */
.apps-showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.module-card { background: linear-gradient(180deg, var(--royal-bg-card) 0%, rgba(15,30,66,0.6) 100%); }
.module-icon-box { font-size: 36px; margin-bottom: 15px; width: 60px; height: 60px; background: rgba(229, 184, 44, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-gold-dim); }
.module-card h3 { font-size: 20px; color: #fff; margin-bottom: 12px; font-weight: 500; }
.module-intro { color: var(--text-muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 20px; font-weight: 300; }
.platform-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.platform-chips span { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); font-size: 11px; padding: 4px 12px; border-radius: 20px; color: var(--royal-gold); font-weight: 500; }

/* BANKING COMPONENT SYSTEM */
.card-header-premium { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; flex-wrap: wrap; gap: 10px; }
.card-header-premium h3 { font-size: 18px; font-weight: 500; }
.banking-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 25px; }
.mini-stat { background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255,255,255,0.05); padding: 20px; border-radius: 6px; }
.mini-stat h5 { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; font-weight: 400; }

/* HELP DESK & DUAL CONTACT ENGINE */
.system-dual-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.sub-zone-title { font-size: 16px; font-weight: 500; margin-bottom: 20px; letter-spacing: 1px; }
.help-accordion-zone { display: flex; flex-direction: column; gap: 12px; }
.accordion-item { border: 1px solid var(--border-gold-dim); background: rgba(0, 0, 0, 0.15); border-radius: 4px; overflow: hidden; }
.accordion-header { width: 100%; background: transparent; border: none; color: var(--text-light); padding: 15px; text-align: left; font-size: 14px; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s; }
.accordion-header:hover { background: rgba(229, 184, 44, 0.08); }
.accordion-header .chevron { font-size: 10px; color: var(--royal-gold); transition: transform 0.3s; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: rgba(0, 0, 0, 0.2); }
.accordion-content p { padding: 15px; font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.accordion-item.active .accordion-content { max-height: 200px; }
.accordion-item.active .chevron { transform: rotate(180deg); }

/* Form Elements */
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form textarea { background: var(--royal-bg-darker); border: 1px solid var(--border-gold-dim); padding: 12px 15px; color: #fff; font-family: inherit; border-radius: 6px; outline: none; transition: 0.3s; font-size: 14px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--royal-gold); }
.royal-btn-gold { background: var(--royal-gold); color: var(--royal-bg-darker); border: none; padding: 14px; border-radius: 6px; font-weight: 600; letter-spacing: 1px; cursor: pointer; text-transform: uppercase; font-size: 13px; transition: 0.3s; }
.royal-btn-gold:hover { background: var(--royal-gold-hover); box-shadow: 0 0 15px rgba(226, 186, 67, 0.3); }

/* FOOTER ARCHITECTURE */
.royal-footer { background: var(--royal-bg-darker); border-top: 1px solid var(--border-gold-dim); padding: 50px 20px 20px; font-size: 14px; margin-top: 40px; }
.footer-content { max-width: 1100px; margin: 0 auto 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer-brand h4 { font-family: 'Cinzel', serif; color: var(--royal-gold); font-size: 20px; margin-bottom: 12px; }
.footer-brand p, .footer-contact-info p { color: var(--text-muted); font-size: 13px; font-weight: 300; line-height: 1.6; }
.footer-contact-info p { margin-bottom: 8px; }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; color: var(--text-muted); font-size: 12px; }
.footer-bottom a { color: var(--royal-gold); text-decoration: none; }

/* INBOUND ANIMATION FLOW CLASSES */
.animated-fade { animation: fadeInUp 1s ease-out forwards; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive adjustments */
@media (max-width: 850px) {
    .royal-navbar { padding: 0 20px; }
    .nav-links { display: none; } 
    .executive-grid, .apps-showcase-grid, .system-dual-layout { grid-template-columns: 1fr; gap: 25px; }
    .hero-content h1 { font-size: 32px; }
    .dynamic-padding { padding: 25px; }
}