/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html {
    scroll-behavior: smooth;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #888; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* Sections */
section {
    padding: 100px 0;
}
.max-width {
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}

.about, .skills, .Projects, .contact, footer {
    font-family: 'Poppins', sans-serif;
}

section .title {
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}
section .title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}
section .title::after {
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color: crimson;
    padding: 0 5px;
    background: #fff;
    transform: translateX(-50%);
}

/* Button */
.btn-custom {
    display: inline-block;
    background: #11FFFC;
    color: black;
    border-radius: 6px;
    border: 2px solid black;
    font-weight: 700;
    padding: 10px 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}
.btn-custom:hover {
    background: none;
    color: crimson;
    transform: scale(1.05);
}

.btn-custom::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 2px solid crimson;    /* Animation color */
    border-radius: 6px;
    box-sizing: border-box;
    animation: borderAnim 2s linear infinite;
}

/* Border animation */
@keyframes borderAnim {
    0%   { clip-path: inset(0 100% 100% 0); }
    25%  { clip-path: inset(0 0 100% 0); }
    50%  { clip-path: inset(0 0 0 0); }
    75%  { clip-path: inset(100% 0 0 0); }
    100% { clip-path: inset(0 100% 100% 0); }
}

/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 25px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
}
.navbar.sticky {
    padding: 15px 0;
    background: black;
}
.navbar .max-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a {
    color: #fff;
    font-size: 35px;
    font-weight: 600;
}
.navbar .logo a span {
    color: #11FFFC;
    transition: all 0.3s ease;
}
.navbar.sticky .logo a span {
    color: #fff;
}
.navbar .menu li {
    list-style: none;
    display: inline-block;
}
.navbar .menu li a {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover {
    color: #11FFFC;
}
.navbar.sticky .menu li a:hover {
    color: #fff;
}

/* Menu button */
.menu-btn {
    color: white;
    font-size: 23px;
    cursor: pointer;
    display: none;
}

/* Scroll up */
.scroll-up-btn {
    position: fixed;
    height: 45px;
    width: 42px;
    background: #20242D;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.scroll-up-btn.show {
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}
.scroll-up-btn:hover {
    filter: brightness(90%);
}

/* Home */
.home {
    display: flex;
    background: url("Images/bg.jpg") no-repeat center;
    background-color:#1E222B;
    height: 100vh;
    min-height: 500px;
    color: #212121;
    background-size: cover;
    background-attachment: scroll;
    font-family: 'Ubuntu', sans-serif;
}

.home .max-width {
    width: 100%;
    display: flex;
}
.home .home-content .text-1 {
    font-size: 52px;
    font-weight: 500;
    color: white;
    margin-bottom: 5px;
}
.home .home-content .text-1 span {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 600;
    color: #11FFFC;
    margin-left: 5px;
}
.home .home-content .text-3 {
    font-size: 36px;
    margin: 5px 0 15px 0;
    color: white;
}
.home .home-content .text-3 span {
    color: crimson;
}

/* About */
.about .title::after {
    content: "Who I am";
}
.about .about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.about .about-content .left {
    width: 45%;
    perspective: 1000px;
}
.about .about-content .left img {
    height: 400px;
    width: 100%;
    max-width: 400px;
    object-fit: cover;
    border-radius: 6px;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.1s ease-out;
}
.about .about-content .left img:hover {
    filter: grayscale(0%);
}
.about .about-content .right {
    width: 55%;
    padding-left: 40px;
}
.about .about-content .right .text {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}
.about .about-content .right .text span {
    color: crimson;
}
.about .about-content .right p {
    text-align: justify;
}
.about .about-content .right .text .name-highlight {
    color: #11FFFC;
    font-weight: 700;
}
.text-3-about {
    font-size: 25px;
    font-weight: 600;
    margin: 5px 0 15px 0;
    color: black; /* Standard dark text for light background */
}
.text-3-about span {
    color: crimson;
}


@keyframes colorize {
    to {
        filter: grayscale(0%);
    }
}
/* Skills */
.skills {
  background-color: #fffaff;
}
.skills .title::after {
    content: "What I Know";
}
.skills .skills-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.skills .skills-content .column {
    width: calc(50% - 30px);
}
.skills .skills-content .left .text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.skills .skills-content .left p {
    text-align: justify;
}

.icon-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.btn-black {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 2px solid #000;
  border-radius: 50%;
  background: #fff;
  color: #262626;
  font-size: 20px;
  overflow: hidden;
}

.btn-black i,
.btn-black img {
  transition: .5s;
  z-index: 1;
}

.btn-black::before {
  content: "";
  position: absolute;
  inset: 0;
  top: 100%;
  background: #11FFFC;
  transition: .5s;
  z-index: 0;
}

.btn-black:hover::before { top: 0; }
.btn-black:hover i, .btn-black:hover img { color: #ed0e0e; transform: rotateY(360deg); }

.btn-black:hover img {
  filter: invert(23%) sepia(91%) saturate(7499%) hue-rotate(357deg) brightness(92%) contrast(119%) !important ;
}

.btn-black:active img {
    filter: invert(23%) sepia(91%) saturate(7499%) hue-rotate(357deg) brightness(92%) contrast(119%) !important;
}

/* Projects */
.Projects .title::after {
    content: "Recent Works";
}
.Projects .carousel {
    max-width: 1050px; 
    margin: 0 auto;  
}
.Projects .carousel .card {
    background: #222;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    padding: 20px;
    overflow: hidden;
    max-width: 320px; 
    transition: all 0.3s ease;
}
.Projects .carousel .card:hover {
    background: #11FFFC;
    transform: scale(1.05);
}
.Projects .carousel .card .box {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    width: 100%;
}
.Projects .carousel .card .text {
    order: 1; 
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: white; 
}
.Projects .carousel .card:hover .text {
    color: black;
}
.Projects .carousel .card img {
    order: 2; 
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px; 
    border: 2px solid #11FFFC;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    filter: blur(3px);
}
.Projects .carousel .card:hover img {
    border-color: black;
    filter: blur(0);
}
.owl-dots {
    text-align: center;
    margin-top: 20px;
}
.owl-dot {
    height: 13px;
    width: 13px;
    margin: 0 5px;
    border-radius: 50%;
    border: 2px solid crimson!important;
    transition: all 0.3s ease;
}
.owl-dot.active {
    width: 35px;
}
.owl-dot.active,
.owl-dot:hover {
    background: #11FFFC!important;
}

.project-buttons {
    order: 3; 
    display: flex;
    gap: 10px;
}

.btn-small {
    border: 2px solid #11FFFC;
    color: white;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;}

.Projects .carousel .card:hover .btn-small {
    background-color: black;
    color: #11FFFC;
    border-color: black;
}

.btn-small:hover {
    background-color: #11FFFC;
    color: black;
}

.Projects .carousel .card .btn-small:active {
    background-color: white !important;
    color: black !important;
    box-shadow: 0 0 15px #11FFFC !important;
    transform: rotate(-4deg) scale(0.95) !important;
}

/* Journey Section Styles */
.journey {
    background-color: #ffffff;
    background-image: radial-gradient(#d3d3d3 2px, transparent 2px);
    background-size: 30px 30px;
    overflow: hidden;
}

/* 1. Title text matching exactly the other sections */
.journey .title::after {
    content: "What I've Experienced";
    background: #ffffff; 
    white-space: nowrap; /* Forces text to stay on one line, preventing mobile overlap! */
}

.journey .title::before {
    width: 260px; 
}

/* Hide radio buttons */
.journey input[type="radio"] {
    display: none;
}

/* Container Layout */
.container-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding-top: 60px;
    height: 400px; 
    overflow: hidden; 
}

.cards-container {
    width: 600px;
    height: 600px;
    position: relative;
    --duration: 600ms;
    --label-color: #4a1c20;
    --label-color-hover: black;
}

.cards {
    position: absolute;
    inset: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    transition: transform var(--duration) cubic-bezier(0.4, 0, 0.2, 1);
}

.cards li {
    position: absolute;
    inset: 0;
    transform-origin: center;
    transform: rotate(calc(var(--i) * 360deg / var(--items)));
    pointer-events: none;
}

/* Outer Labels (Years on perimeter) */
.cards li > label {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
    cursor: pointer;
    color: var(--label-color);
    font-family: 'Pathway Gothic One', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color var(--duration);
}

.label-text {
    margin-bottom: 8px;
}

.label-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--label-color);
    background-color: transparent;
    transition: all var(--duration);
    box-sizing: border-box;
}

