* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
}
:root {
    --bg-navbar: rgba(0, 0, 0, 0.3);
    --bg-color: #080808;
    --second-bg-color: #131313;
    --third-bg-color: #003038;
    --text-color: #ffffff;
    --second-text-color:#cccccc;
    --main-color: #00d9ff;
    --second-color: #0060cd;
}
[data-theme="light"] {
    --bg-navbar: rgba(f, f, f, 0.3);
    --bg-color: #ffffff;
    --second-bg-color: #f6f6f6;
    --third-bg-color: #c9e2ff;
    --text-color: #000000;
    --second-text-color: #333333;
    --main-color: #0060cd;
    --second-color: #00d9ff;
}
html {
    font-size: 62.5%;
    overflow-x: hidden;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    position: relative;
}
body {
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    width: 100vw !important;
    min-width: 100vw;
    max-width: 100vw !important;
    display: block;
    align-items: center;
    position: relative;
    margin: 0 auto;
    padding: 0;
    left: 0;
    right: 0;
}
.section {
    padding: 3% 5% 5% 5%;
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
}
.heading{
    font-size: 7rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
    font-family: 'Baloo Paaji', cursive;
}

/* ******** Header ******** */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw !important;
    height: 8%;
    padding: 3rem 10% 3rem;
    background: var(--bg-navbar);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}
.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.logo {
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
    font-family: 'Baloo Paaji', cursive;
}
.logo:hover {
    transform: scale(1.1);
}
.logo span {
    text-shadow: 0 0 2px var(--main-color);
    font-family: 'Baloo Paaji', cursive;
}
.logo:hover span {
    text-shadow: 0 0 4px var(--main-color);
}
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}
.header .navbar a {
    font-size: 1.8rem;
    margin-left: 3rem;
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    border-bottom: 3px solid transparent;
}
.header .navbar a::after {
    content: '';
    width: 0;
    height: 3px;
    background: var(--main-color);
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.3s ease-in-out;
}
.header .navbar a:hover::after,
.header .navbar a.active::after {
    width: 100%;
}
#menu-icon {
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
}
section {
    position: relative;
    min-height: 100vh;
    padding: 6rem 12% 6;

}

/* ******** BG Texture ******** */
.main {
    opacity: 1;
    background: repeating-linear-gradient( -45deg, var(--second-bg-color), var(--second-bg-color) 5px, var(--bg-color) 5px, var(--bg-color) 25px );
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--main-color);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    margin-left: 1rem;
    position: static;
}
.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--main-color);
}
.theme-toggle i {
    font-size: 2.2rem;
    color: var(--bg-color);
}

/* Language Toggle Button */
.language-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--text-color);
    color: var(--bg-color);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    margin-left: 1rem;
    position: relative;
}
.language-toggle:hover {
    transform: scale(1.1);
}
.language-toggle i {
    font-size: 2.2rem;
    color: var(--bg-color);
}

/* Language Dropdown Menu */
.language-dropdown {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: var(--bg-color);
    border: 2px solid var(--main-color);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 0 15px var(--main-color);
    z-index: 10; 
}
.language-dropdown a {
    display: block;
    color: var(--text-color);
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}
.language-dropdown a:hover {
    background-color: var(--main-color);
    color: var(--bg-color);
    border-radius: 0.5rem;
}
.language-toggle.active .language-dropdown {
    display: block;
}

