/* === Hero CTA Buttons === */
.hero-cta {
    margin-top: 2.2rem;
}

.btn-hero-primary {
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
    border-radius: 2rem;
    padding: 0.6rem 2rem;
    font-weight: 600;
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    text-decoration: none;
}
.btn-hero-primary:hover, .btn-hero-primary:focus {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    outline: var(--focus-outline);
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 2rem;
    padding: 0.6rem 2rem;
    font-weight: 600;
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
    text-decoration: none;
}
.btn-hero-outline:hover, .btn-hero-outline:focus {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    outline: var(--focus-outline);
}

/* Resume Download Button */
.btn-resume {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 2rem;
    padding: 0.5rem 1.6rem;
    font-weight: 600;
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    text-decoration: none;
    display: inline-block;
}
.btn-resume:hover, .btn-resume:focus {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    outline: var(--focus-outline);
}

/* Classic About heading style */
.about-heading {
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 1.2em;
    background: transparent;
    display: inline-block;
    letter-spacing: 0.5px;
}
 
/* Hero subtitle spacing and style */
.hero-subtitle {
    margin-top: 2.2rem;
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.10);
    transition: margin 0.3s, font-size 0.3s;
}

@media (max-width: 991.98px) {
    .hero-subtitle {
        margin-top: 1.2rem;
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-subtitle {
        margin-top: 0.7rem;
        font-size: 0.95rem;
    }
}

/* === Animations === */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 1s ease-out forwards;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: none;
    }
}
/* === Subtle Dark Theme Variables === */
:root {
    --bg-main: #181a1b;
    --bg-secondary: #23272a;
    --bg-accent: #232d3b;
    --text-main: #e0e0e0;
    --text-secondary: #b0b3b8;
    --accent: #7da6ff;
    --accent-bg: #232d3b;
    --card-bg: #23272a;
    --border-color: #333a40;
    --shadow: 0 2px 8px rgba(0,0,0,0.25);
    --focus-outline: 2px solid #7da6ff;
}

/* Light theme overrides */
[data-theme="light"] {
    --bg-main: #f8f9fa;
    --bg-secondary: #fff;
    --bg-accent: #e9ecef;
    --text-main: #23272a;
    --text-secondary: #495057;
    --accent: #0056b3;
    --accent-bg: #e9ecef;
    --card-bg: #fff;
    --border-color: #dee2e6;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --focus-outline: 2px solid #0056b3;
}

[data-theme="light"] .fa-sun {
    color: #f7c948 !important; /* warm yellow */
}

