:root {
    /* Colors */
    --bg : #1A1A2E;
    --sec: #4F8C8B;
    --acc: #F1c40F;
    --text: #F4F4F4;
    --prime: #333333;
    
    /* Breakpoints */
    --breakpoint-xs: 480px;  /* Extra small devices (portrait phones) */
    --breakpoint-sm: 576px;  /* Small devices (landscape phones) */
    --breakpoint-md: 768px;  /* Medium devices (tablets) */
    --breakpoint-lg: 992px;  /* Large devices (desktops, small laptops) */
    --breakpoint-xl: 1200px; /* Extra large devices (large desktops) */
    --breakpoint-xxl: 1400px; /* XX-large devices (larger desktops) */
   }

*{
    margin: 0;
    padding: 0;
}

body {
    /* background-color: var(--bg); */
    color: var(--text); 
    background: radial-gradient(ellipse 150% 150% at 50% 50%, #172A45, #0A1128);
    width: 100%;
    /* background-blend-mode: multiply; */
    font-family: 'Arial', sans-serif;
    text-align: center;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    text-align: center;
    -webkit-overflow-scrolling: touch;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../media/graphics/global-bg-noise.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.1; 
    pointer-events: none;
}


h2 {
    color: var(--acc);
}

p, li {
    line-height: 36px;
    font-size: 24px;
    margin-bottom: 50px;
    text-align: left;
}

ul {
    margin-left: 100px;
}

#navObj {
    position: fixed;
    top: 5px;
    left: 5px;
    width: 80px;
    height: 80px;
    z-index: 20;
    overflow: hidden;
    /* backdrop-filter: blur(10px); */
    /* background: rgba(0, 0, 0, 0.3); */
}

#contactObj {
    display: none;
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    margin: auto;
    width: 90%;
    height: 90%;
    background: rgba(26, 26, 46, 0.75);
    backdrop-filter: blur(10px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}


#logo {
    position: fixed;
    top: 5px;
    left: 5px;
    width: 80px;
    height: 80px;
    z-index: 20;
    cursor: pointer;
    
   
    object-fit: contain;
    
}

#logo::after {
   
}

#nav {
    display: none;
    position: fixed;
    top: 100px;
    left: 15px;
    z-index: 20;
}

#nav>hr {
    width: 50px;
    height: 1px;
    margin-bottom: 20px;
    background-color: var(--acc);
    border: none;
}

.navItem {
    margin-bottom: 20px;
    color: var(--acc);
    cursor: pointer;
}

.navItem:hover{
    color: var(--text);
}



.break {
    clear: both;
}

#hero-bg {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#hero-canvas {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* z-index: -1; */
    touch-action: none;
    pointer-events: none;
}

#hero {
    position: absolute;
    top: 45vh;
    z-index: 1;
    width: 90%;
    display: block;
    padding: 5%;
    margin: auto;
    z-index: 10;
}

.section {
    width: 90%;
    display: block;
    padding: 5%;
    margin: auto;
    z-index: 10;
}

.highlight {
    color: var(--acc); 
} 

#btn_CTA {
    width: 80%;
}

.sc_item {
    position: relative;
    display: inline-block;
    width: 20%;
    margin: 4%;
    border: 1px solid var(--acc);
    box-shadow: 2px 2px 10px rgba(255,255,255,.5);
    cursor: pointer;
    transition: all 0.5s ease;
}

.sc_item:hover {
    width: 21%;
    margin: 3%;
    box-shadow: 4px 4px 15px var(--acc);
    /* filter: brightness(1.5);
    filter:hue-rotate(105deg); */
}

.sc_img {
    width: 100%;
    /* filter: brightness(50%); */
    z-index: 1;
    transition: .5s;
}

/* .sc_img:hover {
    filter: brightness(1.5);
} */

.sc_text {
    position: absolute;
    left: 0;
    right: 0;
    top: 20%;
    width: 90%;
    margin: auto;
    z-index: 10;
}

.proj_desc:hover {
    display: block;
}

.demo_container {
    width: 100%;
    left: 0;
}

#demo {
    width: 80%;
    height: 80vh;
    margin-left: -10%;
    border: 1px solid red;
}


/* Standard Breakpoints for Responsive Design */

/* Example Media Queries */

