:root {
    --bg_color: #00121a;
    --bg_color2: #041623;
    --txt_color: #c1effb;
    --line_color: #2d6c70;
}
body {
    background-color: var(--bg_color);
    font-family: "Roboto", sans-serif !important;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./img/header_background2.png') center/cover no-repeat;
    background-attachment: fixed;
}
.container {
    width: 90%;
    margin: auto;
}
.section_head{
    color: var(--txt_color);
    font-size: 2rem;
    display: flex;
    justify-content: center;
    margin: 0 0 30px;
    animation: glow 2s ease-in-out infinite alternate;
}
.nav_bg {
    background-color: var(--bg_color);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 0 3px var(--txt_color);
    transition: .3s;
}
nav {position: relative;}
.logo {
    width: 150px;
    height: 70px;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: .3s;
}
.navlinks {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.links {
    background-color: var(--bg_color);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transition: 0.6s;
}
.links.open {
    padding: 20px 5% 50px;
    height: 90vh;
}
.links li {
    border-top: 1px solid var(--line_color);   
    width: 100%;
}
.fa-chevron-down {display: none !important;}
.links a {
    padding: 15px;
    font: 1rem "Roboto", sans-serif;
    color: var(--txt_color);
    transition: .3s;
    display: flex;
    align-items: center;
}
.alt_links {
    width: 90%;
    height: auto;
    overflow: hidden;
    margin-right: 0;
    margin-left: auto;
    transition: .3s;
}
.links li:last-child {border-bottom: 1px solid var(--line_color);}
.alt_links li:last-child {border-bottom: none;}
.alt_links li img{display: none;}
.desk_links{display: none;}
#checkbox {display: none;}
.toggle {
    position: relative;
    width: 27px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition-duration: 0.5s;
}
.bars {
    width: 100%;
    height: 3px;
    background-color: var(--txt_color);
    border-radius: 4px;
}
#checkbox:checked+.toggle .bars {
    position: absolute;
    transition-duration: 0.5s;
}
#checkbox:checked+.toggle #bar2 {
    transform: scaleX(0);
    transition-duration: 0.5s;
}
#checkbox:checked+.toggle #bar1 {
    width: 100%;
    transform: rotate(45deg);
    transition-duration: 0.5s;
}
#checkbox:checked+.toggle #bar3 {
    width: 100%;
    transform: rotate(-45deg);
    transition-duration: 0.5s;
}
#checkbox:checked+.toggle {
    transition-duration: 0.5s;
    transform: rotate(180deg);
}

/**<<--HEADER-->>*/
header {
    height: fit-content;
    width: 100%;
    padding: 20px 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.header_content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.profile a {margin-top: 30px;}
.profile_img {
    width: 200px;
    height: 280px;
    padding: 2px;
    border: 2px solid var(--txt_color);
    border-radius: 20px;
    overflow: hidden;
}
.profile_img img {
    border-radius: 17px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cd_file_download {
    width: 200px;
    margin-top: 10px !important;
}
.hero-content {
    max-width: 900px;
    color: var(--txt_color);
}
.hero-title {
    color: var(--txt_color);
    font: 600 2rem "Roboto", sans-serif;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--txt_color), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}
.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}
.hero_description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/**<<--TECHNOLOGIES-->>*/
#technologies{
    height: fit-content;
    padding: 20px 0;
}
.technologies_content{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.scroll_btns{display: none;}
.tech_head{
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}
.tech_name{
    color: var(--txt_color);
    font-weight: 300;
    /* white-space: nowrap; */
    transition: .3s;
}
.tech_img{
    width: 60px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--line_color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tech_head:hover .tech_img {box-shadow: 0 0 20px var(--line_color);}
.tech_img img{
    width: 60%;
    height: auto;
    transition: .3s;
}
.tech_head:hover img{transform: scale(1.15);}
.tech_head.active .tech_name {text-shadow: 0 0 8px var(--txt_color)}
.tech_head:hover .tech_name {text-shadow: 0 0 8px var(--txt_color)}
.tech_head.active .tech_img {
    box-shadow: 0 0 30px var(--line_color);
    border-color: var(--txt_color);
}
.tech_info span{
    display: block;
    padding: 10px;
    overflow: hidden;
}
.tech_info{
    font-size: 0.9rem;
    font-weight: 300;
    overflow: hidden;
    height: 0;
    color: var(--txt_color);
    transition: .4s;
    border-radius: 0 20px 0 20px;
}
.tech_spacer{display: none;}

/**<<--TOOLS-->>*/
#tools{
    height: fit-content;
    padding: 80px 0;
}
.tools_content{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}
.tool_img {
    width: 60px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line_color);
    border-radius: 10px;
    transition: .3s;
}
.tool_img img {
    width: 60%;
    height: auto;
    transition: .3s;
}
.tool_name {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--txt_color);
    transition: .4s;
}


