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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    padding: 1rem 2rem;
    background:rgb(255, 253, 253);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    height: 70px;
}

.nav-links {
    display: flex;
    list-style: none;
    transition: max-height 0.3s ease;
    overflow: hidden;
}

.nav-links.active {
    max-height: 500px;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

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

.nav-links li a[href="#home"] {
    color: #007bff;
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f8f9fa;
    padding: 1rem;
    margin-top: 2rem;
}

.hero-content h1 {
    margin: 20px 0; 
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #007bff;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #0056b3;
}

.cta-button i {
    margin-left: 0.5rem;
}

/* About Section */
.about {
    padding: 1rem;
    max-width: 1200px;
    margin: 1rem auto;
    background-color: #ffffff;
}

.about-container {
    display: grid;
    grid-template-columns: 30% 70%;
    align-items: center;
    gap: 1.5rem;
}

.about-image {
    max-width: 300px;
    border-radius: 10px;
    height: auto;
    margin: auto;
    width: 100%;
}

.about-text {
    flex: 1;
}

.about-text a {
    color: #007bff;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.about-text a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #007bff;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.about-text a:hover {
    color: #0056b3;
}

.about-text a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.about-text p {
    margin-bottom: 1rem;
}

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

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    gap: 1.5rem;
}

.project-card {
    flex: 0 1 calc(33.33% - 1rem);
    margin-bottom: 1rem;
    box-sizing: border-box;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    height: 280px;
}

.project-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 0.75rem;
}

.project-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.project-card p {
    flex-grow: 1;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.project-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.project-links a:hover {
    color: #007bff;
}

.project-links i {
    font-size: 1.2em;
}

/* Contact Section */
.contact {
    background-color: #f0f0f0;
    color: #333;
    padding: 1rem; 
}

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

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

input, textarea {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    padding: 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.social-links {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 1.5rem;
}

/* Skills Section */
.skills {
    padding: 2rem 1rem; 
    background-color: #f9f9f9;
}

.skills h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.skills-container {
    display: grid; 
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between; 
    padding: 0 1rem; 
    gap: 1.5rem; 
}

.skill-category {
    flex: 1 1 calc(50% - 1rem);
    margin: 0.5rem; 
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center; 
}

.skill-category i {
    font-size: 2rem; 
    color: #007bff; 
    margin-bottom: 0.5rem;
}

.skill-category h3 {
    margin: 0.5rem 0; 
}

.skill-category p {
    color: #666; 
    font-size: 0.9rem; 
}

.skill-category2 {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
    margin-left: 150px;
    margin-right: -150px;
}

.skill-category3 {
    background: white;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 12rem;
    margin-left: 700px;
    margin-right: 150px;
    margin-top: -370px;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category2:hover {
    transform: translateY(-5px);
}

.skill-category2 h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.skill-category3:hover {
    transform: translateY(-5px);
}

.skill-category3 h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.skill-item {
    margin: 1rem 0;
    flex: 1 1 200px;
}

.skill-item span {
    display: block;
    margin-bottom: 8px;
    color: #555;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background-color: #007bff;
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.skill-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    color: #333;
}

.skill-link i {
    font-size: 1.2em;
    width: 25px;
    text-align: center;
    color: #007bff;
    transition: color 0.3s ease;
}

.skill-link:hover i {
    color: #0056b3;
}

.skill-link span {
    font-size: 1em;
}

@media (max-width: 600px) {
    .skill-category {
        flex: 1 1 100%; 
    }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.footer-text {
    color: #4a90e2; 
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-image {
    height: 150px;
    width: auto;
    object-fit: contain;
    
}

.instagram-link {
    color: #808080;
}

.instagram-link a {
    text-decoration: none;
    color: inherit;
    margin-left: 1px;
    margin-right: 20px;
}

.instagram-link i {
    font-size: 1.2em;
}

.instagram-link:hover {
    color: #007bff;
}

.email-link {
    position: relative;
    display: inline-block;
}

.email-link a {
    color: #808080;
    text-decoration: none;
    transition: color 0.2s;
}

.email-link a:hover {
    color: #007bff; 
}

#email-options {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    padding: 8px 0;
    min-width: 150px;
    z-index: 1000;
    transition: all 0.2s;
}

#email-options a {
    display: block;
    padding: 10px 20px;
    color: #808080;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

#email-options a:hover {
    background-color: #f5f5f5;
    color: #007bff;
}

/* Separator between options */
#email-options a:not(:last-child) {
    border-bottom: 1px solid #eee;
}

/* Icon styling */
.email-link i.fa-envelope {
    margin-right: 8px;
    color: #808080; 
}

.email-link i.fa-chevron-up {
    margin-left: 6px;
    font-size: 0.8em;
}


.email-options[style*="display: block"] {
    background: white;
}

/* Workshops Section */
.workshops {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
    overflow: hidden;
}

.workshops-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem; 
    padding: 1.5rem; 
}

.workshops-track {
    display: flex;
    width: 400%; 
}

.workshop-card {
    padding: 1.5rem; 
    background: #f9f9f9; 
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem; 
}

.workshop-card h3 {
    margin: 0.5rem 0; 
}

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

.workshop-link {
    text-decoration: none;
    color: #007bff; 
}

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

.workshop-details {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.5rem; 
}

.workshop-details span {
    margin-right: 1rem;
}

.workshop-details i {
    color: #666;
    font-size: 0.9rem;
}

/* Download Section */
.downloads {
    padding: 2rem 1rem; 
    background-color: #f9f9f9;
}

.downloads-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; 
    padding: 1.5rem; 
}

