/* 
   Ajay Shanker Pandey - Portfolio Website Stylesheet
   Designed with premium aesthetics combining military honor and leadership professionalism.
*/

/* Google Fonts Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* Color and Variable Configuration */
:root {
    /* Color Palette */
    --primary-slate: #0f172a;
    --primary-slate-light: #1e293b;
    --accent-olive: #2e4334;
    --accent-olive-light: #415e48;
    --accent-gold: #c5a059;
    --accent-gold-light: #dfbe7f;
    
    /* Semantic Colors */
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #090d16;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --border-color: #e2e8f0;
    
    /* Header Backgrounds (Military Olive Theme) */
    --header-bg: rgba(46, 67, 52, 0.95);
    --header-border: rgba(197, 160, 89, 0.15);
    --header-scrolled-bg: rgba(46, 67, 52, 0.98);
    --header-text: #f8fafc;
    --header-text-muted: rgba(248, 250, 252, 0.85);
    --header-accent: var(--accent-gold);
    --footer-bg: #223327;
    
    /* Layout & Shadow */
    --max-width: 1200px;
    --header-height: 110px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-gold: 0 10px 20px -10px rgba(197, 160, 89, 0.4);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Transition */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tactical Stealth Theme Override */
[data-theme="stealth"] {
    --primary-slate: #f8fafc;
    --primary-slate-light: #f1f5f9;
    --accent-olive: #b91c1c; /* Crimson red */
    --accent-olive-light: #dc2626;
    --accent-gold: #cbd5e1; /* Tactical silver */
    --accent-gold-light: #cbd5e1;
    
    --bg-main: #0b0b0f;
    --bg-card: #16161f;
    --bg-dark: #050508;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    
    --header-bg: rgba(127, 29, 29, 0.95);
    --header-border: rgba(239, 68, 68, 0.25);
    --header-scrolled-bg: rgba(127, 29, 29, 0.98);
    --footer-bg: #3f0712;
    
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.8);
    --shadow-gold: 0 10px 20px -10px rgba(239, 68, 68, 0.3);
}

/* Corporate Navy Theme Override */
[data-theme="corporate"] {
    --primary-slate: #0a192f;
    --primary-slate-light: #172a45;
    --accent-olive: #1d4ed8; /* Blue accent */
    --accent-olive-light: #3b82f6;
    --accent-gold: #c5a059;
    --accent-gold-light: #dfbe7f;
    
    --bg-main: #f1f5f9;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border-color: #cbd5e1;
    
    --header-bg: rgba(15, 32, 67, 0.95);
    --header-border: rgba(197, 160, 89, 0.15);
    --header-scrolled-bg: rgba(10, 25, 47, 0.98);
    --footer-bg: #0a192f;
    
    --shadow-gold: 0 10px 20px -10px rgba(197, 160, 89, 0.3);
}


/* CSS Reset & General Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-slate);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

/* Common Section Header */
.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header .subtitle {
    color: var(--accent-gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-header h2 {
    font-size: 2.25rem;
    position: relative;
    padding-bottom: 1rem;
    color: var(--primary-slate);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-olive);
    border-radius: var(--radius-full);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-olive);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-olive-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-slate);
    border-color: var(--primary-slate);
}

.btn-secondary:hover {
    background-color: var(--primary-slate);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--primary-slate);
}

.btn-gold:hover {
    background-color: var(--accent-gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-icon {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Navigation Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--header-border);
    transition: var(--transition-normal);
}

.site-header.scrolled {
    height: 90px;
    background-color: var(--header-scrolled-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.logo-svg {
    width: 96px;
    height: 96px;
    transition: var(--transition-normal);
}

.site-header.scrolled .logo-svg {
    width: 72px;
    height: 72px;
}

.logo-details {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--header-text);
    transition: var(--transition-fast);
}

.logo-tagline {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--header-accent);
    letter-spacing: 1px;
    margin-top: -2px;
    transition: var(--transition-fast);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--header-text-muted);
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--header-accent);
}

