/* ==========================================================================
   1. GLOBAL ARCHITECTURE [cite: 2026-02-09]
   ========================================================================== */
*, body { font-family: 'Oswald', sans-serif !important; }

body { 
    background-color: var(--background-color) !important; 
    color: var(--text-color) !important; 
    margin: 0;
}

h1, h2, h3, h4, h5, .section-title, .oswald-header {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

strong, b { color: var(--text-bold-color) !important; }
a { color: var(--text-link-color) !important; text-decoration: none !important; }

/* ==========================================================================
   2. NAVBAR & HERO SECTION [cite: 2026-03-01]
   ========================================================================== */
#profileHeader {
    background-color: var(--navbar-bg) !important;
    border-bottom: 1px solid var(--bg-color-4) !important;
}

#hero {
    background-color: var(--navbar-bg) !important;
    background-image: radial-gradient(var(--primary-color) 0.5px, transparent 0.5px) !important;
    background-size: 30px 30px;
    padding: 4rem 0 !important; 
}

/* IMAGE: Locked at 60% max-width */
#hero .technosec-hero-image, 
#hero .image img,
#hero img {
    max-width: 60% !important; 
    height: auto !important;
    border-radius: 0 !important; 
    border: none !important;     
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

/* THE FIX: Target every possible link element in the hero [cite: 2026-03-01] */
#hero a,
#hero .hero-content a,
#hero .btn,
#hero .btn-primary-fill {
    display: inline-block !important;
    background-color: var(--btn-color) !important;
    color: var(--btn-text) !important; 
    padding: 12px 30px !important;
    border-radius: 4px !important;
    font-weight: 900 !important; /* Force Bold for IR Branding [cite: 2026-02-09] */
    text-transform: uppercase;
    border: none !important;
    margin-top: 2rem !important;
    text-decoration: none !important; /* Kill the blue underline [cite: 2026-03-01] */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#hero a:hover,
#hero .hero-content a:hover {
    background-color: var(--btn-hover) !important;
    box-shadow: 0 0 15px var(--btn-hover) !important;
    transform: scale(1.05) !important;
    color: var(--btn-text) !important;
}

/* ==========================================================================
   3. ABOUT ME (HARDENED LISTS) [cite: 2026-02-09]
   ========================================================================== */
#about ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(140px, 1fr)) !important;
    list-style: none !important; 
    padding: 0 !important;
}

#about ul li {
    position: relative !important;
    padding-left: 25px !important;
    margin-bottom: 12px !important;
    list-style-type: none !important;
    font-size: .85rem !important;
    line-height: 1.2 !important;
}

#about ul li::before {
    content: "\25B9" !important; 
    color: var(--primary-color) !important;
    position: absolute !important;
    left: 0 !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
}

/* ==========================================================================
   4. VERTICAL FLOW: ARCHITECTURAL SPACING [cite: 2026-02-09]
   ========================================================================== */
#about { padding-bottom: 0.5rem !important; }
#experience { padding-top: 1rem !important; }

section#single, section#list, section.py-5.mt-5 {
    padding-top: 1.5rem !important;
    margin-top: 0.5rem !important;
}

.py-5 { padding-top: 2rem !important; }
.mt-5 { margin-top: 1rem !important; }

/* ==========================================================================
   5. EXPERIENCE & EDUCATION [cite: 2026-02-09]
   ========================================================================== */
.experience-item span, 
.education-item span,
.timeline-date { 
    font-size: 0.85rem !important; 
    opacity: 0.7;
    font-weight: 400 !important;
}

/* ==========================================================================
   6. GLOBAL BRANDING: CARDS & BUTTONS [cite: 2026-03-01]
   ========================================================================== */
.card {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--bg-color-4) !important; /* Micro-outline [cite: 2026-03-01] */
    border-radius: 1rem !important;
    box-shadow: var(--card-shadow) !important;    /* Pronounced shadow [cite: 2026-03-01] */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.card:hover {
    background-color: var(--bg-color-4) !important; /* Hover background shift [cite: 2026-03-01] */
    transform: translateY(-5px);
}

/* Universal Button Architecture (Bold & Interactive) [cite: 2026-03-01] */
.btn-project-action, 
#hero .hero-content a.btn-primary-fill,
#hero .hero-content a[href*="Resume"],
#hero .hero-content a[href*="pdf"] {
    background-color: var(--btn-color) !important;
    color: var(--btn-text) !important; 
    font-weight: 900 !important;      /* Extra Bold [cite: 2026-03-01] */
    border-radius: 4px !important;
    border: none !important;
    text-transform: uppercase;
    padding: 12px 30px !important;
    display: inline-block !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-project-action:hover, 
#hero .hero-content a.btn-primary-fill:hover,
#hero .hero-content a[href*="Resume"]:hover {
    background-color: var(--btn-hover) !important;
    box-shadow: 0 0 15px var(--btn-hover) !important; /* Glow effect [cite: 2026-03-01] */
    transform: scale(1.03);
}

/* Navigation [cite: 2026-02-09] */
#topScroll, #btn-back-to-top {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    background-color: var(--btn-color) !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    border: none !important; 
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 9999 !important;
}

#topScroll i, #btn-back-to-top i { 
    color: var(--btn-text) !important; 
    font-size: 0.9rem !important;
}

/* FIX: Removing extra bullet from TOC list items [cite: 2026-02-09] */
.toc-content ul, .toc ul {
    list-style-type: none !important;
    padding-left: 1rem !important;
}

.toc-content li::before, .toc li::before {
    content: none !important; 
}

/* NEW: Utility for fineprint or subdued text [cite: 2026-02-09] */
.text-subdued {
    color: var(--text-alt-color) !important;
    font-style: italic;
    font-size: 0.85rem;
}


/* ==========================================================================
   7. CONTACT FORM [cite: 2026-03-01]
   ========================================================================== */
/* PRECISION TARGETING: Targeting by ID + Class to win specificity */
#contact-form .form-control.custom-input,
#contact-form textarea.custom-input,
.custom-input {
    background-color: #cccccc !important; /* Unified Grey for all modes [cite: 2026-03-02] */
    color: #1a1a1a !important;            /* Dark text for legibility [cite: 2026-03-02] */
    border: 2px solid var(--bg-color-4) !important; /* Thicker micro-outline [cite: 2026-03-01] */
    border-radius: 4px !important;
    padding: 12px 15px !important;
    width: 100% !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1) !important; /* Subtle inner shadow */
    transition: all 0.3s ease !important;
}

/* Ensure labels align with your primary brand color */
#contact-form label.oswald-header {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* ACTIVE STATE: High-visibility focus effect [cite: 2026-03-01] */
#contact-form .custom-input:focus {
    outline: none !important;
    background-color: #ffffff !important; /* Lighten on focus for "Active" feel [cite: 2026-03-02] */
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 12px var(--primary-color) !important; /* Brand glow [cite: 2026-03-01] */
    transform: translateY(-2px); /* Slight lift on focus */
}

/* Subtext adjustment [cite: 2026-02-09] */
#contact-form .text-muted {
    color: var(--text-alt-color) !important;
    font-size: 0.75rem !important;
    text-transform: uppercase;
}

/* Formspree / reCAPTCHA support [cite: 2026-03-02] */
#g-recaptcha-response {
    display: none !important;
}