:root {
    --primary: #3a86ff;
    --primary-light: #4cc9f0;
    --primary-dark: #3a0ca3;
    --secondary: #8338ec;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --success: #38b000;
    --danger: #d90429;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 10px 30px -10px rgba(0, 0, 0, 0.25);
    --radius: 8px;
    --max-width: 1200px;
    --header-height: 70px;
    --border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --primary: #4cc9f0;
    --primary-light: #4361ee;
    --primary-dark: #7209b7;
    --dark: #f8f9fa;
    --light: #1a1a2e;
    --gray: #adb5bd;
    --gray-light: #2d3748;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-dark: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --border: 1px solid rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;

}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 5px;
    background: var(--primary);
    color: white;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: var(--dark);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    height: 4px;
    width: 60px;
    background: var(--primary);
    border-radius: 2px;
}

/* Navigation */
.navbar {
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--light);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: var(--header-height);
}

.navbar.scrolled {
    box-shadow: var(--shadow-dark);
}

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

/* Logo styling */
.navbar-logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-image {
    height: 50px; /* Adjust based on your navbar height */
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

/* Interactive hover effects */
.navbar-logo:hover {
    transform: translateY(-2px);
}

.navbar-logo:hover .logo-image {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    /* Optional: slightly increase brightness on hover */
    filter: brightness(1.05) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

/* Active state when clicked */
.navbar-logo:active .logo-image {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* Ensure proper sizing on different devices */
@media (max-width: 768px) {
    .logo-image {
        height: 32px; /* Slightly smaller on mobile */
    }
}

/* If you want a cool effect when the page loads */
@keyframes logoEntrance {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-logo {
    animation: logoEntrance 0.5s ease-out forwards;
}

/* Desktop Menu - New */
.desktop-menu {
    display: flex;
    height: 100%;
}

.desktop-menu .menu-links {
    display: flex;
    gap: 1.5rem;
    height: 100%;
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--gray-light);
}

.sun-icon, .moon-icon {
    transition: var(--transition);
    position: absolute;
}

[data-theme="dark"] .sun-icon {
    opacity: 1;
    transform: scale(1);
}

[data-theme="dark"] .moon-icon {
    opacity: 0;
    transform: scale(0);
}

.sun-icon {
    opacity: 0;
    transform: scale(0);
}

.moon-icon {
    opacity: 1;
    transform: scale(1);
}

.navbar-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    border-radius: 50%;
    transition: var(--transition);
}

.navbar-toggle:hover {
    background-color: var(--gray-light);
}

.toggle-bar {
    width: 20px;
    height: 2px;
    background-color: var(--dark);
    display: block;
    margin: 5px auto;
    transition: var(--transition);
}

/* Menu styling */
.navbar-menu {
    display: none;
}

.menu-backdrop {
    display: none;
}

.menu-container {
    display: none;
}

/* Link styling */
.navbar-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    padding: 0 0.5rem;
}

.navbar-link svg {
    transition: var(--transition);
}

.navbar-link span {
    position: relative;
}

.navbar-link span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.navbar-link:hover svg {
    transform: translateY(-2px);
    color: var(--primary);
}

.navbar-link:hover span::after {
    width: 100%;
}

.navbar-link.active {
    color: var(--primary);
}

.navbar-link.active span::after {
    width: 100%;
}

.navbar-link.active svg {
    color: var(--primary);
}

/* Mobile menu */
@media (max-width: 992px) {
    .desktop-menu {
        display: none;
    }
    
    .navbar-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .navbar-menu {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        pointer-events: none;
        visibility: hidden;
    }
    
    .menu-backdrop {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        transition: var(--transition);
    }
    
    .menu-container {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 350px;
        height: 100%;
        background-color: var(--light);
        padding: 2rem;
        transform: translateX(100%);
        transition: var(--transition);
        overflow-y: auto;
        box-shadow: var(--shadow-dark);
    }
    
    .menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: var(--border);
    }
    
    .menu-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--dark);
    }
    
    .menu-close {
        background: transparent;
        border: none;
        cursor: pointer;
        color: var(--dark);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        transition: var(--transition);
    }
    
    .menu-close:hover {
        background-color: var(--gray-light);
    }
    
    .menu-links {
        flex-direction: column;
        gap: 1rem;
        height: auto;
    }
    
    .navbar-link {
        height: auto;
        padding: 0.75rem;
        border-radius: var(--radius);
    }
    
    .navbar-link:hover {
        background-color: var(--gray-light);
    }
    
    .navbar-menu.active {
        pointer-events: auto;
        visibility: visible;
    }
    
    .navbar-menu.active .menu-backdrop {
        opacity: 1;
    }
    
    .navbar-menu.active .menu-container {
        transform: translateX(0);
    }
    
    /* Animation for menu toggle */
    .navbar-toggle.active .toggle-bar:first-child {
        transform: translateY(7px) rotate(45deg);
    }
    
    .navbar-toggle.active .toggle-bar:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggle.active .toggle-bar:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Enhanced style for desktop */
