@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');
:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #047857 100%);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

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

ul {
    list-style: none;
}

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

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

section {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.btn-full {
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Certificate Button Highlighting */
.btn-small {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%) !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    border: 2px solid #ffd700 !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

.btn-small::before {
    content: '🏆';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    transition: left 0.3s ease;
    font-size: 16px;
}

.btn-small:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4) !important;
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%) !important;
}

.btn-small:hover::before {
    left: 10px;
}

.btn-small:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-line {
    width: 70px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}


/* Header Styles */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 20px 0;
}

header.sticky {
    background-color: white;
    box-shadow: var(--box-shadow);
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--light-color);
    font-size: 1.8rem;
    font-weight: 700;
    transition: var(--transition);
}

header.sticky .logo h1 {
    color: var(--dark-color);
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--light-color);
    font-weight: 500;
    position: relative;
}

header.sticky .nav-links a {
    color: var(--dark-color);
}

.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%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--light-color);
    margin: 3px 0;
    transition: var(--transition);
}

header.sticky .menu-toggle span {
    background-color: var(--dark-color);
}


/* Hero Section */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: var(--dark-color);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(16, 185, 129, 0.7) 100%);
    opacity: 0.8;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: var(--light-color);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--light-color);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 400;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons .btn {
    margin: 0 10px;
}

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

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


/* About Section */

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.image-box {
    position: relative;
    padding: 15px;
    background-color: white;
    box-shadow: var(--box-shadow);
    border-radius: 10px;
}

.image-box::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    z-index: -1;
}

.image-box img {
    border-radius: 5px;
    width: 100%;
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background: var(--gradient-primary);
}

.about-text p {
    margin-bottom: 25px;
    color: var(--gray-color);
}

.about-info {
    margin-bottom: 30px;
}

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

.info-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.info-block {
    flex: 1;
    min-width: 250px;
    padding: 15px;
    background-color: #f1f5f9;
    border-radius: 10px;
    transition: var(--transition);
}

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

.info-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.about-buttons .btn {
    margin-right: 15px;
}


/* Skills Section */

.skills {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 173, 121, 0.1) 0%, rgba(14, 173, 121, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.skills-category {
    flex: 0 0 100%;
    margin-bottom: 40px;
}

.skills-category h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    padding-left: 20px;
    font-weight: 600;
}

.skills-category h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 30px;
    background-color: #0EAD79;
    border-radius: 4px;
}

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

.skill-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

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

.skill-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #0EAD79, #03a9f4);
    transition: height 0.3s ease;
}

.skill-item:hover::before {
    height: 8px;
}

.skill-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(14, 173, 121, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
}

.skill-icon i {
    font-size: 24px;
    color: #0EAD79;
}

.skill-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.skill-level {
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 15px;
}

.skill-level-fill {
    height: 100%;
    background: linear-gradient(90deg, #03a9f4, #03a9f4);
    border-radius: 3px;
    transition: width 1.5s ease-in-out;
}

.skill-item.animate .skill-level-fill {
    animation: skillFill 1.5s ease-in-out forwards;
}


/* Alternative layout for small screens */

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    .skill-item {
        padding: 15px;
    }
    .skill-icon {
        width: 40px;
        height: 40px;
    }
    .skill-name {
        font-size: 16px;
    }
}


/* Animation for skill bars */

@keyframes skillFill {
    from {
        width: 0;
    }
    to {
        width: var(--skill-level);
    }
}


/* Projects Section */

.projects {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.projects::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, rgba(16, 185, 129, 0.02) 50%, transparent 100%);
    border-radius: 50%;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

.projects::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.02) 0%, rgba(37, 99, 235, 0.03) 50%, transparent 100%);
    border-radius: 50%;
    z-index: 0;
    animation: float 25s ease-in-out infinite reverse;
}

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

