/* FONT */

:root {
    --body-color: #ffffff;
}


/* BASE>CSS*/
/* Reset or Normalize */
* {
    margin: 0;
    padding: 0;
    font-family: 'poppins' ,sans-serif;
    box-sizing: border-box;
    /* line-height: 1.6; */
}

body {
    background: var(--body-color);

}

/* GLOBAL ANCHOR STYLIMG */
a {
    color: #0E0E0E;
    text-decoration: none;
}


/* CSS HEADER START */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: #ffffff;
}

.navbar .header-logo {
    font-size: 35px;
    font-weight: 700;
}

.navbar ul {
    display: flex;
    margin-right: 30px;
}

.navbar ul li {
    list-style: none;
    margin-left: 30px;
}

.navbar ul li a {
    font-size: 20px;
    font-weight: 500;
    transition: .5s;
}

.navbar ul li:hover a,
.navbar ul li:active a {
    color: #3498db;
}

.header-btn-wrap {

}

.header-btn {
    display: inline-block;
    padding: 15px 22px;
    background: #3498db;
    border: 2px solid #3498db;
    border-radius: 38px;
    box-shadow: 0 0 10px #3498db;
    font-size: 17px;
    font-weight: 500;
    color: #ffffff;
    transition: .5s;
}

.header-btn:hover {
    background: transparent;
    color: #0E0E0E;
    box-shadow: none;
}

.header-btn>i {

}


/* SECTION 1  * ABOUT START */
.about {
    display: flex;
    align-items: center;
    height: 100vh;
    padding: 50px 9% 0;
    color: #0E0E0E;
    gap: 50px;
}

.about-info h4 {
    font-size: 20px;
    background: #f9f9f9;
    width: 69%;
    border-radius: 8px;
    color: #0E0E0E;
}

.about-info h2 {
    display: inline-block;
    font-size: 25px;
    margin-top: 15px;
}

.about-info h2 span {
    display: inline-block;
    position: relative;
    color: transparent;
    -webkit-text-stroke: .8px #3498db;
    animation: display-text 16s linear infinite;
    animation-delay: calc(-8s * var(--i));
}

@keyframes display-text {
    25%,
    100%  {
        display: none;
    }
}
.about-info h2 span::before {
    content: attr(data-text);
    position: absolute;
    width: 0;
    border-radius: 2px solid #3498db;
    color: #3498db;
    white-space: nowrap;
    overflow: hidden;
    animation: fill-text 4s linear infinite;
}

@keyframes fill-text {
    10%,
    100% {
        width: 0;
    }

    70%,
    90% {
        width: 100%;
    }
}

.about-info p {
    font-size: 18px;
    padding: 15px 0 25px;
    text-align: justify;
    text-justify: inter-word;
}

.about-info .about-btn-wrap { /* Styles all'about-btn-wrap' content */
    display: flex;
    align-items: center;
}

.about-btn-wrap .hire-me-btn { /* Styles all 'hire-me' btn */
    display: inline-block;
    padding: 15px 22px;
    background: #3498db;
    border: 2px solid #3498db;
    border-radius: 38px;
    box-shadow: 0 0 10px #3498db;
    font-size: 17px;
    font-weight: 500;
    color: #ffffff;
    transition: .5s;
}

.about-btn-wrap .hire-me-btn:hover {
    background: transparent;
    color: #0E0E0E;
    box-shadow: none;
}

.about-btn-wrap .hire-me-btn>i { /* Stylrd the icon next to the 'HIRE ME' button*/
    display: inline;
    margin-left: 10px;
}

.about-info .about-btn-wrap .socials { /* Styles all 'socials' button */
    margin-left: 25px;
}

.about-info .about-btn-wrap .socials a { /* Styles all 'socials' button links  */
    display: inline-flex;
    padding: 10px;
    font-size: 17px;
    border: 2px solid #3498db;
    border-radius: 50%;
    font-size: 17px;
    /* color: #E19B8B; */
    margin: 0 5px;
}

.about-info .about-btn-wrap .socials a:hover {
    background: #3498db;
    box-shadow: 0 0 10px #3498db;

}



/* ABOUT IMAGE STYLING */
.about-img .about-img-box {
    height: 30vw;
    width: 30vw;
    background: transparent;
    border-radius: 50%;
    /* overflow: hidden;  */
}

.about-img .about-img-box .about-img-item {
    position: relative; 
    width: 100%;
    height: 100%;
    background: #549adb;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.about-img .about-img-box .about-img-item img {
    position: absolute;
    top: ;
    display: block;
    width: 80%;
    object-fit: cover;
}



/* SKILLS SECTION 2ECTION  */

.skill-section {
    background: #f3f3f3;
    padding: 60px 9% 0;
    height: 100vh;
    text-align: center;
}

