/* ============================================
   Base Styles & Variables
   ============================================ */

:root {
    /* Dark Theme Colors */
    --primary: #64ffda;
    --primary-dark: #4cc9f0;
    --secondary: #4361ee;
    --dark: #ccd6f6;
    --darker: #0a192f;
    --light: #0a192f;
    --light-gray: #112240;
    --gray: #8892b0;
    --dark-gray: #495670;
    --white: #e6f1ff;
    --black: #0a192f;
    --success: #4bb543;
    --danger: #ff6b6b;
    --warning: #ffd166;
    --info: #4cc9f0;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1140px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    
    /* Layout */
    --header-height: 80px;
    
    /* Min and Max Font Size */
    --min-font-size: 16px;
    --max-font-size: 20px;
    --min-screen: 320px;
    --max-screen: 1920px;
}

/* ============================================
   Base Styles
   ============================================ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    font-size: clamp(
        var(--min-font-size),
        1.5vw + 1rem,
        var(--max-font-size)
    );
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: var(--font-primary);
    color: var(--white);
    background-color: var(--light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--primary-dark);
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

/* Section Styling */
section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--black);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.2);
}

/* Form Elements */
.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.03);
    background-clip: padding-box;
    border: 1px solid var(--dark-gray);
    border-radius: var(--radius);
    transition: var(--transition);
}

.form-control:focus {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(100, 255, 218, 0.25);
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.hero-title {
    font-size: 4.5rem;
    margin: 0;
    color: #fff;
    position: relative;
    display: block;
    line-height: 1.1;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    display: block;
    width: 100px;
    height: 2px;
    background: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Card Styling */
.card {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

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

/* Utility Classes */
.text-primary {
    color: var(--primary) !important;
}

.bg-dark {
    background-color: var(--light) !important;
}

.bg-darker {
    background-color: var(--darker) !important;
}

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

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

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

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed navbar */
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--white);
    line-height: 1.7;
    background-color: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    line-height: 1.7;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: var(--section-padding);
    position: relative;
    background-color: var(--light);
}

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

.section.bg-light-gray {
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    font-family: var(--font-secondary);
}

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

.section-title::before {
    content: attr(data-number);
    position: absolute;
    left: -2.5rem;
    top: 0.2rem;
    color: var(--primary);
    font-size: 1.25rem;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
    font-weight: 400;
    opacity: 0.8;
    font-weight: 400;
}

.section-title span {
    color: #64ffda;
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(67, 97, 238, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.section-subtitle {
    color: #8892b0;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 2rem auto 0;
    line-height: 1.6;
    font-weight: 400;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4361ee, #4cc9f0);
    margin: 1.5rem auto;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.7), 
        transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.section-subtitle {
    color: #4a5568;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.7;
    font-weight: 400;
    position: relative;
    display: inline-block;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '•';
    color: #4361ee;
    margin: 0 15px;
    position: relative;
    top: -2px;
}

/* ============================================
   Responsive Design - Tablets and Below (≤ 992px)
   ============================================ */
@media (max-width: 992px) {
    /* Base Layout */
    .container {
        padding: 0 30px;
    }
    
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 80px 30px 40px;
        transition: all 0.4s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
    }
    
    .nav-link.btn {
        display: inline-block;
        margin-top: 1rem;
        padding: 10px 25px;
    }
    
    /* Hero Section */
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .profession {
        font-size: 2.2rem;
    }
    
    .hero-desc {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-image {
        margin: 0 auto;
        max-width: 400px;
    }
    
    /* Resume Section */
    .resume-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Skills Section */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Projects Section */
    .projects-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact Section */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-info {
        margin-bottom: 2.5rem;
    }
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--darker);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 100px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }
    
    .nav-link.btn {
        margin-top: 1rem;
        text-align: center;
        padding: 10px 20px;
        border-radius: 4px;
        display: inline-block;
        width: auto;
    }
    
    /* Hamburger animation */
    .mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    
    .mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .resume-container {
        grid-template-columns: 1fr;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .info-list {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .section-subtitle::before,
    .section-subtitle::after {
        margin: 0 10px;
    }
}

/* About Section */
.about {
    padding: 120px 0;
    background: #0a192f;
    color: #ccd6f6;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: rgba(100, 255, 218, 0.05);
    z-index: 0;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.about-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-10px);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
transform: scale(1.05);
}

.about-image img {
width: 100%;
height: auto;
display: block;
transition: transform 0.5s ease;
}

.about-text h3 {
font-size: 2.2rem;
margin-bottom: 1.5rem;
color: #ccd6f6;
position: relative;
display: inline-block;
}

.about-text h3 span {
color: #64ffda;
position: relative;
display: inline-block;
    display: inline-block;
}

.about-text h3::before {
    content: '01.';
    position: absolute;
    left: -2.5rem;
    top: 0.2rem;
    color: #64ffda;
    font-size: 1.5rem;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
    font-weight: 400;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(100, 255, 218, 0.3);
    border-radius: 2px;
}

.about-text h3 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(67, 97, 238, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #8892b0;
    margin-bottom: 2rem;
}

.info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid #4361ee;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-label {
    font-weight: 600;
    color: #4a5568;
    margin-right: 0.8rem;
    min-width: 100px;
}

.info-value {
    color: #1a1a2e;
    font-weight: 500;
}

.info-value a {
    color: #4361ee;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: #3a56d4;
    text-decoration: underline;
}

/* Resume Section */
.resume {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    position: relative;
    overflow: hidden;
}

.resume::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0 50c0-27.614 22.386-50 50-50s50 22.386 50 50-22.386 50-50 50S0 77.614 0 50z" fill="%234361ee" fill-opacity="0.02"/></svg>');
    background-size: 100px;
    opacity: 0.5;
    z-index: 0;
}