@media (min-width: 993px) {
    .navbar-container {
        justify-content: space-between;
    }
    
    .desktop-menu {
        flex-grow: 1;
        justify-content: center;
        margin: 0 2rem;
    }
    
    .desktop-menu .menu-links {
        gap: 2rem;
    }
    
    .navbar-link {
        position: relative;
        padding: 0 0.75rem;
    }
    
    /* Hover effect */
    .navbar-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
        opacity: 0;
    }
    
    .navbar-link:hover::before,
    .navbar-link.active::before {
        transform: scaleX(1);
        transform-origin: left;
        opacity: 1;
    }
    
    /* Enhance navbar on scroll */
    .navbar.scrolled {
        background-color: var(--light);
        backdrop-filter: blur(10px);
    }
    
    [data-theme="dark"] .navbar.scrolled {
        background-color: rgba(18, 18, 18, 0.8);
    }
}

/* Hero Section */
.hero {
min-height: 100vh;
padding-top: 80px; /* To prevent content from hiding under navbar */
display: flex;
align-items: center;
position: relative;
overflow: hidden;
background: linear-gradient(135deg, var(--light) 0%, #f0f4f8 100%);
color: var(--dark);
}

.hero-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}

.data-particles {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: 
    radial-gradient(circle at 25% 25%, rgba(58, 134, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(131, 56, 236, 0.03) 1px, transparent 1px);
background-size: 40px 40px;
opacity: 0.8;
}

.data-grid {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: linear-gradient(rgba(30, 55, 153, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(30, 55, 153, 0.03) 1px, transparent 1px);
background-size: 20px 20px;
opacity: 0.7;
}

.container {
width: 100%;
max-width: 1400px;
margin: 0 auto;
padding: 0 15px;
position: relative;
z-index: 2;
}

.hero-content {
display: flex;
align-items: center;
gap: 50px;
position: relative;
padding: 2rem 0;
}

.hero-text {
flex: 1;
max-width: 600px;
}

/* Badge styles */
.badge-container {
margin-bottom: 1rem;
}

.badge {
background: rgba(46, 196, 182, 0.1);
color: rgb(46, 196, 182);
border: 1px solid rgba(46, 196, 182, 0.3);
border-radius: 50px;
padding: 8px 16px;
font-size: 0.9rem;
font-weight: 600;
display: inline-block;
margin-bottom: 10px;
}

/* Title styling */
.hero-heading-wrapper {
position: relative;
}

.hero-title {
font-size: 3.5rem;
line-height: 1.2;
margin-bottom: 0.5rem;
font-weight: 800;
}

.hero-static-text {
color: var(--dark);
-webkit-text-fill-color: var(--dark);
}

.hero-name {
background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: transparent;
position: relative;
}

.hero-name::after {
content: '';
position: absolute;
bottom: 5px;
left: 0;
width: 100%;
height: 6px;
background: linear-gradient(90deg, rgba(58, 134, 255, 0.2) 0%, rgba(131, 56, 236, 0.2) 100%);
border-radius: 3px;
z-index: -1;
}

.hero-role-wrapper {
margin-bottom: 1.5rem;
}

.hero-role {
font-size: 2.2rem;
line-height: 1.2;
font-weight: 700;
}

/* Terminal UI */
.terminal-container {
margin-bottom: 2rem;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
border: 1px solid rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
background-color: #1e1e1e;
max-width: 100%;
}

.terminal-container:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.terminal-header {
display: flex;
align-items: center;
padding: 12px 15px;
background-color: #2d2d2d;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-buttons {
display: flex;
gap: 8px;
margin-right: 15px;
}

.terminal-button {
width: 12px;
height: 12px;
border-radius: 50%;
transition: transform 0.2s ease;
}

.terminal-button:hover {
transform: scale(1.2);
}

.terminal-button.red {
background-color: #ff5f56;
}

.terminal-button.yellow {
background-color: #ffbd2e;
}

.terminal-button.green {
background-color: #27c93f;
}

.terminal-title {
flex-grow: 1;
font-size: 14px;
color: #ddd;
font-family: 'JetBrains Mono', monospace;
font-weight: 400;
}

.terminal-user {
color: #27c93f;
}

.terminal-path {
color: #3b8eea;
}

.terminal-content {
padding: 15px 20px;
background-color: #1e1e1e;
color: #f8f8f8;
font-family: 'JetBrains Mono', monospace;
font-size: 0.95rem;
}

.terminal-text {
margin-bottom: 15px;
}

.terminal-prompt {
display: flex;
align-items: center;
}

.blinking-cursor {
display: inline-block;
width: 8px;
height: 16px;
background-color: #f8f8f8;
animation: blink 1s step-end infinite;
margin-left: 2px;
}

.typing-animation p {
overflow: hidden;
border-right: none;
white-space: normal;
margin: 0;
letter-spacing: 0.5px;
color: #ddd;
}

/* Call to action */
.hero-cta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 15px;
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 28px;
border-radius: 8px;
font-weight: 600;
font-size: 1rem;
transition: all 0.3s ease;
text-decoration: none;
}

.btn-primary {
background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
color: white;
border: none;
box-shadow: 0 8px 15px rgba(58, 134, 255, 0.3);
}

.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 12px 20px rgba(58, 134, 255, 0.4);
}