/* Extra small devices (portrait phones, less than 480px) */
@media (max-width: 480px) {
    /* Styles for extra small devices */
    p, li {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 30px;
    }
    
    .sc_item {
        width: 80%;
        margin: 10% 5%;
    }
    
    .sc_item:hover {
        width: 85%;
        margin: 10% 2.5%;
    }
    
    ul {
        margin-left: 20px;
    }
    
    .contact-form-container {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 85% !important;
        padding: 15px !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        max-width: none !important;
        position: fixed !important;
    }
    
    .contact-form-container h2 {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }
    
    #contact-form {
        gap: 15px !important;
    }
    
    #contact-form input,
    #contact-form textarea {
        padding: 10px !important;
        font-size: 14px !important;
    }
    
    #btn_CTA {
        width: 90% !important;
    }
}

/* Small devices (landscape phones, 480px to 576px) */
@media (min-width: 481px) and (max-width: 576px) {
    /* Styles for small devices */
    p, li {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 35px;
    }
    
    .sc_item {
        width: 70%;
        margin: 8% 5%;
    }
    
    .sc_item:hover {
        width: 75%;
        margin: 8% 2.5%;
    }
    
    ul {
        margin-left: 30px;
    }
    
    .contact-form-container {
        top: 10%;
        width: 92%;
        padding: 25px;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .contact-form-container h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    #btn_CTA {
        width: 90%;
    }
}

/* Medium devices (tablets, 577px to 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    /* Styles for medium devices */
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    p, li {
        font-size: 18px;
        line-height: 30px;
        margin-bottom: 40px;
    }

    #hero {
        padding: 10px;
        width: 75%;
    }

    #showcase {
        padding: 0;
        margin-left: 0;
    }
    
    .sc_item {
        width: 35%;
        margin: 3%;
    }
    
    .sc_item:hover {
        width: 42%;
        margin: 4%;
    }
    
    ul {
        margin-left: 50px;
    }
}

/* Large devices (desktops, 769px to 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    /* Styles for large devices */
    p, li {
        font-size: 22px;
        line-height: 32px;
        margin-bottom: 45px;
    }
    
    .sc_item {
        width: 30%;
        margin: 4.5%;
    }
    
    .sc_item:hover {
        width: 32%;
        margin: 3.5%;
    }
    
    ul {
        margin-left: 70px;
    }
}



/* Contact Form Overlay */
#btn_CTA {
    width: 30%;
    margin: auto;
    margin-bottom: 20px;
    padding: 5px;
    background: linear-gradient(135deg, rgba(79, 140, 139, 0.1), rgba(26, 26, 46, 0.9));
    border: 1px solid var(--acc);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(241, 196, 15, 0.2);
}

#btn_CTA>p {
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
}

#contactObj {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.75);
    backdrop-filter: blur(10px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#footerObj {
    position: fixed;
    bottom: 5px;
    right: 5px;
    width: 230px;
    height: 65px;
    z-index: 20;
    overflow: hidden;
    background: transparent;
    border: none;
}

.contact-form-container {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    margin: auto;
    background: linear-gradient(135deg, rgba(79, 140, 139, 0.1), rgba(26, 26, 46, 0.9));
    border: 1px solid var(--acc);
    border-radius: 12px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(241, 196, 15, 0.2);
}

.contact-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--acc);
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.contact-close:hover {
    color: var(--text);
}

.contact-form-container h2 {
    margin-bottom: 30px;
    text-align: center;
    color: var(--acc);
    font-size: 28px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact-form input,
#contact-form textarea {
    background: rgba(244, 244, 244, 0.05);
    border: 1px solid rgba(79, 140, 139, 0.3);
    border-radius: 8px;
    padding: 15px;
    color: var(--text);
    font-size: 16px;
    transition: all 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--acc);
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.3);
    background: rgba(244, 244, 244, 0.1);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: rgba(244, 244, 244, 0.6);
}

#contact-form button {
    background: linear-gradient(135deg, var(--sec), var(--acc));
    border: none;
    border-radius: 8px;
    padding: 15px;
    color: var(--bg);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

#contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.4);
}

#scroll-arrow {
    display: none;
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    width: 48px;
    height: 48px;
    background: rgba(241, 196, 15, 0.2);
    border: 2px solid var(--acc);
    border-radius: 50%;
    cursor: pointer;
    color: var(--acc);
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#scroll-arrow:hover {
    background: rgba(241, 196, 15, 0.4);
    transform: translateX(-50%) scale(1.1);
}



