/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.profile-picture {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 20px #3498db, 0 0 40px #022943;
    animation: glow-border 1.5s infinite alternate;
    margin: 0 auto;
    display: block;
}

@keyframes glow-border {
    from {
        box-shadow: 0 0 20px #3498db, 0 0 40px #022943;
    }
    to {
        box-shadow: 0 0 40px #3498db, 0 0 80px #022943;
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

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

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

.nav-links li a {
    position: relative;
    color: #3498db;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links li a:hover {
    color: #a8e6cf;
}

.nav-links li a:hover::after {
    transform: scaleX(1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6c5ce7, #a8e6cf);
    color: white;
    text-align: center;
    padding: 0 1rem;
}

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

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    min-height: 2em;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    color: #6c5ce7;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
}

/* Typewriter Animation Styles */
.typewriter-text {
    color: #3498db;
    font-weight: bold;
}

.cursor {
    font-weight: bold;
    animation: blink 1s infinite;
}

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

.static-text {
    color: white;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section h3 {
    text-align: center;
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.about-text > p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
}

.about-text h3 {
    color: #2c3e50;
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.skills {
    margin-top: 2rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.skill-tags span {
    padding: 0.5rem 1rem;
    background-color: #f0f0f0;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Skills Section */
.skills {
    background: #f8f9fa;
    padding: 4rem 2rem;
}

.skills-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0 1rem;
}

.skill-category {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.2);
}

.skill-category h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.skill-category h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #6c5ce7, #a8e6cf);
    border-radius: 2px;
}

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

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

.skill-name {
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
}

.skill-percentage {
    color: #6c5ce7;
    font-weight: 600;
    font-size: 0.9rem;
}

.skill-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    width: 0;
    height: 100%;
    background: linear-gradient(to right, #6c5ce7, #a8e6cf);
    border-radius: 4px;
    position: relative;
    transition: width 1.5s cubic-bezier(0.1, 0.45, 0.1, 1);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0 4px 4px 0;
}

@media (max-width: 1200px) {
    .skills-container {
        flex-wrap: wrap;
    }

    .skill-category {
        flex: 1 1 calc(50% - 2rem);
        max-width: none;
    }
}

@media (max-width: 768px) {
    .skills-container {
        flex-direction: column;
    }
    
    .skill-category {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .skill-category:last-child {
        margin-bottom: 0;
    }
}

/* Soft Skills Section */
.soft-skills {
    background: #ffffff;
    padding: 4rem 2rem;
}

.soft-skills-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0 1rem;
}

.soft-skill-category {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.soft-skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.2);
}

.soft-skill-category h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.soft-skill-category h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #6c5ce7, #a8e6cf);
    border-radius: 2px;
}

.soft-skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.soft-skill-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.soft-skill-item:hover {
    transform: translateY(-3px);
}

.soft-skill-item i {
    font-size: 2rem;
    color: #6c5ce7;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.soft-skill-item:hover i {
    transform: scale(1.1);
}

.soft-skill-item h5 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.soft-skill-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .soft-skills-container {
        flex-wrap: wrap;
    }

    .soft-skill-category {
        flex: 1 1 calc(50% - 2rem);
        max-width: none;
    }
}

@media (max-width: 768px) {
    .soft-skills-container {
        flex-direction: column;
    }
    
    .soft-skill-category {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .soft-skill-category:last-child {
        margin-bottom: 0;
    }
}

/* Education Section */
.education {
    background: #ffffff;
    padding: 4rem 2rem;
}

.education-timeline {
    max-width: 1200px;
    margin: 0 auto;
}

/* Experience Section */
.experience {
    background: #f8f9fa;
    padding: 4rem 2rem;
}

.experience-timeline {
    max-width: 1200px;
    margin: 0 auto;
}

/* Projects Section */
.projects {
    background: #f8f9fa;
    padding: 4rem 2rem;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.2);
}

.project-content {
    padding: 2rem;
}

.project-content h4 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

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

.tag {
    background: linear-gradient(135deg, #6c5ce7, #a8e6cf);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #574bd6;
}

.project-link.disabled {
    color: #999;
    cursor: not-allowed;
}

.project-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: translateX(3px);
}