/* Typography Consistency */
body, html {
    font-family: 'Inter', Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6,
.navbar-brand,
.caption .bg-text,
.caption-static .bg-text,
.profile-content .name,
.caption span.bg-text {
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.profile-content .desc,
.profile-content,
.hero-subtitle,
.socialize,
footer,
section,
nav,
ul,
li,
p,
span,
div {
    font-family: 'Inter', Arial, sans-serif;
}

body, html {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    height: 100%;
    margin: 0;
    background: var(--bg-main);
    color: var(--text-main);
    transition: background 0.3s, color 0.3s;
    scroll-behavior: smooth;
}

.profile-image {
    margin-right: 24px;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    transition: transform 0.3s;
}
.profile-image:focus, .profile-image:hover {
    outline: var(--focus-outline);
    transform: scale(1.04);
}

.profile-visual {
    position: relative;
    max-width: 260px;
    height: 260px;
    margin: 0 auto 3rem auto;
    padding-top: 12px;
}

.profile-card {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-4deg);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.55);
    object-fit: cover;
    z-index: 2;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.profile-card:not(.profile-card-shadow):hover {
    transform: translateX(-50%) rotate(-4deg) translateY(-10px) scale(1.03);
    box-shadow: 0 18px 40px rgba(0,0,0,0.6);
    z-index: 5;
}

.profile-card-secondary {
    top: 18px;
    transform: translateX(-50%) rotate(4deg);
    z-index: 3;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.profile-card-secondary:not(.profile-card-shadow):hover {
    transform: translateX(-50%) rotate(4deg) translateY(-10px) scale(1.03);
    box-shadow: 0 18px 40px rgba(0,0,0,0.6);
    z-index: 5;
}

.profile-card-shadow {
    filter: blur(6px);
    opacity: 0.35;
    transform: translateX(-50%) translateY(10px) scale(1.04);
    z-index: 1;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.logo-wrap {
    position: absolute;
    top: -36px;
    right: -8px;
    width: 140px;
    height: 140px;
    z-index: 4;
}

.logo {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.logo-text {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    fill: none;
    stroke: var(--text-secondary);
    stroke-width: 1.5;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawLogo 2s ease forwards;
}

@keyframes drawLogo {
    to {
        stroke-dashoffset: 0;
    }
}

.bg-img-1 {
    background-image: url("bg-img-1.jpg");
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    opacity: 0.95;
}

.bg-img-2, .bg-img-4 {
    background: var(--bg-secondary);
    color: var(--text-main);
    min-height: 50vh;
    position: relative;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.bg-img-3 {
    background-image: url("bg-img-3.jpg");
    min-height: 400px;
    opacity: 0.85;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.bg-img-1::before,
.bg-img-3::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.7));
    z-index: 1;
}


/* Fix hero section stacking and spacing */
.caption-static {
    position: relative;
    width: 100%;
    text-align: center;
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 0.5rem;
    z-index: 2;
}

/* Hero motivational lines - large, bold, bright */
.caption-static .bg-text {
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    background: none;
    border: none;
    text-shadow: 0 2px 12px rgba(0,0,0,0.18);
    letter-spacing: 0.12em;
    margin: 0.2em 0;
    display: block;
    padding: 0;
    box-shadow: none;
}
@media (max-width: 991.98px) {
    .caption-static .bg-text {
        font-size: 1.7rem;
    }
}
@media (max-width: 767.98px) {
    .caption-static .bg-text {
        font-size: 1.1rem;
    }
}

.container {
    padding-top: 32px;
}

/* Responsive adjustments */
/* Profile section professional font styles */
.profile-content {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.1rem;
    color: var(--text-main);
}
.profile-content .name {
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
    font-weight: 700;
    font-size: 2.3rem;
    letter-spacing: 1px;
    color: var(--text-main);
    margin-bottom: 0.3em;
}
.profile-content .desc {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 0.7em;
}
@media (max-width: 991.98px) {
    .profile-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .profile-content {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .container {
        padding-top: 20px;
    }
    h4 {
        font-size: 1rem;
    }
}

/* Navbar and footer */
/* Navbar sticky only for .navbar */
.navbar {
    background: var(--bg-secondary) !important;
    color: var(--text-main) !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    min-height: 56px;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.footer, footer {
    background: var(--bg-secondary) !important;
    color: var(--text-main) !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    min-height: 56px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.navbar .nav-link, .navbar-brand {
    color: var(--text-main) !important;
    transition: color 0.2s, background 0.2s;
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
    border-radius: 4px;
}
.navbar .nav-link:hover, .navbar .nav-link:focus {
    background: rgba(125,166,255,0.08);
    color: var(--accent) !important;
    text-decoration: none;
}
.navbar .nav-link:focus, .navbar .nav-link:hover, .navbar-brand:focus, .navbar-brand:hover {
    color: var(--accent) !important;
    outline: var(--focus-outline);
}

footer a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}
footer a:focus, footer a:hover {
    color: var(--text-main);
    outline: var(--focus-outline);
}

/* Accessibility: focus states for all interactive elements */
a:focus, button:focus, input:focus, .navbar .nav-link:focus {
    outline: var(--focus-outline) !important;
    outline-offset: 2px;
}

h4 {
    line-height: 2;
}
