@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Nunito", sans-serif;
}

:root {
    --bg-color: #1f1f1f;        /*250821*/
    --bg-color-purple: #250831; 
    --bg-color-black: black;
    --snd-bf-color: #C2A531;
    --text-color: #ffffff;
    --main-color: #754ef9;
    --small-font: 0.875rem;  /* ~14px */
    --medium-font: 1.5rem;     /* 16px */
    --big-font: 2.5rem;
    --normal-font: 2rem;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: "Montserrat", sans-serif;
}

.top-header {
    position: fixed;
    width: 100%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 100;
    padding-left: 3rem;
    padding-right: 3rem;
}

.top-header .social-icon {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.top-header-div .social-icon a i {
    color: #C2A531;
    
}

.top-header-div .social-icon a i:hover {
    color: var(--main-color);
    transform: scale(1.2);   
    transition: all 0.4s ease-in-out;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.top-header .location,
.top-header .email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-header .location i,
.top-header .email i {
    font-size: 2.3rem;
    margin-right: 5px;
}

.top-header .location p,
.top-header .email p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--snd-bf-color);
    font-size: 1.5rem;
    letter-spacing: .2rem;
}

.top-header .span-location-text,
.top-header .span-email-text {
    color: var(--text-color);
    font-weight: 600;
}

.top-header .email-link:hover {
    color: var(--main-color);
    transform: scale(1.2);   
    transition: all 0.4s ease-in-out;
    padding-left: 3rem;
    padding-right: 1.5rem;
    letter-spacing: 0.1rem;
}

.top-header .span-location-text:hover {
    color: var(--snd-bf-color);
    transform: scale(1.1);   
    transition: all 0.4s ease-in-out;
    padding-left: 1rem;
    padding-right: 1rem;
}

.top-header .span-email-text:hover {
    color: var(--snd-bf-color);
}

.navbar {
    position: fixed;
    margin-top: 4.1rem;
    width: 100%;
    background-color: var(--main-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 100;
}

.navbar .logo {
    font-size: var(--medium-font);
    color: var(--text-color);
    font-weight: bold;
    cursor: default;
    letter-spacing: 0.1rem;
}

.navbar #menu-icon {
    font-size: 2.3rem;
    color: var(--text-color);
    display: none; /* This will be displayed in responsive design */
}

.navbar .navbar-nav {
    display: flex;
    gap: 2rem;
    letter-spacing: 0.1rem;
}

.navbar .navbar-nav a {
    position: relative;
    font-family: 'Open Sans', sans-serif; 
    font-size: 1.5rem;
    color: var(--text-color);
    margin-right: 1rem;
}

.navbar .navbar-nav a.active {
    font-family: 'Open Sans', sans-serif; 
    font-weight: 600;    
}

.navbar .navbar-nav a.active::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: .2rem;
    background: white;
}

.navbar .navbar-nav a:hover,
.navbar .navbar-nav a:active:hover {
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    font-weight: 800;
}

@media (max-width: 768px) {
    .navbar .navbar-nav {
        display: none;
    }

    .navbar #menu-icon {
        display: block;
    }
}

section { 
    padding: 100px 10%;
}

/* ******** HOME BANNER ******** */

.home {
    min-height: 80vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    padding: 8rem 2rem 3rem 2rem;
    position: relative; /* Add this line to ensure the blob stays within the section */
}

.home-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    position: relative; /* Add this line */
}

.home-image .img-box {
    max-width: 100%;
    height: auto;
    margin-left: 10rem;
    z-index: 1; /* Ensure the image is above the blob */
    position: relative; /* Add this line */
}

.home-image img {
    max-width: 100%;
    height: auto;
}

.home-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 650px;
    margin-top: 5rem;
}

.home-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.name-purple {
    color: var(--snd-bf-color);
    font-size: 4.3rem;
    letter-spacing: 0.1rem;
}

.intro-text {
    font-size: 1.5rem;            /* bigger font */
    line-height: 2.3rem !important;          /* increased row spacing for readability */
    color: #e0e0e0;               /* softer white */
    letter-spacing: 0.1rem;      /* slight letter spacing */
    margin-bottom: 2rem;
}

.intro-text strong {
    color: var(--snd-bf-color);   /* gold highlight for key terms */
    font-weight: 700;
}

