/* Base Styles */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --success-color: #10b981;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.highlight {
    color: var(--primary-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
}

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

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

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

.btn-secondary:hover {
    background-color: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-content {
    flex: 1 1 50%;
    min-width: 300px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-color);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1 1 40%;
    position: relative;
    min-width: 300px;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.profile-img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 2;
}

.code-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-radius: 1.5rem;
    z-index: 1;
}

/* Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.profile-img {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
        text-align: center;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-title, .hero-subtitle {
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
}


/* Add these styles below the existing hero section styles */

/* Projects Section */
.projects-section {
    padding: 6rem 0;
    background-color: white;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    background-color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.project-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

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

.project-card:not(.featured) .project-image {
    aspect-ratio: 16/9;
}

.project-card.featured .project-image {
    height: 100%;
}

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

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

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card.featured .project-content {
    justify-content: center;
}

.project-badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.project-description {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 9999px;
}

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .project-card.featured {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .projects-section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .project-content {
        padding: 1rem;
    }
}

/* Add to :root */
:root {
    --mouse-x: 0;
    --mouse-y: 0;
}

/* Add to .project-card styles */
.project-card {
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(37, 99, 235, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

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

.project-content {
    position: relative;
    z-index: 2;
    background-color: white;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background-color: #f8fafc;
    position: relative;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.bio-text {
    margin-bottom: 3rem;
}

.bio-text p {
    font-size: 1.125rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.dual-focus {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.focus-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    flex: 1 1 300px;
    max-width: 400px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    text-align: left;
}

.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.focus-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.focus-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.focus-card ul {
    list-style-type: none;
}

.focus-card li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.75rem;
    color: var(--gray-color);
}

.focus-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-section {
        padding: 4rem 0;
    }
    
    .focus-card {
        flex: 1 1 100%;
    }
    
    .bio-text p {
        font-size: 1rem;
    }
}

/* Impact Section */
.impact-section {
    padding: 6rem 0;
    background-color: white;
    position: relative;
}

.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.metric-card {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #f8fafc;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.metric-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metric-value::after {
    content: '+';
    display: inline;
}

.metric-card:nth-child(3) .metric-value::after,
.metric-card:nth-child(4) .metric-value::after {
    content: '';
}

.metric-label {
    font-size: 1rem;
    color: var(--gray-color);
    font-weight: 500;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    margin-bottom: 1.5rem;
}

.quote-icon {
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-size: 4rem;
    color: rgba(37, 99, 235, 0.1);
    font-family: serif;
    font-weight: bold;
    line-height: 1;
    z-index: 0;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
    color: var(--dark-color);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--dark-color);
}

.author-title {
    font-size: 0.875rem;
    color: var(--gray-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .impact-section {
        padding: 4rem 0;
    }
    
    .impact-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .metric-value {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .impact-metrics {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Navigation Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Skills Section */
.skills-section {
    padding: 6rem 0;
    background-color: #f8fafc;
}

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

.skill-category {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    background-color: #f8fafc;
}

.skill-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.skill-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.skill-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-color);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

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

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

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.contact-details a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-color);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-family: inherit;
    transition: var(--transition);
}

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

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--gray-color);
    transition: var(--transition);
    pointer-events: none;
    background-color: white;
    padding: 0 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--primary-color);
    outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    font-size: 0.75rem;
    color: var(--primary-color);
}

/* Footer Styles */
.main-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-links h3,
.footer-social h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.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: white;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .skills-section,
    .contact-section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .skills-list {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

/* About Page Styles */
.about-page {
    padding-top: 80px; /* Offset for fixed header */
}

.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.bio-section {
    padding: 4rem 0;
}

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

.bio-text {
    max-width: 800px;
    margin: 0 auto;
}

.bio-text h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: var(--dark-color);
    position: relative;
}

.bio-text h2:first-child {
    margin-top: 0;
}

.bio-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

.bio-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.bio-image {
    margin: 2rem 0;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.bio-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    font-size: 0.875rem;
    text-align: center;
    color: var(--gray-color);
    margin-top: 0.5rem;
    font-style: italic;
}

blockquote {
    background-color: #f8fafc;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    color: rgba(37, 99, 235, 0.1);
    position: absolute;
    top: -1rem;
    left: 0.5rem;
}

blockquote span {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

.skill-highlights {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.skill-highlights li {
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--dark-color);
}

.skill-highlights li::before {
    content: '▹';
    position: absolute;
    left: -1.5rem;
    color: var(--primary-color);
}

.mission-statement {
    background-color: rgba(37, 99, 235, 0.05);
    padding: 2rem;
    border-radius: 0.5rem;
    margin: 3rem 0;
    border-left: 4px solid var(--primary-color);
}

.mission-statement h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Aside Styles */
.bio-aside {
    position: relative;
}

.timeline {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    position: sticky;
    top: 100px;
}

.timeline h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.timeline-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #e2e8f0;
}

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