.project-notice {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: #2c3e50;
}

.project-notice i {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.project-notice h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.project-notice p {
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .project-content {
        padding: 1.5rem;
    }

    .project-content h4 {
        font-size: 1.2rem;
    }

    .project-notice {
        padding: 1.5rem;
    }
}

/* Certifications Section */
.certifications {
    background: #ffffff;
    padding: 4rem 2rem;
    overflow: hidden;
}

.cert-container {
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.cert-track {
    display: flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
    width: fit-content;
}

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

.cert-card {
    flex: 0 0 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-track:hover {
    animation-play-state: paused;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.2);
}

.cert-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

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

.cert-content {
    padding: 1.5rem;
}

.cert-content h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cert-content h5 {
    color: #6c5ce7;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.cert-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cert-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cert-link:hover {
    color: #574bd6;
}

.cert-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.cert-link:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .certifications {
        padding: 3rem 1rem;
    }
    
    .cert-card {
        flex: 0 0 300px;
    }
    
    .cert-content {
        padding: 1.2rem;
    }
}

/* Contact Section */
.contact {
    background: #ffffff;
    padding: 4rem 2rem;
}

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

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

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.2);
}

.contact-card i {
    font-size: 2rem;
    color: #6c5ce7;
    margin-bottom: 1rem;
}

.contact-card h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #6c5ce7;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.form-group label {
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6c5ce7;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6c5ce7, #a8e6cf);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.submit-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(3px);
}

/* Gallary Section */

/* Gallery Section */
.gallery {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
    
}

.gallery h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

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

.gallery-viewer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-image-wrapper img {
    width: 100%;
    height: 550px;
    object-fit: cover;

}

.gallery-image-wrapper .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    font-size: 1rem;
    text-align: center;
    opacity: 0.8;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0; /* Initially hidden */
    z-index: 10;
}

.gallery-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.gallery-viewer:hover .gallery-btn {
    opacity: 1; /* Show buttons on hover */
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.gallery-counter {
    margin-top: 10px;
    font-size: 1rem;
    color: #555;
}
/* Footer */
.footer {
    background: #2c3e50;
    padding: 2rem;
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #a8e6cf;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-card {
        flex: 1 1 calc(33.333% - 1rem);
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
    }

    .contact-card {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* Timeline Styles */
.education-timeline {
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0 20px;
    overflow-x: auto;
}

.education-timeline h3 {
    text-align: center;
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.education-timeline h3:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #6c5ce7;
    margin: 10px auto;
}

.timeline {
    display: flex;
    position: relative;
    padding: 20px 0;
    min-width: min-content;
}

.timeline::after {
    content: '';
    position: absolute;
    height: 4px;
    background: linear-gradient(to right, #6c5ce7, #a8e6cf);
    top: 50px;
    left: 0;
    right: 0;
    z-index: 1;
}

.timeline-item {
    flex: 0 0 350px;
    margin: 0 20px;
    position: relative;
    z-index: 2;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 4px solid #6c5ce7;
    border-radius: 50%;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.2);
}

.timeline-item:hover::before {
    background-color: #6c5ce7;
    box-shadow: 0 0 0 8px rgba(108, 92, 231, 0.2);
}

.timeline-date {
    text-align: center;
    font-weight: bold;
    color: #6c5ce7;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    background: white;
    padding: 0.5rem;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
}

.timeline-content h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.timeline-content h5 {
    color: #666;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.timeline-content h5 a {
    color: #6c5ce7;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.timeline-content h5 a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #6c5ce7;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.timeline-content h5 a:hover::after {
    transform: scaleX(1);
}

.timeline-text {
    position: relative;
    min-height: 100px;
    padding-bottom: 40px;
}

.preview-text, .full-text {
    margin: 0;
    line-height: 1.6;
    color: #666;
    text-align: justify;
    hyphens: auto;
}

.full-text {
    display: none;
}

.read-more-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, #6c5ce7, #a8e6cf);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(108, 92, 231, 0.2);
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

.read-more-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .education-timeline {
        padding: 0 10px;
    }

    .timeline {
        flex-direction: column;
        padding: 40px 0;
    }

    .timeline::after {
        width: 4px;
        height: 100%;
        top: 0;
        left: 20px;
        right: auto;
    }

    .timeline-item {
        margin: 40px 0;
        padding-left: 45px;
    }

    .timeline-item::before {
        left: 10px;
        top: 15px;
        transform: none;
    }

    .timeline-date {
        text-align: left;
        margin-bottom: 0.5rem;
    }

    .timeline-content {
        margin-top: 10px;
    }
}

/* Responsive Design */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* View More Button Styles */
.view-more-container {
    text-align: center;
    margin: 2rem 0;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #6c5ce7, #a8e6cf);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.view-more-btn i {
    transition: transform 0.3s ease;
}

.view-more-btn .view-less-text {
    display: none;
}

.hidden {
    display: none !important;
}

.hidden-items {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease;
}

.hidden-items:not(.hidden) {
    opacity: 1;
    max-height: 2000px; /* Adjust this value based on your content */
    margin-top: 2rem;
}

/* Smooth transition for the grid items */
.cert-grid, .projects-container {
    display: grid;
    gap: 2rem;
    transition: gap 0.3s ease;
}

/* Ensure proper spacing between initial and hidden items */
.initial-items + .hidden-items:not(.hidden) {
    margin-top: 2rem;
}

/* Rotate icon animation */
.view-more-btn i {
    transition: transform 0.3s ease;
}

/* Adjust spacing for view more sections */
.cert-grid + .cert-grid,
.projects-container .project-card + .project-card {
    margin-top: 2rem;
}

/* Popup Notification */
.popup-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(150%);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
}

