:root {
    --nav-color: #1a1423;
    --bg-color: #111827;
    --highlight-color: #a78bfa;
    --text-color: #ffffff;
    --header-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, Helvetica, sans-serif; }
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
html { scroll-behavior: smooth;}
body {
    background: linear-gradient(to right bottom, #111827, #29153b, #111827);
    color: var(--text-color);
    overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

.logo_name { font-size: 1.8rem; color:var(--text-color); font-family: "Tangerine", cursive; font-weight: 700;cursor: default; }

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: var(--nav-color);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height); /* Set a fixed height */
    animation:fade 1s ease-in-out;
}
@keyframes fade{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

.main_ul { list-style-type: none; display: flex; align-items: center; gap: 3rem; }
.main_ul li a { color: var(--text-color); text-decoration: none; font-size: 1.1rem; font-weight: 500; display: inline-block; transition: transform 0.3s ease, color 0.3s ease;will-change: transform; }
.main_ul li a:hover:not(.contact-img) { color: var(--highlight-color); }
.main_ul li a:hover { transform: scale(1.05); }
.logos-imgs{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:2rem;
}

/* --- Mobile Nav Drawer Styling --- */
.menu_button { display: none; background: none; border: none; cursor: pointer; color: var(--text-color); }
.close_button { position: absolute; top: 15px; right: 25px; background: none; border: none; cursor: pointer; color: var(--text-color); }
.mobile_nav { position: fixed; top: 0; right: 0; width: min(75vw, 300px); height: 100vh; z-index: 1000; background-color:var(--nav-color); box-shadow: -5px 0 15px rgba(0, 0, 0, 0.25); padding: 5rem 1rem; transform: translateX(100%); transition: transform 0.4s ease-in-out; }
.nav-open .mobile_nav { transform: translateX(0); }
.mobile_nav ul { list-style-type: none; display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.mobile_nav ul li a { color: var(--text-color); text-decoration: none; font-size: 1.2rem; display: block; padding: 0.8rem 1.5rem; border-radius: 5px; transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s ease; }
.mobile_nav ul li a:hover { background-color: rgba(13, 202, 240, 0.15); color: var(--highlight-color); padding-left: 2rem; }
.nav-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; }
.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

/* --- Media Queries For Nav --- */
@media (max-width: 900px) {
    header { padding: 15px 25px; }
    .main_ul { gap: 2rem; }
}
@media (max-width: 950px){
    .logos-imgs{ display: none; }
}
@media (max-width: 720px) {
    .main_ul { display: none; }
    .menu_button { display: block; }
}

/* --- HERO SECTION MODIFICATIONS START HERE --- */

/* 1. Make the main section fill the screen for vertical centering */
#full_hero{
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    padding: 20px 50px;
    min-height: calc(100vh - var(--header-height));
}
main{
    padding: 20px 50px;
}

.full_hero_section {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    /* Removed margins and overflow-x as flexbox handles it better */
}