.btn-outline {
border: 2px solid var(--primary);
color: var(--primary);
background: transparent;
}

.btn-outline:hover {
background: rgba(58, 134, 255, 0.1);
transform: translateY(-3px);
}

/* Resume viewer styles */
.hero-img {
flex: 1;
position: relative;
}

.resume-container {
border-radius: 12px;
overflow: hidden;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
background-color: white;
transition: transform 0.4s ease, box-shadow 0.4s ease;
border: 1px solid rgba(0, 0, 0, 0.1);
position: relative;
z-index: 2;
height: 500px;
}

.resume-container:hover {
transform: translateY(-8px);
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.resume-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 22px;
background: linear-gradient(to right, #f8f9fa, #f2f5f9);
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}

.resume-title {
font-weight: 700;
font-size: 1.15rem;
color: var(--dark);
-webkit-text-fill-color: var(--dark);
position: relative;
padding-left: 28px;
display: flex;
align-items: center;
}

.resume-title-text {
color: var(--grey);
-webkit-text-fill-color: var(--gray);
}

.resume-title::before {
content: '';
position: absolute;
left: 0;
width: 20px;
height: 20px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a86ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E");
background-size: contain;
background-repeat: no-repeat;
}

.resume-controls {
display: flex;
gap: 10px;
}

.resume-control {
background: white;
border: none;
width: 38px;
height: 38px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
position: relative;
}

.resume-control:hover {
background: var(--primary);
color: white;
transform: translateY(-2px);
box-shadow: 0 5px 12px rgba(58, 134, 255, 0.25);
}

.resume-control i {
font-size: 1.1rem;
}

/* Tooltip for controls */
.resume-control::after {
content: attr(title);
position: absolute;
bottom: -30px;
left: 50%;
transform: translateX(-50%) scale(0.8);
background-color: rgba(0, 0, 0, 0.75);
color: white;
padding: 5px 10px;
border-radius: 4px;
font-size: 0.75rem;
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: all 0.2s ease;
}

.resume-control:hover::after {
opacity: 1;
transform: translateX(-50%) scale(1);
bottom: -35px;
}

/* New badge to make it stand out */
.resume-title::after {
content: 'PDF';
display: inline-block;
background-color: var(--primary);
color: var(--light);
font-size: 0.65rem;
padding: 3px 6px;
border-radius: 4px;
margin-left: 8px;
font-weight: 600;
letter-spacing: 0.5px;
}

/* Active state for buttons */
.resume-control:active {
transform: translateY(0);
box-shadow: 0 2px 3px rgba(58, 134, 255, 0.2);
}

/* Responsive adjustments for resume header */
@media (max-width: 576px) {
.resume-title {
    font-size: 1rem;
    padding-left: 22px;
}

.resume-control {
    width: 34px;
    height: 34px;
}

.resume-header {
    padding: 12px 16px;
}
}

.resume-preview {
height: calc(100% - 53px); /* Subtracting header height */
width: 100%;
overflow: hidden;
}

.resume-preview iframe {
width: 100%;
height: 100%;
border: none;
}

/* Floating shapes */
.floating-shapes {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1;
}

.floating-shape {
position: absolute;
width: 60px;
height: 60px;
}

.shape-1 {
top: 10%;
right: -20px;
animation: float 6s ease-in-out infinite;
}

.shape-2 {
bottom: 15%;
right: 10%;
animation: float 8s ease-in-out infinite 1s;
}

.shape-3 {
top: 40%;
left: -30px;
animation: float 7s ease-in-out infinite 0.5s;
}

/* Scroll indicator */
.scroll-indicator {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
z-index: 3;
opacity: 0.7;
transition: opacity 0.3s ease;
cursor: pointer;
}

.scroll-indicator:hover {
opacity: 1;
}

.mouse {
width: 30px;
height: 50px;
border: 2px solid var(--primary);
border-radius: 25px;
position: relative;
}

.mouse-wheel {
position: absolute;
width: 6px;
height: 6px;
background: var(--primary);
border-radius: 50%;
top: 10px;
left: 50%;
transform: translateX(-50%);
animation: scrollAnimation 2s infinite;
}

.scroll-text {
font-size: 0.8rem;
font-weight: 500;
color: var(--primary);
}

/* Animations */
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}