.resume-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.resume-column {
    position: relative;
}

.resume-title {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.resume-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #4361ee;
    border-radius: 3px;
}

.resume-title i {
    margin-right: 10px;
    color: #4361ee;
}

.resume-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #4361ee;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resume-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05), transparent);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resume-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.resume-item:hover::before {
    opacity: 1;
}

.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.resume-header h4 {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin: 0;
}

.resume-period {
    background: rgba(67, 97, 238, 0.1);
    color: #4361ee;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.resume-company {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    position: relative;
    z-index: 1;
}

.resume-company::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4361ee;
    font-size: 1.5rem;
    line-height: 1;
}

.resume-item p {
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

.resume-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.resume-image:hover {
    transform: translateY(-10px);
}

.resume-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.resume-image:hover img {
    transform: scale(1.05);
}

.resume-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.resume-text h3 span {
    color: #4361ee;
    position: relative;
    display: inline-block;
}

.resume-text h3 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(67, 97, 238, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.resume-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 2rem;
}

.resume-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

.resume-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid #4361ee;
}

.resume-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.resume-label {
    font-weight: 600;
    color: #4a5568;
    margin-right: 0.8rem;
    min-width: 100px;
}

.resume-value {
    color: #1a1a2e;
    font-weight: 500;
}

.resume-value a {
    color: #4361ee;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resume-value a:hover {
    color: #3a56d4;
    text-decoration: underline;
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background: #0a192f;
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0 50c0-27.614 22.386-50 50-50s50 22.386 50 50-22.386 50-50 50S0 77.614 0 50z" fill="%234361ee" fill-opacity="0.03"/></svg>');
    background-size: 100px;
    opacity: 0.5;
    z-index: 0;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.skills-column {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.skills-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.skill-item {
    margin-bottom: 1.8rem;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-info span:first-child {
    font-weight: 500;
    color: #ccd6f6;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.skill-info span:last-child {
    color: #64ffda;
    font-weight: 500;
    font-size: 0.9rem;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #64ffda, #4cc9f0);
    border-radius: 4px;
    position: relative;
    transition: width 1.5s ease-in-out;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skills-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skills-image:hover {
    transform: translateY(-10px);
}

.skills-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.skills-image:hover img {
    transform: scale(1.05);
}

.skills-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.skills-text h3 span {
    color: #4361ee;
    position: relative;
    display: inline-block;
}

.skills-text h3 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(67, 97, 238, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.skills-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 2rem;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

.skills-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid #4361ee;
}

.skills-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.skills-label {
    font-weight: 600;
    color: #4a5568;
    margin-right: 0.8rem;
    min-width: 100px;
}

.skills-value {
    color: #1a1a2e;
    font-weight: 500;
}

.skills-value a {
    color: #4361ee;
    text-decoration: none;
    transition: color 0.3s ease;
}

.skills-value a:hover {
    color: #3a56d4;
    text-decoration: underline;
}

/* ============================================
   Preloader
   ============================================ */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    text-align: center;
}

.loader-inner {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loading-text {
    margin-top: 1rem;
    font-weight: 500;
    color: var(--primary);
    font-size: 1.1rem;
    letter-spacing: 2px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* ============================================
   Navigation
   ============================================ */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo .first-name {
    color: var(--primary);
}

.logo .last-name {
    color: var(--dark);
}

.nav-links {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 30px;
    background: none;
    border: none;
}

.hamburger {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Show mobile menu toggle on smaller screens */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    text-transform: capitalize;
    transition: var(--transition);
    border-radius: var(--radius);
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

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

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

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

.menu-toggle {
    display: none;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    padding: 150px 0 100px;
    position: relative;
    background: url('./img/code1.jpg') no-repeat center center/cover;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero::before {
    display: none;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: translateY(-10px);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #4cc9f0;
    border-radius: 2px;
}

.profession {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    min-height: 3.5rem;
    margin: 0;
    padding: 0;
    position: relative;
    font-family: var(--font-secondary);
    line-height: 1.3;
    width: 100%;
    text-align: left;
}

.hero-desc {
    font-size: 1.5rem;
    margin: 1.5rem 0 3rem;
    color: var(--white);
    max-width: 700px;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    padding: 1.5rem 0;
    position: relative;
}

.hero-desc::before,
.hero-desc::after {
    content: '';
    position: absolute;
    left: 0;
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-desc::before {
    top: 0;
}

.hero-desc::after {
    bottom: 0;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin: 3rem 0 4rem;
}

.hero-btns .btn {
    padding: 0.9rem 2.2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-btns .btn-primary {
    background: linear-gradient(45deg, #4361ee, #3f37c9);
    border: none;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.hero-btns .btn-outline {
    border: 2px solid #4cc9f0;
    color: #4cc9f0;
    background: transparent;
}

.hero-btns .btn-outline:hover {
    background: rgba(76, 201, 240, 0.1);
    transform: translateY(-2px);
}

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

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
    margin-right: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-icon:hover {
    background: linear-gradient(135deg, #4361ee, #3f37c9);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.3);
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
   Section Backgrounds
   ============================================ */
.about {
    background-color: #f8f9fa;
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.projects {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.contact {
    background-color: var(--darker);
    padding: 120px 0;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0 50c0-27.614 22.386-50 50-50s50 22.386 50 50-22.386 50-50 50S0 77.614 0 50z" fill="%234361ee" fill-opacity="0.03"/></svg>');
    background-size: 100px;
    opacity: 0.5;
    z-index: -1;
}

.footer {
    background: #0a192f;
    color: #ccd6f6;
    padding: 100px 0 30px;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

/* ============================================
   About Section
   ============================================ */

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image img:hover {
    transform: translateY(-10px);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text h3 span {
    color: var(--primary);
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--gray);
    line-height: 1.8;
}

.info-list {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    margin-bottom: 1rem;
}

.info-label {
    font-weight: 600;
    min-width: 120px;
    color: var(--dark);
}

.info-value {
    color: var(--gray);
}

/* ============================================
   Resume Section
   ============================================ */

.resume-container {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.resume-column {
    flex: 1;
}

.resume-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resume-item {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.resume-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.resume-header h4 {
    font-size: 1.1rem;
    color: var(--dark);
}

.resume-period {
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.resume-company {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* ============================================
   Skills Section
   ============================================ */

.skills-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.skills-column {
    flex: 1;
}

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

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-info span {
    font-weight: 500;
    color: var(--dark);
}

.progress-bar {
    height: 8px;
    background-color: var(--light-gray);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    transition: width 1s ease-in-out;
}

/* ============================================
   Projects Section
   ============================================ */

.projects-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #4cc9f0 #0a192f;
    -ms-overflow-style: none;
}

.projects-container::-webkit-scrollbar {
    height: 8px;
}

.projects-container::-webkit-scrollbar-track {
    background: #0a192f;
    border-radius: 4px;
}

.projects-container::-webkit-scrollbar-thumb {
    background-color: #4cc9f0;
    border-radius: 4px;
}

.project-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
}

.project-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(67, 97, 238, 0.3);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-links {
    opacity: 1;
}

.view-project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.view-project-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

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

.project-link, .project-preview {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.project-link:hover, .project-preview:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.project-content {
    padding: 1.5rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-subtitle {
    display: block;
    font-size: 1.3rem;
    color: #4cc9f0;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    padding-left: 20px;
}

.project-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #4cc9f0;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(76, 201, 240, 0.7);
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tags span {
    background: linear-gradient(45deg, rgba(67, 97, 238, 0.15), rgba(111, 131, 235, 0.1));
    color: #6f83eb;
    font-size: 0.75rem;
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(111, 131, 235, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: var(--transition);
}

.project-tags span:hover {
    background: linear-gradient(45deg, rgba(67, 97, 238, 0.25), rgba(111, 131, 235, 0.2));
    transform: translateY(-2px);
}

.project-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6f83eb;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    background: rgba(111, 131, 235, 0.1);
    border: 1px solid rgba(111, 131, 235, 0.2);
}

.project-btn:hover {
    background: rgba(111, 131, 235, 0.2);
    color: #8a9af1;
    transform: translateX(5px);
}

/* ============================================
   Contact Section
   ============================================ */

.contact-container {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    background: rgba(17, 34, 64, 0.5);
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.1);
    background: rgba(17, 34, 64, 0.7);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1) 0%, rgba(100, 255, 218, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition);
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.contact-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 600;
    font-family: var(--font-secondary);
}

.contact-text p {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
}

.contact-form {
    flex: 2;
    background: rgba(17, 34, 64, 0.9);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(100, 255, 218, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

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

.form-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    display: none;
    font-size: 0.95rem;
}

.form-message.success {
    display: block;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid var(--primary);
    color: #64ffda;
}

.form-message.error {
    display: block;
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
}

#submit-btn {
    position: relative;
    overflow: hidden;
}

#submit-btn .btn-loading {
    display: none;
}

#submit-btn.loading .btn-text {
    visibility: hidden;
}

#submit-btn.loading .btn-loading {
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #112240;
    color: #e6f1ff;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.form-control::placeholder {
    color: #8892b0;
    opacity: 0.8;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.2);
    outline: none;
    background-color: #0a192f;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

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

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--darker);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    position: relative;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo .logo-text {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #8892b0;
    margin: 1rem 0 1.5rem;
    line-height: 1.6;
    max-width: 350px;
    font-size: 0.9rem;
}

.footer-links {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
}

.footer-links h3 {
    color: #ccd6f6;
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
    white-space: nowrap;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 1px;
    background-color: #64ffda;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links ul li {
    margin: 0;
}

.footer-links ul li a {
    color: #8892b0;
    transition: var(--transition);
    font-size: 0.9rem;
    display: inline-block;
    padding: 0.3rem 0.5rem;
    white-space: nowrap;
}

.footer-links ul li a:hover {
    color: #64ffda;
    transform: translateY(-2px);
    text-decoration: none;
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-social h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

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

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

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    font-size: 0.85rem;
}

.footer-bottom p {
    color: #8892b0;
    margin: 0;
    font-size: 0.9rem;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background-color: rgba(100, 255, 218, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(100, 255, 218, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
background-color: var(--primary-dark);
transform: translateY(-3px);
}

/* ============================================
   Responsive Breakpoints
   ============================================ */

/* Ultra Wide Devices (1921px and above) */
@media (min-width: 1921px) {
    .container {
        max-width: 1600px;
    }
    
    html {
        font-size: 18px;
    }
    
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.8rem; }
    h3 { font-size: 2.2rem; }
    
    .section {
        padding: 150px 0;
    }
    
    .btn {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
}

/* Large Desktops (1367px - 1920px) */
@media (max-width: 1920px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .section {
        padding: 120px 0;
    }
}

/* Laptops (1025px - 1366px) */
@media (max-width: 1366px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section {
        padding: 100px 0;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
}

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        max-width: 90%;
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    /* Adjust grid layouts */
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .projects-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .project-card {
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Navigation */
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    /* Hero section adjustments */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    /* About section */
    .about-image {
        max-width: 80%;
        margin: 0 auto 2rem;
    }
    
    /* Skills section */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Contact section */
    .contact-info-item {
        flex-direction: row;
        align-items: center;
    }
    
    .contact-info-item i {
        margin-bottom: 0;
        margin-right: 15px;
    }
}

/* ============================================
   Responsive Design - Small Tablets (≤ 767px)
   ============================================ */
/* Tablets - Portrait (577px - 767px) */
@media (max-width: 767px) {
    :root {
        --header-height: 70px;
    }
    
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    /* Typography */
    html {
        font-size: 15px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    
    /* Hero Section */
    .hero {
        padding: 90px 0 50px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .profession {
        font-size: 1.75rem;
        margin: 0.5rem 0 1.5rem;
    }
    
    .hero-desc {
        font-size: 1.1rem;
        margin: 1.5rem auto;
        max-width: 100%;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* About Section */
    .about-image {
        max-width: 100%;
        margin: 0 auto 2rem;
    }
    
    .info-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Skills Section */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skill-item {
        padding: 1rem;
    }
    
    /* Projects Section */
    .projects-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        margin-bottom: 1.5rem;
    }
    
    /* Contact Section */
    .contact-info-item {
        flex-direction: row;
        align-items: center;
        padding: 1rem;
    }
    
    .contact-info-item i {
        margin-bottom: 0;
        margin-right: 15px;
    }
    
    /* Navigation */
    .navbar {
        padding: 10px 0;
    }
    
    .nav-links {
        width: 80%;
        max-width: 300px;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 12px 0;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-logo,
    .footer-links,
    .footer-social {
        margin-bottom: 1.5rem;
    }
    
    .footer-links ul {
        justify-content: center;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Navigation */
    .navbar {
        padding: 10px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--darker);
        flex-direction: column;
        justify-content: center;
        padding: 80px 30px 30px;
        transition: all 0.4s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-desc {
        font-size: 1.1rem;
    }
    
    /* Skills Section */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Projects Section */
    .projects-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-card {
        margin-bottom: 2rem;
    }
    
    /* Contact Section */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo,
    .footer-links,
    .footer-social {
        margin-bottom: 2rem;
    }
    
    .footer-links ul {
        justify-content: center;
    }
    .container {
        max-width: 100%;
        padding: 0 25px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo, 
    .footer-links, 
    .footer-social {
        margin-bottom: 2rem;
    }
}

/* ============================================
   Responsive Design - Mobile (≤ 480px)
   ============================================ */
/* Mobile Devices (481px - 576px) */
@media (max-width: 576px) {
    :root {
        --header-height: 60px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    
    /* Hero Section */
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .profession {
        font-size: 1.5rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    /* Navigation */
    .nav-links {
        width: 85%;
    }
    
    /* Sections */
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Project Cards */
    .project-card {
        margin-bottom: 1.5rem;
    }
    
    /* Contact Form */
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    /* Footer */
    .footer {
        padding: 60px 0 20px;
    }
}

/* Small Mobile Devices (0 - 480px) */
@media (max-width: 480px) {
    :root {
        --header-height: 60px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* Typography */
    html {
        font-size: 14px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    
    /* Hero Section */
    .hero {
        padding: 70px 0 30px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .profession {
        font-size: 1.3rem;
        min-height: auto;
    }
    
    .hero-desc {
        font-size: 0.95rem;
        margin: 1rem 0 1.5rem;
        padding: 0.8rem 0;
    }
    
    .hero-btns {
        margin: 1.5rem 0;
    }
    
    /* Navigation */
    .nav-links {
        width: 90%;
        padding: 70px 20px 30px;
    }
    
    /* Sections */
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* About Section */
    .about-image {
        margin-bottom: 1.5rem;
    }
    
    /* Skills Section */
    .skills-grid {
        gap: 0.8rem;
    }
    
    .skill-item {
        padding: 0.8rem;
    }
    
    /* Contact Section */
    .contact-info-item {
        padding: 0.8rem 0;
    }
    
    .contact-info-item i {
        font-size: 1.2rem;
        margin-right: 10px;
    }
    
    /* Footer */
    .footer {
        padding: 50px 0 15px;
    }
    
    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    /* Hero Section */
    .hero {
        padding: 80px 0 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .profession {
        font-size: 1.5rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    /* Navigation */
    .nav-links {
        width: 100%;
        padding: 70px 20px 30px;
    }
    
    /* Sections */
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-logo,
    .footer-links,
    .footer-social {
        margin-bottom: 2rem;
    }
    
    .footer-links ul {
        justify-content: center;
    }
    :root {
        --header-height: 60px;
    }
    
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Sections */
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Forms */
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-control {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    /* Navigation */
    .nav-links {
        width: 100%;
        padding: 70px 20px 30px;
    }
    
    /* Footer */
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .container {
        padding: 0 15px;
    }
    
    html {
        font-size: 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-control {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    
    .project-card {
        margin-bottom: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-logo, 
    .footer-links, 
    .footer-social {
        min-width: 100%;
    }
}

/* ============================================
   Animations
   ============================================ */

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

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

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

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

/* ============================================
   Utility Classes
   ============================================ */

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

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

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

.bg-white {
    background-color: var(--white) !important;
}

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

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-1 {
    margin-bottom: 0.5rem !important;
}

.mt-1 {
    margin-top: 0.5rem !important;
}

.mb-2 {
    margin-bottom: 1rem !important;
}

.mt-2 {
    margin-top: 1rem !important;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

.mt-3 {
    margin-top: 1.5rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

.mt-4 {
    margin-top: 2rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

/* ============================================
   Custom Scrollbar
   ============================================ */

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

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

/* ============================================
   No Scroll
   ============================================ */

.no-scroll {
    overflow: hidden;
}

/* ============================================
   Typewriter Effect
   ============================================ */

/* Typewriter Effect */
.typewriter {
    min-height: 2.5rem;
    display: block;
    width: 100%;
    margin: 1rem 0;
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    white-space: nowrap; /* Keeps the content on a single line */
    border-right: 3px solid var(--primary); /* The typwriter cursor */
    animation: blink-caret 0.75s step-end infinite;
}

/* The typewriter cursor effect */
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary); }
}

.profession {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    font-family: var(--font-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profession {
        font-size: 2rem;
    }
    
    .typewriter {
        min-height: 2rem;
    }
}

@media (max-width: 480px) {
    .profession {
        font-size: 1.75rem;
    }
    
    .typewriter {
        min-height: 1.75rem;
        border-right-width: 2px;
    }
}

.txt {
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.txt::after {
    content: '|';
    position: absolute;
    right: -8px;
    color: var(--primary);
    animation: blink 0.7s infinite;
}

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