* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}
:root{
    --bg-color: #080808;
    --second-bg-color: #131313;
    --text-color: #fff;
    --main-color: #5e71ad;
}
html{
    font-size: 60%;
    overflow-x: hidden;

}
body{
    background: var(--bg-color);
    color: var(--text-color)
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 4rem 12% 4rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}
.logo{
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800; 
    cursor: pointer;
    transition: 0.3s ease;
}
.logo:hover{
    transform: scale(1.1);
}
.logo span{
    text-shadow: 0 0 25px var(--main-color);
}
.navbar a{
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;

}
.navbar a:hover,
.navbar a.active{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}
#menu-icon{
    font-size: 3.6rem;
    color: var(--main-color);
    display:none;
}

section{
    min-height: 100vh;
    padding: 10rem 12% 10rem;
}
.home{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
}
.home-content{
    display:flex;
    flex-direction: column;
    align-items: baseline;
    text-align: left;
    justify-content: center;
    margin-top: 3rem;
}
span{
    color: var(--main-color);
}
.logo span{
    color: var(--main-color);
}
.home-content h3{
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 3.5rem;
}
.home-content h1{
    font-size: 7rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}
.home-img{
    border-radius: 50%;
}
.home-img img{
    position: relative;
    top: 3rem;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease-in-out;
}
.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);
}           
.home-content p{
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
}
.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 30%;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease-in-out;
}

.social-icons a:hover{
    color: var(--text-color);
    transform: scale(1.3)translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
}
.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 1rem;
    font-size: 1.6rem;
    color: black;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}
.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color);
}
.btn-group{
    display:flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-group a:nth-of-type(2){
    background-color: black;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}
.btn-group a:nth-of-type(2):hover{
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: black;
}
.text-animation{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
    margin-bottom: 20px;
}
.text-animation span{
    position: relative;
}
.text-animation span::before{
    content:"Web Developer";
    color: var(--main-color);
    animation: words 20s infinite;
}
.text-animation span::after{
    content: "";
    background-color: var(--second-bg-color);
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid var(--bg-color);
    right: -8px;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;

}
@keyframes cursor{
    to{
        border-left: 2px solid var(--main-color);
    }
}
@keyframes words{
    0%, 
    20%{
        content: "Data Analysis";
    }
    21%,
    40%{
        content: "Machine Learning";
    }
    41%,
    60%{
        content: "Python";
    }
    61%,
    80%{
        content: "Web Design";
    }
    81%,
    100%{
        content: "Figma";
    }
}
@keyframes typing{
    10%,
    15%,
    30%,
    35%,
    50%,
    55%,
    70%,
    75%,
    90%,
    95%{
        width: 0;
    }
    5%,
    20%,
    25%,
    40%,
    45%,
    60%,
    65%,
    80%,
    85%{
        width: calc(100% + 8px);
    }
}
.about {
    background: var(--second-bg-color);
    color: var(--text-color);
    padding: 10rem 12%;
}

.about h2 {
    text-align: center;
    font-size: 6rem;
    margin-bottom: 5rem;
    color: var(--text-color);
}

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

.about-img img {
    width: 350px;
    border-radius: 2rem;
    box-shadow: 0 0 25px var(--main-color);
    transition: transform 0.3s ease-in-out;
}

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

.about-content {
    max-width: 700px;
    text-align: left;
}

.about-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 400;
    color: var(--text-color);
}

.about .btn {
    margin-top: 2rem;
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--main-color);
    color: black;
    border-radius: 4rem;
    font-weight: 600;
    font-size: 1.5rem;
    transition: 0.3s ease-in-out;
    box-shadow: 0 0 20px var(--main-color);
    border: 2px solid transparent;
}

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




 /*------------*/   
.heading{
    font-size: 8rem;
    text-align: center;
    margin: 5rem 0;
}
.education{
    padding: 100px 15px;
    background: var(--second-bg-color);
}
.education h2{
    margin-bottom: 5rem;
}
.timeline-items{
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.timeline-items::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 100%;
    background-color: var(--main-color);
}
.timeline-item{
    margin: 40px;
    width: 100%;
    position: relative;
    clear:both;
}
.timeline-item:last-child{
    margin-bottom: 0;
}
.timeline-item:nth-child(odd){
    padding-right:calc(50% +30px);
    text-align: right;
}
.timeline-item:nth-child(even){
    padding-left: calc(50% +30px);

}
.timeline-dot{
    height: 21px;
    width: 21px;
    background-color: var(--main-color);
    box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}
