/*==================== GOOGLE FONTS ====================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/*==================== VARIABLES CSS ====================*/
:root {
    --header-height: 3rem;

    /*==== Colors ====*/
    /* Main brand color */

    --hue-color: 230; /*Purple 250 - Green 142 - Blue 230 - Pink 340*/

    /* HSL color mode */
    --first-color: hsl(0, 0%, 18%);
    --first-color-dark: hsl(0, 3%, 6%);

    --first-color-second: hsl(var(--hue-color), 69%, 18%) ;
    --first-color-alt: hsl(0, 0%, 40%);
    --first-color-lighter: hsl(0, 0%, 50%);
    --title-color: hsl(var(--hue-color), 9%, 15%);
    --text-color: hsl(var(--hue-color), 58%, 10%);
    --text-color-light: hsl(var(--hue-color), 8%, 65%);
    --input-color: hsl(0, 0%, 90%);
    --body-color: hsl(var(--hue-color), 60%, 99%);
    --container-color: hsl(var(--hue-color), 100%, 98%);
    --scroll-bar-color: hsl(var(--hue-color), 12%, 20%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 20%);

    /*========== Font and typography ==========*/
    --body-font: 'Poppins', sans-serif;

    /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
    --big-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;

    /*========== Margenes Bottom ==========*/
    /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
    --mb-0-25: .25rem;
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* Font size for large devices */
@media screen and (min-width: 968px) {
    :root {
        --big-font-size: 3rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}



/*========== Button Dark/Light ==========*/
.nav__btns {
    display: flex;
    align-items: center;

}

.change-theme {
    font-size: 1.25rem;
    color: var(--title-color);
    margin-right: var(--mb-1);
    cursor: pointer;
}

.change-theme:hover {
    color: var(--first-color);
}



/*==================== BASE ====================*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 0 var(--header-height) 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
}

h1, h2, h3, h4 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    list-style: none;

}

img {
    width: 40px;
    vertical-align: middle;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding: 0;
    border-style: none;
}

span {
    font-size: var(--body-font);
    font-style: italic;
    color: rgb(136, 136, 136);
}

.span-header{
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    font-size: x-large;
}

.a__alternativecolor {
  text-decoration: none;
  color:  hsl(var(--hue-color), 38%, 35%);
}

.a__alternativecolor:hover {
   text-decoration: none; 
   color: hsl(var(--hue-color), 118%, 35%);
  }

.a__alternativecolor:focus { text-decoration: none;
   color:orange;
  }

.a__alternativecolor:active { text-decoration: none;
   color:teal; 
  }

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

/*==================== REUSABLE CSS CLASSES ====================*/
.section {
    padding: 2rem 0 4rem;

}

.section__title {
    font-size: var(--h1-font-size);
}

.section__subtitle {
    display: block;
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-3);
}

.section__title, .section__subtitle {
    text-align: center;
}

/*==================== LAYOUT ====================*/
.container {
    max-width: 768px;
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.header {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: var(--body-color);
}

/*==================== NAV ====================*/

.nav {
    max-width: 968px;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

.nav__logo, .nav__toggle {
    color: var(--title-color);
    font-weight: var(--font-medium);
}

.nav__logo:hover {
    color: var(--first-color)
}

.nav__toggle {
    font-size: 1.1rem;
    cursor: pointer;
}

.nav__toggle:hover {
    color: var(--first-color);
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        background-color: var(--body-color);
        padding: 2rem, 1.5rem, 4rem;
        box-shadow: 0 -1px 4px rgba(0,0,0,.15);
        border-radius: 1.2rem 1.2rem 0 0;
        transition: .3s;
    }
}

.nav__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5px;
    margin-right: 2rem;
}

.nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: var(--small-font-size);
    color: var(--title-color);
    font-weight: var(--font-medium);
}

.nav__link:hover {
    color: var(--first-color);
}

.nav__icon {
    font-size: 1.2rem;
}

.nav__close {
    position: absolute;
    right: 0.5rem;
    bottom: 3rem;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--first-color)
}

.nav__close:hover {
    color: var(--first-color-alt)
}
/* show menu */
.show-menu{
    bottom: 0
}

/* Active link */
.active-link {
    color: var(--first-color);
}

/* Change background header */
.scroll-header {
    box-shadow: 0 -1px 4px rgba(0,0,0, .15);    
}

