/* ==========================================
   DESIGN SYSTEM VARIABLES & GLOBAL STYLES
   ========================================== */
:root {
    --bg-dark: #030915;
    --bg-darker: #020710;
    --bg-card: rgba(11, 21, 40, 0.45);
    --gold: #d4af37;
    --gold-light: #ffdf7a;
    --gold-dark: #aa7c11;
    --text-white: #ffffff;
    --text-body: #e2e8f0;
    --text-muted: #94a3b8;
    --border-gold: rgba(212, 175, 55, 0.18);
    --border-gold-focus: rgba(255, 223, 122, 0.6);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Global Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-body);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gold {
    color: var(--gold);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
}

@media (min-width: 992px) {
    .section-title {
        font-size: 2.75rem;
    }
}

.section-desc {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.text-gray {
    color: var(--text-muted);
}

.text-gray-muted {
    color: rgba(148, 163, 184, 0.6);
}

/* Padding utilities */
.py-6 {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
}

.bg-darker {
    background-color: var(--bg-darker);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ==========================================
   BUTTONS & ACTIONS
   ========================================== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    color: #030915 !important;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.65rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: var(--text-white) !important;
    transform: translateY(-2px);
}

.btn-outline-gold {
    border: 1.5px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #030915 !important;
    transform: translateY(-2px);
}

/* ==========================================
   NAVIGATION HEADER
   ========================================== */
.navbar {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    background: transparent;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.header-scrolled {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background: rgba(3, 9, 21, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo-svg {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.25));
    transition: var(--transition-smooth);
}

.navbar-brand:hover .logo-svg {
    transform: scale(1.05) rotate(2deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-white);
    line-height: 1;
}

.brand-sub {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin-top: 2px;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-white);
}

/* Link Underline Animation */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

@media (max-width: 991.98px) {
    .navbar{
        background: rgba(3, 9, 21, 0.7);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5.3px);
        -webkit-backdrop-filter: blur(5.3px);
        border: 1px solid rgba(3, 9, 21, 0.21);
    }
}

/* ==========================================
   HERO SECTION & VISUALS
   ========================================== */
.hero-section {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(9, 22, 46, 0.6) 0%, rgba(3, 9, 21, 1) 90%);
    min-vh-100;
    overflow: hidden;
}

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

.decor-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
}

.circle-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--gold);
}

.circle-2 {
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: #09162e;
    opacity: 0.4;
}

.circle-3 {
    top: 30%;
    left: 40%;
    width: 450px;
    height: 450px;
    background: var(--gold-dark);
    opacity: 0.08;
    filter: blur(120px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge-accent {
    background-color: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    border-radius: 50px;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-white);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4.25rem;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 540px;
}

/* Hero Illustration Animation */
.illustration-wrapper {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.4));
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* SVG Illustrations Animations */
@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
        filter: drop-shadow(0 0 8px var(--gold-light));
    }
}

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

@keyframes floatReverse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

.draw-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 3.5s ease-out forwards;
    animation-delay: 0.5s;
}

.pulse-node {
    transform-origin: center;
    animation: pulse 2.5s infinite ease-in-out;
}
.pulse-node:nth-child(2) {
    animation-delay: 0.8s;
}
.pulse-node:nth-child(3) {
    animation-delay: 1.5s;
}

.float-stat {
    animation: float 5s infinite ease-in-out;
}

.float-stat-left {
    animation: floatReverse 6s infinite ease-in-out;
}

/* Animations for historical columns */
.bar-chart-1, .bar-chart-2, .bar-chart-3, .bar-chart-4, .bar-chart-5 {
    transform-origin: bottom;
    transform: scaleY(0);
    animation: growBars 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.bar-chart-1 { animation-delay: 0.2s; }
.bar-chart-2 { animation-delay: 0.4s; }
.bar-chart-3 { animation-delay: 0.6s; }
.bar-chart-4 { animation-delay: 0.8s; }
.bar-chart-5 { animation-delay: 1.0s; }

@keyframes growBars {
    to {
        transform: scaleY(1);
    }
}

/* ==========================================
   ABOUT & CREDENTIALS
   ========================================== */
.about-section {
    position: relative;
    z-index: 2;
}

.credentials-callout {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.icon-box-gold {
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1.35rem;
    flex-shrink: 0;
}

.badge-display-container {
    position: relative;
    display: inline-block;
    padding: 20px;
}

.badge-display-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(3, 9, 21, 0) 70%);
    z-index: -1;
}