.popup-notification.show {
    transform: translateX(0);
}

.popup-notification i {
    font-size: 1.5rem;
}

.popup-notification.success {
    border-left: 4px solid #4CAF50;
}

.popup-notification.success i {
    color: #4CAF50;
}

.popup-notification.error {
    border-left: 4px solid #ff4444;
}

.popup-notification.error i {
    color: #ff4444;
}

.popup-content {
    display: flex;
    flex-direction: column;
}

.popup-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.popup-message {
    font-size: 0.9rem;
    color: #666;
}

.popup-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f0f0f0;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

.popup-progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, #6c5ce7, #a8e6cf);
    transform-origin: left;
    animation: progress 3s linear forwards;
}

@keyframes progress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }


    .timeline {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .timeline-item {
        flex: 1;
        margin: 20px;
    }
    .timeline-text {
        position: relative;
    }
    .full-text {
        display: none;
    }
    .read-more-btn {
        position: absolute;
        bottom: 0;
        right: 0;
        background-color: #4CAF50;
        color: #fff;
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
    }
    .read-more-btn:hover {
        background-color: #3e8e41;
    }
    .skills-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 20px;
    }
    .skill-category {
        margin: 20px;
    }
    .skill-item {
        margin-bottom: 10px;
    }
    .skill-info {
        display: flex;
        justify-content: space-between;
        margin-bottom: 5px;
    }
    .skill-name {
        font-weight: bold;
    }
    .skill-percentage {
        font-size: 16px;
        color: #666;
    }
    .skill-bar {
        width: 100%;
        height: 10px;
        background-color: #ddd;
        border-radius: 5px;
        overflow: hidden;
    }
    .skill-progress {
        width: 0;
        height: 100%;
        background-color: #4CAF50;
        border-radius: 5px;
        transition: width 1s;
    }
    .skill-progress-bg {
        width: 100%;
        height: 100%;
        background-color: #4CAF50;
    }
    .soft-skills-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 20px;
    }
    .soft-skill-category {
        margin: 20px;
    }
    .soft-skill-items {
        display: flex;
        flex-direction: column;
    }
    .soft-skill-item {
        margin-bottom: 20px;
    }
    .view-more-container {
        text-align: center;
        margin: 20px 0;
    }
    .view-more-btn {
        background-color: #4CAF50;
        color: #fff;
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
    }
    .view-more-btn:hover {
        background-color: #3e8e41;
    }
    .hidden {
        display: none;
    }
    .cert-container {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        padding: 20px;
    }
    .cert-track {
        display: flex;
        flex-direction: row;
    }
    .cert-card {
        margin: 20px;
        flex: 0 0 300px;
    }
}
