* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    /* font-family: -apple-system, sans-serif; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --bg-color: #fff;
    --snd-bg-color: #e8b8ec;
    --text-color: #000;
    --main-color: #8a0594;
}


html {
    font-size: 62.5%;
    overflow-x: hidden;

}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

/* body,
p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.6;
} */

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

/* Header Section Code */

.header {
    height: 70px;
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: var(--main-color);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;


    /* Additional  */
    /* backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
    /* For Safari */
    /* background-color: rgba(138, 5, 148, 0.6); */
    /* Semi-transparent background */
}

/* .logo {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bg-color);
    cursor: pointer;
    transition: 0.3s ease;
} */

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out,
        box-shadow 0.3s ease-in-out;
    /* optional: hint the browser to optimize for transforms */
    will-change: transform, filter, box-shadow;

    /* addition */
    filter: drop-shadow(0 0 0 transparent);
}

.logo:hover {
    transform: scale(1.10);
    /* filter: drop-shadow(0 0 8px rgba(255,255,255,0.8)); */
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 5rem;
}

.navbar a {
    font-size: 1.9rem;
    color: var(--bg-color);
    margin-left: 4rem;
    font-weight: 700;
    transition: 0.3s ease;
}

.navbar a:hover {
    color: var(--snd-bg-color);
    transform: translateY(-2px);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--bg-color);
    cursor: pointer;
    display: none;
}

/* Home Section Code    */

.home {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-img img {
    width: 25vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    animation: floatImage 4s ease-in-out infinite;
    transition: 0.4s ease;
}

.home-img img:hover {
    box-shadow: 0 0 25px var(--main-color),
        0 0 35px var(--main-color),
        0 0 45px var(--main-color);

}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2.4rem);
    }

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

.home-content {
    margin-left: 5rem;
}

.home-content h3 {
    font-size: 3.7rem;
    /* color: var(--main-color); */
    font-weight: 700;
    /* margin-bottom: 1rem; */
}

.home-content h2 {
    font-size: 3.7rem;
    /* color: var(--main-color); */
    font-weight: 700;
    /* margin-bottom: 1rem; */
}

.home-content h3:nth-of-type(2) {
    /* color: var(--main-color); */
    margin-bottom: 2rem;
}

span {
    color: var(--main-color);
    /* font-weight: 700; */
}

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

}

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

}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 0.2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;

}

.social-media a:hover {
    background-color: var(--main-color);
    color: var(--bg-color);
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: none;
    font-size: 1.6rem;
    color: var(--bg-color);
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn:hover {
    box-shadow: 0 0 1.6rem var(--main-color);
    transform: scaleX(1.05);
    padding-left: 2.8rem;
    padding-right: 2.8rem;
}

.btn-show:hover {
    box-shadow: 0 0 1.6rem var(--main-color);
    transform: scaleX(1.05);
    padding-left: 2.8rem;
    padding-right: 2.8rem;
}

.btn-show {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: none;
    font-size: 1.6rem;
    color: var(--bg-color);
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto 4rem auto !important;
    width: fit-content !important;

}

/* About Section Code */

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--snd-bg-color);
}

/*  */

.about-img img {
    width: 25vw;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    animation: floatImage 4s ease-in-out infinite;
    transition: 0.4s ease;
}

.about-img img:hover {
    box-shadow: 0 0 25px var(--main-color),
        0 0 35px var(--main-color),
        0 0 45px var(--main-color);

}

.heading {
    font-size: 6rem;
    text-align: center;

}

.about-content {
    position: relative;
    /* 1) establish a positioning context */
    padding: 0 0.1rem;
    padding-bottom: 4rem;
    /* 2) leave room at the bottom for the button */
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

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

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 0.5rem;
}

.about-content #about-text {
    margin: 2.5rem 0 -2.5rem;
}

/* Projects Section Code */

/* .projects {
    display: flex;
    /* justify-content: center; */
/* align-items: center;
} */

.projects h2 {
    text-align: center;
    margin-top: 10rem;
    margin-bottom: 10rem;
    margin-top: auto;
}