.skill-section h2 {
    position: relative;
    font-size: 2.5rem;
    margin-bottom: 45px;
    color: #0E0E0E;
}

.skill-section h2::after { /* Underline effect for the title */
    content: '';
    width: 70px;
    height: 3px;
    background-color: #3498db;
    position: absolute;
    bottom: -16px;
    right: 45%;
    /* transform: translateX(-45%); */
}

.skill-wrap {  /* Wrap styling for the skill cards using Flexbox for a single-row layout */
    display: flex;
    justify-content: center;
    gap: 45px; /* Space between cards */
    flex-wrap: nowrap; /* Ensures cards stay in a single row */
    overflow-x: auto; /* Adds horizontal scrolling if needed on small screens */
    padding-bottom: 55px; /* Space for the scrollbar on mobile */
}

.skill-card { /* Individual skill card styling */
    background: #f9f9f9;
    padding: 40px;
    max-width: 350px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-align: left;
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.skill-section .skill-card h3 {
    font-size: 1.3rem;
    color: #3498db;
    margin-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
}

.skill-card ul {
    list-style: none;
    padding: 0;
}

.skill-card ul li {
    position: relative;
    font-size: 1.1rem;
    padding-left: 15px;
    color: #0E0E0E;
}

.skill-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3498db;
    transition: color 0.2s ease-in-out;
}

.skill-card ul li:hover {
    transform: translateX(5px);
    color: #2c3e50;
}

.skill-card ul li:hover::before {
    color: #2c3e50;
}


/* PROJECTS SECTION STYLING */
.project-section { 
    background: #3498db;
    padding: 60px 9% 0;
    height: 100vh;
    text-align: center;
    color: #0E0E0E;
}

.project-section h2 {
    position: relative;
    font-size: 2.5rem;
    margin-bottom: 45px;
    color: #ffffff;
}

.projects-wrap {
    display: flex;
    justify-content: center;
    gap: 45px; /* Space between cards */
    flex-wrap: nowrap; /* Ensures cards stay in a single row */
    overflow-x: auto; /* Adds horizontal scrolling if needed on small screens */
    padding-bottom: 55px; /* Space for the scrollbar on mobile */
}

.projects-wrap::after {
    content: '';
    width: 70px;
    height: 3px;
    background-color: rgb(252, 252, 252);
    position: absolute;
    bottom: -820px;
    right: 45%;
    /* transform: translateX(-45%); */
}

.project-card {
    background: #f9f9f9;
    padding: 40px;
    max-width: 350px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    background-color: #ecf0f1;
    border-top-left-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    columns: red;
    text-align: center;
    margin-bottom: 20px;
}

.project-image img {
    width:250px;
}


.project-description {
    /* padding: 25px; */
}

.project-description h3 {
    font-size: 1.4rem;
    color: #0E0E0E;
    /* margin-top: 0; */
    margin-bottom: 10px;
}

.project-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: #0E0E0E;
    margin: 0;
    
}



/* INTEREST SECTION  TYLING */
.interest-section {
background: #ffffff;
padding: 60px 9% 0;
height: 100vh;
text-align: center;
color: #0E0E0E;
}

.interest-section h2 {
    position: relative;
    font-size: 2.5rem;
    margin-bottom: 45px;
    color: #0E0E0E;
}

.interest-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.interest-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px;
    border-radius: 15px;
    background-color: #f9f9f9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.interest-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.interest-icon {
    font-size: 1rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.interest-item:hover .interest-icon {
    transform: scale(1.1);
}

.interest-item h4 {
    font-size: 1.2rem;
    color: #0E0E0E;
    margin: 0;
    margin-bottom: 10px;
}

.interest-item p {
    font-size: 0.9rem;
    color: #0E0E0E;
    margin: 0;
    line-height: 1.4;
}



/* CONTACT SECTION STYLING */
.contact-section {
    background: #bdc3c7;
    padding: 60px 9% 0;
    height: 100vh;
    text-align: center;
    color: #0E0E0E;
}

.contact-section h2 {
    position: relative;
    font-size: 2.5rem;
    margin-bottom: 45px;
    color: #0E0E0E;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    text-align: center;
}

.contact-form label {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0E0E0E;

}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 4px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family:  'Poppins', sans-serif;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    background-color: #3498db;
    color: #fff;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #2980b9;
}


/* FOOTER SECTION STYLING  */
.footer-section {
    background-color: #0E0E0E;
    color: #f3f3f3;
    padding: 35px 9%;
    text-align: center;
}

.section-content {
    display: flex;
    flex-direction: ;
    align-items: center;
}

.website-name {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-socials {
    margin-bottom: 20px;
}

.footer-socials a {
    color: #f3f3f3;
    font-size: 18px;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: #3498db;
}

.copyright {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin: 0;
}