.download-card {
    background: #f9f9f9; 
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem; 
    margin-bottom: 1.5rem; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

.download-card:hover {
    transform: translateY(-5px);
}

.download-card i {
    font-size: 2rem; 
    color: #007bff;
    margin-bottom: 0.8rem;
}

.download-card h3 {
    font-size: 1.1rem; 
    color: #333;
    margin-bottom: 0.8rem;
}

.download-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
    flex-grow: 1;
}


.download-card.sports p,
.download-card.certificate p {
    padding-top: 0;  
    margin-bottom: 1rem;  
}


.download-card.certificate {
    height: 250px; 
}

.download-card.sports {
    height: 250px;  
}

.download-button {
    display: inline-flex; 
    align-items: center; 
    padding: 0.8rem 1.5rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    margin-top: 1rem; 
}

.download-button i {
    font-size: 1rem; 
    color: white; 
    margin-right: 0.5rem; 
    margin-bottom: 2px;
}

.download-button:hover {
    background: #0056b3;
}

.download-button-link {
    color: #007bff; 
    text-decoration: none; 
    transition: color 0.3s; 
}

.download-button-link:hover {
    color: #0056b3; 
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.workshops-container,
.downloads-container {
    padding: 1.5rem; 
}

.workshop-card,
.download-card {
    margin-bottom: 1.5rem; 
}

.content-section {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 2rem; 
    background-color: #ffffff; 
    border: none; 
}

h2 {
    text-align: center; 
    margin-bottom: 1rem; 
}

h1 {
    margin: 20px 0; 
}

/* Footer Section */
footer {
    background-color: #f0f0f0; 
    color: #333; 
    padding: 1rem; 
    text-align: center;
}
.hamburger {
    display: none; 
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

.close-btn {
    color: white; 
    font-size: 1.5rem; 
    cursor: pointer; 
    align-self: flex-end;
    margin-bottom: 20px;
    display: none;
}
@media (max-width: 768px) {
    h1 {
        margin: 5px 0;
        padding: 0;
    }
    .workshops-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .downloads-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .about-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .skills-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .project-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .social-links {
        grid-template-columns: repeat(1, 1fr);
    }
    .nav-links {
        display: none; 
        flex-direction: column; 
        max-height: 0; 
        background-color: rgb(94, 90, 90);
        flex-direction: column;
        position: absolute; 
        width: 100%; 
        z-index: 1000; 
        left: 0;
        top: 0;
        font-size: 20px;
        line-height: 2;
    }
    .nav-links.active {
        display: flex; 
    }
    .nav-links li a {
        text-decoration: none;
        color: white; 
        padding: 10px 0; 
    }
    .hamburger {
        display: block; 
    }
    .close-btn {
        display: block; 
    }
    #email-options {
        left: 30%;
    }
}

@media (max-width: 480px) {
    h1 {
        margin: 10px 0; 
    }
    .workshops-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .downloads-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .about-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .skills-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .project-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .social-links {
        grid-template-columns: repeat(1, 1fr);
    }
    .nav-links {
        max-height: 0;
        background-color: rgb(94, 90, 90); 
        flex-direction: column; 
        position: absolute; 
        width: 100%; 
        z-index: 1000; 
        padding: 20px;
        left: 0;
        top: 0;
        line-height: 2;
        font-size: 20px;
    }
    .nav-links li a {
        transition: all 0.3s;
    }
    .nav-links.active {
        display: flex; 
    }
    .hamburger {
        display: block; 
    }
    .close-btn {
        display: block; 
    }
    #email-options {
        left: 30%;
    }
    .hero-content h1 {
        margin: 10px 0; 
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content h1 {
        margin-top: 1.5rem 0;
        margin-bottom: 1rem;
        padding: 0;
    }
}