* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Verdana', Geneva, Tahoma, sans-serif;
}

body {
    background-color: Black;
    background-size: 100% 100%;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: orangered;
    overflow-x: hidden;
}

/* Navbar Section */
.navbar {
    background: white;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    z-index: 1;
    height: 100px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo {
    background-image: linear-gradient(to top, red, orange 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: gray;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__links:hover {
    color: orangered;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

/* Footer Badges Container */
.footer__badges-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    width: 100%;
    max-width: 420px;
}

.footer__badge-item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
}

.footer__badge-img {
    width: 100%;
    height: 55px;
    object-fit: contain;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none !important;
    border-radius: 4px;
    background: white;
    color: orangered;
}

.button:hover {
    background: purple;
    color: white;
}

/* Social & Tech Brand Icons */
.fa-github { color: #181717; }
.fa-facebook { color: #1877F2; }
.fa-instagram { color: #E4405F; }
.fa-tiktok { color: #000000; }
.fa-whatsapp { color: #25D366; }
.fa-linkedin { color: #0A66C2; }

.fa-python { color: #3776AB; }
.fa-flask { color: #000000; }
.fa-cloud { color: #00E599; }
.fa-code { color: #007ACC; }
.fa-html5 { color: #E34F26; }
.fa-css3-alt { color: #1572B6; }
.fa-js { color: #F7DF1E; }
.fa-git-alt { color: #F05032; }

.social__dev--row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.social__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social__col h4 {
    color: orangered;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.social__icon--link i {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social__icon--link:hover i {
    transform: scale(1.15);
    opacity: 0.85;
}

/* Main Content Section */
.main__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    min-height: 90vh;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 30px;
}

.main__content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.main__content h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    background-image: linear-gradient(to top, red, orange 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main__content h2 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    background-image: linear-gradient(to top, white, grey 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-square {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-square:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
}

.social-square i {
    font-size: 18px;
}

.d-flex.flex-row {
    flex-direction: row !important;
}

.ad-wrapper {
    width: 100%;
    overflow: hidden;
}

.main__content p {
    font-size: 1.3rem;
    margin-top: 1rem;
    color: gray;
}

.main__content ul,
.main_user_ambassadors ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main__content li,
.main_user_ambassadors li {
    margin-bottom: 0.9rem;
    color: #ccc;
    line-height: 1.75;
}

.main__content h3,
.main_user_ambassadors h3 {
    margin-top: 1.6rem;
    margin-bottom: 1rem;
}

/* User & Ambassador Cards */
.main_user,
.main_user_ambassadors,
.main_user_ambassador1,
.main_user_ambassador2,
.main_user_ambassador3 {
    flex: 1;
    min-width: 320px;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: orangered;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.main_user:hover,
.main_user_ambassadors:hover {
    transform: scale(1.02);
}

.main_user h2,
.main_user_ambassadors h2 {
    background-image: linear-gradient(to top, red, orange 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Forms & Buttons */
.form-control {
    width: 100%;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid orangered !important;
    color: #e0e0e0 !important;
    margin-bottom: 20px;
    border-radius: 0;
    outline: none !important;
    box-shadow: none !important;
}

.form-control:focus {
    outline: none !important;
    border-bottom: 1px solid white !important;
}

.btn-success {
    background: gray !important;
    border: none !important;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.4s;
    cursor: pointer;
    outline: none !important;
}

.btn-success:hover {
    background: purple !important;
    color: white !important;
}

/* Utilities & Footer */
#cookie-banner {
    position: fixed;
    bottom: 0;
    width: 50%;
    background: rgba(169, 169, 169, 0.9);
    padding: 20px;
    text-align: center;
    z-index: 1000;
}

.footer__container {
    background-color: White;
    padding: 5rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer__links {
    width: 100%;
    max-width: 1300px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer__links--wrap {
    display: flex;
    width: 100%;
    justify-content: space-around;
}

.footer__links--items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 16px;
    text-align: left;
    width: 160px;
}

.footer__links--items a {
    color: orangered;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

/* ==========================================
   Responsive Tablet/Mobile Styles (FIXED)
   ========================================== */
@media screen and (max-width: 960px) {
    .navbar__container {
        height: 80px;
        padding: 0;
    }

    /* Mobile Drawer with Hardware-Accelerated Transitions */
    .navbar__menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin: 0;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background: white;
        opacity: 0;
        visibility: hidden;
        
        /* GPU acceleration prevents menu stutter */
        transform: translateY(-20px);
        transition: transform 0.3s ease-in-out, 
                    opacity 0.3s ease-in-out, 
                    visibility 0.3s ease-in-out;
                    
        height: auto;
        padding: 20px 0;
        z-index: 99;
    }

    .navbar__menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        font-size: 1.2rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: orangered;
        display: block;
        cursor: pointer;
    }

    #mobile-menu {
        position: absolute;
        top: 50%;
        right: 5%;
        transform: translateY(-50%);
        cursor: pointer;
    }

    .navbar__item {
        width: 100%;
        height: auto;
    }

    .navbar__links {
        text-align: center;
        padding: 1.5rem;
        width: 100%;
        display: block;
    }

    .navbar__btn {
        padding: 1rem 2rem;
    }

    .button {
        width: 100%;
        height: 50px;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .main__container {
        flex-direction: column;
        align-items: center;
    }

    .main_user,
    .main_user_ambassadors {
        max-width: 90%;
        min-height: auto;
    }
}

/* Small Tablet (Max 768px) */
@media screen and (max-width: 768px) {
    .main__content {
        text-align: center;
    }

    .footer__badges-container {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .footer__links-wrap {
        justify-content: center;
    }
}

/* Mobile Devices (Max 480px) */
@media screen and (max-width: 480px) {
    .navbar__container {
        padding: 0 20px;
    }

    .main__content h1 {
        font-size: 2.2rem;
    }

    .main_user,
    .main_user_ambassadors {
        width: 100%;
        padding: 20px;
    }

    .btn-success {
        width: 100%;
    }

    .footer__links--wrap {
        flex-direction: column;
        align-items: center;
    }

    .footer__links--items {
        width: 100%;
        align-items: center;
        text-align: center;
    }
}