.nav-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--header-text);
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
    :root {
        --header-height: 90px;
    }

    .container {
        width: 100%;
        padding: 0 1.25rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .section-header h2 {
        font-size: 1.85rem;
    }

    .site-header.scrolled {
        height: 75px;
    }

    .logo-svg {
        width: 72px;
        height: 72px;
    }
    
    .site-header.scrolled .logo-svg {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.15rem;
    }
    
    .logo-tagline {
        font-size: 0.65rem;
    }

    .nav-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--header-scrolled-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu .btn {
        background-color: var(--accent-gold);
        color: var(--bg-dark);
        border: none;
    }

    .nav-menu .btn:hover {
        background-color: var(--accent-gold-light);
        transform: translateY(-2px);
    }

    .site-header.scrolled .nav-menu {
        top: 75px;
        height: calc(100vh - 75px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 12rem; /* Prevent overlap with the pulled-up overview cards */
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.97) 0%, rgba(46, 67, 52, 0.95) 100%), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%23fff" fill-opacity="0.03" x="0" y="0" width="100" height="100"/><circle fill="%23fff" fill-opacity="0.02" cx="50" cy="50" r="40"/></svg>');
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-main) 0%, transparent 100%);
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(197, 160, 89, 0.15);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent-gold);
    display: block;
}

.hero-tagline {
    font-size: 1.25rem;
    color: rgba(248, 250, 252, 0.8);
    font-weight: 500;
    margin-bottom: 2rem;
    border-left: 3px solid var(--accent-gold);
    padding-left: 1rem;
}

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

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-frame {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    border: 2px solid var(--accent-gold);
    padding: 1rem;
    position: relative;
    z-index: 5;
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 8px);
    background: linear-gradient(135deg, var(--accent-olive) 0%, var(--primary-slate) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
}

.hero-image svg {
    margin-bottom: 1rem;
    fill: var(--accent-gold);
}

/* Background elements */
.bg-circle-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.bg-circle-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 67, 52, 0.15) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
}

@media (max-width: 992px) {
    .hero {
        padding-top: calc(var(--header-height) + 4rem);
        padding-bottom: 6rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero-tagline {
        border-left: none;
        padding-left: 0;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        order: -1;
    }
}

/* Overview Section */
.overview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

.overview-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid var(--accent-olive);
    transition: var(--transition-normal);
}

.overview-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--accent-gold);
}

.overview-card:nth-child(2) {
    border-bottom-color: var(--accent-gold);
}

.overview-card:nth-child(2):hover {
    border-bottom-color: var(--accent-olive);
}

.overview-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    display: inline-flex;
}

.overview-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