/**<<--ABOUT-->>*/
#about {padding: 60px 0;}
.about_inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.about_text {color: var(--txt_color);}
.about_text h3 {
    font-size: 1.8rem;
    line-height: 2.5rem;
    margin-bottom: 20px;
}
.about_text h3 span {
    color: var(--txt_color);
    text-shadow: 0 0 8px var(--txt_color);
}
.about_text p {
    line-height: 1.6;
    margin-bottom: 15px;
}
.address{
    width: 100%;
    display: flex;    
    flex-direction: column;
    gap: 20px;
}
/* .about_map {
    width: 100%;
    height: 250px;
    border: 2px solid var(--line_color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(193, 239, 251, 0.25);
}
.about_map iframe {
    width: 100%;
    height: 100%;
    border: none;
} */
.contact_method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px;
    background: rgba(0, 18, 26, 0.3);
    border: 1px solid var(--line_color);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.contact_method::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(193, 239, 251, 0.1), transparent);
    transition: left 0.5s;
}
.contact_method:hover::before {left: 100%;}
.contact_method:hover {
    border-color: var(--txt_color);
    box-shadow: 0 0 25px rgba(193, 239, 251, 0.2);
}
.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--line_color), var(--txt_color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg_color);
}
.contact-details h4 {
    color: var(--txt_color);
    font-size: 1rem;
    white-space: nowrap;
    margin-bottom: 6px;
}
.contact-details p {
    color: var(--txt_color);
    font-size: 0.9rem;
    white-space: nowrap;
}

/* ==== FOOTER ==== */
.site-footer {
    border-top: 1px solid var(--line_color);
    background: var(--bg_color);
    color: var(--txt_color);
    padding: 50px 0;
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.social_links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.social_link {
    width: 45px;
    height: 45px;
    background: rgba(45, 108, 112, 0.2);
    border: 1px solid var(--line_color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--txt_color);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social_link:hover {
    background: linear-gradient(135deg, var(--line_color), var(--txt_color));
    color: var(--bg_color);
    box-shadow: 0 0 20px rgba(193, 239, 251, 0.3);
}
.footer-marquee {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--line_color);
    border-bottom: 1px solid var(--line_color);
    padding: 15px 0;
}
.marquee-track {
    display: inline-flex;
    gap: 10rem;
    white-space: nowrap;
    will-change: transform;
    animation: marquee-ltr 22s linear infinite;
    padding-left: 0;
}
.marquee-track p {
    font-weight: 400;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 2px rgba(193,239,251,.35));
}

@keyframes marquee-ltr {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(0%); }
}

/* ANIMATIONS */
@keyframes glow {
    from {text-shadow: 0 0 5px rgba(193, 239, 251, 0.5);}
    to {text-shadow: 0 0 20px rgba(193, 239, 251, 0.8), 0 0 30px rgba(193, 239, 251, 0.6);}
}

