/* Google Fonts loaded via <link rel="preconnect"> in header.php — @import removed to avoid double-fetch */

:root {
    /* Brand Colors */
    --primary-dark: #0F172A;
    --premium-gold: #F59E0B;
    --accent-red: #DC2626;
    --white: #FFFFFF;
    
    /* Neutral Colors */
    --light-gray: #E5E7EB;
    --medium-gray: #9CA3AF;
    --dark-gray: #374151;
    
    /* UI Constants */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--primary-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Logo Styles */
.logo-premium {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    /* transition: var(--transition-smooth); */
}

.logo-premium:hover {
    transform: scale(1.5);
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.35));
}

/* Mobile Responsive */
@media (max-width: 768px){
    .logo-premium{
        height: 48px;
    }
}

/* Navbar Styles */
.navbar-premium {
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Dark UI Overrides */
.bg-dark-premium {
    background-color: var(--primary-dark);
    color: var(--white);
}

.bg-dark-premium h1, 
.bg-dark-premium h2, 
.bg-dark-premium h3, 
.bg-dark-premium h4, 
.bg-dark-premium p {
    color: var(--white);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title-wrapper {
    margin-bottom: 60px;
}

.section-tagline {
    color: var(--premium-gold);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

/* Buttons */
.btn-premium-gold {
    background-color: var(--premium-gold);
    color: var(--primary-dark);
    padding: 14px 32px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-premium-gold:hover {
    background-color: #D97706;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-outline-premium {
    background-color: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    border: 2px solid var(--white);
}

.btn-outline-premium:hover {
    background-color: var(--white);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Cards */
.card-premium {
    background: var(--white);
    border: none;
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    height: 100%;
}

.card-premium:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    color: var(--premium-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.card-premium:hover .card-icon-wrapper {
    background: var(--premium-gold);
    color: var(--primary-dark);
}

.card-dark {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.card-dark:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--premium-gold);
}

/* Hero Specific */
.hero-wrapper {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #1E293B, #0F172A);
    padding-top: 120px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-premium-gold { color: var(--premium-gold) !important; }
.tracking-wider { letter-spacing: 0.1em; }
.fw-600 { font-weight: 600; }
.min-vh-50 { min-height: 50vh; }
.mt-n5 { margin-top: -3rem !important; }
.shadow-premium { box-shadow: var(--shadow-premium) !important; }

/* About Page Specific */
.about-hero-section {
    background: radial-gradient(circle at bottom left, #1E293B, #0F172A);
}

.founder-message i {
    line-height: 1;
}

.story-content p {
    font-size: 1.1rem;
}

/* Founder section — extracted from inline styles */
.founder-img-gradient {
    height: 35%;
    background: linear-gradient(to top, rgba(15,23,42,0.95), transparent);
}

.founder-badge-sub {
    font-size: 0.7rem;
}

.founder-quote-icon {
    font-size: 5rem;
    opacity: 0.12;
    top: -1rem;
    left: -1rem;
    line-height: 1;
}

.founder-signature {
    max-height: 55px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    width: auto;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    section {
        padding: 60px 0;
    }
    .logo-premium {
        height: 60px;
    }
}

/* =============================================
   MISSING UTILITIES — Added for completeness
   ============================================= */

/* Spacing */
.py-100 { padding-top: 100px !important; padding-bottom: 100px !important; }

/* Font weights */
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }

/* Colors */
.text-light-gray { color: #CBD5E1 !important; }
.text-accent-red { color: var(--accent-red) !important; }
.bg-premium-gold { background-color: var(--premium-gold) !important; }

/* Hover gold link */
.hover-gold:hover { color: var(--premium-gold) !important; }

/* Navbar scrolled state */
.navbar-scrolled { padding-top: 10px !important; padding-bottom: 10px !important; }

/* Blog card */
.blog-card {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}
.blog-card:hover {
    transform: translateY(-8px);
}

/* Premium input — used in forms */
.premium-input {
    border: 1.5px solid var(--light-gray);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    background: #FAFAFA;
}
.premium-input:focus {
    border-color: var(--premium-gold);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.08);
    outline: none;
    background: #fff;
}

/* Transition utility */
.transition-smooth { transition: var(--transition-smooth); }

/* =============================================
   SERVICE PAGE SHARED UTILITIES
   Used across DM, Web-Dev, SEO, ERP pages
   ============================================= */

/* Card hover transitions */
.transition-hover {
    transition: var(--transition-smooth);
}
.transition-hover:hover {
    transform: translateY(-6px);
}

/* Gold shadow utilities */
.shadow-gold {
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25) !important;
}
.hover-shadow-gold {
    transition: var(--transition-smooth);
}
.hover-shadow-gold:hover {
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
}

/* Glassmorphism container */
.glass-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

/* Icon box size variants — replaces repeated inline width/height styles */
.icon-box-sm {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-box-md {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-box-lg {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-box-xl {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating animation — used on hero stat cards */
@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
.floating {
    animation: floating 3s ease-in-out infinite;
}
.floating-delayed {
    animation: floating 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Section gradient backgrounds — replaces inline style= */
.bg-gradient-dark-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1a2035 50%, #0f172a 100%);
    border-top: 1px solid rgba(245, 158, 11, 0.2);
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}
.bg-gradient-footer-cta {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
}

/* Hero radial overlay — replaces inline style= */
.hero-radial-overlay {
    background:
        radial-gradient(circle at 75% 30%, rgba(245,158,11,0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(15,23,42,0.9)    0%, transparent 50%);
}

/* Process timeline vertical line */
.process-timeline {
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(245,158,11,0.6), rgba(245,158,11,0.05));
    z-index: 0;
}

/* Stat card text size */
.stat-label-sm { font-size: 0.78rem; }

/* Hover lift — used on all dark cards site-wide */
.hover-lift {
    transition: var(--transition-smooth);
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

/* Min-height utilities */
.min-vh-60 { min-height: 60vh; }
.min-vh-75 { min-height: 75vh; }

/* Skip to main content — visually hidden until focused (keyboard a11y) */
.skip-to-main {
    position: absolute;
    top: -999px;
    left: -999px;
    z-index: 100001;
    padding: 10px 20px;
    background: var(--premium-gold);
    color: var(--primary-dark);
    font-weight: 700;
    border-radius: 0 0 var(--border-radius-sm) 0;
    text-decoration: none;
    transition: top 0s;
}
.skip-to-main:focus {
    top: 0;
    left: 0;
}

/* SEO FAQ accordion overrides */
#seoFaqAccordion .accordion-button:not(.collapsed) {
    color: #F59E0B;
    background-color: #0F172A;
    box-shadow: none;
}
#seoFaqAccordion .accordion-button::after {
    filter: invert(1) grayscale(100%) brightness(200%);
}
#seoFaqAccordion .accordion-button:not(.collapsed)::after {
    filter: invert(65%) sepia(86%) saturate(1476%) hue-rotate(352deg) brightness(101%) contrast(93%);
}
#seoFaqAccordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(245, 158, 11, 0.5);
}

/* SEO contact form focus states */
#seoContactForm .form-control:focus,
#seoContactForm .form-select:focus {
    background-color: #0F172A;
    border-color: #F59E0B;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.2);
}
#seoContactForm .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

/* Branding note style */
.branding-note {
    background: var(--primary-dark);
    color: var(--light-gray);
    border-left: 4px solid var(--premium-gold);
    padding: 12px 16px;
    margin: 1rem 0;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-premium);
}