.label-line {
    width: 2px;
    height: 0;
    background-color: black;
    transition: height var(--duration);
    margin-top: 4px;
}

/* Active State */
.cards li:has(input:checked) label {
    color: var(--label-color-hover);
}

.cards li:has(input:checked) .label-dot {
    background-color: crimson;
    border-color: crimson;
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

.cards li:has(input:checked) .label-line {
    height: 60px;
    background-color: black;
}

/* Inner Content */
.cards li .inner-content {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 380px;
}

.cards li .inner-content h2 {
    color: var(--label-color-hover);
    font-family: 'Pathway Gothic One', sans-serif;
    font-size: 2.2rem;
    margin: 0 0 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cards li .inner-content h2 svg {
    color: #00e5ff;
}

.cards li .inner-content p {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.cards li:has(input:checked) .inner-content {
    opacity: 1;
    transition: opacity 0.5s ease 0.3s;
}

/* Rotate container based on checked radio */
.cards:has(input:checked) {
    transform: rotate(calc((var(--index) * 360deg / var(--items)) * -1));
}

/* Mapping indexes for the 5 items */
.cards:has(li:nth-child(1)>input:checked) { --index: 0; }
.cards:has(li:nth-child(2)>input:checked) { --index: 1; }
.cards:has(li:nth-child(3)>input:checked) { --index: 2; }
.cards:has(li:nth-child(4)>input:checked) { --index: 3; }
.cards:has(li:nth-child(5)>input:checked) { --index: 4; }
.cards:has(li:nth-child(6)>input:checked) { --index: 5; }

/* Responsive adjustments for Perfect Alignment on ALL Devices */
@media (max-width: 650px) {
    .journey .title::before {
        width: 260px;
    }
    .cards-container {
        transform: scale(0.7);
        transform-origin: top center;
    }
    .container-wrapper {
        height: 280px; 
        overflow: hidden;
    }
    .cards li .inner-content {
        width: 360px; 
        top: 80px;
    }
    .cards li:not(:has(input:checked)) label {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }
}

@media (max-width: 450px) {
    .journey .title::before {
        width: 210px;
    }
    .journey .title::after {
        font-size: 14px;
    }
    .cards-container {
        transform: scale(0.55);
        transform-origin: top center;
    }
   .container-wrapper {
        height: 220px;
        overflow: hidden;
    }
    .cards li .inner-content {
        width: 350px; 
        top: 70px;
    }
    .cards li .inner-content h2 {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
    .cards li:not(:has(input:checked)) label {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }
}


/* Contact */
.contact .title::after {
    content: "Get In Touch";
}
.contact .contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.contact .contact-content .column {
    width: calc(50% - 30px);
}
.contact .contact-content .text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.contact .contact-content .left p {
    text-align: justify;
}
.contact .contact-content .row {
    display: flex;
    align-items: center;
    height: 65px;
}
.contact .contact-content .row .info {
    margin-left: 30px;
}
.contact .contact-content .row i {
    font-size: 25px;
    color: #11FFFC;
    -webkit-text-stroke: 1.5px black;
}
.contact .contact-content .info .head {
    font-weight: 500;
}
.contact .sub-title {
    color: black;
    font-size: 14px;
}
.contact .right form .fields {
    display: flex;
}
.contact .right form .field,
.contact .right form .fields .field {
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}
.contact .right form .textarea {
    height: 80px;
    width: 100%;
}
.contact .right form .name {
    margin-right: 10px;
}
.contact .right form .field input,
.contact .right form .textarea textarea {
    height: 100%;
    width: 100%;
    border: 2px solid black;
    border-radius: 6px;
    padding: 0 15px;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}
.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus {
    outline: none;
    border-color: #11FFFC;
    box-shadow: 0 0 12px rgba(17, 255, 252, 0.8);
}
.contact .right form .textarea textarea {
    padding-top: 10px;
    resize: none;
}

.contact .right .text {
  font-weight: 700;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #cc208e, #6713d2) 1;
  animation: blink 1.2s infinite;
  display: inline-block;
  padding-bottom: 4px;
}

@keyframes blink {
  0%, 50%, 100% { border-image-slice: 1; }
  25%, 75% { border-image-slice: 0; }
}

/* Footer */
footer {
    background: #111;
    padding: 15px 23px;
    color: #fff;
    text-align: center;
}
footer span a {
    color: #11FFFC;
}
footer span a:hover {
    text-decoration: underline;
}

/* Social Buttons */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
}
.mb-4 { margin-bottom: 1rem; }

.btn-grey {
  position: relative;
  background: #fff;
  border: 2px solid #000;
  color: #000;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: .25rem;
  overflow: hidden;
  transition: background-color .3s, transform .2s;
}

.btn-grey::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(17,255,252,.5) 50%,
      transparent 100%);
  opacity: 0;
  transition: .3s;
}
.btn-grey:hover::after {
  opacity: 1;
  animation: rain 1s linear infinite;
}

@keyframes rain {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100%); }
}