@keyframes float {
0%, 100% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes scrollAnimation {
0% { opacity: 1; top: 10px; }
100% { opacity: 0; top: 30px; }
}

.fade-in-up {
animation: fadeInUp 1s ease forwards;
}

.delay-2 {
animation-delay: 0.3s;
}

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

/* Improved cursor for typewriter effect */
.cursor {
display: inline-block;
margin-left: 3px;
width: 3px;
height: 1em;
background-color: var(--primary);
animation: blink 1s step-end infinite;
vertical-align: text-bottom;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
.hero-title {
    font-size: 3rem;
}

.hero-role {
    font-size: 2rem;
}

.resume-container {
    height: 450px;
}
}

@media (max-width: 992px) {
.hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
}

.hero-cta {
    justify-content: center;
}

.hero-img {
    max-width: 100%;
    width: 100%;
}

.resume-container {
    max-width: 650px;
    margin: 0 auto;
    height: 500px;
}

.hero-title {
    font-size: 2.7rem;
}

.hero-role {
    font-size: 1.8rem;
}
}

@media (max-width: 768px) {
.hero {
    padding-top: 70px;
    padding-bottom: 50px;
}

.resume-container {
    height: 400px;
}

.floating-shape {
    opacity: 0.5;
    transform: scale(0.8);
}
}

@media (max-width: 576px) {
.hero {
    padding-top: 60px;
}

.hero-title {
    font-size: 2.2rem;
}

.hero-role {
    font-size: 1.5rem;
}

.floating-shape {
    display: none;
}

.btn {
    width: 100%;
}

.hero-cta {
    flex-direction: column;
    width: 100%;
}

.resume-container {
    height: 350px;
}

.scroll-indicator {
    bottom: 15px;
}

.terminal-content {
    padding: 12px 15px;
}

.terminal-header {
    padding: 10px 12px;
}
}