.change-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.change-text h3 {
    font-size: 3.5rem !important;
    display: inline-flex;
    margin: 0;
    vertical-align: top;
}

.change-text h3 .word {
    position: absolute;
    display: flex;
    opacity: 0;
    color: var(--main-color);
    letter-spacing: .1rem;
}

.change-text h3 .word .letter{
    transform-origin: center center 25px;
}

.change-text h3 .word .letter.out {
    transform: rotateX(90deg);
    transition: 0.12s cubic-bezier(0.6, 0, 0.7, 0.2);
}

.change-text h3 .word .letter.in {
    transition: 0.58s ease;
}

.change-text h3 .word .letter.behind{
    transform: rotateX(-90deg);
}

.home-content p {
    color: #bdbdbd;
    line-height: 1.8rem;
    font-size: 1.6rem;
    margin-top: 1rem;
    margin-right: 1rem;
    margin-bottom: 3rem;
}

.btn-box {
    display: flex;
    justify-content: space-between;
    width: 280px;
    height: 40px;
}

.btn-box a.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.3rem;
    border-radius: 1.8rem;
    font-size: 1.3rem;
    letter-spacing: .1rem;
    font-weight: 650;
    background: var(--main-color);
    color: #fff;
    transition: .6s;
    box-shadow: var(--main-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--main-color);
}

a.btn:hover {
    transform: scale(1.1);
}


a.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bg-color);
    width: 0;
    height: 100%;
    z-index: -1;
    transition: .4s;
}

a.btn:hover::before {
    width: 100%;
}

a.btn:nth-child(2) {
    background-color: var(--bg-color);
    color: #fff;
}

a.btn:nth-child(2)::before {
    background: var(--main-color);
}

.social-media-banner {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    width: 180px;
}

.social-media-banner a {
    display: inline-flex;
    width: 43px; /* Adjust the width to make the circles smaller */
    height: 43px; /* Make sure the height is equal to the width */
    justify-content: center;
    align-items: center;
    background: var(--bg-color);
    color: var(--snd-bf-color);
    border: 2px solid var(--snd-bf-color);
    border-radius: 50%; /* Ensures the border is round */
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin: .5rem; /* Adjust margin as needed */
    transition: .5s ease;
}

.social-media-banner a i {
    font-size: 2.3rem; /* Adjust the font size to fit within the circle */
    transition: transform 3. ease;
}

.social-media-banner a:hover {
    color: var(--bg-color);
    transform: scale(1.2);
}

.social-media-banner a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background-color: var(--snd-bf-color);
    transition: .6s;
    z-index: -1;
}

.social-media-banner a:hover::before {
    width: 100%;
}
/*
.liquid-shape {
    position: absolute;
    top: 0; 
    padding-bottom: 5rem;
    left: 10%; 
    width: 100%; 
    height: 100%;
    z-index: 0; 
}
*/

/* **************************************************** DIGITAL BADGES ********************************************************** */

.badges {
    padding: 40px 0;
    text-align: center;
    background-color: var(--bg-color-black);
}

/* Add more spacing between badges */
.badges-container {
    display: flex;
    justify-content: center;
    column-gap: 80px; /* horizontal spacing */
    row-gap: 60px;    /* vertical spacing */
    flex-wrap: wrap;
    margin-top: 50px;
}

.badge-box {
    flex: 1 1 250px;
    min-width: 250px;   /* ensures it won’t shrink below this width */
    max-width: 280px;
    background: transparent;   /* remove white background */
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25); /* darker, subtle shadow */
    transition: transform 0.3s ease;
}

.badge-box img {
    width: 70%;             /* Reduce from 100% to 70% (try 60–80% if you want smaller/larger) */
    height: auto;
    margin: 0 auto;         /* Center the image within the box */
    display: block;
    transition: transform 0.3s ease;
    object-fit: contain;    /* Ensures badge proportions stay correct */
}

.badge-box img:hover {
    transform: scale(1.1);
}

.badge-box h3 {
    font-size: var(--medium-font, 1rem);
    margin: 15px 0 5px;
    font-weight: 600;
}

.badge-box p {
    font-size: 1.3rem;
    color: #C2A531;
    margin-bottom: 8px;
}

.main-text {
    margin-bottom: 40px; /* space between heading and badges */
}

.h1-skills {
    margin-top: 20px;
    margin-bottom: 20px; /* space under the H1 */
    color: var(--snd-bf-color);
}

