@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: black;
}

nav {
    width: 100%;
    height: 10vh;
    position: sticky;
    top: 0;
    background-color: black;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.logo span {
    color: #077b32;
    text-shadow: 0 0 10px #077b32;
}

.hamburg,
.cancel {
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
    color: white;
    display: none;
    cursor: pointer;
}

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

.nav-container .links a {
    font-size: 1.2rem;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s linear;
}

.nav-container .links a:hover {
    color: #077b32;
}

.dropdown {
    width: 100%;
    position: absolute;
    top: 0;
    background-color: black;
    left: 0;
    transform: translateY(-500px);
    transition: transform 0.3s ease-in-out;
}

.dropdown .links a {
    font-size: 2rem;
    color: white;
    margin: 10px 0;
}

#home {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.main-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 80%;
}

.image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
}

.content {
    width: 45%;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
}

.typewriter {
    font-size: 1.5rem;
    color: white;
}

.typewriter-text {
    font-weight: 600;
    color: #077b32;
}

.social-links a {
    color: white;
    margin-right: 15px;
    font-size: 2rem;
    transition: 0.3s linear;
}

.social-links a:hover {
    color: #077b32;
}

.btn button {
    font-size: 1.2rem;
    padding: 10px 20px;
    background-color: #077b32;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s linear;
}

.btn button:hover {
    background-color: #055e28;
}

section {
    padding: 50px 10%;
    color: white;
}

section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 30px;
}

/* Skills Section */
#skills {
    padding: 50px 10%;
    background-color: #1c1c1c;
    color: white;
}

#skills h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 30px;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}

.skill {
    width: 200px;
    text-align: center;
    margin-bottom: 40px;
}

.skill h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    background-color: #333;
    border-radius: 25px;
    height: 20px;
    margin-bottom: 10px;
    position: relative;
}

.progress {
    height: 100%;
    width: 0;
    border-radius: 25px;
    transition: width 1s ease-in-out;
}

.progress-bar .progress.html {
    background-color: #e44d26;
}

.progress-bar .progress.css {
    background-color: #264de4;
}

.progress-bar .progress.javascript {
    background-color: #f0db4f;
}

.progress-bar .progress.python {
    background-color: #306998;
}

.progress-bar .progress.react {
    background-color: #61dafb;
}

.progress-bar .progress.nodejs {
    background-color: #68a063;
}

.skill p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #bbb;
}

/* Hover effect for the progress bars */
.progress-bar:hover .progress {
    background-color: #077b32;
}

/* Certificates Section */
#certificates {
    padding: 50px 10%;
    background-color: #000000;
    color: #000000;
}

#certificates h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 30px;
}

.certificate-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.certificate {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.certificate-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.certificate-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.certificate-description {
    font-size: 1rem;
}

.certificate:hover .certificate-img {
    transform: scale(1.05);
}

.certificate:hover .certificate-overlay {
    opacity: 1;
}

.certificate:hover {
    transform: translateY(-10px);
}

/* Contact Section */
/* Contact Section */
#contact {
    padding: 50px 10%;
    background-color: #000000;
    /* Light grey background to match */
    color: #333;
    text-align: center;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info {
    flex: 1 1 40%;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e1e1e;
    /* Dark color for text */
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #077b32;
    /* Blue color for headings */
}

.contact-item p {
    color: #077b32;
    /* Grey color for content */
}

.contact-form {
    flex: 1 1 40%;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1e1e1e;
    /* Dark color for form heading */
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #077b32;
    /* Blue color on focus */
}

.contact-form button {
    padding: 15px 30px;
    background-color: #077b32;
    /* Blue button color */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #077b32;
    /* Darker blue on hover */
}

#map-container {
    margin-top: 50px;
}

#map-container h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1e1e1e;
    /* Dark color for map heading */
}

/* Projects Section Styling */
.projects-section {
    width: 100%;
    padding: 50px 0;
    background-color: #141414;
    color: white;
}

