/*****************************************************************************
  ____                                  _____ _
 / ___|___  ___ _ __ ___   ___  ___    |_   _| |__   ___ _ __ ___   ___  ___
| |   / _ \/ __| '_ ` _ \ / _ \/ __|_____| | | '_ \ / _ \ '_ ` _ \ / _ \/ __|
| |__| (_) \__ \ | | | | | (_) \__ \_____| | | | | |  __/ | | | | |  __/\__ \
 \____\___/|___/_| |_| |_|\___/|___/     |_| |_| |_|\___|_| |_| |_|\___||___/
******************************************************************************/

/*============ CONSOLIDATED ACADEMIC PROFESSIONAL COLOR SYSTEM ============*/
:root {
    /* Primary Academic Palette */
    --primary-accent: #0077be;          /* Academic blue - trustworthy and professional */
    --secondary-accent: #2e8b57;        /* Academic green - scholarly and refined */
    --tertiary-accent: #4a5568;         /* Professional slate - sophisticated */
    --highlight-accent: #0ea5e9;        /* Bright blue for highlights */
    
    /* Aliases for compatibility */
    --primary-teal: #0077be;
    --light-teal: #00bcd4;
    --dark-teal: #005082;
    --accent-teal: #0ea5e9;
    --text-accent: #0077be;
    
    /* Conservative Background System */
    --bg-primary: #0d1117;              /* Deep professional dark */
    --bg-secondary: #161b22;            /* Card backgrounds */
    --bg-tertiary: #21262d;             /* Elevated surfaces */
    --bg-card: #1c2128;                 /* Content cards */
    --bg-hover: #262c36;                /* Interactive states */
    --bg-section: #161b22;              /* Section backgrounds */
    --bg-lighter: #21262d;              /* Lighter backgrounds */
    --bg-dark: #0d1117;                 /* Dark backgrounds */
    
    /* WCAG AAA Compliant Typography */
    --text-primary: #f8fafc;            /* AAA contrast - main headings */
    --text-secondary: #e2e8f0;          /* AA contrast - body text */
    --text-tertiary: #cbd5e0;           /* AA contrast - secondary info */
    --text-muted: #a0aec0;              /* Subtle information */
    --text-light: #e2e8f0;              /* Light text */
    
    /* Professional Border System */
    --border-primary: #30363d;
    --border-accent: #0077be;
    --border-subtle: #21262d;
    
    /* Refined Shadow System */
    --shadow-subtle: rgba(0, 0, 0, 0.4);
    --shadow-medium: rgba(0, 0, 0, 0.6);
    --shadow-accent: rgba(0, 119, 190, 0.3);
    
    /* Academic Theme Toggle Variables */
    --transition-theme: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/************ Dark Style Css **************************************
    Template Name: Watson - Resume/Vcard Template
    Author: cosmos-themes
    Envato Profile: https://themeforest.net/user/cosmos-themes
    version: 1.0
    Copyright: 2018
****************************************************************/

/*============ 1. Body and Core Css ============*/

@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700,900");
@import url("https://fonts.googleapis.com/css?family=Playfair+Display:400,700,900");

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    text-decoration: none !important;
    list-style: none !important;
    outline: none !important;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

i, em {
    font-style: normal;
}

html, body {
    position: relative;
    height: 100%;
    width: 100%;
}

body {
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    line-height: 1.65;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    transition: var(--transition-theme);
}

/* Academic Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", serif;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75em;
    letter-spacing: 0.5px;
}

h1 { 
    font-size: 2.25rem; 
    color: var(--primary-accent);
    font-weight: 700;
}
h2 { 
    font-size: 2rem; 
    color: var(--text-primary);
}
h3 { 
    font-size: 1.75rem; 
    color: var(--primary-accent);
}
h4 { 
    font-size: 1.5rem; 
    color: var(--text-primary);
}
h5 { 
    font-size: 1.25rem; 
    color: var(--secondary-accent);
}
h6 { 
    font-size: 1.1rem; 
    color: var(--text-primary);
}

span {
    display: inline-block;
}

img {
    width: 100%;
    height: auto;
}

/* Academic Link Styling */
a, a:hover, a:focus {
    color: var(--primary-accent);
    transition: all 0.3s ease;
    text-decoration: none;
}

a:hover {
    color: var(--highlight-accent);
}

/* Academic Body Text */
p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.2em;
    font-size: 1rem;
}

