/* GLOBAL SETTINGS */
html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #333 #00040c;
}

/* Width of the scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #00040c;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

/* Thumb (The moving part) */
::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 5px;
    border: 2px solid #00040c;
}

/* Thumb on Hover */
::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* Thumb on Active/Click (Optional: Green to match theme) */
::-webkit-scrollbar-thumb:active {
    background-color: #09a94b; 
}

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: #00040c;
    color: white;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

/* REUSABLE CLASSES */
.symbol,
.subheading {
    color: #09a94b;
}

.subheading {
    margin-bottom: 0.8rem;
    display: block;
    letter-spacing: 2px;
    font-variant: small-caps;
    font-weight: bold;
    font-size: 1.1rem;
}

/* BOLD SUBHEADS */
.subhead {
    font-weight: 700 !important;
}

h1 {
    font-family: Impact, sans-serif;
    letter-spacing: 1px;
    word-spacing: 3px;
    font-weight: normal;
    text-transform: uppercase;
}

/* HERO TITLE with GRADIENT TEXT */
.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: normal;
    line-height: 1.2;
}

/* Gen Z Gradient Text Effect */
.gradient-text {
    background: linear-gradient(90deg, #ffffff, #09a94b, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 4s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* NAVIGATION */
nav.nav-root {
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0) 80%);
}

.nav-pill {
    position: relative;
    padding: 0.6rem 1.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
}

.nav-gloss {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.nav-gloss::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0.8;
}

.nav-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.nav-item {
    padding: 0.5rem 1rem;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #09a94b;
}

/* DROPDOWN */
.product-dropdown {
    position: relative;
}

.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #0b111a;
    border-radius: 12px;
    padding: 0.7rem 0;
    min-width: max-content;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 1005;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: -5px;
    clip-path: inset(-50px -50px -50px -50px);
    text-align: center;
}

.dropdown-menu-custom a {
    display: block;
    padding: 0.6rem 1.5rem;
    color: #d1d5db;
    font-weight: 500;
    white-space: nowrap;
    transition: 0.2s;
}

.product-dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu-custom a:hover {
    background: #09a94b;
    color: white;
}

.moreTools {
    text-shadow: 0 0 30px white;
    border-radius: 0 0 10px 10px;
    background-color: #09a94b !important;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.moreTools:hover {
    background-color: #056e2c !important;
}

/* MODERN BUTTONS (Gen Z Glow) */
.custom-btn {
    background-color: #09a94b;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(9, 169, 75, 0.4);
    transition: all 0.3s ease;
}

.custom-btn:hover {
    box-shadow: 0 0 25px rgba(9, 169, 75, 0.7);
    transform: translateY(-2px);
}

.magnetic-btn {
    display: inline-block;
}

/* HERO ELEMENTS */
.hero-ribbon {
    display: block;
    position: relative;
    margin-top: 2rem;
    width: 100%;
    max-width: 800px;
    height: auto;
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
}

.hero-phone {
    margin-top: 2rem;
    max-height: 550px;
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(9, 169, 75, 0.2));
    transition: transform 0.1s ease-out;
}

@media (max-width: 991px) {
    .hero-phone {
        max-height: 400px;
    }

    .hero-ribbon {
        width: 100%;
        max-width: 450px;
        margin-top: 1.5rem;
    }
}

/* CARDS & 3D EFFECTS */
.tilt-card {
    perspective: 1000px;
}

.tilt-card img {
    transition: transform 0.5s ease;
}

.tilt-card:hover img {
    transform: scale(1.03);
}

/* TESTIMONIALS */
.testimonial-card {
    background: linear-gradient(145deg, #0e2a42, #021a0d);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-height: 250px;
    margin: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.6;
    transform: scale(0.9);
    transition: 0.4s;
}

.owl-item.active.center .testimonial-card {
    opacity: 1;
    transform: scale(1.05);
    border-color: #09a94b;
    box-shadow: 0 0 30px rgba(9, 169, 75, 0.3);
}

@media (max-width: 999px) {
    .testimonial-card {
        opacity: 1;
        transform: scale(1);
    }
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.avatar-frame {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #09a94b;
    overflow: hidden;
}

.testimonial-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6) !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    color: white !important;
    font-size: 1.5rem !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: 0.3s;
}

.owl-prev {
    left: -20px;
}

.owl-next {
    right: -20px;
}

.owl-nav button:hover {
    background: #09a94b !important;
    border-color: #09a94b !important;
}

/* FAQ CARDS */
.box {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.boxcolour {
    background: #09a94b;
    color: white;
}

.boxuncolour {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Shine Effect */
.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
}

@media (min-width: 992px) {
    .box:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
        z-index: 2;
    }

    .box:hover::before {
        left: 150%;
        transition: 0.75s;
    }
}

@media (max-width: 991px) {
    .box::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        animation: mobileShine 3s infinite;
        pointer-events: none;
    }

    @keyframes mobileShine {
        0% {
            left: -100%;
        }

        50%,
        100% {
            left: 200%;
        }
    }
}

/* CONTACT - UPDATED BLACK BOX */
.blackbox {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/static/media/pages/onepageimg/blackbox_bg.png') center/cover;
    background-color: black;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.blackbox.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blackbox-text-bg {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(1, 41, 19, 0.8) 100%);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.form-floating>.form-control {
    background: transparent !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-floating>.form-control:focus {
    background: rgba(0, 0, 0, 0.3) !important;
    border-color: #09a94b;
    box-shadow: 0 0 0 4px rgba(9, 169, 75, 0.1);
}

.form-floating label {
    color: rgba(255, 255, 255, 0.6);
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: #09a94b !important;
    opacity: 1;
    background: transparent;
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
}

/* FOOTER */
footer {
    background: linear-gradient(to bottom, #02140a, #000);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* MOBILE MENU */
.nav-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.nav-hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

.nav-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(0, 4, 12, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1001;
    padding: 6rem 2rem;
    transition: 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

.nav-mobile-menu.active {
    right: 0;
}

/* --- FLOATING SOCIAL SIDEBAR --- */
.socialLinks {
    position: fixed;
    bottom: 30%;
    right: 20px;
    z-index: 1200;
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: flex-end;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.2s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.social-btn:hover {
    width: 160px;
    transform: translateX(-5px);
    border-radius: 30px;
}

/* ICON STYLING */
.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

/* TEXT STYLING */
.text-box {
    color: white;
    font-weight: 700;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    padding-right: 20px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Reveal Text on Hover */
.social-btn:hover .text-box {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

/* --- BRAND COLORS --- */

/* WhatsApp */
.whatsapp-btn {
    background: #25d366;
}

.whatsapp-btn:hover {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

/* Instagram */
.insta-btn {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.insta-btn:hover {
    box-shadow: 0 0 20px rgba(214, 36, 159, 0.6);
}

/* LinkedIn */
.linkedin-btn {
    background: #0077b5;
}

.linkedin-btn:hover {
    box-shadow: 0 0 20px rgba(0, 119, 181, 0.6);
}

/* Facebook */
.facebook-btn {
    background: #1877f2;
}

.facebook-btn:hover {
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.6);
}

/* TOAST NOTIFICATION */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast-message {
    background: rgba(0, 20, 10, 0.95);
    border: 1px solid #09a94b;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 10px;
    min-width: 300px;
}

.toast-message.show {
    transform: translateX(0);
}