/* ******** Home ******** */
.home {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1%;
    background-color: var(--bg-color);
}
.home-content  {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    margin-top: 0rem;
    text-align: left;
    width: 40%;
    margin-left: 0%;
}
span {
    color: var(--main-color);
}
.logo span {
    color: var(--main-color);
}
.home-content h3 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
}
.home-content p {
    font-size: 1rem;
}
.home-content h1 {
    font-size: 5.6rem;
    font-weight: 500;
    line-height: 1;
    margin-top: 1.5rem;
    font-family: 'Baloo Paaji', cursive;
}
.home-img {
    border-radius: 50%;
    width: 40%;
}
.home-img img {
    position: relative;
    top: 3rem;
    width: 32vw;
    max-width: 40vw;
    margin-top: 0rem;
    border-radius: 50%;
    cursor: pointer;
    border: var(--main-color) 0.1rem solid;
    transition: 0.4s ease-in-out;
}
.home-img img:hover {
    box-shadow: 0 0 10px var(--main-color),
                0 0 20px var(--main-color),
                0 0 30px var(--main-color);
}
.home-content p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
}
.social-icons {
    
}
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--main-color);
    margin: 2rem 1.5rem 2rem 0;
    transition: 0.3s ease-in-out;
}
.social-icons a:hover {
    background: var(--main-color); 
    color: var(--bg-color);
    box-shadow: 0 0 10px var(--main-color);
    transform: scale(1.1);
}
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--main-color);
    border-radius: 4rem;
    font-size: 1.4rem;
    color: var(--bg-color);
    box-shadow: 4rem;
    letter-spacing: 0rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn:hover {
    box-shadow: 0 0 10px var(--main-color);
    transform: scale(1.05);
}
.btn-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.btn-group a:nth-of-type(2){
    background-color: var(--bg-color);
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 20px transparent;
}
.btn-group a:nth-of-type(2):hover {
    box-shadow: 0 0 20px var(--main-color);
    color: var(--bg-color);
    background-color: var(--main-color);
}
.text-animation {
    font-size: 34px;
    font-weight: 600;
    min-width: 200px;
}
.text-animation .animated-text {
    position: relative;
}
.text-animation .animated-text::before {
    content: var(--text-animation-content, "Frontend Developer");
    animation: words 20s infinite;
    color: var(--main-color);
}
.text-animation .animated-text::after {
    content: '';
    position: absolute;
    right: -8px;
    width: calc(100% + 8px);
    border-left: 3px solid var(--second-bg-color);
    height: 100%;
    background-color: var(--bg-color);
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}
.restart-animation .animated-text::before,
.restart-animation .animated-text::after {
    animation: none !important;
}
@keyframes cursor {
    to{
        border-left: 2px solid var(--main-color);
    }
}
@keyframes words {
    0%, 25% {
        --text-animation-content: var(--text-animation-1);
    }
    26%, 50% {
        --text-animation-content: var(--text-animation-2);
    }
    51%, 75% {
        --text-animation-content: var(--text-animation-3);
    }
    76%, 100% {
        --text-animation-content: var(--text-animation-4);
    }
}
@keyframes typing {
    5%, 18%, 30%, 43%, 55%, 68%, 80%, 93%
    { width: 0; }
    0%, 23%, 25%, 48%, 50%, 73%, 75%, 98%
    { width: calc(100% + 8px); }
}

/* ******** My Info ******** */
.about{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.about-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 3rem;
    padding: 0 2rem;
}
.about-me {
    text-align: center;
}
.about-me h3 {
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 2rem;
}
.about-me p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--second-text-color);
}
.download-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--main-color);
    color: var(--bg-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    margin-top: 2rem; 
    transition: 0.3s ease-in-out;
    border: 2px solid transparent;
}
.download-btn:hover {
    background-color: var(--bg-color);
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 10px var(--main-color);
    transform: scale(1.05);
}
.download-btn i {
    margin-left: 0.5rem;
    font-size: 20px;
}
.skills-languages {
    display: flex;
    gap: 6rem;
    justify-content: space-between;
}
.skills-column,
.languages-column {
    flex: 1;
    background-color: var(--bg-color);
    border: 2px solid var(--main-color);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 0 10px var(--main-color);
    transition: 0.3s ease-in-out;
}
.skills-column:hover,
.languages-column:hover {
    transform: scale(1.04);
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
}
.skills-column h3,
.languages-column h3 {
    font-size: 2.5rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
    text-align: center;
}
.skills-column ul {
    list-style: none;
    padding: 0;
}
.skills-column li {
    font-size: 1.6rem;
    color: var(--second-text-color);
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--second-bg-color);
    border-radius: 0.5rem;
    transition: 0.3s ease-in-out;
}
.skills-column li:hover {
    background-color: var(--main-color);
    color: var(--bg-color);
    transform: translateX(0px);
}
.language-progress {
    display: grid;
    gap: 1.5rem;
    padding: 1rem 0;
}
.language-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 40px;
    transition: width 1.5s ease-in-out 0.3s !important;
    transform: none;
}
.language-item.revealed .progress-fill {
    animation-play-state: running;
}
.language-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0rem;
    padding-left: 1%;
}
.language-name {
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--text-color);
} 
.progress-bar {
    height: 16px;
    background: var(--second-bg-color);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.progress-fill {
    height: 100%;
    background: var(--main-color);
    border-radius: 5px;
    position: relative;
    width: 100% !important;
    transition: transform 1.5s ease-in-out, opacity 0.3s ease;
    transform-origin: left center;
    transform: scaleX(0);
    opacity: 0;
}
.progress-fill:hover {
    box-shadow: 0 0 10px var(--main-color);
}
.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: rgba(255,255,255,0.3);
    animation: progress-glow 1.5s infinite;
}