/*==================== HOME ====================*/
.home__container {
    gap: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.home__content{
    display: grid;
    grid-template-columns: .5fr 3fr;
    padding-top: 3.5rem;
    align-items: center;
}

.home__social {
    display: grid;
    grid-template-columns: max-content;
    order: 0;
}

.home__social-icon {
    font-size: 1.25rem;
    color: var(--first-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--body-color);
    border: 2px solid transparent;
    border-radius: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.home__social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.home__social-icon:hover::before {
    left: 100%;
}

.home__social-icon:hover {
    color: #fff;
    border-color: var(--first-color);
    background: var(--first-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.home__social-icon:active {
    transform: translateY(-2px) scale(1.02);
}

.home__social-icon svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.home__social-icon:hover svg {
    transform: rotate(5deg);
}

.home__social-icon i {
    transition: transform 0.3s ease;
}

.home__social-icon:hover i {
    transform: scale(1.1);
}

.home__blob {
    width: 150px;
    fill: var(--first-color);
    margin-left: 1.8rem;
}

.home__blob-img {
    width: 200px;
}

.home__data {
    grid-column: 1/3;
    max-width: 100%;
}

.home__img {
    order: initial;
}

.home__subtitle {
    font-size: var(--h3-font-size);
    color: var(--text-color);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-0-75);
    opacity: 0; /* Start hidden */
    transform: translateX(50px); /* Start position */
    animation: slideInRight 0.8s forwards ease-in-out; /* Animation properties */
    animation-delay: 0.3s; /* Delay for subtitle */
}
.home__title {
    font-size: var(--big-font-size); /* Keeps your original font size */
    margin-top: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.hidden {
    opacity: 0;
  }
  .console-container {
    font-family: 'Khula', sans-serif; /* Keep your original font */
    font-size: 2em; /* Keep your original font size */
    text-align: center;
    height: 200px;
    width: 600px;
    display: block;
    position: absolute;
    color: white; /* You can customize this color */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  .console-underscore {
    font-size: 2rem;
    color: #222;
    opacity: 1;
    font-family: inherit;
    font-weight: 400;
    min-height: 2.5rem;
    display: inline-block;
    vertical-align: middle;
  }

.home__description {
    margin-bottom: var(--mb-2);
}

.home__scroll {
    display: none;
}

.home__scroll-button {
    color: var(--first-color);
    transition: 3s;
}

.home__scroll-button:hover {
    transform: translateY(0.25rem);
}

.home__scroll-mouse {
    font-size: 2rem;
}

.home__scroll-name {
    font-size: var(--small-font-size);
    color: var(--title-color);
    font-weight: var(--font-medium);
    margin-right: var(--mb-0-25);

}

.home__scroll-arrow {
    font-size: 1.25rem;
}


/* MAP */
.map__container {
    gap: 1rem;
}

.map__content{
    grid-template-columns: .5fr 3fr;
    padding-top: 3.5rem;
    align-items: center;
}

.map__social {
    display: grid;
    grid-template-columns: max-content;
    row-gap: 1rem;
}

.map__social-icon {
    font-size: 1.25rem;
    color: var(--first-color);
}

.map__social-icon:hover {
    color: var(--first-color-alt)
}

.map__blob {
    width: 150px;
    fill: var(--first-color);
    margin-left: 1.8rem;
}

.map__blob-img {
    width: 200px;
}

.map__data {
    grid-column: 1/3;
}

.map__title {
    font-size: var(--h1-font-size);
    margin-top: 1rem;
    text-align: left;
}

.map__subtitle {
    font-size: var(--h3-font-size);
    color: var(--text-color);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-0-75);
}

.map__description {
    margin-bottom: var(--mb-2);
}

.map__scroll {
    display: none;
}

.map__scroll-button {
    color: var(--first-color);
    transition: 3s;

}

.map__scroll-button:hover {
    transform: translateY(0.25rem);
}

.map__scroll-mouse {
    font-size: 2rem;
}

.map__scroll-name {
    font-size: var(--small-font-size);
    color: var(--title-color);
    font-weight: var(--font-medium);
    margin-right: var(--mb-0-25);
}

.map__scroll-arrow {
    font-size: 1.25rem;
}

/*==================== BUTTONS ====================*/

.button {
    display: inline-block;
    background-color: var(--first-color);
    color: #FFFF;
    padding: 1rem;
    border-radius: .5rem;
    font-weight: var(--font-medium);
}

.button:hover {
    background-color: var(--first-color-alt);
}

.button__icon {
    font-size: 1.2rem;
    margin-left: var(--mb-0-5);
    transition: .3s;
}

.button--white {
    background-color: #FFF;
    color: var(--first-color)
}

.button--white:hover {
    background-color: #FFF;
}

.button--flex {
    display: inline-flex;
    align-items: center;
    transition: .3s;
}

.button--small {
    padding: .75rem 1rem;
}

.button--link {
    padding: 0;
    background-color: transparent;
    color: var(--first-color);
}

.button--link:hover {
    background-color: transparent;
    color: var(--first-color-alt);
}

/*==================== SKILLS ====================*/
.skills__logo {
    width: 48px; /* Suitable size for logos */
    height: auto;
    margin-top: 0.5rem;
    border-radius: 8px; /* Optional: smooths edges */
}


.skills__data {
    display: flex;
    align-items: center; /* Center logos and titles vertically */
}

.skills__titles {
    flex-grow: 1; /* Allow titles to grow and take space */
    display: flex;
    justify-content: space-between; /* Space between name and logo */
}


.skills__container {
    row-gap: 0;
}

.skills__header {
    display: flex;
    align-items: center;
    margin-bottom: var(--mb-2-5);
    cursor: pointer;
}

.skills__icon, .skills__arrow {
    font-size: 2rem;
    color: var(--first-color);
}

.skills__icon {
    margin-right: var(--mb-0-75);
}

.skills__title {
    font-size: var(--h3-font-size);
}

.skills__subtitle {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.skills__arrow {
    margin-left: auto;
    transition: .4s;
}

.skills__list {
    row-gap: 1.5rem;
    padding-left: 2.7rem;
}

.skills__titles {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--mb-0-5)
}

.skills__name {
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
}

.skills__bar, .skills__percentage {
    height: 5px;
    border-radius: .25rem;
}

.skills__bar {
    background-color: var(--first-color-lighter);
}

.skills__percentage {
    display: block;
    background-color: var(--first-color);
}

.skills__html {
    width: 100%;
}

.skills__close .skills__list {    
    height: 0;
    overflow: hidden;
}

.skills__open .skills__list {
    height: max-content;
    margin-bottom: var(--mb-2-5);
}

.skills__open .skills__arrow {
    transform: rotate(-180deg);
}

/*==================== journey ====================*/

.journey__tabs {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: var(--mb-2)
}

.journey__button {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    cursor: pointer
}

.journey__button:hover {
    color: var(--second-color);
}

.journey__icon {
    font-size: 1.8rem;
    margin-right: var(--mb-0-25);
}

.journey__data {
    display: grid;
    grid-template-columns: 1fr max-content 1fr;
    column-gap: 1.5rem;
}

.journey__title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
}

.journey__subtitle {
    display: inline-block;
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-1);
}

.journey__calendar {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    /* margin-bottom: var(--mb-1) */
}

.journey__rounder {
    display: inline-block;
    width: 13px;
    height: 13px;
    background-color: var(--first-color);
    border-radius: 50%;
}

.journey__line {
    display: block;
    width: 1px;
    height: 100%;
    background-color: var(--first-color);
    transform: translate(6px, -7px)
}

.journey__content[data-content] {
    display: none;
}

.journey__active[data-content] {
    display: block;
}

.journey__button.journey__active {
    color: var(--first-color)
}


/* Active Modal */
.active-modal {
    opacity: 5;
    visibility: visible;
}

/*==================== PROJECT IN MIND ====================*/

.project {
    text-align: center;
}

.project__bg {
    background-color: var(--first-color-second);
    padding-top: 3rem;
}

.project__title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-0-75);
}