strong, b {
    color: var(--text-primary);
    font-weight: 600;
}

/* Fade-in Animation for Academic Content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

/*============ 2. Margin & Padding Helper Classes ============*/

.mt-0 { margin-top: 0 !important; }
.mt-5 { margin-top: 5px !important; }
.mt-10 { margin-top: 10px !important; }
.mt-15 { margin-top: 15px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-25 { margin-top: 25px !important; }
.mt-30 { margin-top: 30px !important; }
.mt-35 { margin-top: 35px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-45 { margin-top: 45px !important; }
.mt-50 { margin-top: 50px !important; }
.mt-55 { margin-top: 55px !important; }
.mt-60 { margin-top: 60px !important; }
.mt-62 { margin-top: 62px !important; }
.mt-65 { margin-top: 65px !important; }
.mt-70 { margin-top: 70px !important; }
.mt-75 { margin-top: 75px !important; }
.mt-80 { margin-top: 80px !important; }
.mt-85 { margin-top: 85px !important; }
.mt-90 { margin-top: 90px !important; }
.mt-95 { margin-top: 95px !important; }
.mt-100 { margin-top: 100px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-5 { margin-bottom: 5px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-15 { margin-bottom: 15px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-25 { margin-bottom: 25px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mb-35 { margin-bottom: 35px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-45 { margin-bottom: 45px !important; }
.mb-50 { margin-bottom: 50px !important; }
.mb-55 { margin-bottom: 55px !important; }
.mb-60 { margin-bottom: 60px !important; }
.mb-62 { margin-bottom: 62px !important; }
.mb-65 { margin-bottom: 65px !important; }
.mb-70 { margin-bottom: 70px !important; }
.mb-75 { margin-bottom: 75px !important; }
.mb-80 { margin-bottom: 80px !important; }
.mb-85 { margin-bottom: 85px !important; }
.mb-90 { margin-bottom: 90px !important; }
.mb-95 { margin-bottom: 95px !important; }
.mb-100 { margin-bottom: 100px !important; }
.m-0 { margin: 0px !important; }

.pt-0 { padding-top: 0 !important; }
.pt-5 { padding-top: 5px !important; }
.pt-10 { padding-top: 10px !important; }
.pt-15 { padding-top: 15px !important; }
.pt-20 { padding-top: 20px !important; }
.pt-25 { padding-top: 25px !important; }
.pt-30 { padding-top: 30px !important; }
.pt-35 { padding-top: 35px !important; }
.pt-40 { padding-top: 40px !important; }
.pt-45 { padding-top: 45px !important; }
.pt-50 { padding-top: 50px !important; }
.pt-55 { padding-top: 55px !important; }
.pt-60 { padding-top: 60px !important; }
.pt-65 { padding-top: 65px !important; }
.pt-70 { padding-top: 70px !important; }
.pt-75 { padding-top: 75px !important; }
.pt-80 { padding-top: 80px !important; }
.pt-85 { padding-top: 85px !important; }
.pt-90 { padding-top: 90px !important; }
.pt-95 { padding-top: 95px !important; }
.pt-100 { padding-top: 100px !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-5 { padding-bottom: 5px !important; }
.pb-10 { padding-bottom: 10px !important; }
.pb-15 { padding-bottom: 15px !important; }
.pb-20 { padding-bottom: 20px !important; }
.pb-25 { padding-bottom: 25px !important; }
.pb-30 { padding-bottom: 30px !important; }
.pb-35 { padding-bottom: 35px !important; }
.pb-40 { padding-bottom: 40px !important; }
.pb-45 { padding-bottom: 45px !important; }
.pb-50 { padding-bottom: 50px !important; }
.pb-55 { padding-bottom: 55px !important; }
.pb-60 { padding-bottom: 60px !important; }
.pb-65 { padding-bottom: 65px !important; }
.pb-70 { padding-bottom: 70px !important; }
.pb-75 { padding-bottom: 75px !important; }
.pb-80 { padding-bottom: 80px !important; }
.pb-85 { padding-bottom: 85px !important; }
.pb-90 { padding-bottom: 90px !important; }
.pb-95 { padding-bottom: 95px !important; }
.pb-100 { padding-bottom: 100px !important; }
.p-0 { padding: 0 !important; }

/*============ 3. Academic Professional Heading System ============*/

.page-heading {
    margin-bottom: 3rem;
    margin-top: 2rem;
    border-bottom: 2px solid var(--border-accent);
    padding-bottom: 1rem;
    position: relative;
}

.page-heading:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
}

.page-heading .icon {
    float: right;
    font-size: 2.2rem;
    line-height: 1em;
    color: var(--primary-accent);
    opacity: 0.8;
}

.page-heading h2 {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: capitalize;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    margin: 0;
    font-family: "Playfair Display", serif;
}

.subheading {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.subheading h3 {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 2px;
    position: relative;
    text-transform: uppercase;
    padding: 1rem 2rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-accent);
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-subtle);
    margin: 0;
    font-family: "Roboto", sans-serif;
}

.subheading h3:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 8px 8px 0 0;
}

/*============ 4. Professional Form Elements ============*/

.input {
    display: block;
    position: relative;
    margin-bottom: 2rem;
}

.input__field {
    width: 100%;
    border: 2px solid var(--border-primary);
    padding: 0.75rem 1rem;
    background-color: var(--bg-card);
    color: var(--text-primary);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: "Roboto", sans-serif;
    position: relative;
    z-index: 1;
}

.input__field.cf-error {
    border-color: #ff4444;
}

.input__field:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 2px rgba(0, 119, 190, 0.1);
}

.input__label {
    font-weight: 500;
    position: absolute;
    top: 0.75rem;
    left: 1rem;
    transition: all 0.2s ease;
    z-index: 0;
    color: var(--text-muted);
    font-family: "Roboto", sans-serif;
}

.input__field:focus + .input__label,
.input--filled .input__label {
    font-size: 0.85rem;
    top: -1.5rem;
    left: 0;
    color: var(--primary-accent);
}

.input--filled .input__field {
    border-color: var(--primary-accent);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/*============ 5. Professional Button Styling ============*/

.btn-main {
    border: 2px solid var(--primary-accent);
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--primary-accent);
    font-weight: 600;
    position: relative;
    line-height: 1;
    letter-spacing: 1px;
    border-radius: 6px;
    overflow: hidden;
    font-family: "Roboto", sans-serif;
}

.btn-main:hover,
.btn-main:focus {
    color: var(--text-primary);
    background: linear-gradient(45deg, var(--primary-accent), var(--highlight-accent));
    border-color: var(--highlight-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--shadow-accent);
}

.btn-main:after {
    position: absolute;
    content: "";
    width: 30%;
    height: 100%;
    top: 0;
    left: 35%;
    background-color: var(--primary-accent);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-main:hover:after,
.btn-main:focus:after {
    opacity: 1;
    left: 0;
    width: 100%;
}

/*============ 6. Professional Progress System ============*/

.progress-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 1rem;
    text-transform: uppercase;
    color: var(--text-primary);
    letter-spacing: 1px;
    font-family: "Roboto", sans-serif;
}

.progress {
    height: 6px;
    background-color: var(--border-primary);
    border-radius: 10px;
    box-shadow: inset 0 1px 3px var(--shadow-subtle);
    margin-bottom: 2rem;
    overflow: visible;
    position: relative;
}

.progress .progress-bar {
    box-shadow: 0 0 8px var(--shadow-accent);
    position: relative;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    width: 0;
    border-radius: 10px;
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.progress .progress-bar:after {
    content: "";
    display: block;
    border: 8px solid transparent;
    border-bottom: 12px solid transparent;
    position: absolute;
    top: -14px;
    right: -6px;
    border-bottom-color: var(--primary-accent);
}

.progress .progress-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    position: absolute;
    top: -22px;
    right: 0;
    background: linear-gradient(45deg, var(--primary-accent), var(--secondary-accent));
    padding: 3px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 6px var(--shadow-accent);
    font-family: "Roboto", sans-serif;
}

/*============ 7. Preloader ============*/

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: var(--bg-primary);
    z-index: 10000;
}

.preloader .loader {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
}

.preloader .loader h4 {
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--primary-accent);
}

.loader span {
    width: 0.6em;
    height: 0.6em;
    margin: 0.19em;
    background: var(--primary-accent);
    border-radius: 0.6em;
    animation: loading 1s infinite alternate;
    display: inline-block;
}

.loader span:nth-of-type(2) {
    background: var(--light-teal);
    animation-delay: 0.2s;
}

.loader span:nth-of-type(3) {
    background: var(--accent-teal);
    animation-delay: 0.4s;
}

.loader span:nth-of-type(4) {
    background: var(--dark-teal);
    animation-delay: 0.6s;
}

.loader span:nth-of-type(5) {
    background: var(--primary-accent);
    animation-delay: 0.8s;
}

.loader span:nth-of-type(6) {
    background: var(--light-teal);
    animation-delay: 1.0s;
}

.loader span:nth-of-type(7) {
    background: var(--accent-teal);
    animation-delay: 1.2s;
}

@keyframes loading {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/*============ 8. FIXED Layout System ============*/

.header-main {
    position: fixed;
    top: 0;
    height: 100%;
    z-index: 300;
    width: 200px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    overflow: auto;
    left: 0;
    overflow-x: hidden;
    text-align: center;
    z-index: 999;
    border-right: 2px solid var(--border-accent);
    box-shadow: 4px 0 20px var(--shadow-medium);
}

/* FIXED: Circular Profile Picture Container */
.header-main .image-container.circular {
    position: relative;
    width: 100%;
    height: auto;
    padding: 25px 15px 15px 15px;
    text-align: center;
    overflow: visible;
}

/* FIXED: Circular Profile Picture */
.header-main .image-container.circular img.circular {
    width: 110px !important;
    height: 110px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin: 0 auto !important;
    display: block !important;
    border: 3px solid var(--primary-accent) !important;
    box-shadow: 0 4px 15px var(--shadow-accent) !important;
    transition: all 0.3s ease !important;
}

/* FIXED: Profile Picture Hover Effect */
.header-main .image-container.circular img.circular:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px var(--shadow-accent);
}

/* FIXED: Header Name */
.header-main .image-container.circular .header-name {
    position: static;
    margin-top: 12px;
    background: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Roboto", sans-serif;
    text-shadow: none;
    width: 100%;
}

.header-main .image-container.circular .header-name:before {
    display: none;
}

/* Navigation Menu */
.header-main nav.nav-menu ul li {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-primary);
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
}

.header-main nav.nav-menu ul li:hover {
    background: linear-gradient(90deg, transparent 0%, var(--bg-hover) 70%, transparent 100%);
}

.header-main nav.nav-menu ul li a {
    display: block;
    line-height: 50px;
    padding-left: 70px;
    position: relative;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
}

.header-main nav.nav-menu ul li a:hover {
    color: var(--primary-accent);
    padding-left: 75px;
    text-decoration: none;
}

.header-main nav.nav-menu ul li a span.nav-menu-icon {
    position: absolute;
    left: 40px;
    display: inline-block;
    font-size: 16px;
    color: var(--primary-accent);
    transition: all 0.3s ease;
}

.header-main nav.nav-menu ul li a:hover span.nav-menu-icon {
    color: var(--highlight-accent);
    transform: scale(1.1);
}

/* Active Section Highlighting */
.header-main nav.nav-menu ul li a.active {
    color: var(--text-primary);
    background: linear-gradient(90deg, var(--primary-accent) 0%, var(--bg-hover) 20%, transparent 100%);
    border-right: 4px solid var(--primary-accent);
    font-weight: 600;
    box-shadow: inset 0 0 20px rgba(0, 119, 190, 0.1);
}

.header-main nav.nav-menu ul li a.active span.nav-menu-icon {
    color: var(--text-primary);
    transform: scale(1.15);
}

.header-main nav.nav-menu ul li a.active:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, var(--primary-accent), var(--highlight-accent));
    border-radius: 0 2px 2px 0;
}

