@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body{
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #0f3a2e 0%, #1a4f3d 50%, #0d2b20 100%);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 25px 10%;
    background: rgba(15, 58, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}
.logo {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 27px;
    cursor: default;
    animation: slideLeft 1s ease forwards;
    opacity: 0;
}
.navbar a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    padding: 0px 16px;
    font-weight: 600;
    transition: 0.3s all;
    animation: navMenu 1s ease forwards;
    animation-delay: calc(0.2s * var(--i));
    opacity: 0;
}
.navbar a:hover,
.navbar a.active {
    color: rgb(35, 207, 23);
    background: rgba(35, 207, 23, 0.1);
}
/* -- **>> Section Styles **>> -- */
.section {
    min-height: 100vh;
    padding: 120px 10% 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* -- **>> Home Section **>> -- */
#home {
    background: linear-gradient(135deg, #0f3a2e 0%, #1a4f3d 50%, #0d2b20 100%);
}
/* -- **>> Hero Section **>> -- */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 25px 10%;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
}
.info-side h3{
    font-size: 30px;
    font-weight: 700;
    margin: 10px 0;
    letter-spacing: 1px;
}
.info-side h1{
    font-size: 75px;
    letter-spacing: 1px;
    font-weight: 700;
    animation: slideRight 0.5s ease forwards;
    opacity: 0;
    animation-delay: 1s;
}
.info-side h3 span {
    color: #23cf17;
}
.part-1 {
    animation: part1 1s ease forwards;
    opacity: 0;
}
.part-2 {
    animation: part2 1s ease forwards;
    opacity: 0;
}
p {
    line-height: 27px;
    margin: 20px 0 40px 0;
    line-height: 1.6;
    animation: slideLeftP 1s ease forwards;
    opacity: 0;
    animation-delay: 1.2s;
}
.social-icons {
    display: flex;
    gap: 0;
    margin: 2rem 0;
    align-items: center;
    justify-content: flex-start;
}
.hero-img {
    display: flex;
    justify-content: center;
    align-items: center;
}
.social-icons a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    margin: 0 8px;
}
.hero-img img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 450px;
    height: 500px;                 
    border-radius: 50%;         
    border: 5px solid #23cf17;  
    object-fit: cover; 
    animation: zoomIn 1s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}
