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


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    cursor: none;
}

/* Hide elements before reveal */
.reveal-hidden {
    opacity: 0;
}

a,
button,
.social-icons a,
.project-card,
.skill-card,
.cert-card,
.experience-card {
    cursor: none;
}

.menu-icon {
    display: none;
    cursor: none;
}

html {
    font-size: 62.5%;
}

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

header {
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 3rem;
    color: #94A378;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover {
    transform: scale(1.1);
}

nav a {
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #94A378;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: #94A378;
}

/* Responsive Header & Nav */
@media (max-width: 995px) {
    header {
        padding: 1.5rem 5%;
    }

    .menu-icon {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        max-width: 400px;
        background-color: #161616;
        border-left: 3px solid #94A378;
        border-bottom: 3px solid #94A378;
        border-bottom-left-radius: 2rem;
        padding: 2rem;
        display: none;
        flex-direction: column;
        align-items: center;
        z-index: 150;
        box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.5);
    }

    nav.active {
        display: flex;
    }

    nav a {
        display: block;
        margin: 1.5rem 0;
        font-size: 2rem;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.4rem;
    }

    nav {
        width: 100%;
        max-width: 100%;
        border-bottom-left-radius: 0;
        border-left: none;
    }
}

section {
    min-height: 100vh;
    padding: 5rem 9% 5rem;
    scroll-margin-top: 8rem;
    /* Added to offset fixed header */
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: transparent;
    padding-top: 12rem;
    margin-left: 5rem;
    scroll-margin-top: 0;

}

.home.home-content h1 {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-left: 1rem;
}

span {
    color: #94A378;
}

.home-content h3 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-weight: 700;
    margin-left: 1rem;
}

.home-content p {
    font-size: 1.6rem;
}

.home-img {
    border-radius: 50%;
}

.home-img {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 5px solid #94A378;
    padding: 7px;
    width: 38vw;
    height: 25vw;
    overflow: hidden;
    box-shadow: 0 0 25px #94A378;
    animation: pulseGlow 3s infinite ease-in-out;
    margin-top: 2rem;
}

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

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


@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 15px #94A378;
    }

    50% {
        box-shadow: 0 0 40px #94A378;
    }

    100% {
        box-shadow: 0 0 15px #94A378;
    }
}


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

.home-img img:hover {
    font-size: 1.8rem;
    font-weight: 500;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #94A378;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #94A378;
}

.social-icons a:hover {
    color: black;
    transform: translateY(-5px) scale(1.2);
    background-color: #94A378;
    box-shadow: 0 0 20px rgba(148, 163, 120, 0.3);
}

.btn {
    display: inline-block;
    padding: 1.2rem 3.2rem;
    font-size: 1.6rem;
    color: #94A378;
    background-color: black;
    border: 2px solid #94A378;
    border-radius: 4rem;
    letter-spacing: 0.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: btnFloat 4s ease-in-out infinite, btnGlow 3s ease-in-out infinite;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(148, 163, 120, 0.2),
            transparent);
    transition: all 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: #94A378;
    color: black;
    box-shadow: 0 0 35px rgba(148, 163, 120, 0.8), 0 0 15px rgba(148, 163, 120, 0.4);
    transform: translateY(-8px) scale(1.05);
}

@keyframes btnFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes btnGlow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 4px 25px rgba(148, 163, 120, 0.2);
    }
}


.typing-text {
    font-weight: 600;
    font-size: 34px;
    min-width: 280px;
}

.typing-text span {
    position: relative;
}

.typing-text span::before {
    content: "Student";
    color: #94A378;
    animation: words 20s infinite;
}

.typing-text span::after {
    content: "";
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    background-color: black;
    border-left: 3px solid #94A378;
    right: -8px;
    animation: typing 2s steps(14) infinite, cursor 0.6s infinite;
}

@keyframes cursor {
    50% {
        border-left-color: transparent;
    }
}

@keyframes typing {

    0%,
    100% {
        width: 100%;
    }

    30%,
    70% {
        width: 0;
    }
}