/* Mobile Header */
header .header-mobile {
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    width: 100%;
    background: linear-gradient(90deg, var(--bg-secondary), var(--bg-primary));
    z-index: 10;
    display: none;
    transition: all 0.3s ease-in-out;
    border-bottom: 2px solid var(--border-accent);
}

header .header-mobile h2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    color: var(--text-primary);
    font-size: 20px;
    text-transform: uppercase;
    line-height: 60px;
    white-space: nowrap;
    letter-spacing: 1px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
}

header .header-mobile .header-toggle {
    font-size: 20px;
    line-height: 60px;
    cursor: pointer;
    width: 60px;
    text-align: center;
    border-left: 2px solid var(--border-accent);
    float: right;
    transition: all 0.3s ease;
}

header .header-mobile .header-toggle:hover {
    background-color: var(--bg-hover);
}

header .header-mobile .header-toggle i {
    color: var(--primary-accent);
}

/* Social Footer */
.header-main .nav-footer {
    margin-top: 2em;
    width: 100%;
}

.header-main .nav-footer .social {
    text-align: center;
    margin-bottom: 15px;
}

.header-main .nav-footer .social li {
    display: inline-block;
    font-size: 18px;
    margin-right: 12px;
}

.header-main .nav-footer .social li a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    display: block;
}