.verify-link {
    display: inline-block;
    margin-top: 5px;
    color: #754ef9;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.verify-link:hover {
    color: var(--text-color);
    transform: scale(1.1); /* grows 10% on hover */
}


/* **************************************************** SPECIALITY SECTION ****************************************************** */

.special {
    background: var(--bg-color-purple);
   padding-top: 3rem;
}

.special .main-text  {
    text-align: center;
    margin-left: 5rem;
    margin-right: 5rem;
    margin-bottom: 2rem; 
    margin-top: 0;
    align-items: center;
    color: #a8a8a8;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.special .main-text .h1-skills {
    margin-top: 1rem;
    color: white;
    font-size: 3rem;
    letter-spacing: 0.1rem;
}

.special .main-text .h1-skills span {
    margin-top: 1.0rem;
    margin-bottom: 1.8rem;
    font-size: 3rem;
    color: var(--snd-bf-color);
    letter-spacing: 0.1rem;
}

.special .special-container {
    display: flex;   
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
}

.special-container .special-box {
    flex: 1 1 calc(25% - 2rem); /* Adjust the width to fit four boxes */
    max-width: calc(25% - 2rem); /* Ensure boxes don't grow larger than 25% */
    background-color: #1f1f1f;
    padding: 2rem 2rem 2rem;
    text-align: center;
    border-radius: 15px;
    border-top: .6rem solid var(--main-color);
    border-bottom: .6rem solid var(--main-color);
    box-sizing: border-box; /* Ensure padding and border are included in the width */
    box-sizing: border-box; /* Ensure padding and border are included in the width */
    display: flex; /* Make each box a flex container */
    flex-direction: column; /* Arrange children in a column */
    justify-content: space-between; /* Distribute space evenly */
}

.special-box i {
    font-size: 6rem;
    color: var(--main-color);
}

.special-box h3 {
    font-size:  1.6rem;
    margin-top: 1rem;
}

.special-box p {
    font-size: 1.1rem;
    margin: 1rem 0 3rem;
}

/* *** ABOUT ME SECTION DESIGN *** */

.About {
    display: flex;
    justify-content: space-between; /* Distribute space between the two parts */
    align-items: flex-start; /* Align items at the top */
    gap: 2rem;
    background: var(--bg-color-black);
    position: relative; /* Make the About section relative to position the button */
    padding-bottom: 3rem; /* Add padding to the bottom to ensure the button has space */
}

.my-tech, .about-content {
    flex: 1; /* Ensure equal halves of the page width */
    margin-top: 0; /* Reset margin top */
}

.About .my-tech {
    text-align: center;
    position: relative;
}

.my-tech img {
    width: 100%; /* Ensure the image takes the full width of its container */
    height: auto; /* Maintain the aspect ratio */
    max-width: 500px; /* Set a maximum width */
    margin: -2.0rem 0 0 3rem; /* Reset margins */
}

.about-content {
    margin: 0; /* Reset margins */
    padding-left: 2%; /* Add padding to the left for spacing */
}

.heading-About {
    text-align: center;
    font-size: 4.5rem;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
    font-size: 2.0rem;
    letter-spacing: 0.1rem;
    color: rgb(230, 227, 227);
    font-family: 'Open Sans', sans-serif; 
}

.about-content h1 {
    text-align: left;
    line-height: 1.2;
    font-size: 3.9rem;
    font-weight: 800;
    letter-spacing: 0.1rem;
    color: var(--snd-bf-color);
    padding-top: 10px;
    margin-bottom: 0.5rem;
}

.about-content h3 {
    text-align: left;
    line-height: 1.4rem;
    margin-bottom: 3rem;
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    color: var(--snd-bf-color);
}

.about-content p {
    font-size: 1.5rem;
    margin: 1rem 0 3rem;
    padding-right: 2rem;
    padding-bottom: 5rem;
    font-family: "Montserrat", sans-serif;
    line-height: 1.5;
    letter-spacing: 0.2rem;
    color: rgb(230, 227, 227);
}