@media (max-width: 992px) {
    .overview-cards {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .overview-cards {
        grid-template-columns: 1fr;
        margin-top: 2rem;
        gap: 1.5rem;
    }
}

/* About Teaser / Mission Section */
.mission-quote {
    background: linear-gradient(135deg, var(--primary-slate) 0%, var(--accent-olive) 100%);
    color: var(--text-light);
    padding: 5rem 3rem;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mission-quote::before {
    content: '“';
    position: absolute;
    top: -50px;
    left: 20px;
    font-size: 15rem;
    font-family: 'Montserrat', sans-serif;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.mission-quote-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-quote h3 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mission-quote p {
    font-size: 1.6rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 2rem;
    font-weight: 300;
}

.mission-quote .quote-author {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.mission-quote .quote-title {
    font-size: 0.85rem;
    color: var(--accent-gold-light);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .mission-quote p {
        font-size: 1.25rem;
    }
    .mission-quote {
        padding: 4rem 1.5rem;
    }
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--accent-olive);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    border-radius: var(--radius-full);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    padding: 2.5rem 0;
    align-items: center;
}

/* Timeline dot centered relative to the experience card */
.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--bg-card);
    border: 4px solid var(--accent-gold);
    top: 2.5rem;
    border-radius: 50%;
    z-index: 10;
    transition: var(--transition-fast);
}

.timeline-item.left .timeline-content::after {
    right: calc(-2rem - 10px);
}

.timeline-item.right .timeline-content::after {
    left: calc(-2rem - 10px);
}

.timeline-item:hover .timeline-content::after {
    background-color: var(--accent-olive);
    transform: scale(1.25);
}

.timeline-content {
    padding: 2rem;
    background-color: var(--bg-card);
    position: relative;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-media {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: var(--transition-normal);
    aspect-ratio: 16/10;
}

.timeline-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.timeline-item:hover .timeline-media {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.timeline-item:hover .timeline-media img {
    transform: scale(1.05);
}

.timeline-date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.timeline-content h3 {
    margin-bottom: 0.25rem;
    font-size: 1.35rem;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.timeline-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0 1.5rem 70px;
        align-items: stretch;
    }
    
    /* Make sure image is always on top of the text card on mobile */
    .timeline-item.left {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .timeline-item.right {
        display: flex;
        flex-direction: column;
    }

    .timeline-item.left .timeline-content::after,
    .timeline-item.right .timeline-content::after {
        left: -49px; /* Centered on the timeline line at 31px */
        right: auto;
        top: 2.5rem;
    }
}

/* Skills & Achievements Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.skills-column h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.skills-column h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-gold);
}

.skill-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.skill-card {
    background-color: var(--bg-card);
    padding: 1.25rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    border-left: 4px solid var(--accent-olive);
    transition: var(--transition-fast);
}

.skill-card:hover {
    transform: translateX(5px);
    border-left-color: var(--accent-gold);
    box-shadow: var(--shadow-md);
}

.skill-card-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-right: 1.5rem;
    display: flex;
}

.skill-card span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary-slate);
    font-size: 0.95rem;
}

.achievements-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .achievements-list {
        grid-template-columns: 1fr;
    }
}

.achievement-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background-color: var(--accent-gold);
}

.achievement-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* Services Page & Category Layouts */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 3rem 2.25rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.7);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: var(--accent-olive);
    z-index: 1;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::after {
    height: 6px;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(46, 67, 52, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-olive);
    margin-bottom: 2rem;
    font-size: 1.75rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon-box {
    background-color: var(--accent-gold);
    color: var(--text-light);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.service-features li::before {
    content: '🗲';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Call to Action Banner */
.cta-banner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(46, 67, 52, 0.98) 100%), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path fill="%23fff" fill-opacity="0.02" d="M30 0 L60 30 L30 60 L0 30 Z"/></svg>');
    background-size: cover;
    color: var(--text-light);
    text-align: center;
    padding: 6rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-banner p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    color: rgba(248, 250, 252, 0.8);
}

.cta-banner .btn {
    padding: 1rem 2.5rem;
}

/* Contact Details & Form Section */
.contact-section-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    border-left: 4px solid var(--accent-olive);
}

.contact-info-icon {
    font-size: 1.75rem;
    color: var(--accent-gold);
    margin-right: 1.5rem;
    background-color: rgba(197, 160, 89, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-info-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-info-details p,
.contact-info-details a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-info-details a:hover {
    color: var(--accent-olive);
}

.contact-form-container {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-slate);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--primary-slate);
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-olive);
    box-shadow: 0 0 0 3px rgba(46, 67, 52, 0.1);
    background-color: var(--bg-card);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-feedback {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-feedback.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.1);
    color: rgb(21, 128, 61);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-feedback.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: rgb(185, 28, 28);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

@media (max-width: 992px) {
    .contact-section-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .contact-form-container {
        padding: 2rem;
    }
}

/* Footer Section */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--text-light);
    padding: 5rem 0 2rem 0;
    border-top: 4px solid var(--accent-olive);
}

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

.footer-brand h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand .footer-tagline {
    color: var(--accent-gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: rgba(248, 250, 252, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 320px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
    border-color: transparent;
}

.footer-links h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: rgba(248, 250, 252, 0.60);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    color: rgba(248, 250, 252, 0.4);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(248, 250, 252, 0.4);
    font-size: 0.85rem;
}

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

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Animations using Intersection Observer classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Theme Switcher Widget Styling */
.theme-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Montserrat', sans-serif;
}

.theme-switcher-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-olive);
    color: var(--text-light);
    border: 2px solid var(--accent-gold);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.theme-switcher-toggle:hover {
    transform: rotate(45deg) scale(1.1);
    background-color: var(--accent-olive-light);
}

.theme-switcher-panel {
    position: absolute;
    bottom: 65px;
    right: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 250px;
    transform: translateY(15px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.theme-switcher.active .theme-switcher-panel {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.theme-switcher-panel h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    color: var(--primary-slate);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.theme-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    width: 100%;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: left;
}

.theme-option:hover {
    background-color: var(--bg-main);
}

.theme-option.active {
    background-color: rgba(197, 160, 89, 0.15);
    border: 1px solid var(--accent-gold);
}

.theme-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.1);
}