.project__description {
    margin-bottom: var(--mb-1-5);
}

.project__title, .project__description {
    color: #FFF;
}

.project__img {
    width: 232px;
    justify-self: center;
}

/*==================== CONTACT ME ====================*/
.contact__container {
    row-gap: 3rem;
}

.contact__information {
    display: flex;
    margin-bottom: var(--mb-2)
}

.contact__icon {
    font-size: 1.5rem;
    color: var(--first-color);
    margin-right: var(--mb-0-75);
}

.content__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
}

.contact__subtitle {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.contact__content {
    background-color: var(--input-color);
    border-radius: .5rem;
    padding: .75rem 1rem .25rem;
}

.contact__label {
    font-size: var(--smaller-font-size);
    color: var(--title-color);
}

.contact__input {
    width: 100%;
    background-color: var(--input-color);
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    border: none;
    outline: none;
    padding: .25rem .5rem .5rem 0;
}

/*==================== FOOTER ====================*/

.footer {
    padding-top: 2rem;
}

.footer__container {
    row-gap: 3.5rem;
}

.footer__bg {
    background-color: var(--first-color);
    padding: 2rem 0 3rem;
}

.footer__title {
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-0-25);
}

.footer__subtitle {
    font-size: var(--small-font-size);
}

.footer__links {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
}