@media (min-width: 900px) {
    .technologies_content{
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
        position: relative;
    }
    .tech_head{
        width: 90px;
        flex-direction: column;
        gap: 10px;
    }
}
@media (min-width: 768px) {
    .container {max-width: 1300px;}
    .section_head{font-size: 3rem;}
    .nav_bg {
        height: fit-content;
        margin-top: 20px;
        box-shadow: 0 0 5px var(--txt_color);
    }
    .logo {
        font-size: 1.5rem;
        width: 200px;
        height: 80px;
    }
    .logo img:hover {filter: drop-shadow(0 0 8px var(--txt_color)) drop-shadow(0 0 12px var(--txt_color));}
    .navlinks {padding: 0;}
    .links {
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        width: fit-content;
        height: fit-content;
        padding: 15px 0;
    }
    .links li,
    .links li:last-child {border: none;}
    .links a,
    .links a:last-child {font-size: 1.3rem;}
    .links a:hover {text-shadow: 0 0 8px var(--txt_color), 0 0 12px var(--txt_color);}
    .alt_links {
        background-color: var(--bg_color);
        position: absolute;
        top: 100%;
        width: 300px;
        height: 0;
        z-index: 200;
        border: 1px solid var(--line_color);
        border-bottom: none;
        border-radius: 0 0 10px 10px;
        overflow: hidden;
        transition: 0.3s;
    }
    .alt_links li{
        padding: 0;
        border-bottom: 1px solid var(--line_color);
        width: 100%;
    }
    .alt_links a{
        display: block;
        padding: 15px;
        width: 100%;
    }
    .fa-chevron-down {
        display: initial !important;
        font-weight: 300;
        font-size: 1.2rem;
        margin-left: 10px;
        transition: .3s;
    }
    .alt_links a:hover{background-color: var(--bg_color2);}
    .links li:hover .alt_links{
        border: 1px solid var(--line_color);
        border-top: none;
        height: 450px;
    }
    .links li:hover .fa-chevron-down{transform: rotate(180deg);}
    .desk_links{display: initial;}
    .menuBar {display: none;}
    .alt_links li:hover img{display: block;}
    .alt_links li img{
        width: 300px;
        height: 160px;
        object-fit: cover;
        position: fixed;
        z-index: 300;
        display: none;
    }
    header {padding: 20px 0 80px !important;}
    .header_content {
        margin-top: 50px;
        flex-direction: row;
        gap: 50px;
    }
    .profile_img {
        width: 250px;
        height: 350px;
        border-radius: 20px;
    }
    .cd_file_download {
        width: 250px;
        margin-top: 20px !important;
    }
    .hero-title {font-size: 3rem;}
    .hero-subtitle {font-size: 1.4rem;}
    .hero_description {
        font-size: 1.2rem;
        font-style: italic;
        line-height: 1.6;
        margin-bottom: 2rem;
        opacity: 0.8;
    }
    
    #technologies{padding: 100px 0 150px;}
    .tech_name{
        text-align: center;
        font-size: 1.1rem;
    }
    .tech_img{
        width: 90px;
        height: 80px;
    }
    .tech_spacer{ 
        display: block;
        height: 0; 
        transition: height .3s ease; 
    }
    .tech_info{
        font-size: 1.2rem;
        font-weight: 400;
        line-height: 1.5rem;
        position: absolute;
        top: 150px;
        left: 0;
        width: 100%;
    }
    .tech_info span{padding: 20px;}

    .tools_content{
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 50px;
    }
    .tools_content{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }
    .tool {
        flex-direction: column;
        gap: 10px;
    }
    .tool_img {
        width: 90px;
        height: 80px;
    }
    .tool_name {font-size: 1.3rem;}


    #about{padding: 100px 0;}
    .about_inner {
        flex-direction: row;
        justify-content: space-between;
    }
    .about_text {max-width: 50%;}
    .address{
        width: 25%;
        display: flex;    
        flex-direction: column;
        gap: 20px;
    }
    /* .about_map {height: 350px;} */
    .contact-icon {
        background: linear-gradient(135deg, var(--line_color), var(--txt_color));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--bg_color);
    }
    .footer_contact {
        flex-direction: row;
        gap: 24px;
        align-items: center;
    }
    .social_links {gap: 30px;}
}