@keyframes words {

    0%,
    10% {
        content: "Student";
    }

    11%,
    20% {
        content: "Tech Enthusiast";
    }

    21%,
    30% {
        content: "Web Developer";
    }

    31%,
    40% {
        content: "Frontend Developer";
    }

    41%,
    50% {
        content: "Web Designer";
    }

    51%,
    60% {
        content: "Programmer";
    }

    61%,
    70% {
        content: "Student";
    }

    71%,
    80% {
        content: "Tech Enthusiast";
    }

    81%,
    90% {
        content: "Web Developer";
    }

    91%,
    100% {
        content: "Frontend Developer";
    }
}

/* Responsive Home Section */
@media (max-width: 1024px) {
    .home {
        gap: 4rem;
        padding-top: 10rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-content h3 {
        font-size: 3rem;
    }

    .home-img {
        width: 45vw;
        height: 45vw;
        max-width: 350px;
        max-height: 350px;
    }
}

@media (max-width: 995px) {
    .home {
        flex-direction: column-reverse;
        margin: 5rem 0;
        text-align: center;
        gap: 2rem;
    }

    .home-content h1 {
        margin-left: 0;
    }

    .home-content h3 {
        margin-left: 0;
        font-size: 2.8rem;
    }

    .home-img {
        width: 60vw;
        height: 60vw;
        margin-top: 2rem;
    }

    .social-icons a {
        margin: 2rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .home {
        padding: 8rem 5% 4rem;
    }

    .home-content h1 {
        font-size: 3.5rem;
    }

    .home-content h3 {
        font-size: 2.2rem;
    }

    .home-img {
        width: 70vw;
        height: 70vw;
    }
}



/* About Section */
.about-section {
    background-color: transparent;
    padding: 15rem 10%;
    color: var(--text-color);
}



.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5rem;
}


.about-text {
    flex: 1;
    min-width: 300px;
}


@keyframes slideInLeft {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.about-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--main-color);
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}


.about-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.about-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    animation: pulseGlow 3s infinite ease-in-out;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color);
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 25px #94A378;
    }

    50% {
        box-shadow: 0 0 50px #94A378;
    }
}

@media (max-width: 995px) {
    .about-section {
        padding: 8rem 5%;
    }

    .about-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 3rem;
    }

    .about-image {
        justify-content: center;
    }

    .about-text h1 {
        font-size: 3rem;
    }

    .about-text p {
        font-size: 1.4rem;
    }

    .about-image img {
        width: 60vw;
        height: 60vw;
        max-width: 300px;
        max-height: 300px;
    }
}



/* Education Section */
.education-section {
    background-color: transparent;
    padding: 10rem 10%;
    color: var(--text-color);
    text-align: center;
}

.education-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 5rem;
    position: relative;
}

.education-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.education-card {
    background-color: #161616;
    border-left: 5px solid #94A378;
    border-radius: 1rem;
    padding: 2.5rem;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 0 20px rgba(148, 163, 120, 0.3);
    transition: 0.3s ease;
    text-align: left;
}

.education-card h3 {
    font-size: 2.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.8rem;
}

.education-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px #94A378;
}

.edu-institute {
    font-size: 1.6rem;
    color: #94A378;
    margin-bottom: 0.5rem;
}

.edu-desc {
    font-size: 1.4rem;
    color: #ccc;
    line-height: 1.7;
}

.edu-result {
    font-size: 1.4rem;
    color: #ccc;
    margin-top: 0.5rem;
}

/* Responsive Education Section */
@media (max-width: 992px) {
    .education-section {
        padding: 8rem 5%;
    }

    .education-title {
        font-size: 3.5rem;
        margin-bottom: 4rem;
    }

    .education-card {
        padding: 2.2rem;
    }

    .education-card h3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .education-title {
        font-size: 3rem;
    }

    .education-card {
        padding: 2rem;
    }

    .education-card h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .education-section {
        padding: 6rem 5%;
    }

    .education-title {
        font-size: 2.8rem;
    }

    .education-card {
        padding: 1.8rem;
        border-left-width: 4px;
    }

    .education-card h3 {
        font-size: 1.8rem;
    }

    .edu-institute,
    .edu-year,
    .edu-desc,
    .edu-result {
        font-size: 1.3rem;
    }
}