.projects-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.projects-container h2 {
    font-size: 2.5rem;
    color: #077b32;
    margin-bottom: 30px;
    text-shadow: 0 0 10px #077b32;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
}

.project-card {
    position: relative;
    width: 100%;
    max-width: 350px;
    background-color: #1c1c1c;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease-in-out;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 255, 128, 0.6);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.5rem;
    color: #077b32;
    margin-bottom: 10px;
    text-shadow: 0 0 5px #077b32;
}

.project-info p {
    font-size: 1rem;
    color: #dcdcdc;
    margin-bottom: 20px;
}

.project-btn {
    display: inline-block;
    background-color: #077b32;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s ease;
}

.project-btn:hover {
    background-color: #00ff80;
    box-shadow: 0 0 10px #00ff80;
}

.about-section {
    background-color: #000000;
    padding: 60px 0;
    color: #333;
    font-family: 'Arial', sans-serif;
}

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

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-header h2 {
    font-size: 36px;
    color: #2e8b57;
    /* Green Color */
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.about-header h2:hover {
    color: #1e6f40;
}

.about-header p {
    font-size: 18px;
    color: #777;
}

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

.about-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

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

.about-info {
    max-width: 600px;
}

.about-info h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.about-info p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cta-button {
    padding: 15px 30px;
    background-color: #2e8b57;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #1e6f40;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: auto;
    /* Change from 100vh to auto */
    background-color: black;
    overflow-y: scroll;
    /* Allow vertical scrolling */
}

nav {
    width: 100%;
    height: 10vh;
    position: sticky;
    top: 0;
    background-color: black;
    z-index: 100;
    /* Ensures the nav stays on top */
}

#home {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    padding-top: 10vh;
    /* Add padding top to prevent nav from overlapping content */
}

/* Other section adjustments for better scrolling visibility */
section {
    padding: 50px 10%;
    color: white;
    margin-top: 10vh;
    /* Add margin-top to prevent sections from being hidden behind nav */
}

/* Skills Section */
#skills {
    padding: 50px 10%;
    background-color: #1c1c1c;
    color: white;
    margin-top: 10vh;
}

/* Certificates Section */
#certificates {
    padding: 50px 10%;
    background-color: #fbf5f5;
    color: #333;
    margin-top: 10vh;
}

/* Contact Section */
#contact {
    padding: 50px 10%;
    background-color: #000000;
    color: #333;
    text-align: center;
    margin-top: 10vh;
}

/* Projects Section */
.projects-section {
    width: 100%;
    padding: 50px 0;
    background-color: #141414;
    color: white;
    margin-top: 10vh;
}

/* About Section */
.about-section {
    background-color: #fffafa;
    padding: 60px 0;
    color: #333;
    font-family: 'Arial', sans-serif;
    margin-top: 10vh;
}

/* certificates.css */
.certificates-section {
    padding: 60px 20px;
    background: #0f0e0e;
    text-align: center;
}

.certificates-section h2 {
    font-size: 2.5rem;
    color: #00695c;
}

.tabs {
    margin-top: 20px;
}

.tab {
    background-color: #000000;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    font-weight: bold;
    color: #004d40;
    border-radius: 5px;
    transition: 0.3s;
}

.tab.active,
.tab:hover {
    background-color: #004d40;
    color: white;
}

.tab-content {
    display: none;
    margin-top: 30px;
}

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

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding: 0 20px;
}

.gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* certificates.css */
.certificates-section {
    padding: 60px 20px;
    background: #0e0c0c;
    text-align: center;
}

.certificates-section h2 {
    font-size: 2.5rem;
    color: #00695c;
}

.tabs {
    margin-top: 20px;
}

.tab {
    background-color: #000000;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    font-weight: bold;
    color: #004d40;
    border-radius: 5px;
    transition: 0.3s;
}

.tab.active,
.tab:hover {
    background-color: #004d40;
    color: rgb(0, 0, 0);
}

.tab-content {
    display: none;
    margin-top: 30px;
}

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

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding: 0 20px;
}

.gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* General Styles */
.certificates-section {
    padding: 40px;
    background-color: #000000;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #333;
    font-size: 2rem;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab {
    padding: 10px 30px;
    margin: 0 10px;
    font-size: 1.1rem;
    background-color: #000000;
    color: #333;
    border: 2px solid #07d84d;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.tab:hover {
    background-color: #077b32;
    color: white;
    transform: scale(1.05);
}

.tab.active {
    background-color: #077b32;
    color: white;
    font-weight: bold;
}

.tab-content {
    display: none;
}

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

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 10px;
}

.gallery img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery img:active {
    transform: scale(0.98);
}

#skills-page {
    padding: 50px 20px;
    text-align: center;
    background-color: #000;
    color: #fff;
}

#skills-page h2 {
    color: #077b32;
    font-size: 3rem;
    margin-bottom: 40px;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.skill {
    background-color: #111;
    padding: 20px;
    border: 1px solid #077b32;
    border-radius: 10px;
    width: 260px;
    box-shadow: 0 0 10px rgba(7, 123, 50, 0.5);
}

.skill h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #77dd77;
}

.progress-bar {
    background-color: #333;
    border-radius: 20px;
    overflow: hidden;
    height: 15px;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    width: 0;
    transition: width 1.5s ease-in-out;
}

.skill p {
    margin: 0;
    font-weight: bold;
    color: #ccc;
}

/* Skill Level Color Scheme */
.progress[data-progress="90"] {
    background-color: #4CAF50;
    /* Green for high skills */
}

.progress[data-progress="85"] {
    background-color: #8BC34A;
    /* Light Green for good skills */
}

.progress[data-progress="80"] {
    background-color: #FF9800;
    /* Orange for intermediate skills */
}

.progress[data-progress="75"] {
    background-color: #FF5722;
    /* Dark Orange for moderate skills */
}

.progress[data-progress="70"] {
    background-color: #0713ff;
    /* Yellow for developing skills */
}

.progress[data-progress="65"] {
    background-color: #FFEB3B;
    /* Light Yellow for beginner skills */
}

.progress[data-progress="60"] {
    background-color: #F44336;
    /* Red for lower skills */
}

.progress[data-progress="50"] {
    background-color: #9E9E9E;
    /* Grey for minimal skills */
}

.projects-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
}

.projects-container h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 600;
    text-transform: uppercase;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 0 10px;
}

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

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

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

.project-info {
    padding: 20px;
    background-color: #fff;
    text-align: left;
    font-size: 1rem;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
}

.project-info p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.project-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    background-color: #07b72a;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.project-btn:hover {
    background-color: #05a21f;
    transform: translateY(-5px);
}

.project-btn:active {
    transform: translateY(2px);
}

.project-card a {
    text-decoration: none;
    color: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* General Body Style */
/* General Body Style */
body {
    background-color: #1a1a1a;
    /* Dark background */
    color: #e0e0e0;
    /* Light text color */
    font-family: Arial, sans-serif;
}

/* Container */
.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

/* Header Section */
h2 {
    color: #00e676;
    /* Green color for headers */
    font-size: 2em;
    text-align: center;
}

/* Tab buttons */
.tabs button {
    background-color: #333;
    /* Dark background for buttons */
    color: #00e676;
    /* Green text color */
    border: 2px solid #00e676;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

.tabs button:hover {
    background-color: #00e676;
    /* Green background on hover */
    color: #333;
    /* Dark text color when hovered */
}

/* Active Tab */
.tabs .active {
    background-color: #00e676;
    /* Active tab green background */
    color: #333;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 20px;
    background-color: #2b2b2b;
    /* Dark background for tab content */
    border-radius: 8px;
    margin-top: 20px;
}

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

/* Gallery Section */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.gallery img {
    max-width: 200px;
    margin: 10px;
    border-radius: 8px;
    border: 2px solid #00e676;
    /* Green border around images */
}

/* Links inside images */
a {
    text-decoration: none;
}

/* Tabs container */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