.projects-container {
    position: relative;
    z-index: 1;
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.filter-btn {
    position: relative;
    padding: 12px 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: var(--dark-color);
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-width: 140px;
    text-align: center;
    letter-spacing: 0.5px;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
}

.filter-btn:hover::before {
    left: 0;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.filter-btn.active::before {
    left: 0;
}

.filter-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

/* Filter button focus state for accessibility */
.filter-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* Responsive filter buttons */
@media (max-width: 768px) {
    .project-filters {
        gap: 10px;
        margin-bottom: 40px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .project-filters {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .filter-btn {
        width: 200px;
        max-width: 250px;
    }
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.project-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.project-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12), 0 10px 25px rgba(0, 0, 0, 0.08);
}

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

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(16, 185, 129, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

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

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

.project-links a {
    width: 55px;
    height: 55px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 20px;
    transform: translateY(30px) scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.project-card:hover .project-links a {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.project-card:hover .project-links a:nth-child(1) {
    transition-delay: 0.1s;
}

.project-card:hover .project-links a:nth-child(2) {
    transition-delay: 0.2s;
}

.project-card:hover .project-links a:nth-child(3) {
    transition-delay: 0.3s;
}

.project-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.project-links a.disabled {
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--gray-color);
    cursor: not-allowed;
}

.project-links a.disabled:hover {
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--gray-color);
    transform: translateY(0) scale(1);
    box-shadow: none;
}

.project-info {
    padding: 30px;
    position: relative;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.project-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.3;
}

.project-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-completed {
    background: linear-gradient(135deg, #10b981, #047857);
    color: white;
}

.status-in-progress {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.project-description {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tech-badge {
    padding: 6px 14px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: var(--dark-color);
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.tech-badge:hover {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.1);
}

.tech-badge:hover::before {
    left: 100%;
}

.projects-footer {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Hide projects beyond the first 3 initially */
.project-card:nth-child(n+4) {
    display: none;
}

.project-card.show {
    display: block !important;
    animation: fadeInUp 0.5s ease forwards;
    animation: fadeInUp 0.6s ease-out forwards;
}

.projects-footer .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.projects-footer .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1e40af 0%, var(--primary-color) 100%);
}


/* Accomplishments Section */

.accomplishments {
    background-color: white;
}

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

.accomplishment-card {
    background-color: #f1f5f9;
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.accomplishment-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.accomplishment-icon {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 24px;
}

.accomplishment-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.accomplishment-card p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.accomplishment-card a {
    color: var(--primary-color);
    font-weight: 500;
}

.accomplishment-card a:hover {
    text-decoration: underline;
}


/* Contact Section */

.contact {
    position: relative;
    background-color: #f1f5f9;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

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

.contact-text {
    color: var(--gray-color);
    margin-bottom: 30px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 20px;
    box-shadow: var(--box-shadow);
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--gray-color);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

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

.form-control {
    width: 100%;
    padding: 15px;
    background-color: #f1f5f9;
    border: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--dark-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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


/* Footer */

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text {
    margin-bottom: 0;
}

.scroll-top {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--secondary-color);
}


/* Responsive Design */

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content h2 {
        font-size: 1.5rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
}

@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;
        transition: var(--transition);
    }
    .nav-links.active {
        left: 0;
    }
    .nav-links li {
        margin: 20px 0;
    }
    .nav-links a {
        color: var(--dark-color);
        font-size: 1.2rem;
    }
    .menu-toggle {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content h2 {
        font-size: 1.3rem;
    }
    .about-image {
        margin-bottom: 30px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 80px 0;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .about-text h3,
    .contact-title {
        font-size: 1.5rem;
    }
    .contact-form {
        padding: 25px;
    }
}


/* Animations */

.animated {
    opacity: 0;
}

.fadeIn {
    animation: fadeIn 1s ease forwards;
}

.fadeInUp {
    animation: fadeInUp 1s ease forwards;
}

.fadeInDown {
    animation: fadeInDown 1s ease forwards;
}

.fadeInLeft {
    animation: fadeInLeft 1s ease forwards;
}

.fadeInRight {
    animation: fadeInRight 1s ease forwards;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Accomplishments Section */

.accomplishments {
    background-color: white;
}

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

.accomplishment-card {
    background-color: #f1f5f9;
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.accomplishment-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.accomplishment-icon {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 24px;
}

.accomplishment-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.accomplishment-card p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.accomplishment-card a {
    color: var(--primary-color);
    font-weight: 500;
}

.accomplishment-card a:hover {
    text-decoration: underline;
}

/* Participations Section */
.participations {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.participations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.participations-timeline {
    position: relative;
    z-index: 1;
    margin-top: 50px;
}

.participations-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 100px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.8s;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 42px;
    top: 25px;
    width: 15px;
    height: 15px;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--box-shadow);
    z-index: 2;
}

.timeline-icon {
    position: absolute;
    left: 25px;
    top: 15px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    box-shadow: var(--box-shadow);
    z-index: 3;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

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

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-weight: 600;
}

.timeline-date {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Preloader */

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

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}