.header-main .nav-footer .social li:hover a {
    color: var(--primary-accent);
    background-color: var(--bg-hover);
    transform: translateY(-2px);
}

.header-main .nav-footer .social li:last-child {
    margin-right: 0;
}

.header-main .nav-footer .copy p {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.5;
    font-family: "Roboto", sans-serif;
}

/* Main Content Area */
.site-main {
    position: absolute;
    top: 0;
    left: 200px;
    right: 0;
    width: auto;
    height: 100%;
    perspective: 1200px;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.site-main .pt-page {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    overflow: auto;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    transform-style: preserve-3d;
    z-index: 0;
}

.site-main .pt-page .section-container {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.site-main .page-active {
    visibility: visible;
    opacity: 1;
    z-index: 1;
}

.site-main .pt-page-ontop {
    z-index: 999;
}

/*============ 9. Banner Section ============*/

.banner-section {
    background-size: cover;
    background-position: center;
    position: relative;
}

.banner-section:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-primary);
    opacity: 0.7;
}

.banner-section .banner-content {
    color: var(--text-primary);
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    display: block;
    transform: translateY(-50%);
    z-index: 2;
}

.banner-section .banner-content h1 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 3.8rem;
    font-weight: 500;
    color: var(--primary-accent);
    margin-bottom: 3rem;
    line-height: 1.1;
}