/* ******** Experience ******** */
.experience{
    background: var(--bg-color);
}
.experience h2{
    margin-bottom: 5rem;
}
.timeline-items{
    max-width: 1200px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.timeline-items::before{
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    background-color: var(--main-color);
    left: calc(50% - 1px);
}
.timeline-item{
    margin-bottom: 30px;
    width: 100%;
    position: relative;
}
.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: 18px;
    width: 18px;
    background-color: var(--main-color);
    box-shadow: 0 0 0px var(--main-color);
    position: absolute;
    left: calc(50% - 8px);
    border-radius: 50%;
    top: 10px;
}
.timeline-dot:hover{
    box-shadow: 0 0 0px var(--main-color),
                0 0 10px var(--main-color);
    scale: 1.2;
    transition: 0.3s ease-in-out;
}
.timeline-date{
    font-size: 20px;
    font-weight: 800;
    color: var(--text-color);
    margin: 6px 0 15px;
}
.timeline-date:hover{
    font-size: 24px;
    transition: 0.3s ease-in-out;
}
.timeline-content{
    background-color: var(--second-bg-color);
    border: 3px solid var(--main-color);
    padding: 15px 25px;
    border-radius: 4rem;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.degree-content{
    background-color: var(--main-color);
}
.graduation-content{
    background-color: var(--third-bg-color);
}
.timeline-content:hover{
    transform: scale(1.04);
    box-shadow: 0 0 10px var(--main-color);
}
.timeline-content h3{
    font-size: 20px;
    color: var(--text-color);
    margin: 0 0 6px;
    font-weight: 600;
}
.timeline-content h4{
    font-size: 15px;
    color: var(--text-color);
    margin: 4px 0 0px;
    font-weight: 600;
}
.timeline-content h5{
    font-size: 16px;
    color: var(--second-text-color);
    margin: 0px 0 10px;
    font-weight: 500;
    opacity: 0.9;
}
.timeline-content h6{
    font-size: 12px;
    color: var(--text-color);
    text-align: right;
    margin: 10px 0 0px;
    font-weight: 100;
    opacity: 0.8;
}
.timeline-content p{
    color: var(--text-color);
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
}
.timeline-content a{
    color: var(--main-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.degree-content h3,
.degree-content h4,
.degree-content h5,
.degree-content h6,
.degree-content p{
    color: var(--bg-color);
}
::-webkit-scrollbar{
    width: 15px;
}
::-webkit-scrollbar-track{
    background-color: var(--bg-color);
    width: 50px;
}
.text-container {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 5.5em;
    margin-bottom: 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}
.modal.active {
    display: flex;
}
.modal-content {
    background: var(--second-bg-color);
    color: var(--text-color);
    margin: auto;
    padding: 2rem 3rem;
    border-radius: 2rem;
    max-width: 80vw;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border: var(--main-color) 0.2rem solid;
    box-shadow: 0 0 20px var(--main-color);
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--main-color);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}
.modal-close:hover {
    color: var(--second-color);
}
.modal-content h3 {
    font-size: 2.2rem;
    color: var(--main-color);
}
.modal-content h4 {
    font-size: 1.8rem;
}
.modal-content h5 {
    font-size: 1.6rem;
    color: var(--second-text-color);
    margin-top: 2px;
}
.modal-content h6 {
    font-size: 1.5rem;
    text-align: right;
}
.modal-content p {
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* ******** Projects ******** */
.projects {
    background: var(--bg-color);
}
.projects-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 4rem;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.project-box {
    background-color: var(--second-bg-color);
    border-radius: 2rem;
    overflow: hidden;
    border: 3px solid transparent;
    transition: 0.4s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-basis: 500px;
    flex-grow: 1;
    width: 100%;
    max-width: 1000px;
    text-align: center;
}
.project-box:hover {
    transform: scale(1.03);
    border: 3px solid var(--main-color);
}
.project-box:hover .project-img img {
    transform: scale(1.1);
}
.project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}
.project-info h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 1.5rem;
}
.project-info h5 {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}
.project-info p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--second-text-color);
    margin-bottom: 1rem;
    flex-grow: 1;
    margin-top: 10px;
}
.project-learn-more {
    font-size: 1.5rem;
    color: var(--main-color);
    text-decoration: none;
    transition: 0.3s ease-in-out;
    width: fit-content;
    border-radius: 50%;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
}
.project-learn-more:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 2px var(--main-color));}
.project-tech {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}
.project-tech i {
    font-size: 2.5rem;
    color: var(--text-color);
    transition: 0.3s ease-in-out;
    position: relative;
    cursor: pointer;
}
.project-tech i:hover {
    transform: scale(1.2);
    color: var(--main-color);
    filter: drop-shadow(0 0 1px var(--main-color));
}
.project-tech i:hover::after {
    content: attr(data-title);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-color);
    color: var(--main-color);
    padding: 5px 10px;
    font-size: 1.4rem;
    border-radius: 10px;
    white-space: nowrap;
}
.project-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}
.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    transition: 0.3s ease-in-out;
    cursor: pointer;
}
.project-links a:hover {
    color: var(--main-color);
    transform: scale(1.05);
}
.project-links i {
    font-size: 2rem;
}