.timeline-date{
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin: 6px 0 15px;
}
.timeline-content{
    background-color: var(--bg-color);
    border: 3px solid var(--main-color);
    padding: 30px 50px;
    width: 45%;
    border-radius: 4rem;
    box-shadow: 0 0 10px var(--main-color);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.timeline-item:nth-child(odd) .timeline-content {
    float: left;
}

.timeline-item:nth-child(even) .timeline-content {
    float: right;
}
.timeline-content:hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color);
}
.timeline-content h3{
    font-size: 20px;
    color: white;
    margin: 0 0 10px;
    font-weight: 500;
}
.timeline-content p{
    color: white;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
}
::-webkit-scrollbar{
    width: 15px;
}
::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
}
::-webkit-scrollbar-track{
    background-color: var(--bg-color);
    width: 50px;
}

.projects{
    background: var(--bg-color);
    color: black;
}
.projects h2{
    margin-bottom: 5rem;
    color: white;
}
.projects-container{
    display:grid;
    grid-template-columns: repeat(2,1fr);
    align-items: stretch;
    gap: 2.5rem;
}
.project-box{
    background-color: var(--main-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 3rem;
    border: 5px solid transparent;
    cursor: pointer;
    transition: 0.4s ease-in-out;
}
.project-box:hover{
    background: white;
    color: black;
    border: 5px solid var(--main-color);
    transform: scale(1.03);
}
.project-box .project-info{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    max-height: none;
    justify-content: space-between;
    align-items: stretch;
    padding: 3rem 4rem;
    height: 100%;
    box-sizing: border-box;
}

.project-info h4{
    font-size: 3rem;
    font-weight: 800;
    line-height: 2;
}
.project-info p{
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.7;
    margin: 1.5rem 0;
}

.projects-container a.project-box {
    display: block;
    text-decoration: none;
    color: inherit;
}
.view-project-btn {
  margin-top: auto !important; 
  font-size: 1.6rem;
  background: black;
  color: var(--main-color);
  padding: 0.8rem 1.6rem;
  border-radius: 2rem;
  display: inline-block !important;
  border: 2px solid var(--main-color);
  transition: 0.3s ease-in-out;
  cursor: pointer;
  text-align: center;
  align-self: flex-start !important;
  width: auto !important;
}

.view-project-btn:hover {
  background: var(--main-color);
  color: black;
  box-shadow: 0 0 10px var(--main-color);
}
.btn-wrapper{
    margin-top: auto;
    align-self: flex-start;
}

.view-more{
    text-align:center;
    margin-top: 4rem;
}
.view-more .btn{
    padding: 1.2rem 3.2rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 3rem;
    transition: 0.3s ease-in-out;
}

/*-----------------*/

.certifications {
  background: var(--second-bg-color);
  color: var(--text-color);
  padding: 10rem 12%;
}

.certifications-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

.certification-item {
  background-color: var(--bg-color);
  border: 3px solid var(--main-color);
  border-radius: 2rem;
  box-shadow: 0 0 25px var(--main-color);
  padding: 2rem 3rem;
  width: 45%;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  transition: 0.3s ease-in-out;
  cursor: default;
}

.certification-item:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px var(--main-color);
}

.cert-logo {
  width: 80px;
  height: auto;
  border-radius: 0.8rem;
  flex-shrink: 0;
}

.cert-content {
  flex: 1;
}

.cert-content h3 {
  font-size: 2.4rem;
  color: var(--main-color);
  margin-bottom: 0.3rem;
}

.issued-date {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #ccc;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-top: 1rem;
}

.skills span {
  background-color: var(--main-color);
  color: black;
  font-size: 1.3rem;
  padding: 0.3rem 0.8rem;
  border-radius: 1.2rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 0 5px var(--main-color);
  cursor: default;
  user-select: none;
}

.cert-content h3 a {
  color: var(--text-color);
  text-decoration: none;
}

.cert-content h3 a:hover {
  text-decoration: none;
}


.view-more-certs {
  text-align: center;
  margin-top: 3rem;
}

.view-more-certs .btn {
  font-size: 1.6rem;
  padding: 1rem 3rem;
  border-radius: 2rem;
  background-color: var(--main-color);
  color: black;
  border: 2px solid transparent;
  box-shadow: 0 0 25px var(--main-color);
  transition: 0.3s ease-in-out;
}

.view-more-certs .btn:hover {
  background-color: black;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  box-shadow: 0 0 40px var(--main-color);
}







/*-----------*/

.social {
  background: var(--second-bg-color);
  color: var(--text-color);
  padding: 10rem 12%;
}

.social-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.social-item {
  background-color: var(--bg-color);
  border: 3px solid var(--main-color);
  border-radius: 3rem;
  box-shadow: 0 0 15px var(--main-color);
  padding: 3rem 4rem;
  width: 45%;
  cursor: default;
  transition: 0.3s ease-in-out;
}

