/* Root Variables */
:root {
    /* Background Colors */
    --bg-primary: #0f172a;    /* Dark blue-gray background */
    --bg-secondary: #1e293b;  /* Slightly lighter blue-gray */
    
    /* Card Backgrounds */
    --card-bg: rgba(30, 41, 59, 0.5);  /* Semi-transparent card background */
    
    /* Accent Colors */
    --accent-primary: #3b82f6;   /* Bright blue */
    --accent-secondary: #60a5fa; /* Lighter blue */
    --hover-color: #2563eb;      /* Hover state blue */
    
    /* Text Colors */
    --text-primary: #f8fafc;    /* Very light gray for primary text */
    --text-secondary: #94a3b8;  /* Lighter gray for secondary text */

    /* Font families */
    --font-heading: 'Oswald', Impact, sans-serif;  /* Option 1 */
    /* --font-heading: 'Roboto Condensed', Impact, sans-serif;  /* Option 2 */
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Base Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 
.navbar-brand {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.text-muted {
    color: var(--text-secondary) !important;
}

/* Cards */
.card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-title, .card h5 {  /* Added specific h5 styling */
    color: var(--text-primary);
    font-weight: 500;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

.card-text, 
.card p,
.card-body {
    color: var(--text-secondary);
}

.card-header {
    background-color: rgba(30, 41, 59, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Sections */
.section-header {
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Skills & Technologies */
.badge {
    background-color: rgba(59, 130, 246, 0.2);
    color: var(--accent-secondary);
    padding: 0.5em 1em;
    margin: 0.2em;
    font-weight: 500;
    font-size: 0.9rem;
}

.badge.bg-primary {
    background-color: var(--accent-primary) !important;
    color: var(--text-primary);
}

.badge.bg-secondary {
    background-color: rgba(148, 163, 184, 0.2) !important;
    color: var(--text-secondary);
}

.skills-section h5,
.frameworks-tools h5 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.skills-group {
    margin-bottom: 2rem;
}
/* [Rest of your existing CSS, but remove any duplicates] */

main {
    flex: 1;
}

/* Links in text */
a {
    color: var(--accent-primary);
    transition: color 0.3s ease;
}

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

.text-panel {
    position:absolute;
    bottom: 10%;
    top: 50%;
    left:50%;
    transform: translate(-50%, 0);
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(37, 99, 235, 0.3); /* Light blue semi-transparent background */
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.display-4 {
    color: white;
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.lead {
    color: white;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(37, 99, 235, 0.7); /* Semi-transparent blue overlay */
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.hero-content .display-4 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-section {
    background-color: #f8f9fa;
    background: transparent; /* The light blue color */
    position: relative;
    overflow: hidden;
    color: white;
    margin: 0;
    border-radius: 10px;
    height: auto;
    min-height: 100vh;
    max-height: 100vh;
    padding: 6rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-section .lead {
    color:rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 1.5rem auto;
    opacity: 0.9;
}

.hero-section .display-4 {
    margin-top: 2rem;
    font-family: 'Roboto Condensed', Impact, sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.hero-background {
    position: relative; /* Change from absolute */
    width: fit-content; /* Only as wide as the image */
    background: #2563eb; /* Add blue background here */
    border-radius: 15px; /* Optional: if you want rounded corners */
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.background-image {
    width: auto;
    height: auto;  /* Change from 100% */
    max-height: 80vh;
    object-fit: contain;  /* Use contain instead of cover */
    object-position: center;
    opacity: 0.7;
    display: block;
}

/* Project Cards */
.project-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}


.card:hover {
    transform: translateY(-5px);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-description {
    line-height: 1.8;
}

.project-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.project-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    transition: opacity 0.3s ease;
}

.project-overlay h5 {
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.technology-tags {
    position: relative;
    z-index: 2;
}

.technology-tags .badge {
    font-size: 0.8rem;
    padding: 0.5em 1em;
}

/* Navigation */
.navbar {
    background-color: rgba(15, 23, 42, 0.9) !important; /* Dark background with slight transparency */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(15, 23, 42, 0.95) !important; /* Slightly more opaque when scrolled */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}


/* Navbar brand/logo */
.navbar-brand {
    color: var(--text-primary) !important;
    font-weight: 500;
}

/* Navbar links */
.navbar-dark .navbar-nav .nav-link {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--accent-primary);
}

/* Navbar toggler */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
/* Buttons */
.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.btn-lg {
    padding: 0.75rem 2rem;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,98,204,0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,98,204,0.3);
}

/* Footer */
footer {
    background-color: #f8f9fa;
    padding: 3rem 0;
    margin-top: 4rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .display-4{
        font-size: 3rem;
    }

    .hero-content {
        font-size: 2.5rem;
    }

    .hero-content .lead {
        font-size: 1.1rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .text-panel {
        padding: 1.5rem;
    }
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* Navbar Styling */
.navbar {
    background-color: rgba(15, 23, 42, 0.9) !important; /* Slightly transparent dark */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--accent-primary);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(37, 99, 235, 0.1) 100%);
    pointer-events: none;
}

/* Project Cards */
.project-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-body {
    background-color: transparent;
    border-radius: 15px;
    padding: 1.5rem;
}

/* Technology Tags */
.technology-tags .badge {
    background-color: rgba(59, 130, 246, 0.2);
    color: var(--accent-secondary);
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-weight: 500;
}

/* Buttons */
.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline-primary {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.btn-outline-primary:hover,
.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: var(--accent-primary);
    color: var(--text-primary);
}

.btn-outline-light {
    border: 2px solid white;
    backdrop-filter: blur(5px);
}

/* Card Image Effects */
.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-img-wrapper img {
    transition: transform 0.5s ease;
}

.card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(15, 23, 42, 0.8) 100%
    );
}

.project-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

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

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

/* Form Styling */
.form-label {
    color: var(--text-primary);
}

.form-control {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.form-control:focus {
    background-color: rgba(30, 41, 59, 0.9);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.form-control::placeholder {
    color: rgba(148, 163, 184, 0.7);
}

/* List items in cards */
.card ul li {
    color: var(--text-secondary);
}

/* Card Hover Animation */
.project-card {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

/* Timeline or experience items */
.timeline-item {
    border-left: 2px solid var(--accent-primary);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background-color: var(--accent-primary);
    border-radius: 50%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bio Section Styling */
.bio-section {
    position: relative;
}

.bio-card {
    background: linear-gradient(
        145deg,
        rgba(30, 41, 59, 0.8),
        rgba(15, 23, 42, 0.8)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.bio-content {
    position: relative;
    z-index: 2;
}

.bio-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.bio-text.highlight {
    color: var(--text-primary);
    font-weight: 500;
    font-style: italic;
    text-align: center;
    font-size: 1.2rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

/* Add some visual interest with a subtle gradient overlay */
.bio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(59, 130, 246, 0.05),
        rgba(37, 99, 235, 0.05)
    );
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bio-text {
        font-size: 1rem;
        text-align: left;
    }
    
    .bio-text.highlight {
        font-size: 1.1rem;
    }
}

/* Animation for bio card */
.bio-card {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Portrait styling */

.portrait-container {
    position: relative;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portrait-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    animation: floatAnimation 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.image-wrapper {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
/* Add a subtle hover effect */

.portrait-image:hover {
    transform: scale(1.02);
}
/* Add a subtle gradient behind the portrait */


.portrait-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(
        circle,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(15, 23, 42, 0) 70%
    );
    z-index: -1;
    border-radius: 50%;
}

/* Subtle floating animation */
@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .portrait-container {
        max-width: 300px;
        margin-bottom: 2rem;
    }
}

/* Optional: Add hover effect */
.portrait-container:hover .portrait-image {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem;
}

/* Bio section enhancements */
.bio-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bio-item {
    transition: transform 0.3s ease;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
}

.bio-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.bio-icon {
    color: var(--accent-primary);
    opacity: 0.9;
    transition: transform 0.3s ease;
    min-width: 60px;
}

.bio-item:hover .bio-icon {
    transform: scale(1.1);
}

.bio-quote {
    position: relative;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bio-quote .bi-quote {
    opacity: 0.3;
}

/* Add animation */
.bio-item {
    animation: slideInRight 0.5s ease-out forwards;
    opacity: 0;
}

.bio-item:nth-child(1) { animation-delay: 0.2s; }
.bio-item:nth-child(2) { animation-delay: 0.4s; }
.bio-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Technical Journey Section */
.technical-journey {
    background: rgba(30, 41, 59, 0.8); 
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2); /* Subtle blue border */
}

.journey-item {
    background: rgba(37, 99, 235, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.journey-item:hover {
    transform: translateX(10px);
    background: rgba(37, 99, 235, 0.2); /* Bluish tint on hover */
}

.journey-title {
    color: #fff;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

/* Center the heading with icon */
.journey-item .journey-title {
    text-align: center;
    font-size: 1.75rem; /* Make title larger */
    margin: 1rem 0 1.5rem 0; /* Add more space around title */
}

.journey-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    padding: 0.5rem 0;
}

.journey-icon {
    font-size: 2.5rem; /* Make icon larger */
    color: #60a5fa;
    display: block;
    text-align: center;
    margin-bottom: 1rem;
    width: 100%; /* Make icon container full width */
}

/* Section Header Styling */
.section-header {
    color: #fff;
    font-size: 1.75rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin: 0 0 2rem 0;
    letter-spacing: 0.05em;
    padding: 0 1rem;
}

/* Animation */
.journey-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.journey-item:nth-child(1) { animation-delay: 0.2s; }
.journey-item:nth-child(2) { animation-delay: 0.4s; }
.journey-item:nth-child(3) { animation-delay: 0.6s; }
.journey-item:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.journey-image-container {
    margin-top: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
}

.journey-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.journey-image:hover {
    transform: scale(1.02);
}

.image-caption {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
    padding: 0 1rem;
    line-height: 1.4;
}

/* Background Section */
.background-content {
    padding: 1.5rem;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.background-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    background: rgba(37, 99, 235, 0.2);
}

.highlight-item i {
    font-size: 1.5rem;
}

/* Skills Section */
.tech-grid {
    display: grid;
    gap: 2rem;
    padding: 1.5rem;
}

.tech-category {
    margin-bottom: 2rem;
}

.tech-category-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 0.5rem;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    background: rgba(37, 99, 235, 0.2);
}

.tech-item img {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
}

.tech-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.col-lg-8.mx-auto {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
}

.col-lg-8.mx-auto h1 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}
/* Quote Section */
.bio-quote-container {
    width: 100%;
    margin: 3rem 0;
    padding: 0 1rem;
}

.bio-quote {
    position: relative;
    width: 100%;
    min-height: 600px;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center 33%; /* Changed from center to top center */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        rgba(15, 23, 42, 0.1) 0%,
        rgba(37, 99, 235, 0.2) 40%,
        rgba(15, 23, 42, 0.6) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

/* Add vignette effect */
.quote-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        transparent 20%,
        rgba(0, 0, 0, 0.2) 60%,
        rgba(0, 0, 0, 0.4) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.bio-quote .bi-quote {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.95);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bio-quote .bio-text.highlight {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 1.75rem;
    max-width: 800px;
    margin: 0 auto;
    border-top: none;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bio-quote {
        min-height: 500px;
        background-position: center 33%;
    }
    
    .quote-overlay {
        padding: 2rem;
    }
    
    .bio-quote .bio-text.highlight {
        font-size: 1.2rem;
    }
    
    .bio-quote .bi-quote {
        font-size: 2rem;
    }
}

/* Optional: Add a subtle scale effect on hover */
.bio-quote {
    transition: transform 0.3s ease;
}

.bio-quote:hover {
    transform: scale(1.01);
}

.location-marker {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-size: 0.9rem;
    z-index: 3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.location-marker:hover {
    background-color: rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.location-marker i {
    font-size: 0.9rem;
}

.bio-quote:hover .location-marker {
    opacity: 1;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .location-marker {
        font-size: 0.8rem;
        padding: 0.35rem 0.6rem;
    }
}