.social-icons i {
    position: relative;
    border: 2px solid #23cf17;
    padding: 10px;
    border-radius: 50%;
    color: #23cf17;
    transition: 0.3s;
    animation: socialIcons 1s ease forwards;
    animation-delay: calc(0.3s * var(--i));
    opacity: 0;
    display: block;
    font-size: 20px;
}
.social-icons i:hover{
    box-shadow: 0 0 20px #23cf17;
}
.social-icons a::after {
    content: attr(data-label);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    border: 1px solid #23cf17;
}
.social-icons a:hover::after {
    opacity: 1;
    visibility: visible;
}
.btn{
    background-color: #23cf17;
    margin-top: 20px;
    padding: 20px 70px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
    box-shadow: 0 0 15px #23cf17;
    animation: slideUp 1s ease forwards;
    animation-delay: 1.5s;
    opacity: 0;
    color: white;
}
.btn:hover{
    box-shadow: none;
    transform: translateY(-2px);
}
/* -- **>> Education Section **>> -- */
#education{
    background-color: #e9ede8;
    color: #333;
}
/* -- **>> Certifications Section **>> -- */
#certifications{
    background-color: #e9ede8;
    color: #333;
}
/* -- **>> Skills Section **>> -- */
#skills{
    background-color: #e9ede8;
    color: #333;
}
/* -- **>> Projects Section **>> -- */
#projects{
    background-color: #e9ede8;
    color: #333;
}
/* -- **>> Services Section **>> -- */
#services{
    background-color: #e9ede8;
    color: #333;
}
/* -- **>> Section Content General Styles **>> -- */
.section-content {
    width: 100%;
    max-width: 1200px;
    text-align: center;
}
.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f3a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #23cf17, #0f3a2e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(35, 207, 23, 0.3);
}
.section-subtitle {
    font-size: 18px;
    margin-bottom: 50px;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.section-links {
    display: flex;
    gap: 15px;
}
.section-link {
    color: #23cf17;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}
.section-link:hover {
    color: #0f3a2e;
}
/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.education-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.education-card:hover {
    transform: translateY(-10px);
}
.education-year {
    color: #23cf17;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}
.education-degree {
    font-size: 20px;
    font-weight: 600;
    color: #0f3a2e;
    margin-bottom: 10px;
}
.education-school {
    color: #666;
    margin-bottom: 15px;
}
/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.skills-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.skills-category h3 {
    color: #0f3a2e;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}
.skills-list {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}
.skills-list strong {
    color: #0f3a2e;
    font-weight: 600;
}
.skills-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.skills-card:hover {
    transform: translateY(-10px);
}
/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.project-card:hover {
    transform: translateY(-10px);
}
.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #23cf17, #0f3a2e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 600;
}
.project-content {
    padding: 25px;
}
.project-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f3a2e;
    margin-bottom: 10px;
}
.project-description {
    color: #666;
    margin-bottom: 20px;
}
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.tech-tag {
    background: #e9ede8;
    color: #0f3a2e;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.project-links {
    display: flex;
    gap: 15px;
}
.project-link {
    color: #23cf17;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}
.project-link:hover {
    color: #0f3a2e;
}
/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
}
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #23cf17, #0f3a2e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}
.service-title {
    font-size: 22px;
    font-weight: 600;
    color: #0f3a2e;
    margin-bottom: 15px;
}
.service-description {
    color: #666;
    line-height: 1.6;
}
/* Contact Section */
#contact {
    background-color: #e9ede8;
    color: #333;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}
.contact-info {
    text-align: left;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.contact-icon {
    width: 60px;
    height: 60px;
    background: #23cf17;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}
.contact-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #0f3a2e;
}
.contact-details p {
    color: #666;
    margin: 0;
}
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #0f3a2e;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    color: #333;
    font-family: inherit;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}
.form-group textarea {
    height: 120px;
    resize: vertical;
}
.submit-btn {
    background: #23cf17;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.submit-btn:hover {
    background: #1ea014;
    transform: translateY(-2px);
}
/* Styles for validation messages */
.error-message {
    color: #e74c3c; /* Red color for errors */
    font-size: 14px;
    margin-top: 5px;
    text-align: left;
    display: none; /* Hidden by default */
}

.form-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    display: none; /* Hidden by default */
}

.form-message.success {
    background-color: #d4edda; /* Light green for success */
    color: #155724; /* Dark green text */
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da; /* Light red for general errors */
    color: #721c24; /* Dark red text */
    border: 1px solid #f5c6cb;
}
/* Footer for Contact Info */
.contact-footer {
    background: linear-gradient(135deg, #0f3a2e 0%, #1a4f3d 50%, #0d2b20 100%);
    padding: 30px 10%;
    border-top: 3px solid #23cf17;
    text-align: center;
}
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-decoration: none; /* Ensure it's not underlined if it's an anchor */
}
.footer-contact-item:hover {
    background: rgba(35, 207, 23, 0.2);
    transform: translateY(-2px);
}
.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: #23cf17;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}
.footer-contact-text {
    color: white;
    font-weight: 500;
}
/* -- **>> Responsive Design **>> -- */
@media (max-width: 768px) {
    .header {
        padding: 20px 5%;
    }
    .section {
        padding: 100px 5% 50px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 25px 5%;
    }
    .info-side h1 {
        font-size: 50px;
    }
    .hero-img img {
        width: 300px;
        height: 350px;
    }
    .social-icons {
        justify-content: center;
    }
    .section-title {
        font-size: 36px;
    }
    .navbar {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}
/* -- **>> Animation **>> -- */
@keyframes slideLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes navMenu {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes part1 {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes part2 {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideLeftP {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes socialIcons {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideUp {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes zoomIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