.footer__link:hover {
    color: var(--first-color-lighter);
}

.footer__social {
    font-size: 1.25rem;
    margin-right: var(--mb-1-5);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer__social::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.footer__social:hover::before {
    left: 100%;
}

.footer__social:hover {
    color: var(--first-color);
    background: #fff;
    border-color: #fff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footer__social svg {
    width: 18px;
    height: 18px;
}

.footer__copy {
    font-size: var(--smaller-font-size);
    text-align: center;
    color: var(--text-color-light);
    margin-top: var(--mb-3)
}

.footer__title,
.footer__subtitle,
.footer__link,
.footer__social {
    color: #FFF;
}

/* svg */

.svg__container .svg__container{
    width: 50%;
    height: 50%;
    margin-top: 2rem;
    margin-left: 32rem;
}   

path {
    fill: #c2bebe;
    stroke: rgb(29, 28, 28);
    cursor: pointer;
}

path:hover {
    fill:  #003B4A;
}

#name {
    position:absolute;
    background-color: rgb(255, 242, 212);
    width: fit-content;
    opacity: 0;
    border-radius: 5px;
    border: 2px solid rgb(75, 1, 13);
    padding: 5px;
    font-size: 1rem;
    color: #222;
    font-family: var(--body-font);
    font-kerning: normal;
    font-weight: 400;
    letter-spacing: -.03rem;
    line-height: 1.7;
}
   
/*========== SCROLL UP ==========*/
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    background-color: var(--first-color-dark);
    opacity: .8;
    padding: 0 .3rem;
    border-radius: .4rem;
    z-index: var(--z-tooltip);
    transition: .4s;
}

.scrollup:hover {
    background-color: var(--first-color-alt);
}

.scrollup__icon {
    font-size: 1.5rem;
    color: #FFF;
}

/* Show scroll */
.show-scroll {
    bottom: 5rem;
}

/*========== SCROLL BAR ==========*/
::-webkit-scrollbar {
    width: .60rem;
    background-color: var(--scroll-bar-color);
    border-radius: .5rem;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb-color);
    border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-color-light);
}

/*==================== MEDIA QUERIES ====================*/
/* For small devices */
@media screen and (max-width: 420px) {
    .container {
        margin-left: var(--mb-1);
        margin-right: var(--mb-1);
    }
    .nav__menu {
        padding: 2rem .25rem 4rem;
    }

    .nav__list {
        column-gap: 0;
    }
    .home__content {
        grid-template-columns: .25fr 3fr;
    }

    .home__blob {
        width: 180px;
    }

    .skills__title {
        font-size: var(--normal-font-size);
    }
    
    .journey__data {
        gap: .5rem;
    }
    
    .svg__container  {
        width: 60%;
        height: 50%;
        margin-top: 2rem;
        margin-left: 1rem;
        width: 325px;
    }  

    svg svg {
        height:fit-content;
        width: 325px;
    }
    
}