.banner-section .banner-content h1 span {
    font-weight: 900;
    color: var(--light-teal);
}

.banner-section .banner-content p {
    font-size: 1.75rem;
    color: var(--text-light);
}

.banner-section .banner-content p .cd-words-wrapper:after {
    background-color: var(--primary-accent);
    top: 50%;
    transform: translateY(-50%);
    height: 34px;
}

.banner-section .banner-content p .cd-words-wrapper b {
    font-weight: 700;
    border-bottom: 2px solid var(--primary-accent);
    color: var(--primary-accent);
}

.banner-section #video-container {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
}

/*============ 10. About Section ============*/

.about-section {
    background-color: var(--bg-primary);
}

.about-section .about h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-accent);
    margin-bottom: 1.5rem;
}

.about-section .about .signature {
    width: 50%;
    margin-top: 1.5rem;
}

.about-section .about .about-info ul li {
    line-height: 1.8;
    margin-bottom: 13px;
    position: relative;
}

.about-section .about .about-info ul li span.title {
    font-family: "Playfair Display", serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--primary-accent);
    position: relative;
    display: inline-block;
    margin-right: 15px;
    padding-bottom: 2px;
    color: var(--primary-accent);
}

.about-section .about .about-info ul li span.title:after {
    content: ':';
    position: absolute;
    right: -10px;
}

.about-section .about .about-info ul li span.value {
    color: var(--text-secondary);
}

/* Service Items */
.about-section .services .service-item {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.about-section .services .service-item .icon {
    font-size: 50px;
    margin-bottom: 10px;
    line-height: 1em;
    color: var(--primary-accent);
}

.about-section .services .service-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

.about-section .services .service-item p {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 0;
    color: var(--text-light);
}

/* Clients/Technology Logos */
.clients .client-logo img {
    width: 100px;
    height: 100px;
    margin: auto;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.clients .client-logo img:hover {
    opacity: 1;
}

/*============ 11. FIXED Resume Section with Direct Alignment ============*/

.resume-section {
    background-color: var(--bg-primary);
}

/* AGGRESSIVE RESET - Override any conflicting styles */
#resume .row.mb-20 {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 60px !important;
}

#resume .col-lg-6 {
    padding-left: 15px !important;
    padding-right: 15px !important;
    display: inline-block !important;
    vertical-align: top !important;
    width: 50% !important;
    float: left !important;
}

/* Clear float after columns */
#resume .row.mb-20:after {
    content: "";
    display: table;
    clear: both;
}

/* Subheading Standardization */
#resume .subheading {
    margin-bottom: 30px !important;
    margin-top: 0 !important;
    height: auto !important;
    text-align: center !important;
}

#resume .subheading h3 {
    margin: 0 !important;
    padding: 1rem 2rem !important;
}