.projects-container {
    display: flex;
    justify-content: center;
    /* align-items: stretch; */
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;

    /* overflow: hidden; */
    /* ↓ added */
    transition: all 0.5s ease;
}

.projects {
    background-color: var(--snd-bg-color);
}

.projects-box .btn {
    /* margin-bottom: auto; */
    margin-top: 3rem;
    /* align-self: center; */
}



.projects-container .projects-box {
    display: flex;
    flex-direction: column;
    flex: 1 1 30rem;
    background: rgba(255, 255, 255, 0.933);
    padding: 2.5rem 2rem 7rem;
    border-radius: 2rem;
    text-align: center;
    border: 0.3rem solid var(--main-color);
    transition: 0.3s ease;
    cursor: pointer;
    margin-bottom: 10rem;
    /* height: auto; */

    justify-content: space-between;
    /* align-items: center; */


}

.projects-container .projects-box:hover {
    /* transform: translateY(-2px);
    box-shadow: 0 0 25px var(--main-color); */
    box-shadow: 0 0 25px var(--main-color),
        0 0 35px var(--main-color),
        0 0 45px var(--main-color);
    transform: scale(1.02);
}

/* .projects-box i {
    font-size: 7rem;
    color: var(--main-color);
} */

.projects-box img {
    width: 100%;
    height: 19rem;
    border-radius: 2rem;
}

.projects-box h3 {
    font-size: 2rem;
    margin: 1rem 0 3rem;
}

.projects-box p {

    margin-top: 2rem;
    font-size: 1.6rem;
    text-align: center;

    display: -webkit-box;
    /* ↓ added */
    -webkit-box-orient: vertical;
    /* ↓ added */
    -webkit-line-clamp: 3;
    /* ↓ added */
    line-clamp: 3;
    /* standard property for compatibility */
    overflow: hidden;
}

.projects-box p {
    position: relative;
    /* ensure the mask only covers the text area */
    padding-bottom: 1.5em;
    /* clip the bottom of the paragraph with a gradient mask */
    -webkit-mask-image: linear-gradient(to bottom,
            black 29%,
            transparent);
    mask-image: linear-gradient(to bottom,
            black 29%,
            transparent);
    /* hide overflow so the faded area doesn’t produce scrollbars */
    overflow: hidden;
}


.projects-box .btn {
    margin-top: 3rem;

}


#project3 h3 {
    margin-top: 6.4rem;
}

/* .show {
    position: relative;
    margin-bottom: 4rem;
    /* transform: translateX(-50%); */

/* } */
/* .show {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto 4rem auto !important;
    width: fit-content !important;
    /* min-width: 5rem;
    max-width: 100%; */


@media (max-width: 600px) {
    .btn-show {
        margin-bottom: 2rem;
    }
}

/* Contact Section Code */

/* .contact {
    background: var(--bg-color);
}

.contact h2 {
   
    margin-bottom: 3rem;
    color: var(--text-color);

}

.contact .heading {
    text-align: center;
}

.contact form {
    max-width: 80rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;

}

.contact form .input-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: 0.8rem;
    border: 0.25rem solid var(--main-color);
    margin: 0.7rem 0;
    resize: none;
}

.contact form .input-box input {
    width: 49%; 
   
    margin: 0.7rem 0.35rem;
}

/* .contact form .btn {
    margin-top: 2rem;


}   */

/* Footer Section Code */

.footer {
    /* margin-bottom: 0; */
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: var(--snd-bg-color);
}

.footer .social {

    text-align: center;
    padding-bottom: 25px;
    color: var(--main-color);


}

.footer .social a {
    font-size: 25px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 43px;
    height: 43px;
    display: inline-flex;
    /* flex-direction: row; */
    align-items: center;
    justify-content: center;
    line-height: normal;
    border-radius: 50%;
    margin: 0 10px;
    margin-top: 3rem;
    transition: 0.3s ease;
}

.footer .social a:hover {
    background-color: var(--main-color);
    color: var(--bg-color);
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
}

.footer .copyright {
    text-align: center;
    font-size: 17px;
    color: var(--text-color);
    margin-top: 20px;
}