/* For medium devices */
@media screen and (min-width: 538px) {

    .home__content {
        grid-template-columns: max-content 1fr 1fr;
    }

    .home__data {
        grid-column: initial;
        max-width: none;
        padding-right: 2rem;
    }

    .home__img {
        order: 1;
        justify-self: center;
    }

    .home__blob {
        width: 140px;
    }

    .svg__container {
        width: 75%;
        height: 90%;
        margin-top: 2rem;
        margin-left: 2rem;
    }  
    
    .contact__container,
    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .journey__sections {
        display: grid;
        grid-template-columns: .6fr;
        justify-content: center;
    }
 

    @media screen and (min-width: 768px) {

        .container {
            margin-left: auto;
            margin-right: auto;
        }

        .body {
            margin: 0;
        }

        .section {
            padding: 6rem 0 2rem;
        }

        .section__subtitle {
            margin-bottom: 4rem;
        }

        .header {
            top: 0;
            bottom: initial;
        }

        .header,
        .main,
        .footer__container {
            padding: 0 1rem;
        }

        .nav {
            height: calc(var(--header-height) + 1.5rem);
            column-gap: 1rem;
        }

        .nav__icon,
        .nav__close,
        .nav__toggle {
            display: none;
        }

        .nav__list {
            display: flex;
            column-gap: 2rem;
        }

        .nav__menu {
            margin-left: auto;
        }

        .change-theme {
            margin: 0;
        }

        .home__container {
            row-gap: 5rem;
        }

        .home__content {
            padding-top: 5.5rem;
            column-gap: 2rem;
            grid-template-columns: max-content 1fr auto;
        }

        .home__data {
            padding-right: 0;
            order: 2;
            min-width: 250px;
        }

        .home__img {
            order: 3;
            width: 100%;
            max-width: 340px;
        }

        .home__social {
            order: 1;
        }

        .home__blob {
            width: 100%;
            max-width: 100%;
            height: auto;
        }

        .home__blob-img {
            width: 100%;
            height: auto;
        }

        .home__scroll {
            display: block;
            text-align: center;
        }

        .home__scroll-button {
            margin-left: 0;
            display: inline-flex;
        }
     
        .journey__tabs {
            justify-content: center;
        }

        .journey__button {
            margin: 0 var(--mb-1)
        }

        .journey__sections {
            grid-template-columns: .5fr
        }

        .footer__container {
            grid-template-columns: repeat(3, 1fr);
        }

        .footer__bg {
            padding: 3rem 0 3.5rem; 
        }

        .footer__links {
            flex-direction: row;
            column-gap: 2rem;
        }

        .footer__socialmediabar {
            justify-self: flex-end;
        }
        
        .footer__copy {
            margin-top: 4.5rem;
        }

    }
    
}

/* For large devices */
@media screen and (min-width: 1024px) {
    .header,
    .main,
    .footer__container {
        padding: 0;
    }

    .home__content {
        grid-template-columns: max-content max-content max-content;
        column-gap: 5rem;
        justify-content: center;
    }

    .home__data {
        padding-right: 0;
        max-width: 350px;
    }

    .home__img {
        max-width: 370px;
    }

    .swiper-button-prev {
        left: 3.5rem;
    }

    .swiper-button-next {
        right: 3.5rem;
    }

    .swiper-container-horizontal > .swiper-pagination-bullets {
        bottom: -4.5rem
    }

    .contact__form {
        width: 460px; 
    }
    .contact__inputs {
        grid-template-columns: repeat(2, 1fr);
    }

    .svg__container {
        width: 49%;
        height: 50%;
        margin-top: 2rem;
        margin-left: 28rem;
    }  

    .home__social {
        transform: translateX(0);
    }
}

/* Interrail Part */
/* Journey Section */
.interrailjourney__section {
    padding: 80px 0;
  }
  
  /* Section Title */
  .interrailsection__title {
    text-align: justify;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;    
  }
  
  /* Journey Container */
  .journey__container {
    display: center;
    flex-wrap: wrap;
    justify-content: justify;
  }
  
 /* Journey Point */