@media (max-width: 400px) {
.hero-title {
    font-size: 1.8rem;
}

.hero-role {
    font-size: 1.3rem;
}

.resume-container {
    height: 300px;
}
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--light);
    color: var(--dark);
    transition: var(--transition);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
    width: 120px;
}

.divider-dot {
    height: 8px;
    width: 8px;
    background-color: var(--primary);
    border-radius: 50%;
}

.divider-line {
    height: 3px;
    width: 60px;
    background-color: var(--primary);
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.profile-image-container {
    position: relative;
    width: 180px;
    height: 180px;
}

.profile-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-light);
}

.profile-initials {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary);
}

.experience-badge {
    position: absolute;
    right: 0;
    bottom: 10px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    font-weight: 500;
    line-height: 1.1;
}

.experience-badge .years {
    font-size: 1.5rem;
    font-weight: 700;
}

.experience-badge .text {
    font-size: 0.7rem;
    text-align: center;
}

.profile-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--gray-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

.highlight-icon {
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-text h4 {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

.highlight-text p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-bio {
    line-height: 1.7;
}

.about-bio p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.text-highlight {
    color: var(--primary);
    font-weight: 600;
}

.achievement-list {
    padding-left: 0;
    list-style: none;
    margin-bottom: 2rem;
}

.achievement-list li {
    display: flex;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.achievement-icon {
    color: var(--primary);
    position: absolute;
    top: 3px;
    left: 0;
}

.metric {
    color: var(--primary);
    font-weight: 700;
}

.awards-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--gray-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.awards-section h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.awards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.award-icon {
    color: var(--primary);
}

.award-details h5 {
    margin: 0;
    font-size: 1rem;
}

.award-details p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.skills-container {
    padding: 2rem;
    background-color: var(--gray-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.skills-container h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.skills-container h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 50px;
    background-color: var(--primary);
}

.skill-category {
    margin-bottom: 1.5rem;
}

.skill-category h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--gray);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background-color: rgba(76, 201, 240, 0.15);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    background-color: rgba(76, 201, 240, 0.25);
}

.certifications {
    margin-top: 2rem;
}

.certifications h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--gray);
}

.cert-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(76, 201, 240, 0.15);
    border-radius: var(--radius);
    transition: var(--transition);
}

.cert-item:hover {
    background-color: rgba(76, 201, 240, 0.25);
}

.cert-icon {
    color: var(--primary);
}

.cert-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up.delay-1 {
    animation-delay: 0.2s;
}

.fade-in-up.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (min-width: 768px) {
    .about-profile {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 3rem;
    }
    
    .about-content {
        grid-template-columns: 3fr 2fr;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }
    
    .profile-image-container {
        width: 150px;
        height: 150px;
    }
    
    .experience-badge {
        width: 60px;
        height: 60px;
    }
    
    .experience-badge .years {
        font-size: 1.2rem;
    }
    
    .awards-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .skills-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 4rem 0;
    }
    
    .profile-highlights {
        flex-direction: column;
        gap: 1rem;
    }
    
    .highlight-item {
        width: 100%;
    }
    
    .skill-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Experience Section */
.experience {
    background-color: #f5f5f5;
    padding: 40px 0;
    background: linear-gradient(135deg, var(--light) 0%, #f0f4f8 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

/* The vertical line */
.timeline:after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #e0e0e0;
    top: 0;
    bottom: 0;
    left: 120px;
    margin-left: -1px;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    min-height: 100px;
    display: flex;
}

.timeline-date {
    position: absolute;
    font-size: 14px;
    color: var(--dark);
    padding: 5px 0;
    width: 80px;
    text-align: right;
    left: 0;
    top: 20px;
}

.timeline-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3a86ff;
    left: 120px;
    top: 10px;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.timeline-content {
    width: calc(100% - 150px);
    background-color: var(--light);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-left: 150px;
}

.timeline-role {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.timeline-company {
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--dark);
    margin-bottom: 10px;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background-color: #f0f0f0;
    color: #555;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .timeline-date {
        width: 60px;
        font-size: 12px;
    }
    
    .timeline:after {
        left: 90px;
    }
    
    .timeline-icon {
        left: 90px;
        width: 35px;
        height: 35px;
    }
    
    .timeline-content {
        width: calc(100% - 120px);
        margin-left: 120px;
        padding: 15px;
    }
}