/* Education and Experience Lists - FORCED ALIGNMENT */
#resume ul.education,
#resume ul.experience {
    margin: 0 !important;
    padding: 0 0 0 60px !important;
    list-style: none !important;
    position: relative !important;
    width: 100% !important;
}

/* Individual Items - STANDARDIZED POSITIONING */
#resume ul.education li,
#resume ul.experience li {
    position: relative !important;
    margin: 0 0 40px 15px !important;
    padding: 30px 35px !important;
    background: linear-gradient(135deg, var(--bg-section) 0%, #1c1c1c 100%) !important;
    border-radius: 12px !important;
    border-left: 4px solid var(--primary-accent) !important;
    transition: all 0.3s ease-in-out !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid var(--border-subtle) !important;
}

/* CRITICAL: First items must be perfectly aligned */
#resume ul.education li:first-child,
#resume ul.experience li:first-child {
    margin-top: 0 !important;
}

/* Hover Effects */
#resume ul.education li:hover {
    transform: translateX(-8px) !important;
    box-shadow: 0 8px 25px var(--shadow-accent) !important;
    border-left-color: var(--light-teal) !important;
}

#resume ul.experience li:hover {
    transform: translateX(8px) !important;
    box-shadow: 0 8px 25px var(--shadow-accent) !important;
    border-left-color: var(--light-teal) !important;
}

/* Timeline Lines */
.resume-section ul.education li span.line-left,
.resume-section ul.experience li span.line-left {
    width: 3px;
    height: 100%;
    background-color: var(--primary-accent);
    left: -15px;
    top: 0;
    position: absolute;
}

.resume-section ul.education li span.line-left:before,
.resume-section ul.education li span.line-left:after,
.resume-section ul.experience li span.line-left:before,
.resume-section ul.experience li span.line-left:after {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 3px solid var(--primary-accent);
    background-color: var(--bg-primary);
    position: absolute;
    left: -6px;
    top: -10px;
}

.resume-section ul.education li span.line-left:after,
.resume-section ul.experience li span.line-left:after {
    top: 100%;
}

/* Content Styling */
.resume-section .education .content,
.resume-section .experience .content {
    margin-left: 10px;
}

.resume-section .education .content h4,
.resume-section .experience .content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    color: var(--primary-accent);
}

.resume-section .education .content h5,
.resume-section .experience .content h5 {
    margin-top: 6px;
    margin-bottom: 15px;
    font-size: 15px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--light-teal);
    letter-spacing: 1px;
    opacity: 0.9;
}

.resume-section .education .content p.info,
.resume-section .experience .content p.info {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

/* Year Labels */
.resume-section .education span.year,
.resume-section .experience span.year {
    height: 100%;
    left: -15px;
    top: 0;
    position: absolute;
}

.resume-section .education span.year span,
.resume-section .experience span.year span {
    font-size: 14px;
    position: absolute;
    transform: translateX(-140%);
    color: var(--text-light);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-accent), var(--dark-teal));
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--primary-accent);
    box-shadow: 0 2px 8px var(--shadow-accent);
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
}

.resume-section .education span.year span.to,
.resume-section .experience span.year span.to {
    top: -18px;
}

.resume-section .education span.year span.from,
.resume-section .experience span.year span.from {
    bottom: -18px;
}

/* Subheading Alignment - Removed conflicting styles */
/* Styles moved to resume section for better control */

/* Skills Section */
.resume-section .skills {
    margin-bottom: 40px;
}

.resume-section .skills .skill-item {
    padding: 0 20px;
    margin-bottom: 25px;
}

/*============ 12. Research & Academic Content ============*/

.research-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 400;
}

.research-text ul {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.research-text ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    position: relative;
}

.research-text ul li:before {
    content: '▸';
    color: var(--primary-accent);
    position: absolute;
    left: -1.5rem;
    font-weight: bold;
}

.research-text a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

.research-text a:hover {
    color: var(--light-teal);
    border-bottom-color: var(--light-teal);
    text-decoration: none;
}

.research-text h1, .research-text h2, .research-text h3, .research-text h4 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.research-text p {
    margin-bottom: 1.2rem;
}

.research-text strong, .research-text b {
    color: var(--text-primary);
    font-weight: 600;
}

.research-text em, .research-text i {
    color: var(--primary-accent);
    font-style: italic;
}

/* Ordered Lists for Publications */
.research-text ol {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.research-text ol li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/*============ 13. Contact Section ============*/

.contact-section {
    background-color: var(--bg-primary);
}

.contact-section #map {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-section .contact-info {
    text-align: center;
}