.btn-container {
    position: absolute;
    bottom: 20px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-about {
    background: var(--snd-bf-color); /* Adjust button style */
    color: black;
    padding: 1rem 2.8rem;
    border-radius: 4rem;
    font-size: 1.6rem;
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
    margin-top: 10px; /* Adjust spacing from social icons */
    z-index: 1; /* Ensure it's above the image */
}

.btn-about:hover {
    box-shadow: none;
    transform: scale(1.1); /* Scale up to 110% on hover */
}

.info-about1,
.info-about2,
.info-about3 {
    background-color: var(--bg-color-purple);
    font-size: 1rem;
    position: absolute;
    padding: 10px;
    width: 90px;
    height: 90px;
    border-radius: 69% 31% 66% 34% / 21% 30% 69% 80%;
    display: block;
    box-shadow: var(--snd-bf-color);
    border: 1px solid var(--snd-bf-color);
    outline: 2px solid var(--main-color);
    z-index: 100;
    animation: morph 6s linear infinite;

}

.info-about1 {
    left: 0%;
    top: 40%;
}

.info-about2 {
    left: 66%;
    top: 10%;
}

.info-about3 {
    left: 55%;
    top: 69%;
}

.my-tech span {
    color: var(--snd-bf-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.my-tech p {
    letter-spacing: 0.1rem;
    
}

@keyframes morph {
    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    }
    30% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    60% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
    80% {
        border-radius: 69% 31% 66% 34% / 21% 30% 70% 80%;
    }
}
/* -- **************************************************** MY TECHNOLOGIES ******************************************************************* */

.technologies {
    background: var(--bg-color); /* Optional: Add a background color */
    padding: 3rem 1rem 0 1rem;
    text-align: center; /* Center the container horizontally */
}

.technologies-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem; /* Add space between the images */
    flex-wrap: wrap; /* Ensure images wrap on smaller screens */
}

.technologies-container img {
    max-width: 50px; /* Resize the images */
    height: auto; /* Maintain aspect ratio */
}

.technologies-container img:hover {
    transform: scale(1.3); /* Scale up to 110% on hover */
    transition: transform 0.5s ease; /* Smooth transition effect */
}


/*-- ***************************************************** MY SKILLS ************************************************************************** */

.skills {
    text-align: center;
    margin-left: 5rem;
    margin-right: 5rem;
    margin-bottom: 2rem;
}

.main-text span {
    color: #a8a8a8;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.h1-prof_skills {
    margin-top: 1.0rem;
    margin-bottom: 1.8rem;
    font-size: 3.3rem;
    color: var(--snd-bf-color);
    letter-spacing: 0.3rem;
}

.skill-main {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-row-gap: 30px;
    grid-column-gap: 50px;
    letter-spacing: 0.1rem;
}

.skill-bar {
    margin-bottom: 2.3rem;
}

.skill-main h2 {
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
    text-align: center;
    text-transform: uppercase;
}

.h3-skills {
    font-size: 1.4rem;
    letter-spacing: 0.2rem;
    font-family: 'Open Sans', sans-serif; 
}

.bar:hover {
    box-shadow: 1px 1px 1px var(--snd-bf-color), 1px 1px 1px var(--main-color)   
}

.skill-left .skill-bar:hover {
    transform: scale(1.1); /* Scale up to 110% on hover */
    transition: transform 0.3s ease; /* Smooth transition effect */
}

.skill-left .skill-bar .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.skill-left .skill-bar .info p {
    margin-right: 8rem;
}

.skill-left .skill-bar .bar {
    width: 80%;
    height: 10px;
    background-color: #565656; 
    border-radius: 25px;
    margin-top: 10px;
    margin-left: 1.3rem;
    position: relative;   
}

.skill-bar .bar span {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    box-shadow: var(--main-color);
    float: left;
    background: linear-gradient(135deg, var(--main-color), var(--snd-bf-color) 100%);
    border-radius: 25px;
    box-shadow: var(--snd-bf-color);
}

.skill-bar .bar .bar_data {
    width: 90%;
    animation: bar_data 2s ;
}

.skill-bar .bar .bar_dev {
    width: 60%;
    animation: bar_dev 3s ;
}
.skill-bar .bar .bar_engineer{
    width: 89%;
    animation: bar_engineer 4s ;
}

.skill-bar .bar .bar_central {
    width: 80%;
    animation: bar_central 5s ;
}

.skill-bar .bar .bar_architect {
    width: 83%;
    animation: bar_architect 6s ;
}

@keyframes bar_data {
    0% {
        width: 0%
        }
    100% {
        width: 90%;
    }
}

@keyframes bar_dev {
    0% {
        width: 0%
        }
    100% {
        width: 60%;
    }
}

@keyframes bar_engineer {
    0% {
        width: 0%
        }
    100% {
        width: 89%;
    }
}

@keyframes bar_central {
    0% {
        width: 0%
        }
    100% {
        width: 80%;
    }
}

@keyframes bar_architect {
    0% {
        width: 0%
        }
    100% {
        width: 83%;
    }
}

/* *********************************** PROFESSIONAL AND EDUCATION SECTION ************************************** */

.education {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: auto;
    padding-bottom: 5rem;
    background: #101010;
}

.education .main-text h3 {
text-align: center;
margin-left: 5rem;
margin-right: 5rem;
margin-bottom: 2rem; 
margin-top: 0;
align-items: center;
color: #a8a8a8;
font-size: 1.8rem;
text-transform: uppercase;
letter-spacing: 0.1rem;
}

.heading_edu {
    font-size: 4.8rem;
    margin-bottom: 3.5rem;
}

h2.heading_edu span {
    text-transform: capitalize;
    font-size: 4.8rem;
    color: #754ef9;
    letter-spacing: 0.1rem;
}

.education .education-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.education-row .education-column {
    flex: 1 1 40rem;
    padding: 1.5rem;
    background: #202020;
    border-radius: 8px;
    z-index: 0;
}

.education-column .title {
    font-size: 2.5rem;
    margin: 0 0 1.5rem 0.5rem;
    color: #fff;
    letter-spacing: 0.2rem;
}

.education-column .education-box {
    border-left: .2rem solid var(--snd-bf-color);
}

.education-box .education-content {
    position: relative;
    padding-left: 2rem;
}

.education-box .education-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1.1rem;
    width: 2rem;
    height: 2rem;
    background: var(--snd-bf-color);
    border-radius: 50%;
}