.footer #year {
    color: var(--text-color);
}

/* Skills Section Code */

.skills {

    display: flex;
    justify-content: center;
    /* align-items: center; */
    flex-wrap: wrap;
    /* gap: rem; */
    /* background: var(--bg-color); */
    /* background: #f9c2fd; */
}

.skills h2 {
    /* text-align: center; */
    /* margin-bottom: 1rem; */
    /* margin-top: 2rem; */
    /* margin-bottom: rem; */
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.skills-container {
    /* position: relative; */
    /* top: 0; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8rem;
    border: 5px solid var(--main-color);
    border-radius: 2rem;
    padding: 5rem 2rem;
    /* padding-top: 0.5rem; */
    width: 100%;
    /* height: 30rem;*/
    height: auto;
    margin-bottom: 8rem;
    margin-top: 3rem;
}

.skills-container .skill-box {

    /* border: 2px solid var(--main-color); */
    /* border-radius: 2rem; */


    position: relative;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding-top: -1rem;

}

/* .skills-container .skill-box { */
/* margin-top: -5rem;  */
/* } */

/* .skill-box h3 {
    position: absolute;
    top: 16.5rem;
    padding-bottom: 5px;
  bottom: 2rem;  
     left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--main-color);
    margin: 5px 3px;
    font-size: 2rem;
}  */


.skill-box h3 {
    position: static;
    transform: none;
    bottom: auto;
    left: auto;
    padding: 0;
    margin: 1rem 0 0;
    /* give a bit of breathing room above */
    font-size: 2rem;
    color: var(--main-color);
    text-align: center;
}

.skill-box .outer {
    /* position: absolute;
    top: 0; */
    width: 160px;
    height: 160px;
    box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15);
    padding: 20px;
    border-radius: 50%;
}

.skill-box .inner {
    width: 120px;
    height: 120px;
    /* border: 2px solid red; */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2), inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7), -0.5px -0.5px 0px rgba(255, 255, 255, 1), 0.5px 0.5px 0px rgba(0, 0, 0, 0.15), 0px 12px 10px -10px rgba(0, 0, 0, 0.05);
}

.number {
    font-weight: 600;
    color: var(--main-color);
    font-size: 30px;
}

/* circle{

    fill: none;
    stroke: url(#GradientColor);
    stroke-width: 20px ;
    stroke-dasharray: 450;
    stroke-dashoffset:450;
    animation: anim 2s linear forwards;
} */


circle.progress {
    fill: none;
    stroke: url(#GradientColor);
    stroke-width: 20px;
    /* start with no visible stroke: */
    stroke-dasharray: 0 440;
    /* placeholder; JS will override with 2πr */
    stroke-dashoffset: 0;
    /* keep it fixed */
    transition: stroke-dasharray 2s ease-out;
}


@keyframes anim {
    100% {
        stroke-dashoffset: 0;
    }

    95% {
        stroke-dashoffset: 22.5;
    }

    90% {
        stroke-dashoffset: 45;
    }

    85% {
        stroke-dashoffset: 67.5;
    }

    80% {
        stroke-dashoffset: 90;
    }

    75% {
        stroke-dashoffset: 112.5;
    }

    70% {
        stroke-dashoffset: 135;
    }

    65% {
        stroke-dashoffset: 157.5;
    }

    60% {
        stroke-dashoffset: 180;
    }

}

svg {
    position: absolute;
    top: 0;
    left: 0;
}



.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s ease;

}

.reveal.active {
    transform: translateY(0px);
    opacity: 1;
}

/* Popup Code */

/* Add to your existing styles */
#modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#modal-box {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 95%;
    /* width: 100%; */

    height: 15rem;
    text-align: center;
    font-size: 1.5rem;

    /* start hidden & scaled down */
    transform: scale(0.5);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

#modal-message {
    margin: 30px 30px;
    /* margin top: 30px; */
}