.center-bold-italic {
    text-align: center;
    font-weight: bolder;
    font-style: italic;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    margin: auto;
    animation: typing 15s steps(30, end) forwards;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* ============================================================= */
/* RESPONSIVE MEDIA QUERIES - CLEAN & OPTIMIZED                  */
/* ============================================================= */

/* =========================================
   Tablets & Small Laptops 
   - Devices ≤ 992px wide
   - Example: iPads (landscape/portrait), 
     tablets, small laptops
   ========================================= */
@media (max-width: 992px) {
    /* About section image size */
    .about .about-content .left img {
        height: 350px;
        width: 350px;
    }

    /* General container padding */
    .max-width {
        padding: 0 50px;
        max-width: 930px;
    }

    /* Mobile menu button visible */
    .menu-btn {
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before {
        content: "\f00d"; /* X icon when active */
    }

    /* Navbar mobile menu styling */
    .navbar .menu {
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active {
        left: 0;
    }
    .navbar .menu li {
        display: block;
    }
    .navbar .menu li a {
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }

    /* Home section text & button adjustments */
    .home .home-content .text-1 {
        font-size: 42px;
    }
    .home .home-content .text-2 {
        font-size: 70px;
    }
    .home .home-content .text-3 {
        font-size: 30px;
    }
    .home .home-content a {
        font-size: 23px;
        padding: 10px 30px;
    }

    /* About section stacking */
    .about .about-content .column {
        width: 100%;
    }
    .about .about-content .left {
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .about .about-content .right {
        flex: 100%;
        padding-left: 0;
    }
    .about .about-content .right .text {
        white-space: nowrap !important;
        display: block !important;
    }

    .about .about-content .right .text .typing-2{
        white-space: nowrap !important;
        display: inline-block !important;
    }

    /* Skills & Contact section stacking */
    .skills .skills-content {
        flex-direction: column;
    }
    .skills .skills-content .column,
    .contact .contact-content .column {
        width: 100%;
        margin-bottom: 35px;
    }

    .skills .skills-content .left .text {
        text-align: left !important;
        white-space: nowrap;
        font-size: 4.9vw;
        letter-spacing: -0.3px;
    }

    .skills .skills-content .left p {
        text-align: justify !important;
        text-justify: inter-word;
        word-break: keep-all;
        letter-spacing: -0.2px;
        word-spacing: -0.5px;
    }

    .skills-right {
        align-items: center;
        margin-left: 0;
    }
    .icon-buttons {
        justify-content: flex-start;
        margin-top: 10px;
    }

}

/* =========================================
   Large Smartphones & Small Tablets
   - Devices ≤ 690px wide
   - Example: iPhone Plus/Max models, 
     smaller tablets in portrait
   ========================================= */
@media (min-width: 690px) and (max-width: 800px){
    .max-width {
        padding: 0 23px;
    }
    .home .home-content .text-2 {
        font-size: 60px;
    }
    .home .home-content .text-3 {
        font-size: 32px;
    }
    .home .home-content a {
        font-size: 20px;
    }
    .about .about-content .right .text {
        white-space: nowrap !important;
        display: block !important;
    }

    .about .about-content .right .text .typing-2{
        white-space: nowrap !important;
        display: inline-block !important;
    }

    .skills-right {
        align-items: center;
        margin-left: 0;
    }
    .skills .skills-content .left p {
        text-align: justify !important;
        text-justify: inter-word;
        word-break: keep-all;
        letter-spacing: -0.2px;
        word-spacing: -0.5px;
    }
    .skills .skills-content .left .text {
        text-align: left !important;
        white-space: nowrap;
        font-size: 4.9vw;
        letter-spacing: -0.3px;
    }
    .icon-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        grid-template-columns: repeat(auto-fit, minmax(5px, auto));
        margin-bottom: 0%;
    }
    .Projects{
        margin-top: 0;
    }
}

/* =========================================
   Small Smartphones
   - Devices ≤ 500px wide
   - Example: iPhone SE, older Android phones
   ========================================= */
@media (min-width:250px) and (max-width: 500px) {
    .home .home-content .text-2 {
        font-size: 50px;
    }
    .home .home-content .text-3 {
        font-size: 21px !important;
        white-space: normal !important;
        display: block !important;
    }
    .home .home-content .typing{
        white-space: nowrap !important;
        display: inline !important;
        font-size: 5.1vw;
        word-break: keep-all !important;
    }
    
    .skills .skills-content .left .text {
        font-size: 19px;
    }

    .about .about-content .right .text {
        font-size: 17px;
        text-align: center;
        white-space: nowrap !important;
        display: block !important;
        overflow: hidden;
    }
    .about .about-content .right p {
        text-align: justify !important;
        text-justify: inter-word; 
        word-spacing: -1px;     
        letter-spacing: -0.2px; 
        word-break: normal;    
        hyphens: none !important;
    }
    .text-3-about{
        font-size: 15px;
        display: inline !important;
        white-space: nowrap !important;
    }
    .about .about-content .right .text .typing-2{
        white-space: nowrap !important;
        display: inline !important;
        font-size: 4.0vw;
        word-break: keep-all !important;
    }
    .skills .skills-content .left p {
        text-align: justify !important;
        text-justify: inter-word;
        word-break: normal;
        letter-spacing: -0.2px;
        word-spacing: -1px;
    }
    .skills .skills-content .left .text {
        text-align: left !important;
        white-space: nowrap;
        font-size: 4.9vw;
        letter-spacing: -0.3px;
    }
    section .title::before {
        width: 60%; /* Wider for small screens */
    }
    section .title::after {
        font-size: 1rem; /* Slightly smaller text */
    }

    /* Contact form fields stacked vertically */
    .contact .right form .fields {
        flex-direction: column;
    }
    .contact .right form .name,
    .contact .right form .email {
        margin: 0;
    }

    /* Smaller scroll-up button */
    .scroll-up-btn {
        right: 15px;
        bottom: 15px;
        height: 38px;
        width: 35px;
        font-size: 23px;
        line-height: 38px;
    }

    .skills-right {
        align-items: center;
        margin-left: 0;
    }
    .icon-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.5rem;
        grid-template-columns: repeat(auto-fit, minmax(5px, auto));
        margin: 0 5px 0 0;
    }
    .Projects{
        margin-top: 0;
    }
}