/* ******** Services ******** */
.services{
    background: 0,0,0,0;
}
.services h2{

}
.services-container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap: 2rem;
    margin: auto;
    width: 100%;
}
.service-box{
    background-color: var(--main-color);
    color: var(--bg-color);
    border-radius: 3rem;
    border: 5px solid transparent;
    cursor: pointer;
    transition: 0.4s ease-in-out;
    display: flex;
}
.service-box:hover{
    background: white;
    color: black;
    border: 5px solid var(--main-color);
    transform: scale(1.03);
}
.service-box .service-info{
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
    align-items: baseline;
    padding: 2rem 5rem;
    height: 100%;
    width: 100%;
}
.service-box .service-icon{
    font-size: 5rem;
    margin-bottom: 0rem;
    margin: auto;
}
.service-box .service-icon-2{
    height: 52px;
    width: 52px;
    margin-bottom: 4px;
    margin: auto;
    color: var(--bg-color);
    filter: invert(0%);
}
.service-box .service-icon:hover{
    color: var(--main-color);
    transform: scale(1.1);
    transition: 0.3s ease-in-out;
}
.service-box .service-icon-2:hover {
    filter: invert(56%) sepia(99%) saturate(2016%) hue-rotate(162deg) brightness(99%) contrast(101%);
    transform: scale(1.1);
    transition: 0.3s ease-in-out;
}
[data-theme="light"] .service-icon-2 {
    /* White to black conversion */
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
}
[data-theme="light"] .service-box:hover .service-icon-2:hover {
    /* Black to main color conversion */
    filter: invert(27%) sepia(98%) saturate(1831%) hue-rotate(203deg) brightness(93%) contrast(101%);
    transition: 0.3s ease-in-out;
}
[data-theme="light"] .service-box:hover .service-icon-2 {
    /* Black to main color conversion */
    filter: invert(56%) sepia(99%) saturate(2016%) hue-rotate(162deg) brightness(0%) contrast(101%);
    transition: 0.3s ease-in-out;
}
.service-info h4{
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}
.service-info p{
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.7;
    margin: auto;
}
.tech-icons {
    display: flex;
    justify-content: center;
    align-items: center; 
    position: relative;
    gap: 1rem;
    padding-top: 20px;
    flex-wrap: wrap;
    width: 100%; 
}
.tech-icons i {
    font-size: 3.5rem;
    color: var(--bg-color);
    transition: 0.3s ease-in-out;
    position: relative;
    cursor: pointer;
    z-index: 2;
}
.service-box .tech-icons i:hover {
    transform: scale(1.2);
    color: var(--main-color) !important;
    filter: drop-shadow(0 0 0px var(--main-color));
    transition: 0.3s ease-in-out;
}
.service-box:hover .tech-icons i {
    color: black;
    transition: 0.3s ease-in-out;
}
.tech-icons i:hover::after {
    content: attr(data-title);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--second-bg-color);
    color: var(--main-color);
    padding: 5px 10px;
    font-size: 1.4rem;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/* ******** Contact ******** */