.year {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 60px;
}

.event {
    color: var(--dark-color);
}

.values-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 400px;
}

.values-card h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.values-card ul {
    list-style: none;
}

.values-card li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark-color);
}

.values-card i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .bio-content {
        grid-template-columns: 1fr;
    }
    
    .bio-aside {
        margin-top: 4rem;
    }
    
    .timeline,
    .values-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .bio-text h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 4rem 0;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .bio-text p {
        font-size: 1rem;
    }
}


/* Experience Timeline Styles */
.experience-section {
    padding: 6rem 0;
    background-color: #f8fafc;
}

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

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.2;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding: 0.5rem 1rem;
    background-color: white;
    border-radius: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    align-self: center;
    z-index: 1;
}

.timeline-content {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.timeline-header h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin: 0;
}

.company {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--dark-color);
}

.company-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.company i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.timeline-body h4 {
    font-size: 1rem;
    color: var(--dark-color);
    margin: 1.5rem 0 0.75rem;
}

.responsibilities {
    list-style: none;
    padding-left: 0;
}

.responsibilities li {
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    color: var(--dark-color);
}

.responsibilities li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

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

.achievement-card {
    background-color: rgba(37, 99, 235, 0.05);
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.achievement-card i {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.achievement-card p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--dark-color);
}

.technologies-used {
    margin-top: 1.5rem;
}

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

.tech-tag {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-date {
        position: absolute;
        left: 0;
        top: 0;
        align-self: flex-start;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
}


/* Education Section Styles */
.education-section {
    padding: 6rem 0;
    background-color: white;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.education-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.education-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.institution-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    background-color: #f8fafc;
    padding: 0.5rem;
}

.education-title h3 {
    font-size: 1.125rem;
    margin: 0 0 0.25rem;
    color: var(--dark-color);
}

.institution {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
}

.date {
    font-size: 0.75rem;
    color: var(--gray-color);
}

.education-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.education-details {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.education-details li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--dark-color);
    font-size: 0.875rem;
}

.education-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.certification-badge {
    text-align: center;
    margin-top: auto;
}

.certification-badge img {
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

.course-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    flex-wrap: wrap;
}

.course-badges img {
    height: 50px;
    width: auto;
}

.completion-rate {
    margin-top: auto;
    padding-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--success-color);
    border-radius: 3px;
}

.completion-rate span {
    font-size: 0.75rem;
    color: var(--gray-color);
}

/* Card Type Indicators */
.education-card.degree {
    border-top: 4px solid var(--primary-color);
}

.education-card.certification {
    border-top: 4px solid var(--secondary-color);
}

.education-card.online {
    border-top: 4px solid #10b981;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .education-section {
        padding: 4rem 0;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .education-header {
        flex-direction: column;
        text-align: center;
    }
    
    .institution-logo {
        margin-bottom: 1rem;
    }
    
    .education-details li {
        font-size: 0.8125rem;
    }
}

/* Projects Page Styles */
.projects-page {
    padding-top: 80px; /* Offset for fixed header */
}

.projects-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.projects-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.projects-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.projects-section {
    padding: 4rem 0;
}