.education-content .content {
    position: relative;
    padding: 1.5rem;
    border: .2rem solid var(--snd-bf-color);
    border-radius: .6rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.education-content .content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(94, 24, 235, 0.5); /* 50% transparent */
    z-index: -1;
    transition: .5s;
}

.education-content .content:hover::before {
    width: 100%;
}

.education-content .content .year {
    font-size: 1.5rem;
    color: var(--snd-bf-color);
    padding-bottom: .5rem;
}

.education-content .content .year i {
    padding-right: .5rem;
}

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

.education-content .content h2 {
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    font-family: "Montserrat", sans-serif;
    padding-top: 0.2rem;
    color: var(--snd-bf-color);
    font-weight: 500;
}

.education-content .content p {
    font-size: 1.2rem;
    padding-top: 1.5rem;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.1rem;
}

.education-content .content ul li{
    font-size: 1.1rem;
    font-family: "Montserrat", sans-serif;
}


/* ******************************************************** PROFESSIONAL SKILLS **************************************************************** */

.professional {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.box {
    position: relative;
    margin: 10px 0px;
    flex: 1 1 15rem;
}

.box .text {
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
}

.box .text big {
    font: 400;
    letter-spacing: 1px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.box .text small {
    display: block;
    font-weight: 600;
    font-size: 16px;
}

.circle {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle .points {
    width: 2px;
    height: 10px;
    background-color: var(--main-color);
    position: absolute;
    border-radius: 3px;
    transform: rotate(calc(var(--i)*var(--rot))) translateY(-45px);
    
}

.points.marked{
    animation: glow 0.04s linear forwards;
        animation-delay: calc(var(--i)*0.05s);
}

@keyframes glow{
    0%{
        background: var(--main-color);
        box-shadow: none;
    }
    100%{
        background: var(--snd-bf-color);
        box-shadow: aqua;
    }
}

.Skill-right .box:hover {
    transform: scale(1.3); /* Scale up to 110% on hover */
    transition: transform 0.3s ease; /* Smooth transition effect */
}

/* *************************************************** PROFESSIONAL PROJECT SECTION ******************************************************************** */

.portfolio {
    background: #250831;
    padding-bottom: 5rem; /* Add space at the bottom to ensure separation from the next section */
    padding-top: 2rem;
    margin-bottom: 0;
}

.main-texts span {
    color: #a8a8a8;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.main-texts {
    background: var(--bg-color-purple);
    text-align: center;
    margin: 1rem 5rem 2rem 5rem; /* Combined margin for brevity */
}

.filter-buttons {
    margin: 2rem;
    text-align: center;
}

.filter-buttons .btn {
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: .3px;
    margin-left: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.filter-buttons .btn.active {
    color: var(--snd-bf-color);
    border-bottom: 2px solid var(--snd-bf-color);
}


.filter-buttons .btn:hover {
    color: var(--snd-bf-color);
    transition: all 0.4s ease-in-out;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
    margin: 0 5rem; /* Combined margin for brevity */
    padding: 1rem 0; /* Combined padding for brevity */
}

.port-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #1f1f1f;
    display: flex;
    grid-template-rows: 1fr auto;
    align-items: center;
    border: 2px solid var(--main-color);
    box-shadow: var(--snd-bf-color);
}

.port-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.port-image img{
    width: 100%;
    height: 240px;
    max-height: 280px;
    object-fit: cover;
    opacity: .5s;
    transition: .5s;
}

.port-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: linear-gradient(rgba(0, 0, 0,.2), #754ef9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    transform: 0.5s;
    padding: 0rem 2rem;
}

.port-box:hover .port-content {
    opacity: 1;
}

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

.port-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 1rem;
}

.port-content p {
    font-size: 1.3rem;
    margin: 5px 0 15px 0;
}

.port-content a {
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    border: 1px solid var(--main-color);
    outline: 2px solid #fff;
}

.port-content a i{
    font-size: 1.3rem;
    color: #1f1f1f;
}

/* *********************************************************** PROFESSIONAL CERTIFICATION BANNERS ********************************************************** */

.badge-section {
    text-align: center;
    padding-top: 2rem; /* Ensure some top padding */
    padding-bottom: 5rem; /* Ensure enough space at the bottom */
    opacity: 1; /* Initially hide the section */
    transform: translateX(0); /* Move section outside viewport initially */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* Smooth transition */
    background: var(--bg-color); /* Ensure it matches the portfolio section */

}

.badge-section.show {
    opacity: 1; /* Show section when 'show' class is added */
    transform: translateX(0); /* Slide in from the left */
}

.badge-section h2 {
    text-align: center;
    margin-bottom: 2.8rem;
    font-size: 2.6rem;
    letter-spacing: 1pt;
    color: #fff; /* Ensure text is readable */
}

.badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px; /* Example max-width */
    margin: 0 auto; /* Center container horizontally */
    gap: 5rem;
}

.badge {
    text-align: center;
    width: 280px; /* Adjust width as needed */
    margin: 2rem 2rem 2rem; /* Adjust margin as needed */
    overflow: hidden; /* Hide overflow to prevent content from spilling out */
    box-shadow: 0 0 10px var(--main-color); /* Optional: Add shadow for better visual effect */
    transition: transform 0.3s ease-out; /* Smooth transition for scaling */
    border-radius: 15px;
    border: 2px solid var(--main-color)
    
}

.badge:hover {
    transform: scale(1.1); /* Scale up to 110% on hover */
}

.badge img {
    width: 130px; /* Badge image size */
    height: auto;
    display: block;
    margin: 10px auto 10px; /* Center image within badge */
}

.badge h3 {
    font-size: 13pt; /* Text size */
    margin: 0;
    letter-spacing: 0.8pt;
}

.badge h4 {
    font-family: 'Open Sans', sans-serif; 
    font-size: 11pt; /* Text size */
    margin: 0;
    letter-spacing: 0.8pt;
    padding-top: 0.3rem;
}

.badge p {
    font-family: 'Open Sans', sans-serif; 
    font-size: 10pt; 
    margin: 0 0 10px 0;
    padding-top: 0.8rem;
    letter-spacing: 0.8pt;
   
}

.badge a {
    color: #C2A531; /* Link color */
}

/* ***** HOME SECTION ****** */

section {
    height: 100%;
    padding: 5rem 2% 3rem 2%;
    position: relative;
}

/* ***************************************************** CHARITY SECTION ************************************************************* */

.charity {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 4rem 1rem;
    margin-bottom: 2rem;
}

.charity .charity-container .main-text h3 {
    text-align: center;
    align-items: center;
    color: #a8a8a8;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.main-text .heading-charity{
    font-size: 3.6rem;
    font-weight: 680;
    margin-bottom: 3rem;
    margin-top: .8rem;
}

.main-text .heading-charity span {
    text-transform: capitalize;
    font-size: 3.6rem;
    color: #754ef9;
    font-weight: 800;
    letter-spacing: 0.1rem;
}

.charity .charity-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
}