.social-item:hover {
  transform: scale(1.01);
  box-shadow: 0 0 50px var(--main-color);
}

.social-logo {
  width: 80px;
  margin-bottom: 1.5rem;
  display: block;
}

.social-item h3 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--main-color);
}

.social-item p {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.social-item ul {
    font-size: 1.6rem;
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.social-item ul li {
  margin-bottom: 0.6rem;
  font-weight: 400;
}

.event-photos {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.event-photos img {
  width: 140px;
  height: 110px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 0 15px var(--main-color);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-photos img:hover {
  transform: scale(2);
  z-index: 10;
  position: relative;
  box-shadow: 0 0 40px var(--main-color);
}



/*--------*/
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4rem;
  padding: 4rem 0;
  align-items: flex-start;
}

.contact-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-direction: column;
}



.contact-info a {
    font-size: 3rem;
    color: var(--text-color);
    transition: transform 0.3s ease, color 0.3s ease;
}
.contact-info a:hover {
    transform: scale(1.2);
    color: var(--main-color);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border-radius: 1rem;
  border: 2px solid var(--main-color);
  background: transparent;
  color: var(--text-color);
  font-size: 1.4rem;
}

.contact-form .btn {
  align-self: flex-start;
  padding: 1rem 2.4rem;
  background: var(--main-color);
  color: black;
  border-radius: 1rem;
  font-weight: 600;
  transition: 0.3s;
}

.contact-form .btn:hover {
  background: black;
  color: var(--main-color);
  border: 2px solid var(--main-color);
}
.form-wrapper{
    flex:1;
    min-width: 300px;
}

.form-intro{
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 500;
}


.footer {
  background: var(--bg-color);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-color);
  border-top: 2px solid var(--main-color);
}

.footer-content h3 {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
  color: var(--main-color);
}

.footer-content p {
  font-size: 1.4rem;
  margin: 0.5rem 0;
}

.footer-social {
  margin: 1.5rem 0;
}

.footer-social a {
  margin: 0 1rem;
  color: var(--main-color);
  font-size: 2.4rem;
  transition: transform 0.3s ease;
}

.footer-social a:hover {
  transform: scale(1.2);
}

.footer-credit {
  font-size: 1.2rem;
  margin-top: 1rem;
  color: #888;
}

.back-to-top {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  font-size: 2.8rem;
  color: var(--main-color);
  background: var(--bg-color);
  padding: 1.2rem;
  border-radius: 50%;
  border: 2px solid var(--main-color);
  box-shadow: 0 0 15px var(--main-color);
  cursor: pointer;
  display: none;
  z-index: 100;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-top:hover {
  transform: scale(1.2);
  box-shadow: 0 0 30px var(--main-color);
}




/*--------------MEDIA QUEQY-------------*/


.navbar {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Hide menu icon on large screens */
#menu-icon {
  display: none;
  cursor: pointer;
  font-size: 2rem;
  color: var(--primary-color);
}

@media (max-width: 768px){
    /* Responsive navbar for mobile */
    
    header.header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        position: relative;
        height: 60px;
    }

    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        right: -200px;
        width: 200px;
        height: calc(100vh - 60px);
        background-color: rgba(17, 17, 17, 0.85);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .navbar.active {
        right: 0;
    }

    .navbar a {
        color: white;
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
        border-radius: 5px;
    }

    .navbar a.active,
    .navbar a:hover {
        background-color: var(--main-color);
        color: #000;
    }
    

    @media (max-width: 1024px) {
    section {
        padding: 2rem 1.5rem;
    }
    }

    @media (max-width: 768px) {
    .home {
        display: flex;
        flex-direction: column;
        align-items: center;  /* center content horizontally */
        text-align: center;   /* center text inside */
        gap: 2rem;            /* some spacing */
    }

    .home-img {
        order: -1;
        width: 100%;          /* full width container */
        max-width: 300px;     /* max width for photo */
        margin: 0 auto;       /* center horizontally */
    }

    .home-img img {
        width: 100%;          /* image fills container */
        height: auto;
        border-radius: 10px;  /* if you want rounded corners */
        display: block;       /* remove inline gaps */
        margin: 0 auto;       /* center image if inline-block */
    }

    .home-content {
        order: 0;
        width: 100%;
    }
    }



    /* ABOUT SECTION */
    .about-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        text-align: center;
    }

    .about-img img {
        max-width: 250px;
        width: 100%;
        border-radius: 10px;
    }

    /* TIMELINE FIXES - isolated, non-conflicting */
    .timeline-items {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding-left: 40px; /* for the vertical line */
        max-width: 100%;
        margin: 0 auto;
    }

    .timeline-items::before {
        content: "";
        position: absolute;
        top: 0;
        left: 20px;
        width: 5px;
        height: 100%;
        background-color: var(--main-color);
        transform: none;
    }

    .timeline-item {
        width: 100% !important;
        padding-left: 40px !important;
        padding-right: 20px !important;
        margin: 1rem 0 2rem 0 !important;
        clear: both;
        text-align: left !important;
        float: none !important;
        box-sizing: border-box;
    }

    .timeline-dot {
        position: absolute !important;
        left: 20px !important;
        top: 0;
        transform: translate(0, -50%);
    }

    .timeline-content {
        float: none !important;
        width: auto !important;
        border-radius: 2rem;
        padding: 2rem 2rem;
        box-shadow: 0 0 10px var(--main-color);
        box-sizing: border-box;
    }

    /* PROJECTS SECTION */
    .projects-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem;
        max-width: 100%;
        padding: 0 1rem;
    }

    .project-box {
        width: 100% !important;
        border-radius: 2rem;
        padding: 2rem;
        border: 5px solid transparent;
        background-color: var(--main-color);
        color: black;
        transition: 0.4s ease-in-out;
        box-sizing: border-box;
    }

    .project-box:hover {
        background: white;
        color: black;
        border: 5px solid var(--main-color);
        transform: scale(1.03);
    }

    .project-info h4 {
        font-size: 2.4rem;
    }

    .project-info p {
        font-size: 1.4rem;
    }

    /* CERTIFICATES SECTION - isolated and clean */
    .certifications-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        max-width: 100%;
        padding: 0 1rem;
    }

    .certification-item {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding: 2rem 1.5rem;
        box-sizing: border-box;
    }

    .cert-logo {
        width: 100px;
        height: auto;
        margin: 0 auto;
    }

    .cert-content h3,
    .issued-date,
    .skills {
        text-align: center;
    }

    /* SOCIAL SECTION - fully fixed & isolated */
    .social-container {
        max-width: 100%;
        padding: 0 1rem;
        margin: 0 auto;
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .social-item {
        width: 100% !important;
        padding: 2rem 2rem !important;
        border-radius: 2rem !important;
        box-shadow: 0 0 25px var(--main-color);
        text-align: center;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        box-sizing: border-box;
    }

    .social-logo {
        width: 100px !important;
        margin: 0 auto 1.5rem auto !important;
        display: block;
    }

    .social-item h3 {
        font-size: 2.4rem !important;
        margin-bottom: 1rem !important;
    }

    .social-item p,
    .social-item ul {
        font-size: 1.4rem !important;
        margin-left: 0 !important;
        text-align: center !important;
    }

    .social-item ul {
        list-style-position: inside;
        padding-left: 0;
    }

    .social-item ul li {
        margin-bottom: 0.6rem;
    }

    .event-photos {
        justify-content: center !important;
        gap: 1rem !important;
    }

    .event-photos img {
        width: 100px !important;
        height: 80px !important;
        border-radius: 1rem !important;
        box-shadow: 0 0 15px var(--main-color) !important;
    }

    @media (max-width: 768px) {
    .contact-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .contact-info {
        order: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 2.5rem !important;
        width: 100% !important;
    }

    .contact-info a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 3.5rem !important;
        color: var(--main-color) !important;
        text-decoration: none !important;
    }

    .form-wrapper {
        order: 1 !important;
        width: 100% !important;
    }
    }
    @media (max-width: 768px) {
    .contact-info a i {
        font-size: 3.5rem !important;  
        line-height: 1 !important;     
    }
    }

    @media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2.heading {
        font-size: 1.5rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .btn-group a.btn {
        margin-bottom: 0.75rem;
        display: inline-block;
    }

    /* Smaller icons in social and footer */
    .social-icons a i,
    .footer-social a i,
    .contact-info a i {
        font-size: 1.5rem;
    }
    }

    /* Back to top button styling */
    .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--main-color);
    color: black;
    padding: 0.7rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    z-index: 1000;
    }

    @media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
        padding: 0.5rem;
    }
    }

    @media (max-width: 480px) {
    h1 {
        font-size: 6rem !important;  /* smaller main headings */
    }

    h2 {
        font-size: 4rem !important;  /* smaller section headings */
    }

    p, .about-me-text, /* or whatever class you use for text */
    .license-text {
        font-size: 1rem;   /* smaller paragraph text */
        line-height: 1.4;
    }
    }
}

html, body {
  overflow-x: hidden;
}