.contact{
    background-color: var(--bg-color);
    margin-bottom: -180px;
}
.contact h2{
    margin-bottom: 3rem;
    color: var(--text-color);
}
.contact form{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 2rem auto;
    text-align: center;
    margin-bottom: -100px;
}
.contact form .input-box{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.contact form .input-box input,
.contact form textarea{
    width: 100%;
    padding: 2rem;
    font-size: 1.5rem;
    color: var(--text-color);
    background: var(--second-bg-color);
    border-radius: 2rem;
    border: 0px solid var(--main-color);
    margin: 1rem 0;
    resize: none;
}
.contact form .input-box input:focus,
.contact form textarea:focus{
    border: 2px solid var(--main-color);
}
.contact form .send-msg-btn{
    margin-top: 2rem;
    cursor: pointer;
    position: relative;
    padding: 10px 24px;
    font-size: 18px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 34px;
    background-color: transparent;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    overflow: hidden;
}
.contact form .send-msg-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 50px;
    height: 50px;
    border-radius: inherit;
    scale: 0;
    z-index: -1;
    background-color: var(--main-color);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}
.contact form .send-msg-btn:hover::before {
    scale: 4.2;
}
.contact form .send-msg-btn:hover {
    color: var(--bg-color);
    scale: 1.1;
    box-shadow: 0 0px 15px var(--main-color);
}
.contact form .send-msg-btn:active {
    scale: 1;
}

/* ******** Footer ******** */
.footer{
    position: relative;
    margin: 0;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: 0,0,0,0;
    background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, var(--second-bg-color) 9px ), repeating-linear-gradient( var(--bg-color), var(--bg-color));
}
.footer .social{
    text-align: center;
    padding-bottom: 25px;
    color: var(--main-color);
}
.footer .social a{
    font-size: 25px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease-in-out;
}
.footer .social a:hover{
    transform: scale(1.1);
    background-color: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--main-color);
}
.footer ul{
    margin-top: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
}
.footer ul li a{
    color: var(--text-color);
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
}
.footer ul li a:hover{
    border-bottom: 3px solid var(--main-color);
}
.footer ul li{
    display: inline-block;
    padding: 0 15px;
}
.footer .email{
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 100;
    color: var(--second-text-color);
}
.footer .tel{
    margin-top: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 100;
    color: var(--second-text-color);
}
.footer .address{
    margin-top: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 100;
    color: var(--second-text-color);
}
.footer .copyright{
    margin-top: 8px;
    text-align: center;
    font-size: 16px;
    color: var(--text-color);
}