.journey__point {
    position: relative;
    width: 250px;
    margin: 20px;
    text-align: center;
  }
  
  /* Journey Date */
  .journey__date {
    position: absolute;
    left: 70%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: bold;
    background-color: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 20px;
    margin-bottom: 30px;
  }
  
  /* Journey City */
  .journey__city {
    text-align: left;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
  }  
  
  /* Journey Landscapes */
  .journey__landscapes {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  /* Journey Landmark */
  .journey__landscapes li {
    margin-bottom: 5px;
    color: #555;
    text-align: left;
  }
  
  /* Journey Landmark Checkbox */
  .journey__landscapes li input[type="checkbox"] {
    display: none;
  }
  
  /* Journey Landmark Label */
  .journey__landscapes li label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
  }
  
  /* Journey Landmark Label::before */
  .journey__landscapes li label::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background-color: #fff;
    transition: border-color 0.3s ease;
  }
  
  /* Journey Landmark Label:hover::before */
  .journey__landscapes li label:hover::before {
    border-color: #999;
  }
  
  /* Journey Landmark Label::after */
  .journey__landscapes li label::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ccc;
    opacity: 0;
    transform: scale(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  /* Journey Landmark Checkbox:checked + Label::after */
  .journey__landscapes li input[type="checkbox"]:checked + label::after {
    opacity: 1;
    transform: scale(1);
  }
  
  /* Journey Landmark Label::before */
  .journey__landscapes li label::before,
  .journey__landscapes li label::after {
    display: inline-block;
    vertical-align: middle;
  }

  /* Project Section Styling */
.projects__container {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 2rem;
}

.card {
    background: #f0f4f8;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Project Card Text Styling */
.projects__title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.projects__description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.projects__link {
    font-size: 1rem;
    color: #007BFF;
    text-decoration: none;
    font-weight: 500;
}

.projects__link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects__container {
        grid-template-columns: 1fr;
    }
}
.tubitak-support {
    display: flex;
    align-items: center;
    margin-top: 10px; /* Adjust as needed */
}

.projects__tubitak-logo {
    width: 50px; /* Adjust size as needed */
    margin-left: 30px; /* Space between text and logo */
}



.section {
    padding: 40px 0; /* Add vertical padding for the section */
}

.certifications__container {
    display: flex;
    flex-direction: column; /* Aligns items in a column */
    align-items: center; /* Center items horizontally */
}

.certifications__content {
    width: 100%; /* Use full width of the container */
    max-width: 800px; /* Limit max width for larger screens */
    margin: 20px auto; /* Center container */
}

.certification__card {
    background: #f9f9f9; /* Card background */
    border: 1px solid #ddd; /* Border */
    border-radius: 8px; /* Rounded corners */
    padding: 15px; /* Padding */
    margin: 10px 0; /* Space between cards */
    cursor: pointer; /* Pointer cursor on hover */
    transition: all 0.3s ease; /* Transition for hover effect */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.certification__card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

.certification__card-front {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center items vertically */
}

.certification__title {
    display: flex; /* Use flexbox to align text and logo */
    align-items: center; /* Center items vertically */
    margin-right: 10px; /* Space between title and logo */
}

.certification__logo {
    width: 120px; /* Set width for the logo */
    height: auto; /* Maintain aspect ratio */
    margin-left: 50px; /* Space between title and logo */
}

.certification__logo_efset {
    width: 40px; /* Set width for the logo */
    height: auto; /* Maintain aspect ratio */
    margin-left: 50px; /* Space between title and logo */
}

.certifications__description {
    text-align: center;
    margin-top: 5px; /* Space between title and description */
}

/* Mobile Specific Styles */
@media (max-width: 600px) {
    .certifications__title {
        font-size: 1.2rem; /* Adjust title font size for mobile */
    }

    .certifications__description {
        font-size: 0.9rem; /* Smaller description font size */
    }

    .certification__button {
        width: 100%; /* Full-width button on mobile */
        font-size: 1rem; /* Responsive button text size */
    }

    .certification__card {
        border: 1px solid #ddd; /* Add a border for better separation */
    }
}


/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(135deg, #2e2e2e, #1b1b1b);
}

/* Planet Styles */
.planet {
    display: block;
    width: 125px;
    height: 125px;
    position: relative;
    transform-style: preserve-3d;
    border-radius: 50%;
    background: rgb(252, 201, 107);
    background: linear-gradient(
        180deg,
        rgba(252, 201, 107, 1) 0%,
        rgba(252, 201, 107, 1) 15%,
        rgba(247, 174, 1, 1) 15%,
        rgba(247, 174, 1, 1) 19%,
        rgba(252, 201, 107, 1) 19%,
        rgba(252, 201, 107, 1) 22%,
        rgba(247, 174, 1, 1) 22%,
        rgba(247, 174, 1, 1) 28%,
        rgba(252, 201, 107, 1) 28%,
        rgba(252, 201, 107, 1) 31%,
        rgba(252, 201, 107, 1) 33%,
        rgba(252, 201, 107, 1) 36%,
        rgba(247, 174, 1, 1) 36%,
        rgba(247, 174, 1, 1) 48%,
        rgba(252, 201, 107, 1) 48%,
        rgba(252, 201, 107, 1) 55%,
        rgba(247, 174, 1, 1) 55%,
        rgba(247, 174, 1, 1) 66%,
        rgba(252, 201, 107, 1) 66%,
        rgba(252, 201, 107, 1) 70%,
        rgba(247, 174, 1, 1) 70%,
        rgba(247, 174, 1, 1) 73%,
        rgba(252, 201, 107, 1) 73%,
        rgba(252, 201, 107, 1) 82%,
        rgba(247, 174, 1, 1) 82%,
        rgba(247, 174, 1, 1) 86%,
        rgba(252, 201, 107, 1) 86%
    );
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.25),
        inset 8px -4px 6px rgba(199, 128, 0, 0.5),
        inset -8px 4px 8px rgba(255, 235, 199, 0.5),
        inset 20px -5px 12px #f7ae01,
        0 0 100px rgba(255, 255, 255, 0.35);
    transform: rotateZ(-15deg);
}

.planet::before {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 16px solid #7b6f42;
    border-top-width: 0;
    border-radius: 50%;
    box-shadow: 0 -2px 0 #b1a693;
    animation: rings1 0.8s infinite linear;
}

.planet::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 8px solid #b1a693;
    border-top-width: 0;
    border-radius: 50%;
    box-shadow: 0 -2px 0 #7b6f42;
    animation: rings2 0.8s infinite linear;
}

