* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: #ffffff;
    color: #333;
    body {
    margin-top: 70px; /* Adjust to navbar height */
}

}

/* NAVBAR */
.navbar {
    position:static; 
    top: 0;              /* REQUIRED */
    left: 0;             /* REQUIRED */
    width: 100%;         /* REQUIRED */
    z-index: 1000;       /* Keeps it above content */

    background: #0f7b6c;
    color: white;
    padding: 15px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.navbar .logo {
    font-size: 30px;
    font-weight: 600;
}

/* NAV LINKS */
.navbar nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    font-size: 19px;
}

.navbar nav a:hover {
    opacity: 0.8;
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 80px 80px;
    gap: 80px;
}

/* LEFT IMAGE */
.image-wrapper {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #0f7b6c;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(15, 123, 108, 0.4);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* RIGHT CONTENT */
.hero-right h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.hero-right h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-right h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.hero-right h2 span {
    color: #0f7b6c;
    font-weight: 600;
}

.hero-right p {
    max-width: 520px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #555;
}

/* SOCIAL ICONS */
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid #0f7b6c;
    color: #0f7b6c;
    border-radius: 50%;
    margin-right: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #0f7b6c;
    color: white;
}

/* BUTTON */
.btn {
    margin-top: 25px;
    padding: 12px 28px;
    border: none;
    background: #0f7b6c;
    color: white;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
}

.btn:hover {
    background: #0c665a;
}

#role {
    color: #0f7b6c;
    font-weight: 600;
    border-right: 2px solid #0f7b6c;
    padding-right: 5px;
    animation: blink 0.8s infinite;
}

/* About Section */
.about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #dffffb;
    justify-content: space-between;
    padding: 0 6%;
}

.about-content {
    max-width: 550px;
    display: flex;
    flex-direction: column;
}

#readMoreBtn {
    align-self: flex-start;
}

.about-content h1 {
    font-size: 62px;
    font-weight: 800;
    color: #000;
}

.about-content h1 span {
    color: #008b7d;
}

.about-content h2 {
    font-size: 40px;
    margin: 15px 0;
    font-weight: 700;
}

.about-content h2 span {
    color: #008b7d;
}

.about-content p {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    margin: 3px 0 2px;
}

.btn {
    padding: 12px 28px;
    background-color: #008b7d;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background-color: #006f65;
}

.about-image {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 139, 125, 0.6);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.extra-content {
    margin-top: 12px;
    padding: 6px;
    background-color: #dffffb;
    border-radius: 12px;
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.extra-content h3 {
    color: #008b7d;
    margin-bottom: 10px;
    font-size: 27px;
}

.extra-content h3 i {
 margin-right: 5px;
}

.extra-content ul {
    padding-left: 50px;
    list-style: square;
}

.extra-content ul li {
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 400;
    color: #333;
}

/* Skills Section */
.skills {
    min-height: 100vh;
    background-color:  #cffef8;
    padding: 80px 8%;
    display: flex;
    align-items: center;
}

.skills-content {
    width: 100%;
}

.skills-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.skills-content h1 span {
    color: #008b7d;
}

.skills-content p {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 50px;
}

/* Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

/* Skill Card */
.skill-card {
    position: relative;
    background-color: #eafffc;
    border-radius: 18px;
    padding: 35px 20px 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(1, 58, 52, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.skill-card:hover {
    transform: translateY(-25px);
    box-shadow: 0 12px 30px rgba(0, 91, 82, 0.947);
}

.tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tag.tech {
    background-color: #008b7d;
}

.tag.tool {
    background-color: #005f57;
}

.tag i {
    font-size: 12px;
}

/* Skill Logo */
.skill-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 25px 0 12px;
}

/* Skill Name */
.skill-name {
    display: block;
    font-size: 25px;
    font-weight: 700;
    color: #008b7d;
}

/* Certifications Section */
.certifications {
    min-height: 100vh;
    background-color: #bdfaf2;
    padding: 0px 0px 20px 30px;
    display: flex;
    align-items: center;
}

.cert-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 12px;   /*reduced gap  */
    margin-left: 40%;
} 

.cert-content h1 span {
    color: #008b7d;
}

.cert-content p {
    margin-top: 0;        /* remove default top margin */
    margin-bottom: 30px; /* keep space before cards */
    color: #333;
    font-weight: 600;
}

/* Carousel Container */
.carousel-container {
    width: 199vh;
    height: 52vh;
    border-radius: 18px;
    background-color: #cffef8;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 35px;
}

/* Card MUST NOT SHRINK */
.cert-card {
    width: 440px;
    height: 320px;
    flex-shrink: 0;
    border-radius: 18px;
    border: 6px solid #008b7d;
    margin-top: 2%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 20px rgba(1,58,52,0.25);
}

/* Certificate Image */
.cert-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */
.cert-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 139, 125, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.4s ease;
}

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