/* ******** Media Queries ******** */
@media (max-width: 1285px){
    html{
        font-size: 55%;
    }
    .section {
    }
    .home-content {
        width: 30%;
        margin-left: 4%;
    }
    .home-content h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
        margin-top: 1rem;
    }
    .home-content p {
        font-size: 1.3rem;
    }
    .home-content h1 {
        font-size: 4rem;
        font-weight: 700;
        line-height: 1;
        margin-top: 4rem;
    }
    .services-container{
        grid-template-columns: repeat(2,1fr);
    }
    .tech-icons i {
        font-size: 3rem;
    }
    .tech-icons{
    }
}
@media (max-width: 1050px){
    
    .home-content h3 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        margin-top: 1rem;
    }
    .home-content p {
        font-size: 1.5rem;
    }
    .home-content h1 {
        font-size: 3.6rem;
        font-weight: 700;
        line-height: 1;
        margin-top: 4rem;
    }

}
@media (max-width: 1000px){
    header{
        padding: 2rem 3%;
    }
    section{
        padding: 10rem 3% 2rem;
    }
    .home-content h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        margin-top: 1rem;
    }
    .home-content p {
        font-size: 1.2rem;
    }
    .home-content h1 {
        font-size: 2.8rem;
        font-weight: 700;
        line-height: 1;
        margin-top: 4rem;
    }
    .skills-languages {
        flex-direction: column; 
        gap: 5rem; 
    }
    .skills-column,
    .languages-column {
        width: 100%; 
    }
    .timeline-items::before{
        left: 7px;
    }
    .timeline-item:nth-child(odd){
        padding-right: 0;
        text-align: left;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even){
        padding-left: 37px;
    }
    .timeline-dot{
        left: 0;
    }
    .contact{
        margin-bottom: 30px;
    }
    .contact form{
        flex-direction: column;
    }
    .footer{
        padding: 2rem 3%;
    }
}
@media (max-width: 940px){
    .home-content h3 {
        font-size: 1.4rem;
        margin-bottom: 2rem;
        margin-top: 1rem;
    }
    .home-content p {
        font-size: 1.5rem;
    }
    .home-content h1 {
        font-size: 2.6rem;
        font-weight: 700;
        line-height: 1;
        margin-top: 4rem;
    }
    .social-icons a {
        width: 4rem;
        height: 4rem;
        font-size: 2rem;
    }
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        letter-spacing: 0rem;
        font-weight: 600;
    }
    .tech-icons i {
        font-size: 2rem;
    }
}
@media (max-width: 850px){
    .home-content h3{
        font-size: 1.5rem;
    }
    .home-content h1{
        font-size: 2.8rem;
    }
    .home-content p{
        font-size: 1.4rem;
    }
    .tech-icons i {
        font-size: 2rem;
    }
}
@media (max-width: 768px){
    #menu-icon{
        display: block;
    }
    .header {
        padding: 2rem 5% 2rem;
    }
    .heading{
        font-size: 5rem;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: 0;
        width: 50%;
        padding: 1rem 3%;
        background: var(--bg-color);
        backdrop-filter: blur(20px);
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        display: none;
    }
    .navbar.active{
        display: block;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: var(--text-color);
    }
    .language-toggle {
        position: absolute;
        top: 1.5rem;
        right: 12rem;
        margin-left: 0;
    }
    .theme-toggle {
        position: absolute;
        top: 1.5rem;
        right: 6rem;
        margin-left: 0;
    }
    #menu-icon {
        position: absolute;
        top: 2rem;
        right: 1rem;
    }
    .home{
        flex-direction: column;
        gap: 5rem;
    }
    .home-content {
        width: 90%;
        text-align: center;
    }
    .home-content h3{
        font-size: 3.8rem;
        margin: 0 auto;
    }
    .home-content h1{
        font-size: 7.6rem;
        margin-top: 3rem;
        margin: 0 auto;
    }
    .home-content p{
        font-size: 2rem;
        max-width: 600px;
        margin: 0 auto;
    }
    .social-icons a {
        width: 5rem;
        height: 5rem;
        font-size: 2.4rem;
    }
    .btn {
        padding: 1rem 2rem;
        font-size: 1.6rem;
        letter-spacing: 0rem;
        font-weight: 600;
    }
    .home-img {
        width: 90%;
        text-align: center;
    }
    .home-img img{
        width: 56vw;
        top: 2rem;
        margin-top: 1rem;
    }
    .language-item {
        gap: 1rem;
        margin-top: 10px;
    }
    .text-container {
        height: 5rem;
    }
    .services h2{
        margin-bottom: 3rem;
    }
    .services-container{
        grid-template-columns: repeat(1,1fr);
    }
    .tech-icons i{
        font-size: 4.5rem;
    }
    .btn-group{
        margin: auto;
    }
    .social-icons{
        margin: auto;
    }
    .contact{
        margin-bottom: 20px;
    }
}
@media (max-width: 677px){
    .home-content h3 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        margin-top: 1rem;
    }
    .home-content p {
        font-size: 1.5rem;
    }
    .home-content h1 {
        font-size: 5rem;
        font-weight: 700;
        line-height: 1;
        margin-top: 4rem;
    }
    .tech-icons i{
        font-size: 4rem;
    }
}
@media (max-width: 560px){
    .tech-icons i{
        font-size: 3.3rem;
    }
}
@media (max-width: 480px){
    html {
        font-size: 50%;
    }
    .home-content h1 {
        font-size: 4.5rem;
    }
    .services-container {
        grid-gap: 1.5rem; 
    }
    .tech-icons i{
        font-size: 3rem;
    }
}