#modal-ok {
    /* align-items: cente; */


    padding: 8px 16px;
    font-size: 1.6rem;
    border: 2px solid var(--main-color);
    border-radius: 100px;
    background: var(--main-color);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;


    display: inline-block;
    /* justify-content: center; */
    /* align-content: center; */
    /* ——— ADDED: allow centering via parent text-align ——— */
    margin-top: 1rem;
    margin-bottom: 4rem;
}

/* when we show it, scale up & fade in */
#modal-box.show {
    transform: scale(1);
    opacity: 1;
}

/* Updated Contact */
.contact {
    background: var(--bg-color);
    /* background: var(--snd-bg-color); */
}

.contact .heading {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.contact form {
    max-width: 80rem;
    margin: 1rem auto 3rem;
    text-align: center;
}

.contact .input-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.6rem;
}

.input-field {
    position: relative;
    width: 49%;
    margin: 1.5rem 0rem
}

.textarea-field {
    width: 100%;
}

.input-field input,
.textarea-field textarea {
    width: 100%;
    padding: 1.5rem 1rem 0.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--bg-color);
    border: 0.25rem solid var(--main-color);
    border-radius: 0.8rem;
    margin: 0.7rem 0;
    resize: none;
}

.input-field label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    padding: 0 .3rem;
    background: var(--bg-color);
    color: #AAAAAA;
    font-size: 1.6rem;
    pointer-events: none;
    transition: 0.3s ease;
}

.textarea-field label {
    position: absolute;
    top: 25%;
    left: 1rem;
    /* transform: translateY(-50%); */
    padding: 0 .3rem;
    background: var(--bg-color);
    color: #AAAAAA;
    font-size: 1.6rem;
    pointer-events: none;
    transition: 0.3s ease;
}

.textarea-field textarea {
    min-height: 12rem;
    /* adjust as needed */
}

/* Move label up on focus or when input has content */
.input-field input:focus+label,
.input-field input:valid+label,
.textarea-field textarea:focus+label,
.textarea-field textarea:valid+label {
    margin-top: -0.3rem;
    top: 0;
    transform: scale(0.85);
    color: var(--main-color);
    /* background-color: inherit; */
}

.contact form .btn {
    margin-top: 3rem;
}


/* Spinner overlay covers entire viewport */
#spinner-overlay {
    display: none;
    /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

/* The spinning wheel */
.spinner {
    width: 4rem;
    height: 4rem;
    border: 0.5rem solid var(--main-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Keyframes for rotation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#spinner-overlay,
#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}



/* prevent background scrolling */
html.no-scroll,
body.no-scroll {
    overflow: hidden !important;
    /* height: 100%; */
}

/* Responsive Design Code  */

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

    }
}


@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3%;
    }

    .projects {
        padding: 7rem;

    }

    .contact form .input-box input {
        width: 100%;
    }

    .footer {
        padding: 2rem 3%;
    }

}

@media (max-width: 991px) {
    #menu-icon {
        display: block;
        cursor: pointer;
    }

    .back-duo {
        display: inline-flex;
        margin-left: 1rem !important;
    }


    .navbar {
        position: absolute;
        top: 100%;
        right: -100%;
        /* transform: translateX(100%); */

        /* right: 0; */
        /* width: 255px; */
        /* width: 100vw; */
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background: var(--main-color);
        transition: all 0.5s ease;
        backdrop-filter: blur(10px);
        z-index: 999;



    }

    .navbar a {
        display: block;
        padding: 15px 30px;
        font-size: 22px;
        margin-bottom: 2rem;
    }

    .navbar.active {


        right: 0;
        margin-right: 0;

        /* transform: translateX(0); */
    }



    .home {
        flex-direction: column;
    }

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

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

    }

    .home-content {
        order: 2;
        margin-left: 1rem;
    }

    .home-img img {
        width: 70vw;
        margin-top: 4rem;
    }

    .about {
        flex-direction: column-reverse;
    }

    .about-img img {
        width: 70vw;
        margin-top: 4rem;
    }

    .services h2 {
        margin-bottom: 3rem;

    }
}

@media(max-width :617px) {
    .home-img img {
        width: 70vw;
        margin-top: 8rem;
    }

    .about-img img {
        width: 70vw;
        margin-top: 4rem;
    }

    html {
        font-size: 50%;
    }

}