/* --- Your original code for section1 (preserved) --- */
.full_hero_section .section1{
    padding:20px;
    display: flex;
    flex-direction: column;
    gap:.5rem;
    overflow-x: hidden;
}
.full_hero_section .section1 .welcome_msg {
    font-size: 3.5rem;
    font-weight: 700;
    cursor: default;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    animation: typing 5s steps(20, end);
}
@keyframes typing {
    0% { width: 0 }
    25% {width:25%}
    50% {width:50%}
    75% {width:75%}
    100% { width: 100% }
}
.full_hero_section .section1 .welcome_msg span{
    /* color:var(--highlight-color); */
    background: url('https://thumbs.dreamstime.com/b/lavender-sky-pastel-purple-clouds-background-image-380288971.jpg');
    color:transparent;
    background-clip: text;
    overflow: hidden;
    background-repeat: repeat-y;
    animation:movebackground 10s linear infinite;
}
@keyframes movebackground{
    from{
        background-position: 0% 50%;
    }
    to{
        background-position: 50% 100%;
    }
}
.full_hero_section .section1 .current_status{
    font-size: 1.8rem;
    font-weight: 700;
    /* color:var(--highlight-color); */
    cursor: default;
    background: url('https://thumbs.dreamstime.com/b/lavender-sky-pastel-purple-clouds-background-image-380288971.jpg');
    color:transparent;
    background-clip: text;
    overflow: hidden;
    background-repeat: repeat-y;
    animation:movebackground 10s linear infinite,opacity-inc 3s ease-out forwards;
}
@keyframes opacity-inc{
    0%{
        opacity: .2;
    }
    50%{
        opacity: .7;
    }
    100%{
        opacity: 1;
    }
}
.full_hero_section .section1 .summary{
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.5rem;
    cursor: default;
    animation: opacity-inc 3s ease-out forwards;
}
.full_hero_section .section1 .hero_buttons{
    margin:10px 0px;
    display: flex;
    gap:.5rem;
}
.full_hero_section .section1 .hero_buttons button{
    padding:12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    border: 1px solid var(--highlight-color);
    cursor: pointer;
    transition: all 0.3s ease;
}
.full_hero_section .section1 .hero_buttons button:hover{
    transform: scale(1.02);
}
.full_hero_section .section1 .hero_buttons #button2{
    background-color: transparent;
    color:var(--highlight-color);
    transition: background-color .5s ease-in-out;
}
.full_hero_section .section1 .hero_buttons #button2:hover {
    background: url('https://thumbs.dreamstime.com/b/lavender-sky-pastel-purple-clouds-background-image-380288971.jpg');
    /* background-clip: text; */
    color:black;
    overflow: hidden;
    background-repeat: repeat-y;
    font-weight: 500;
    animation:movebackground 10s linear infinite;
}
.full_hero_section .section1 .hero_buttons #button1{
    background-color:var(--highlight-color);
    color:black;
    background: url('https://thumbs.dreamstime.com/b/lavender-sky-pastel-purple-clouds-background-image-380288971.jpg');
    /* background-clip: text; */
    overflow: hidden;
    background-repeat: repeat-y;
    font-weight: 500;
    transition: background-color .5s ease-in-out;
    animation:movebackground 10s linear infinite;
}
.full_hero_section .section1 .hero_buttons #button1:hover {
    background-color: transparent;
    color: var(--highlight-color);
    background: transparent;
}
.full_hero_section .section1 .hero_social_med{
    display: flex;
    gap:1.5rem;
    animation:right-left 3s ease-in-out forwards;
}
.full_hero_section .section1 .hero_social_med .social_meds{
    transition: transform .5s ease-in-out;
    will-change:transform;
}
.full_hero_section .section1 .hero_social_med .social_meds:hover{
    transform: scale(1.05);
}
@keyframes right-left{
    0%{
        transform: translateX(200px);
        opacity: .3;
    }
    75%{
        transform: translateX(-80px);
        transform: scale(1.2);
    }
    100%{
        transform: translate(0);
    }

}

/* --- 2. HIGH-QUALITY Spline Animation Method --- */
.full_hero_section .section2 .live-img {
    max-width: 500px;
    width:100%;
    height: 500px;
    aspect-ratio: 1 / 1;
    overflow: hidden;   /* This crops the large render */
    position: relative; /* Essential for positioning the inner canvas */
}

.live-img spline-viewer {
    position: absolute;
    width: 800px; /* Render at a large size for high quality */
    height: 800px;
    top: 50%;
    left: 50%;
    /* This centers the large canvas inside the smaller viewing box */
    transform: translate(-50%, -50%);
}

/* --- 3. PROFESSIONAL RESPONSIVENESS --- */
@media (max-width: 1120px){
.full_hero_section .section1 .welcome_msg{
    font-size:3rem;
}
.full_hero_section .section1 .current_status{
    font-size: 1.5rem;
}
.full_hero_section .section1 .summary{
    font-size: 1rem;
}
main {
        padding: 10px;
    }
    #full_hero{
        padding:20px;
    }
}
@media (max-width: 1024px) {
    main {
        padding: 20px;
    }
    .full_hero_section {
        flex-direction: column-reverse; /* Stack content vertically */
        text-align: center;
    }
    .full_hero_section .section1 {
        align-items: center; /* Center-align all items */
    }
    .full_hero_section .section1 .welcome_msg {
        font-size: 2.8rem;
        white-space: normal; /* Allow title to wrap */
        animation: none;
    }
    .full_hero_section .section1 .hero_buttons,
    .full_hero_section .section1 .hero_social_med {
        justify-content: center; /* Center buttons and icons */
    }
    .full_hero_section .section2{
        display: none;
    }
}

@media (max-width: 767px) {
    main {
        padding: 30px 20px;
    }
    .full_hero_section .section1 .welcome_msg {
        font-size: 2.3rem;
    }
    .full_hero_section .section1 .current_status {
        font-size: 1.5rem;
    }
    .full_hero_section .section1 .summary {
        font-size: 1rem;
        text-align:center;
        hyphens: auto;
    }
    main {
        padding:0px;
    }
    #full_hero{
        padding:10px;
    }
    .full_hero_section .section1 .hero_social_med{
        margin-top: 10px;
    }
}
.live-img {
  filter: drop-shadow(1px 1px 100px rgba(234, 0, 255, 0.292));
}