/* View Button */
.view-btn {
    background: white;
    color: #008b7d;
    padding: 10px;
    border-radius: 40%;
    cursor: pointer;
    font-size: 16px;
}

/* Modal */
.cert-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.cert-modal img {
    max-width: 100%;
    max-height: 100%;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

/* Projects Section */
.projects {
    min-height: 100vh;
    background-color: #aafaee;
    padding: 80px 8%;
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 60px;
}

.section-title span {
    color: #008b7d;
}

.section-desc {
    margin-top: 0;        /* remove default top margin */
    margin-bottom: 30px; /* keep space before cards */
    color: #333;
    font-weight: 600;
}
/* Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

/* Card */
.project-card {
    position: relative;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 139, 125, 0.35);
    cursor: pointer;
    text-align: center;
}

/* Thumbnail */
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.6s ease;
}

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

/* Overlay */
.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 139, 125, 0.92);
    color: #fff;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* Text */
.project-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-overlay p {
    font-size: 14px;
    line-height: 1.6;
}

/* Links */
.project-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.icon-btn {
    width: 55px;
    height: 45px;
    color: #060606;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: 0.3s;
    text-decoration: none;

}

.icon-btn:hover {
    background: #004f49;
    color: #fff;
    transform: translateY(-5px);
}

/* Filter Buttons */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 25px;
    background: #eafffc;
    color: #008b7d;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0, 139, 125, 0.2);
}

.filter-btn:hover,
.filter-btn.active {
    background: #008b7d;
    color: #fff;
}

/* Contact Section */
.contact {
    min-height: 100vh;
    background-color: #93fcee;
    padding: 80px 8%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-container {
    width: 100%;
    max-width: 620px;
    padding: 45px 40px;
    text-align: center;

    /* Glassmorphism */
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 20px 40px rgba(0, 139, 125, 0.35);
}


/* Title */
.contact-container h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-container h1 span {
    color: #008b7d;
}

/* Description */
.contact-desc {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    outline: none;
    font-size: 15px;

    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #004f49;
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.08);
}

.contact-form textarea {
    resize: none;
}

/* Button */
.contact-form .btn {
    background: linear-gradient(135deg, #008b7d, #00b3a4);
    box-shadow: 0 10px 25px rgba(0, 139, 125, 0.45);
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 139, 125, 0.6);
}


/* Status Message */
.form-status {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #008b7d;
}


/* Hide animation */
.project-card {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Footer Section */
.footer {
    background: linear-gradient(135deg, #bff7ee, #9be6d8, #6fd2c1);
    padding: 70px 8% 30px;
    color: #003c38;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(0, 139, 125, 0.3);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    filter: blur(120px);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #004f49;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #008b7d;
    padding-left: 5px;
}

/* updated */
.footer-col ul li a,
.footer-bottom a {
    position: relative;
    text-decoration: none;
    color: #003c38;
    font-size: 14px;
    transition: color 0.3s ease;
}

/* Underline Animation */
.footer-col ul li a::after,
.footer-bottom a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #008b7d;
    transition: width 0.3s ease;
}

.footer-col ul li a:hover,
.footer-bottom a:hover {
    color: #008b7d;
}

.footer-col ul li a:hover::after,
.footer-bottom a:hover::after {
    width: 100%;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: rgba(0, 139, 125, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 139, 125, 0.4);
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    background: #004f49;
}


/* Bottom Links */
.footer-bottom {
    text-align: right;
    margin-top: 40px;
    font-size: 13px;
}

.footer-bottom a {
    margin-left: 18px;
    text-decoration: none;
    color: #004f49;
    transition: 0.3s;
}

.footer-bottom a:hover {
    color: #008b7d;
}

copyright {
    font-size: 12px;
    margin-top: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes blink {
    50% {
        border-color: transparent;
    }
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-right p {
        margin: auto;
    }
}