/* Autofill override for Chrome/Safari */
input:-webkit-autofill,
textarea:-webkit-autofill {
    /* force the background back to your form background */
    -webkit-box-shadow: 0 0 0px 1000px var(--bg-color) inset !important;
    box-shadow: 0 0 0px 1000px var(--bg-color) inset !important;
    /* keep text color consistent */
    -webkit-text-fill-color: var(--text-color) !important;
}


/* about content hider */

/* Hide the extra text initially */
#more-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 1em;
    /* one-line gap */
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

#toggle-about {
    /* display: inline-block; */
    /* ensure margin works predictably */
    /* margin-top: 4rem; */
    /* gap before the button */

    position: absolute;
    bottom: -4rem;
    /* 1rem up from the bottom of .about-content */
    /* right: 0.1rem; */
    left: 0rem;
}

#more-text p {
    margin-bottom: 1rem;
    /* adjust as needed */
}

/* When open, allow full height & fade in */
#more-text.open {
    max-height: 1000px;
    /* big enough for your content */
    opacity: 1;
    margin: 2.4rem 0 1rem;
    margin-bottom: 1rem;

}

/* Optional: smooth the reveal of the container itself */
.about-content {
    transition: all 0.3s ease-in;
}

/* Downlaods Section Code */


.downloads {
    padding: 4rem 2rem;
    background: #f9c2fd;
    background: #e7ebe8;
}

.downloads-header {
    text-align: center;
    margin-bottom: 2rem;
}

.downloads-header .heading {
    text-align: center;
    margin-top: 3rem !important;
    /* margin-bottom: 10rem; */
    margin-top: auto;
}

.subheading {
    color: var(--main-color);
    margin-bottom: 7rem;
    margin-top: 0rem;
    font-size: large;
    font-style: oblique;
}

.downloads-grid {
    margin-top: 5rem;
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 5rem;
}

.subject-block {
    background: #fff;
    padding: 2.5rem;
    border: 3px solid var(--main-color);
    border-radius: 3rem;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
    width: 100%;
    max-width: 130rem;
    transition: all 0.3s ease;
}

.subject-block:hover {
    transform: scale(1.01);
    box-shadow: 0 0 25px var(--main-color),
        0 0 35px var(--main-color),
        0 0 45px var(--main-color);
}

.subject-title {
    color: var(--main-color);
    /* margin-bottom: 1rem; */
    font-size: 3rem;
    /* border-bottom: 2px solid #eee; */
    border-width: 0.3rem;
    padding-bottom: 0.5rem;
}

.sub-title {
    color: var(--main-color);
    margin-bottom: 1rem;
    font-size: 2rem !important;
    border-bottom: 2px solid #eee;
    border-width: 0.3rem;
    padding-bottom: 0.5rem;
}


.files-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.file-card {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 3rem;
    background: var(--snd-bg-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* cursor: pointer; */
}

.file-card:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.file-icon {
    font-size: 2rem;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.file-name {
    font-weight: 650;
    margin-bottom: 0.5rem;
    font-size: 1.7rem;
}

.file-card .btn {
    /* text-decoration: none; */
    font-size: 1.5rem;
    margin-top: 2rem;
    /* color: var(--text-color); */
    font-weight: 600;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0rem !important;
}

/* .download-link:hover {
    text-decoration: underline;
    t
} */

/* read more on projects */

/* Overlay base (from spinner example) */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.logo-loader {
    /* background: rgba(255, 255, 255, 0.9); */
    backdrop-filter: blur(15px);
    display: none;
}

.loader-logo {

    width: 200px;
    height: auto;
    opacity: 0;
    /*
    Format: animation: <keyframes> <duration> <timing-function> <delay> <iteration-count>;
    - duration: total time of one fade-in+hold+fade-out cycle
    - iteration-count: infinite for continuous loop
  */
    animation: fadeInOut 2s ease-in-out 0s infinite;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    20% {
        opacity: 1;
        transform: scale(1);
    }

    80% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}