.certificate-seal {
    width: 240px;
    height: 240px;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.35));
    animation: float 7s infinite ease-in-out;
}

/* ==========================================
   WHO WE SERVE
   ========================================== */
.who-we-serve-section {
    position: relative;
    z-index: 2;
}

.client-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.client-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.08);
}

.featured-client {
    border-color: var(--border-gold);
    background: linear-gradient(180deg, rgba(11, 21, 40, 0.6) 0%, rgba(3, 9, 21, 0.4) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* .featured-client::after {
    content: 'RECOMMENDED FOR TECH/STARTUPS';
    position: absolute;
    top: 15px;
    right: 15px;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.08em;
    background: rgba(212, 175, 55, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
} */

.client-icon svg {
    filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.15));
    transition: var(--transition-smooth);
}

.client-card:hover .client-icon svg {
    transform: scale(1.08);
}

.client-title {
    font-size: 1.35rem;
    font-weight: 700;
}

/* ==========================================
   SERVICES & OFFERINGS
   ========================================== */
.services-section {
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 54px;
    height: 54px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-light);
    transform: scale(1.05);
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.service-text {
    font-size: 0.925rem;
    line-height: 1.55;
}

/* Coming Soon Banner styling */
.coming-soon-banner {
    background: linear-gradient(135deg, #09162e 0%, var(--bg-darker) 100%);
    border: 1.5px dashed var(--border-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.badge-gold-pulse {
    background-color: var(--gold-dark);
    color: #030915;
    font-family: var(--font-heading);
    font-weight: 800;
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* ==========================================
   CONTACT SECTION & FORM
   ========================================== */
.contact-section {
    position: relative;
    background: radial-gradient(circle at 90% 80%, rgba(9, 22, 46, 0.5) 0%, rgba(3, 9, 21, 1) 90%);
}

.contact-form-wrapper {
    background: rgba(11, 21, 40, 0.4);
    border: 1px solid var(--border-gold);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

/* Modern floating labels styling */
.form-group {
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    background-color: rgba(3, 9, 21, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white) !important;
    padding: 1.05rem 1.15rem;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
    background-color: rgba(3, 9, 21, 0.85);
    border-color: var(--border-gold-focus)!important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15)!important;
    outline: none;
}

/* Explicit single gold select arrow to prevent duplicates and align position */
.form-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23d4af37' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 1.25rem) center !important;
    background-size: 16px 12px !important;
    padding-right: 3rem !important;
}

/* Floating Label Logic */
.form-group label {
    position: absolute;
    top: 50%;
    left: 1.15rem;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.25s ease-out;
}

.form-group textarea ~ label {
    top: 1.5rem;
    transform: none;
}

/* When input is focused or not empty, float the label */
.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label {
    top: 0;
    left: 0.9rem;
    font-size: 0.75rem;
    color: var(--gold-light);
    font-weight: 600;
    background: #070e1d;
    padding: 0 0.4rem;
    border-radius: 4px;
    transform: translateY(-50%);
}

/* Special handle for dropdown select label */
.form-group select ~ label.select-label {
    top: 0;
    left: 0.9rem;
    font-size: 0.75rem;
    color: var(--gold-light);
    font-weight: 600;
    background: #070e1d;
    padding: 0 0.4rem;
    border-radius: 4px;
    transform: translateY(-50%);
}

/* Real-time Validation styling */
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #ef4444 !important;
    background-image: none;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: #10b981 !important;
    background-image: none;
}

.invalid-feedback {
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 0.35rem;
    padding-left: 0.5rem;
}

/* Form success overlay styling */
.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #070e1d;
    z-index: 10;
    transition: var(--transition-smooth);
}

.success-icon {
    font-size: 4.5rem;
    filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.3));
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 2;
}

.footer-tagline {
    font-size: 0.95rem;
    max-width: 480px;
    margin: 0 auto;
}

.footer-links a {
    font-family: var(--font-heading);
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.925rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-hr {
    border-color: rgba(255, 255, 255, 0.08);
}

.hover-gold {
    transition: var(--transition-smooth);
}

.hover-gold:hover {
    color: var(--gold-light) !important;
}


.contact-section{
    overflow: hidden;
}