.projects-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.view-options {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.view-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.view-btn:not(.active):hover {
    background-color: #f8fafc;
}

.filter-select {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background-color: white;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:hover {
    border-color: var(--primary-color);
}

/* Projects Grid View */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.projects-grid.list-view {
    grid-template-columns: 1fr;
}

.projects-grid.list-view .project-card {
    flex-direction: row;
    max-height: 250px;
}

.projects-grid.list-view .project-image {
    flex: 0 0 300px;
    height: 250px;
}

.projects-grid.list-view .project-content {
    flex: 1;
}

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

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

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.quick-view {
    background-color: white;
    color: var(--dark-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.quick-view:hover {
    background-color: var(--primary-color);
    color: white;
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    margin: 0 0 0.75rem;
    color: var(--dark-color);
}

.project-description {
    color: var(--gray-color);
    margin-bottom: 1rem;
    flex-grow: 1;
}

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

.project-tags span {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.project-actions .btn {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Project Modal */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8fafc;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--primary-color);
    color: white;
}

.modal-body {
    padding: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .projects-hero {
        padding: 4rem 0;
    }
    
    .projects-hero h1 {
        font-size: 2.5rem;
    }
    
    .projects-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .projects-grid.list-view .project-card {
        flex-direction: column;
        max-height: none;
    }
    
    .projects-grid.list-view .project-image {
        flex: 1;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-actions .btn {
        min-width: 100%;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}

/* Featured Project Section */
.featured-project-section {
    padding: 2rem 0 6rem;
}

.featured-header {
    margin-bottom: 3rem;
}

.breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--gray-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

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

.featured-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.featured-header .subtitle {
    font-size: 1.25rem;
    color: var(--gray-color);
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.project-date, .project-status {
    font-size: 0.875rem;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-status {
    padding: 0.25rem 0.75rem;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border-radius: 2rem;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.project-link:hover {
    text-decoration: underline;
}

.project-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.overview-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.overview-text p {
    color: var(--dark-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.key-features {
    margin-top: 2rem;
}

.key-features h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.key-features ul {
    list-style: none;
    padding-left: 0;
}

.key-features li {
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
    color: var(--dark-color);
}

.key-features li i {
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: var(--primary-color);
}

.overview-media {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.main-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
}

.play-demo {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Tabs */
.details-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-btn:not(.active):hover {
    color: var(--dark-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Tech Stack */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-category {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.tech-category h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tech-category ul {
    list-style: none;
    padding-left: 0;
}

.tech-category li {
    margin-bottom: 0.5rem;
    padding-left: 1.75rem;
    position: relative;
}

.tech-category li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* My Role */
.role-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.role-aspect h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.role-aspect ul {
    list-style: none;
    padding-left: 0;
}

.role-aspect li {
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
}

.role-aspect li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.role-highlight {
    grid-column: 1 / -1;
    background-color: rgba(37, 99, 235, 0.05);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.role-highlight h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Impact */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-color);
}

.testimonials h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.testimonial-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 2rem;
    color: rgba(37, 99, 235, 0.2);
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--dark-color);
}

.author-title {
    font-size: 0.875rem;
    color: var(--gray-color);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal .modal-content {
    width: 90%;
    max-width: 900px;
    position: relative;
}

.video-modal video {
    width: 100%;
    border-radius: 0.5rem;
}

.video-modal .modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .project-overview {
        grid-template-columns: 1fr;
    }
    
    .role-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .featured-header h1 {
        font-size: 2.5rem;
    }
    
    .details-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }
    
    .tab-btn {
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .featured-header h1 {
        font-size: 2rem;
    }
    
    .impact-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* Skills Page Styles */
.skills-page {
    padding-top: 80px; /* Offset for fixed header */
}

.skills-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.skills-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skills-hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.skills-section {
    padding: 4rem 0;
}

.skills-categories {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    background-color: white;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-btn:not(.active):hover {
    background-color: #f8fafc;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.skill-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

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

.skill-proficiency {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 4px;
    transition: width 1s ease;
}

.proficiency-text {
    font-size: 0.75rem;
    color: var(--gray-color);
    min-width: 70px;
    text-align: right;
}

/* Certifications Section */
.certifications-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

.certification-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.certification-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #e2e8f0;
}

.certification-info {
    padding: 1.5rem;
}

.certification-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.certification-info p {
    color: var(--gray-color);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

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

@media (max-width: 576px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}



/* Contact Page Styles */
.contact-page {
    padding-top: 80px; /* Offset for fixed header */
}

.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.contact-section {
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2, 
.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.contact-info p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.contact-details a, 
.contact-details span {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-color);
}

.social-links h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

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

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

/* Contact Form */
.contact-form-container {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-family: inherit;
    transition: var(--transition);
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form .btn {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

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

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-content .btn {
    background-color: white;
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.cta-content .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-methods {
        align-items: center;
    }
    
    .contact-method {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 4rem 0;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}


/* Profile Card */
.profile-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.profile-details p {
    color: var(--gray-color);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.badge i {
    font-size: 0.625rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Availability Calendar */
.availability {
    margin-top: 1.5rem;
}

.availability h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.availability-calendar {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.week-indicator {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.75rem;
}

.day {
    color: var(--dark-color);
}

.day.weekend {
    color: var(--gray-color);
}

.availability-slots {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.slot {
    text-align: center;
    padding: 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.slot.available {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.slot.limited {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.slot.booked {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.slot.weekend {
    color: var(--gray-color);
}

.availability-legend {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.75rem;
}

.availability-legend span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--gray-color);
}

.availability-legend i {
    font-size: 0.5rem;
}

.availability-legend .available {
    color: var(--success-color);
}

.availability-legend .limited {
    color: var(--secondary-color);
}

.availability-legend .booked {
    color: #ef4444;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-badges {
        justify-content: center;
    }
    
    .faq-section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .availability-slots .slot {
        font-size: 0.625rem;
        padding: 0.1rem;
    }
    
    .availability-legend {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}