.contact-section .contact-info .info-item .icon {
    position: relative;
    display: inline-block;
    text-align: center;
    font-size: 30px;
    line-height: 1em;
    margin-top: 15px;
    margin-bottom: 15px;
    color: var(--primary-accent);
}

.contact-section .contact-info .info-item h5 {
    font-size: 18px;
    color: var(--primary-accent);
}

.contact-section .contact-info .info-item h5 a {
    color: var(--primary-accent);
    text-decoration: none;
}

.contact-section .contact-info .info-item h5 a:hover {
    color: var(--light-teal);
}

/*============ 14. Enhanced Typography ============*/

blockquote {
    font-size: 1.1rem;
    color: var(--primary-accent);
    border-left: 4px solid var(--primary-accent);
    font-style: italic;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-weight: 500;
    background: linear-gradient(90deg, transparent, rgba(0, 119, 190, 0.05) 50%, transparent);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

code {
    background-color: var(--bg-card);
    color: var(--primary-accent);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

pre {
    background-color: var(--bg-card);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-accent);
    overflow-x: auto;
}

pre code {
    background: none;
    padding: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-primary);
}

th {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 600;
}

td {
    color: var(--text-secondary);
}

/*============ 15. Enhanced Accessibility ============*/

:focus {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-teal);
}

/*============ 16. MOBILE RESPONSIVE ============*/

@media screen and (max-width: 991px) {
    .about-section .about-info {
        margin-top: 40px;
    }
    
    .about-section .about-info ul li {
        display: inline-block;
        position: relative;
        margin: 0 5px;
        padding: 0 5px;
    }
    
    .about-section .about .signature {
        width: 70%;
    }
}

@media screen and (max-width: 767px) {
    /* Mobile Header Display */
    header .header-main {
        left: -200px;
        transition: all 0.3s ease-in-out;
    }
    
    header .header-main h2 {
        display: none !important;
    }
    
    header .header-mobile {
        display: block;
        transition: all 0.3s ease-in-out;
    }
    
    header .header-content.on .header-main {
        left: 0px;
    }
    
    #main {
        left: 0px;
        transition: all 0.3s ease-in-out;
    }
    
    #main .pt-page {
        padding-top: 60px;
    }
    
    /* Mobile Profile Picture */
    .header-main .image-container.circular {
        padding: 20px 10px 10px 10px;
    }
    
    .header-main .image-container.circular img.circular {
        width: 100px !important;
        height: 100px !important;
    }
    
    .header-main .image-container.circular .header-name {
        font-size: 13px;
        margin-top: 8px;
    }
    
    /* Mobile Banner */
    .banner-section .banner-content h1 {
        font-size: 3rem;
        margin-bottom: 2rem;
    }
    
    .banner-section .banner-content p.cd-headline {
        font-size: 1.4rem;
    }
    
    /* Mobile Resume - Aggressive targeting */
    #resume .row.mb-20 {
        margin-bottom: 40px !important;
    }
    
    #resume .col-lg-6 {
        width: 100% !important;
        float: none !important;
        display: block !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-bottom: 2rem !important;
    }
    
    #resume .subheading {
        margin-bottom: 20px !important;
    }
    
    #resume ul.education,
    #resume ul.experience {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    #resume ul.education span.year,
    #resume ul.experience span.year {
        left: 42px !important;
    }
    
    #resume .skills .skill-item {
        padding: 0 !important;
    }
    
    /* Mobile hover effects - no side movement */
    #resume ul.education li:hover,
    #resume ul.experience li:hover {
        transform: translateY(-4px) !important;
    }
}

@media screen and (min-height: 610px) {
    .header-main .nav-footer {
        position: absolute;
        bottom: 0;
        left: 0;
    }
}

@media screen and (max-width: 575px) {
    .banner-section .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-section .banner-content p {
        font-size: 1.2rem;
    }
    
    .page-heading h2 {
        font-size: 1.8rem;
    }
    
    .subheading h3 {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
    }
}

/*============ 17. Print Styles ============*/

@media print {
    body {
        background: white;
        color: black;
    }
    
    .header-main {
        display: none;
    }
    
    .site-main {
        left: 0;
    }
    
    .resume-section ul.education li,
    .resume-section ul.experience li {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }
}

/* Version: 5.0 - Aggressive Bootstrap Override with ID targeting */