/*  Projects Section  */
.projects-section {
    background-color: transparent;
    color: #ededed;
    padding: 15rem 10%;
}

.projects-text h1 {
    font-size: 3.5rem;
    color: #94A378;
    margin-bottom: 1rem;
}

.projects-text p {
    font-size: 1.5rem;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 5rem;
}

.projects-container {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.project-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background-color: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.card-media {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 1rem;
    backdrop-filter: blur(2px);
}

.play-overlay i {
    font-size: 4rem;
    color: #94A378;
    filter: drop-shadow(0 0 10px rgba(148, 163, 120, 0.5));
}

.play-overlay span {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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


.card-links {
    margin-top: auto;
    padding: 0 2rem 2rem;
    display: flex;
    justify-content: center;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.6rem;
    background-color: #242424;
    color: #94A378;
    border: 1px solid #94A378;
    border-radius: 2rem;
    font-size: 1.3rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.github-link:hover {
    background-color: #94A378;
    color: black;
    box-shadow: 0 0 15px rgba(148, 163, 120, 0.4);
}


.project-card h3 {
    font-size: 2rem;
    color: #94A378;
    margin-bottom: 1.5rem;
    text-align: center;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.project-tech-stack span {
    background-color: rgba(148, 163, 120, 0.1);
    border: 1px solid rgba(148, 163, 120, 0.3);
    color: #94A378;
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.project-tech-stack span:hover {
    transform: scale(1.1);
    background-color: #94A378;
    color: black;
    box-shadow: 0 0 15px #94A378;
    border-color: #94A378;
}


.project-card p {
    font-size: 1.2rem;
    color: #ccc;
}


.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(148, 163, 120, 0.25);
}

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


/* Responsive Projects Section */
@media (max-width: 1024px) {
    .projects-section {
        padding: 8rem 5%;
    }

    .projects-container {
        justify-content: center;
        gap: 2.5rem;
    }

    .project-card {
        width: calc(50% - 2.5rem);
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .projects-text h1 {
        font-size: 3rem;
    }

    .projects-container {
        flex-direction: column;
        align-items: center;
    }

    .project-card {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .projects-section {
        padding: 6rem 5%;
    }

    .projects-text h1 {
        font-size: 2.8rem;
    }

    .projects-text p {
        font-size: 1.3rem;
        margin-bottom: 3rem;
    }

    .project-card h3 {
        font-size: 1.8rem;
    }
}

.contact-section {
    background-color: transparent;
    padding: 12rem 10%;
    color: #ededed;
    text-align: center;
}

.contact-section h1 {
    font-size: 3.5rem;
    color: #94A378;
    margin-bottom: 4rem;
    font-weight: 700;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 5rem;
    text-align: left;

}

.contact-info {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.contact-info h3 {
    font-size: 2rem;
    color: #94A378;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 2rem;
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info i {
    font-size: 1.8rem;
    color: #94A378;
}

.contact-info a {
    color: #94A378;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #94A378;
    text-decoration: underline;
    animation: pulseGlow 1s infinite ease-in-out;
}


.contact-socials {
    margin-top: 3rem;
}

.contact-socials a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #94A378;
    font-size: 2rem;
    border-radius: 50%;
    margin: 1rem;
    transition: 0.3s ease;
    color: #94A378;
}

.contact-socials a:hover {
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: #94A378;
    box-shadow: 0 0 25px #94A378;
}


.contact-form {
    flex: 1;
    min-width: 120px;
    background-color: #161616;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(148, 163, 120, 0.3);
    transition: 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 0 30px #94A378;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    background-color: #0b0b0b;
    border: 2px solid #94A378;
    border-radius: 0.5rem;
    font-size: 1.4rem;
    color: #ededed;
    transition: 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #94A378;
    /* Focus glow */
    box-shadow: 0 0 10px #94A378;
}

.contact-form textarea {
    resize: none;
    height: 70px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #ededed;
    padding-top: 1rem;
}

.contact-form button {
    background-color: transparent;
    color: #94A378;
    border: 2px solid #94A378;
    padding: 1rem 2.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 4rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background-color: #94A378;
    color: black;
    box-shadow: 0 0 25px #94A378;
    transform: scale(1.05);
}

/* Responsive Contact Section */
@media (max-width: 1024px) {
    .contact-section {
        padding: 8rem 5%;
    }

    .contact-content {
        gap: 4rem;
    }
}

@media (max-width: 900px) {
    .contact-section h1 {
        font-size: 3rem;
        margin-bottom: 3rem;
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info {
        text-align: center;
        width: 100%;
        min-width: unset;
    }

    .contact-info p {
        justify-content: center;
        font-size: 1.8rem;
    }

    .contact-socials {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }

    .contact-form {
        width: 100%;
        max-width: 600px;
        transform: none;
        animation: slideInUp 1s forwards;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 6rem 5%;
    }

    .contact-section h1 {
        font-size: 2.8rem;
    }

    .contact-info p {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.experience-section {
    background-color: transparent;
    padding: 12rem 10%;
    color: #ededed;
    text-align: center;
}

.experience-title {
    font-size: 4rem;
    font-weight: 700;
    color: #94A378;
    margin-bottom: 5rem;
    transform: translateY(100%);
    animation: slideInLeft 1s forwards;
}

.experience-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    transform: translateX(100%);
    animation: slideInLeft 1s forwards;
}

.experience-card {
    background-color: #161616;
    border-left: 5px solid #94A378;
    border-radius: 1rem;
    padding: 2.5rem;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 0 20px rgba(148, 163, 120, 0.3);
    text-align: left;
    transition: 0.3s ease;
}

.experience-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px #94A378;
}

.experience-card h3 {
    font-size: 2.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.8rem;
}

.exp-company {
    font-size: 1.6rem;
    color: #94A378;
    margin-bottom: 0.5rem;
}

.exp-year {
    font-size: 1.4rem;
    color: #aaa;
    margin-bottom: 1.2rem;
}

.exp-desc {
    font-size: 1.4rem;
    color: #ccc;
    line-height: 1.7;
}

/* Responsive Experience Section */
@media (max-width: 992px) {
    .experience-section {
        padding: 8rem 5%;
    }

    .experience-title {
        font-size: 3.5rem;
        margin-bottom: 4rem;
    }

    .experience-card {
        padding: 2.2rem;
    }

    .experience-card h3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .experience-title {
        font-size: 3rem;
    }

    .experience-card {
        padding: 2rem;
    }

    .experience-card h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .experience-section {
        padding: 6rem 5%;
    }

    .experience-title {
        font-size: 2.8rem;
    }

    .experience-card {
        padding: 1.8rem;
        border-left-width: 4px;
    }

    .experience-card h3 {
        font-size: 1.8rem;
    }

    .exp-company,
    .exp-year,
    .exp-desc {
        font-size: 1.3rem;
    }
}



/* Global Typography Scaling */
@media (max-width: 1200px) {
    html {
        font-size: 58%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 52%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%;
    }
}


/* Skills Section */
.skills-section {
    padding: 10rem 10%;
    text-align: center;
}

.skills-title {
    font-size: 40px;
    font-weight: 700;
    color: #94A378;
    margin-bottom: 6rem;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.2rem;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-card:hover {
    transform: translateY(-8px);
    background-color: black;
    border-color: #94A378;
    box-shadow: 0 10px 30px rgba(148, 163, 120, 0.3);
}

.skill-card i {
    font-size: 5rem;
    margin-bottom: 0.5rem;
}

.skill-card h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: white;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.skill-card p {
    font-size: 1.3rem;
    color: #888;
    line-height: 1.5;
    max-width: 180px;
}

/* Brand Colors for Icons */
.java-icon {
    color: #f89820;
}

.cpp-icon {
    color: #00599c;
}

.web-icon {
    color: #e34f26;
}

.db-icon {
    color: #336791;
}

.tools-icon {
    color: #888888;
}

.certifications-section {
    background-color: transparent;
    padding: 12rem 10%;
    color: white;
    text-align: center;
}

.certifications-title {
    font-size: 4rem;
    font-weight: 700;
    color: #94A378;
    margin-bottom: 5rem;
    transform: translateY(100%);
    animation: slideInLeft 1s forwards;
}

.certifications-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    transform: translateX(100%);
    animation: slideInLeft 1.2s forwards;
}

.cert-card {
    background-color: #161616;
    border-left: 5px solid #94A378;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 300px;
    width: 100%;
    box-shadow: 0 0 20px rgba(148, 163, 120, 0.3);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #94A378;
}

.cert-card h3 {
    font-size: 2rem;
    color: #94A378;
    margin-bottom: 0.5rem;
}

.cert-card p {
    font-size: 1.4rem;
    color: #ccc;
    line-height: 1.6;
}

/* Responsive */
/* Responsive Skills & Certifications */
@media (max-width: 1024px) {

    .skills-section,
    .certifications-section {
        padding: 8rem 5%;
    }

    .skills-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    .skills-title,
    .certifications-title {
        font-size: 3.2rem;
        margin-bottom: 4rem;
    }

    .skills-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .certifications-container {
        gap: 2rem;
    }

    .cert-card {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {

    .skills-section,
    .certifications-section {
        padding: 6rem 5%;
    }

    .skills-title,
    .certifications-title {
        font-size: 2.8rem;
    }

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

    .skill-card {
        padding: 2.5rem 1.5rem;
    }

    .skill-card i {
        font-size: 3.5rem;
    }

    .skill-card h3 {
        font-size: 1.5rem;
    }

    .skill-card p {
        font-size: 1.1rem;
    }

    .cert-card h3 {
        font-size: 1.8rem;
    }

    .cert-card p {
        font-size: 1.2rem;
    }
}

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

.cert-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cert-card .cert-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 1rem;
}


.cert-card:hover .cert-image {
    display: block;
}


#cert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#cert-overlay img {
    max-width: 90%;
    max-height: 90%;
    border: 5px solid #94A378;
    box-shadow: 0 0 50px #94A378;
    border-radius: 1rem;
}

/* Cursor Styles */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #94A378;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 1000;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 3px solid #94A378;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-out;
}

.cursor-dot.active {
    width: 50px;
    height: 50px;
    background-color: rgba(148, 163, 120, 0.2);
    border: 1px solid #94A378;
}

.cursor-outline.active {
    width: 40px;
    height: 40px;
    opacity: 0;
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background-color: #111;
    border: 1px solid #333;
    border-radius: 1.5rem;
    overflow: hidden;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10002;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background-color: #94A378;
    color: black;
    transform: rotate(90deg);
}

.video-container {
    padding: 0;
    background: black;
    aspect-ratio: 16 / 9;
}

.video-container video {
    width: 100%;
    height: 100%;
    display: block;
}

body.modal-open {
    overflow: hidden;
}

#welcome-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    overflow: hidden;
}

.intro-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0 2rem;
    text-align: center;
}

.intro-text span {
    font-size: clamp(3rem, 15vw, 12rem);
    font-weight: 300;
    color: white;
    letter-spacing: 0.1em;
    display: inline-flex;
    opacity: 0;
    filter: blur(15px);
    transform: translateY(30px);
}

.intro-text span:empty {
    width: 2rem;
}

@media (max-width: 768px) {
    .intro-text {
        gap: 0.8rem;
    }

    .intro-text span:empty {
        width: 1.5rem;
    }
}

@media (max-width: 480px) {
    .intro-text {
        gap: 0.5rem;
        padding: 0 1.5rem;
    }

    .intro-text span {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
        letter-spacing: 0.02em;
    }

    .intro-text span:empty {
        width: 1rem;
    }
}

@media (max-width: 360px) {
    .intro-text {
        gap: 0.3rem;
        padding: 0 1rem;
    }

    .intro-text span {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .intro-text span:empty {
        width: 0.8rem;
    }
}

.intro-text span {
    font-size: clamp(3rem, 15vw, 12rem);
    font-weight: 300;
    color: white;
    letter-spacing: 0.1em;
    display: inline-flex;
    opacity: 0;
    filter: blur(15px);
    transform: translateY(30px);
}

.intro-text span:empty {
    width: 2rem;
}

@media (max-width: 768px) {
    .intro-text {
        gap: 1rem;

    }
}