@keyframes rings1 {
    0% {
        transform: rotateX(65deg) rotateZ(0deg) scale(1.75);
    }
    100% {
        transform: rotateX(65deg) rotateZ(360deg) scale(1.75);
    }
}

@keyframes rings2 {
    0% {
        transform: rotateX(65deg) rotateZ(0deg) scale(1.7);
    }
    100% {
        transform: rotateX(65deg) rotateZ(360deg) scale(1.7);
    }
}

/* Loading Text Styles */
.loading-text {
    margin-top: 20px;
    font-size: 24px; /* Larger text size for visibility */
    color: #ffffff; /* Light text color */
    font-weight: bold; /* Bold text */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Adding shadow for depth */
    animation: fadeIn 1s ease-in-out infinite alternate; /* Fading animation */
}

@keyframes fadeIn {
    0% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}


.home__blob {
    transition: all 0.5s ease-in-out;
  }
  
  .home__blob:hover {
    transform: scale(1.1);
    background-color: var(--body-color);
  }

.cool-link {
  display: inline;
  color: #222;
  font-weight: 600;
  border-radius: 4px;
  background: none;
  padding: 0 2px;
  text-decoration: none;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
}
.cool-link:hover, .cool-link:focus {
  color: #111;
  border-bottom: 2px solid #111;
  background: none;
  text-decoration: none;
}

#text {
  font-family: 'Poppins', 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #222;
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: 0.5px;
  background: none;
  min-height: 1.7rem;
  display: inline-block;
  vertical-align: middle;
}

.console-underscore {
  font-size: 1.25rem;
  color: #222;
  opacity: 1;
  font-family: inherit;
  font-weight: 400;
  min-height: 1.7rem;
  display: inline-block;
  vertical-align: middle;
}

/*==================== PUBLICATIONS ====================*/
.publications__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.publications__content {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
}

.publication__card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.publication__card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.publication__card-front {
    display: flex;
    align-items: center;
}

.publications__title {
    display: flex;
    align-items: center;
    margin-right: 10px;
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
}

.publication__logo {
    width: 80px;
    height: auto;
    margin-left: 50px;
}

.publications__description {
    text-align: center;
    margin-top: 5px;
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.publication__details {
    display: none;
    margin-top: 10px;
    color: #555;
    line-height: 1.6;
    margin: 8px 0;
}

.publication__button {
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    color: #fff;
    background-color: #007bff;
    padding: 10px 15px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.publication__button:hover {
    background-color: #0056b3;
}

.publication__card {
    border: 1px solid #ddd;
}

.publication__logo {
    width: 60px;
    margin-left: 20px;
    height: auto;
}

@media (max-width: 600px) {
    .publication__button {
        width: 100%;
        font-size: 1rem;
    }
    .publications__description {
        font-size: 0.9rem;
    }
    .publications__title {
        font-size: 1.2rem;
    }
}