.testimonial-wrapper .testimonial-box {
    border-radius: 2rem;
    overflow: hidden;
}

.charity-container .testimonial-wrapper {
    position: relative;
    max-width: 90rem;
    width: 100%;
    padding: 0 1rem;
}

.testimonial-content .testimonial-slide {
    display: flex;
    align-items: center;
    flex-direction: column;
    background: var(--text-color);
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--main-color);
    padding-top: 0;
    padding-right: 5rem;
    padding-bottom: 3rem;
    padding-left: 5rem;
    border-top: .8rem solid var(--main-color);
    border-bottom: .8rem solid var(--main-color);
}

.image-wrapper {
    width: 15.5rem; /* Increase width to include border space */
    height: 15.5rem; /* Increase height to include border space */
    border-radius: 50%; /* Make the wrapper a circle */
    border: 0.3rem solid var(--snd-bf-color); /* Add border to the wrapper */
    outline: 0.5rem solid var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
    margin-top: 1.8rem;
}

.testimonial-slide img {
    width: 14rem; /* Keep image size */
    height: 14rem; /* Keep image size */
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-slide h3 {
    color: var(--main-color);
    font-family: 600;
    font-size: 2rem;
    margin-bottom: 1.6rem;
    margin-top: 0;
    padding: 0;
}

.testimonial-slide p {
    color: var(--bg-color-black);
    font-size: 1.5rem;
    text-align: center;
}

.testimonial-slide .social-icon {
    list-style-type: none; /* Remove bullet points from the list */
    margin-top: 2rem;
    display: flex; /* Use flexbox to display items in a row */
    justify-content: center; /* Center the items within the list */
    gap: 2rem;
}

.testimonial-slide .social-icon a i {
    color: #C2A531;
}

.testimonial-slide .social-icon a i:hover {
    color: var(--main-color);
    transform: scale(1.2);   
    transition: all 0.4s ease-in-out;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.charity .swiper-button-next,
.charity .swiper-button-prev {
    color: var(--main-color);
    padding: 1rem; /* Adjust the padding value as needed */
    z-index: 10; /* Ensure buttons are above other content */
    margin-top: 3%;
    transform: translateY(-50%);
}

.charity .swiper-button-next {
    right: 80px; /* Adjust the right position as needed */
}

.charity .swiper-button-prev {
    left: 80px; /* Adjust the left position as needed */
}

.charity .swiper-pagination-bullet {
    background: white;
}

.charity .swiper-pagination-bullet-active {
    background-color: var(--main-color);
}

/* ***************************************************************** FOOTER SECTION DESIGN ********************************************************************* */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 6.9% 0.6rem 6.9%; /* Adjusted padding for better alignment */
    background: var(--main-color);
}

.footer .footer-icons {
    flex: 1 1 20%; /* Each container takes 20% width */
    text-align: center; /* Center align content */
}

.footer .footer-icons ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer .footer-icons ul li {
    display: inline-block;
    margin-right: 10px; /* Adjust spacing between icons */
}

.footer .footer-icons ul li a {
    display: block;
    padding: 3px;
    color: var(--text-color);
}

.footer .footer-icons ul li a:hover {
    color: var(--snd-bf-color); /* Adjust hover color */
    transition: 0.3s ease;
    transform: scale(1.2); 
}

.footer .footer-text {
    flex: 1 1 60%; /* Text container takes 60% width */
    font-size: 1.3rem;
    color: var(--text-color);
    text-align: center; /* Center align content */
    letter-spacing: 0.1rem;
}

.footer .footer-iconTop {
    flex: 1 1 20%; /* Each container takes 20% width */
    text-align: center; /* Center align content */
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.3rem;
    background: var(--text-color);
    border-radius: 10px;
    border: 0.2rem solid var(--main-color);
    outline: 0.2rem solid transparent;
}

.footer-iconTop a i {
    font-size: 2.5rem;
    color: var(--main-color);
}

.footer-iconTop a:hover {
    outline: 0.2rem solid var(--snd-bf-color);
    transition: 0.5s ease;
    transform: scale(1.1);   
}