/* Apply to the entire document */
html {
    scrollbar-width: thin;
    /* For Firefox */
    scrollbar-color: rgba(0, 0, 0, 0.7) rgba(255, 255, 255, 0.2);
    /* Dark thumb with light track */
}

/* Webkit browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 6px;
    /* Thin scrollbar */
    height: 6px;
    /* Thin horizontal scrollbar */
    z-index: 9999;
    /* Ensures it's on top */
    position: absolute;
    /* Position adjustment for visibility */
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    /* Light background track */
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.7);
    /* Dark glass effect for thumb */
    border-radius: 10px;
    /* Rounded corners for thumb */
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    /* Glow effect for prominence */
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Glassy border */
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.9);
    /* Slightly darker on hover */
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
    /* Enhanced glow on hover */
}


.hero-content {
    color: #fff;
    text-align: center;
    z-index: 2;
}


/* About Us Styles */
:root {
    --primary: #000000;
    --secondary: #af1e1e;
    --accent: #f63b3b;
    --dark: #030303;
    --light: #f8fafc;
}

.hero-about {
    height: 100vh;
    background: linear-gradient(to right, #3c0000, #570000e8);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-text {
    text-align: center;
    z-index: 2;
}

.mission-section {
    padding: 8rem 0;
    background: var(--dark);
    position: relative;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.tech-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mission-text {
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

body {
    background-color: var(--dark);
    color: var(--light);
    font-family: 'Inter', sans-serif;
}


.hero-about {
    height: 100vh;
    background: linear-gradient(to right, #3c0000, #570000e8);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-text {
    text-align: center;
    z-index: 2;
}

.mission-section {
    padding: 8rem 0;
    background: var(--dark);
    position: relative;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.tech-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0;
    transform: scale(0.95);
}

.mission-text {
    padding: 2rem;
    opacity: 0;
}

.badge {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
}

.lead {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.btn-danger {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
}


.wellcome-h1 {
    font-size: 62px;
}

.btn-danger2 {
    background-color: red;
    font-weight: bold;
    color: white;
    padding: 7.5px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-danger2:hover {
    background-color: rgb(177, 1, 1);
}

/* Hero Section Styles */
header {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.727), rgba(0, 0, 0, 0.727));
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;


    overflow: hidden;

}

.hero-content {
    color: #fff;
    text-align: center;
    z-index: 2;
}

.btn-danger2 {
    background-color: red;
}

/* About Us Styles */
:root {
    --primary: #000000;
    --secondary: #af1e1e;
    --accent: #f63b3b;
    --dark: #030303;
    --light: #f8fafc;
}

body {
    background-color: var(--dark);
    color: var(--light);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}



.navbar-scrolled {
    background-color: rgba(0, 0, 0, 0.388);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-about {
    height: 100vh;
    background: linear-gradient(to right, #3c0000, #570000e8);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.content {
    margin-top: 200px;
    font-family: Josefin Sans, sans-serif;
    color: white;
}



.content h1 {
    font-size: 70px;
}

.content p {
    font-size: 20px;
}

.content a {
    font-size: 18px;
    background-color: red;
    padding: 15px 40px;
    border-radius: 5px;
}


.hero-text {
    text-align: center;
    z-index: 2;
}

@media (max-width: 768px) {
    .text-left {
        text-align: center;
    }

    .text-lefting {
        text-align: left;
    }

    .hello-contX h1 {
        font-size: 15px;
    }

    .content p {
        padding: 2px 2px;
        text-align: center;
    }

    .badge {
        margin-top: 50px;
    }
}

/* Extra Small Devices (Portrait Phones) */
@media only screen and (max-width: 320px) {
    .mobileX {
        height: fit-content;
    }
}

/* Small Devices (Phones) */
@media only screen and (max-width: 480px) {
    .mobileX {
        height: fit-content;
    }
}

/* Medium Phones */
@media only screen and (max-width: 576px) {
    .mobileX {
        height: fit-content;
    }
}

/* Large Phones */
@media only screen and (max-width: 768px) {
    .mobileX {
        height: fit-content;
    }

    .about {
        text-align: center;
        margin-top: 30px;
    }


}

@media (max-width: 480px) {
    .wellcome-h1 {
        font-size: 45px;
    }
}

@media (max-width: 380px) {
    .wellcome-h1 {
        font-size: 40px;
    }
}

@media (max-width: 325px) {
    .wellcome-h1 {
        font-size: 35px;
    }
}

/* Small Tablets */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .mobileX {
        height: fit-content;
    }
}

/* From Uiverse.io by mrhyddenn */
.button1 {
    position: relative;
    margin: 0;
    padding: 0.3em;
    outline: none;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    background-color: #bb0000;
    border-radius: 10px;
    color: #fff;
    font-weight: 300;
    font-size: 12px;
    font-family: inherit;
    z-index: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.02, 0.01, 0.47, 1);
}

.button1:hover {
    animation: sh0 0.5s ease-in-out both;
}

@keyframes sh0 {
    0% {
        transform: rotate(0deg) translate3d(0, 0, 0);
    }

    25% {
        transform: rotate(7deg) translate3d(0, 0, 0);
    }

    50% {
        transform: rotate(-7deg) translate3d(0, 0, 0);
    }

    75% {
        transform: rotate(1deg) translate3d(0, 0, 0);
    }

    100% {
        transform: rotate(0deg) translate3d(0, 0, 0);
    }
}

.button1:hover span {
    animation: storm 0.7s ease-in-out both;
    animation-delay: 0.06s;
}

.button1::before,
.button1::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #000000;
    opacity: 0;
    transition: transform 0.15s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.15s cubic-bezier(0.02, 0.01, 0.47, 1);
    z-index: -1;
    transform: translate(100%, -25%) translate3d(0, 0, 0);
}

.button1:hover::before,
.button1:hover::after {
    opacity: 0.15;
    transition: transform 0.2s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.2s cubic-bezier(0.02, 0.01, 0.47, 1);
}

.button1:hover::before {
    transform: translate3d(50%, 0, 0) scale(0.9);
}

.button1:hover::after {
    transform: translate(50%, 0) scale(1.1);
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    display: none;
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

#backToTop:hover {
    background-color: #b30000;
}