@media screen and (max-width: 576px) {
    .timeline-date {
        width: 50px;
        font-size: 11px;
    }
    
    .timeline:after {
        left: 80px;
    }
    
    .timeline-icon {
        left: 80px;
        width: 30px;
        height: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 100px);
        margin-left: 100px;
        padding: 12px;
    }
    
    .timeline-role {
        font-size: 16px;
    }
    
    .timeline-skills {
        gap: 5px;
    }
    
    .skill-tag {
        font-size: 10px;
        padding: 3px 6px;
    }
}

/* Projects Section */
.projects {
background-color: white;
background: linear-gradient(135deg, var(--light) 0%, #f0f4f8 100%);
padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

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

.project-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

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

.project-card.expanded {
    grid-column: 1 / -1;
    z-index: 10;
}

.project-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: height 0.3s ease;
}

.project-card.expanded .project-img {
    height: 300px;
}

.project-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    background-color: var(--light);
}

.project-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    transition: font-size 0.3s ease;
}

.project-card.expanded .project-title {
    font-size: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}

.project-tag {
    padding: 6px 12px;
    background-color: #f0f4f8;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray);
    transition: all 0.2s ease;
}

.project-tag:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.project-desc-container {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.project-desc {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
    max-height: 4.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
}

.project-card.expanded .project-desc {
    max-height: none;
    -webkit-line-clamp: unset;
}

.expanded-content {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    margin-top: 16px;
}

.project-card.expanded .expanded-content {
    height: auto;
    opacity: 1;
}

.expanded-content p {
    margin: 0 0 16px;
    color: var(--gray);
    line-height: 1.6;
}

.expanded-content ul {
    margin: 10px 0;
    padding-left: 20px;
    columns: 2;
}

.expanded-content li {
    margin-bottom: 8px;
    color: var(--gray);
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.expand-indicator {
    font-size: 1.25rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f0f4f8;
    color: var(--primary);
    transition: all 0.3s ease;
}

.expand-indicator:hover {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.expand-icon, .collapse-icon {
    position: absolute;
    transition: all 0.3s ease;
}

.expand-icon {
    opacity: 1;
}

.collapse-icon {
    opacity: 0;
}

.project-card.expanded .expand-icon {
    opacity: 0;
}

.project-card.expanded .collapse-icon {
    opacity: 1;
}

.github-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f0f4f8;
    color: #333;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.github-link:hover {
    background-color: #333;
    color: white;
    transform: scale(1.1);
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .project-tags {
        gap: 6px;
    }
    
    .project-tag {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .expanded-content ul {
        columns: 1;
    }
}

/* Skills Section */
.skills {
    background-color: #f8f9fa;
    background: linear-gradient(135deg, var(--light) 0%, #f0f4f8 100%);
}

.skills-content {
    display: flex;
    gap: 30px;
}

.skills-category {
    flex: 1;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-item {
    padding: 10px 20px;
    background-color: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
padding: 80px 0;
background-color: var(--light);
position: relative;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.contact-card {
background-color: #ffffff;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
display: flex;
overflow: hidden;
max-width: 900px;
margin: 0 auto;
position: relative;
}

.contact-info {
background-color: #1a365d;
color: #ffffff;
padding: 40px;
width: 35%;
position: relative;
}

.contact-info h2 {
font-size: 1.8rem;
font-weight: 600;
margin-bottom: 30px;
position: relative;
}

.contact-info h2::after {
content: '';
position: absolute;
left: 0;
bottom: -10px;
width: 50px;
height: 2px;
background-color: rgba(255, 255, 255, 0.3);
}

.info-item {
display: flex;
align-items: center;
margin-bottom: 25px;
}

.info-icon {
margin-right: 15px;
opacity: 0.8;
}

.info-text {
font-size: 0.95rem;
opacity: 0.9;
}

.info-text a {
color: #ffffff;
text-decoration: none;
transition: opacity 0.3s ease;
}

.info-text a:hover {
opacity: 1;
text-decoration: underline;
}

.social-links {
display: flex;
gap: 15px;
margin-top: 40px;
}

.social-link {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.1);
color: #ffffff;
transition: all 0.3s ease;
}

.social-link:hover {
background-color: #ffffff;
color: #1a365d;
transform: translateY(-3px);
}

.contact-form {
padding: 40px;
width: 65%;
}

.contact-form h2 {
font-size: 1.8rem;
font-weight: 600;
color: #1a365d;
margin-bottom: 10px;
}

.contact-form p {
color: #64748b;
margin-bottom: 30px;
font-size: 0.95rem;
}

.form-group {
margin-bottom: 20px;
}

.form-control {
width: 100%;
padding: 12px 15px;
border: 1px solid #e2e8f0;
border-radius: 6px;
font-size: 0.95rem;
color: #334155;
transition: all 0.3s ease;
}

.form-control::placeholder {
color: #94a3b8;
}

.form-control:focus {
outline: none;
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.send-btn {
background-color: #3b82f6;
color: #ffffff;
border: none;
border-radius: 30px;
padding: 12px 30px;
font-size: 0.9rem;
font-weight: 600;
letter-spacing: 1px;
cursor: pointer;
transition: all 0.3s ease;
}

.send-btn:hover {
background-color: #2563eb;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.send-btn:focus {
outline: none;
}

.form-status {
margin-top: 20px;
padding: 10px;
border-radius: 6px;
font-size: 0.9rem;
text-align: center;
display: none;
}

.form-status.success {
background-color: rgba(34, 197, 94, 0.1);
color: #16a34a;
border: 1px solid rgba(34, 197, 94, 0.2);
display: block;
}

.form-status.error {
background-color: rgba(239, 68, 68, 0.1);
color: #dc2626;
border: 1px solid rgba(239, 68, 68, 0.2);
display: block;
}

/* Responsive styles */
@media (max-width: 768px) {
.contact-card {
    flex-direction: column;
}

.contact-info,
.contact-form {
    width: 100%;
}

.contact-info {
    padding: 30px;
}

.contact-form {
    padding: 30px;
}
}

@media (max-width: 480px) {
.contact {
    padding: 50px 0;
}

.info-item {
    margin-bottom: 20px;
}

.social-links {
    margin-top: 30px;
}

.contact-form h2 {
    font-size: 1.6rem;
}
}

/* Footer */
.footer {
    color: var(--light);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.footer-col p {
    color: var(--dark);
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 10px;
}

.footer-link a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

.social-link-data {
    width: 50px;
    height: 50px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .contact-content {flex-direction: column;
    }
    
    .hero-img,
    .about-stats,
    .contact-form,
    .contact-info {
        margin-top: 30px;
    }
    
    .navbar-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        transition: var(--transition);
        z-index: 999;
        box-shadow: var(--box-shadow);
    }
    
    .navbar-links.active {
        left: 0;
    }
    
    .navbar-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-content {
        flex-direction: column;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: rotate(45deg);
}

/* Dark Theme */
body.dark-theme {
    --light: #121212;
    --dark: #f8f9fa;
    --gray: #adb5bd;
    --box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
}

body.dark-theme .navbar,
body.dark-theme .project-card,
body.dark-theme .skill-item,
body.dark-theme .timeline-content,
body.dark-theme .form-control {
    background-color: #1e1e1e;
}

body.dark-theme .project-tag {
    background-color: #2d2d2d;
    color: #ddd;
}

body.dark-theme .about,
body.dark-theme .projects,
body.dark-theme .contact {
    background-color: #121212;
}

body.dark-theme .experience,
body.dark-theme .skills {
    background-color: #0a0a0a;
}

body.dark-theme .form-control {
    border-color: #333;
    color: #f8f9fa;
}

body.dark-theme .footer {
    background-color: #0a0a0a;
}