:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #64748b;
    --dark: #1e293b;
    --darker: #0f172a;
    --light: #f8fafc;
    --lighter: #ffffff;
    --gray: #94a3b8;
    --gray-light: #cbd5e1;
    --success: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: inherit;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background-color: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--lighter);
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--gray-light);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    font-size: 1rem;
}

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

/* Sections */
section {
    padding: 6rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--gray-light);
}

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

.section-title h2 {
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--lighter);
    position: relative;
    display: inline-block;
}

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

.section-title p {
    color: var(--gray-light);
    margin-top: 1.5rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Home Section */
#home {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-content {
    max-width: 800px;
    margin: 0 auto;
}

.home-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--lighter);
    line-height: 1.2;
}

.highlight {
    color: var(--primary-light);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.home-description {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.home-buttons {
    margin-bottom: 2.5rem;
}

.home-buttons .btn {
    margin: 0 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.home-buttons .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--lighter);
}

.home-buttons .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.home-buttons .btn-outline-light {
    color: var(--gray-light);
}

.home-buttons .btn-outline-light:hover {
    transform: translateY(-2px);
    color: var(--lighter);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

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

/* About Section */
#about {
    background: var(--dark);
}

.profile-image {
    text-align: center;
    padding: 1rem;
}

.profile-image img {
    border: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    width: 100%;
    max-width: 350px;
}

.about-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--lighter);
}

.about-content p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.about-details li {
    margin-bottom: 0.8rem;
    color: var(--gray-light);
    font-size: 1.05rem;
}

.about-details strong {
    color: var(--lighter);
    font-weight: 600;
}


.skills-container {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.skill-category {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category h5 {
    color: var(--primary-light);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

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

.skill-tag {
    background: rgba(59, 130, 246, 0.15);
    color: var(--gray-light);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(59, 130, 246, 0.25);
    color: var(--lighter);
    transform: translateY(-1px);
}

@media (min-width: 768px) {
    .skills-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .skills-container {
        grid-template-columns: 1fr;
    }
}
/* Portfolio Section */
#portfolio {
    background: var(--darker);
}
.project-card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 12px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1.8rem;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.project-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--lighter);
}

.project-content p {
    color: var(--gray-light);
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Remove the project-image related styles since we're not using images anymore */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background: rgba(100, 116, 139, 0.2);
    color: var(--gray-light);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

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

.project-links .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 500;
    color: var(--gray-light);
}

/* Resume Section */
#resume {
    background: var(--dark);
}

.resume-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--lighter);
}

.resume-item {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.resume-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.resume-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--lighter);
    margin-bottom: 0.5rem;
}

.resume-meta {
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.resume-item p {
    color: var(--gray-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

.resume-item strong {
    color: var(--lighter);
    font-weight: 600;
}

.resume-preview {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 12px;
    padding: 3rem 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    min-height: 400px;
}

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

.preview-placeholder i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--primary);
}

.preview-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--gray-light);
}

/* Contact Section */
#contact {
    background: var(--darker);
}

.contact-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--lighter);
}

.contact-content > p {
    color: var(--gray-light);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-info {
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--gray-light);
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.3rem;
    margin-right: 1rem;
    color: var(--primary);
    width: 30px;
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: var(--gray-light);
    margin: 0;
    font-size: 1rem;
}

/* Modal Styles */
.modal-content {
    background: var(--dark);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.modal-title {
    font-weight: 600;
    color: var(--lighter);
    font-size: 1.4rem;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 1.5rem;
    color: var(--gray-light);
    line-height: 1.6;
}

.modal-body h6 {
    color: var(--lighter);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-body ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    color: var(--gray-light);
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tech-tags span {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Button Styles */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--gray-light);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--lighter);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .home-title {
        font-size: 2.5rem;
    }
    
    .home-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 4rem 0;
        min-height: auto;
    }
    
    .home-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .home-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .project-links .btn {
        width: 100%;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 1 !important;
    transform: none !important;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typing animation styles */
.typing-cursor {
    animation: blink 1s infinite;
    color: var(--primary-light);
    font-weight: bold;
}

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

.typewriter {
    color: var(--primary-light);
    font-weight: 600;
}