.theme-swatch.military {
    background: linear-gradient(135deg, #2e4334 50%, #c5a059 50%);
}

.theme-swatch.stealth {
    background: linear-gradient(135deg, #0b0b0f 50%, #b91c1c 50%);
}

.theme-swatch.corporate {
    background: linear-gradient(135deg, #0a192f 50%, #1d4ed8 50%);
}

.theme-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}

/* Gallery Filtering & Grid Styles */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.gallery-filter-btn {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.65rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background-color: var(--accent-olive);
    color: var(--text-light);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-item-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: var(--primary-slate-light);
}

.gallery-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-item-image img {
    transform: scale(1.08);
}

.gallery-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-image-overlay {
    opacity: 1;
}

.gallery-image-overlay i {
    color: var(--text-light);
    font-size: 2rem;
    background-color: rgba(197, 160, 89, 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.gallery-item-info {
    padding: 1.5rem;
}

.gallery-item-category {
    color: var(--accent-gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.gallery-item-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.gallery-item-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.gallery-item.hide {
    display: none;
}

/* Lightbox Modal Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 13, 22, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 3px solid var(--accent-gold);
    box-shadow: var(--shadow-lg);
}

.lightbox-caption {
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

/* ==========================================
   About Us / Biography Page Beautification
   ========================================== */

/* Page Title Header Background Texture */
.page-title-header {
    position: relative;
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 5rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(46, 67, 52, 0.98) 100%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path fill="%23fff" fill-opacity="0.02" d="M30 0 L60 30 L30 60 L0 30 Z"/></svg>');
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-light);
    overflow: hidden;
    text-align: center;
}

.page-title-header h1 {
    color: var(--text-light) !important;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.page-title-header p {
    color: var(--accent-gold-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Bio Section Layout */
.bio-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.bio-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(46, 67, 52, 0.08);
    border: 1px solid var(--accent-olive);
    color: var(--accent-olive);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

[data-theme="stealth"] .bio-badge {
    background-color: rgba(185, 28, 28, 0.1);
    border-color: var(--accent-olive);
    color: var(--accent-olive);
}

[data-theme="corporate"] .bio-badge {
    background-color: rgba(29, 78, 216, 0.08);
    border-color: var(--accent-olive);
    color: var(--accent-olive);
}

/* Premium Image Offset Frame Style */
.bio-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.bio-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    border: 3px solid var(--accent-gold);
    transition: var(--transition-normal);
    aspect-ratio: 4/5;
    z-index: 2;
}

.bio-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-normal);
}

.bio-image-wrapper::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 2px dashed var(--accent-gold);
    border-radius: var(--radius-lg);
    z-index: 1;
    transition: var(--transition-normal);
    pointer-events: none;
}

.bio-image-wrapper:hover .bio-image-frame {
    transform: translate(-8px, -8px);
}

.bio-image-wrapper:hover::before {
    transform: translate(8px, 8px);
}

/* Expertise Card styling without inline attributes */
.expertise-card {
    border-left-color: var(--accent-gold) !important;
}

.expertise-card:hover {
    border-left-color: var(--accent-olive) !important;
}

.expertise-card .skill-card-icon {
    color: var(--accent-olive) !important;
}

.expertise-card:hover .skill-card-icon {
    color: var(--accent-gold) !important;
}

/* Styled Education Qualifications Card */
.education-banner {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 5rem 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.education-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-olive) 0%, var(--accent-gold) 100%);
}

.education-icon {
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    display: inline-block;
}

@media (max-width: 992px) {
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    .bio-image-wrapper {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .page-title-header {
        padding-top: calc(var(--header-height) + 3rem);
        padding-bottom: 3rem;
    }
    .page-title-header h1 {
        font-size: 2.25rem;
    }
    .page-title-header p {
        font-size: 0.95rem;
        letter-spacing: 1.5px;
    }
    .education-banner {
        padding: 3.5rem 1.5rem;
    }
}

/* Small Screens Override */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    .page-title-header h1 {
        font-size: 2rem;
    }
}


