@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}
:root{
    --primary-color: #0062FF;
    --dark-color: #04378a;
}

/* Placeholder background to mimic your image setup */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh; /* Replaces height: 100% safely */
    background-color: #111;
    overflow-x: hidden; /* Prevents layout breaking horizontal shifts */
}
h1,h2,h3,h4,h5,h6{
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 1px;
    span{
        color: var(--primary-color);
    }
}
h3,h4,h5,h6{
    letter-spacing: 2px !important;
}
span{
    font-family: inherit;
}
.text-muted-custom {
    color: #999;
}

/* --- Core Navbar Styling --- */
.custom-navbar {
    /* Glass background */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    /* Layout */
    border-radius: 50px;
    max-width: 1200px;
    width: 90%;
    margin: 20px auto 0;
    padding: 6px 10px;

    /* Glass border */
    border: 1px solid rgba(255, 255, 255, 0.18);

    /* Soft shadow */
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.12);

    transition: all 0.3s ease;
    position: absolute;
    top: 20px;
    z-index: 9;
    left: 50%;
    transform: translateX(-50%);
    
}

/* Navbar Brand / Logo */
.filter-white{
    height: 40px;
    filter: brightness(0) invert(1);
}

/* Nav Links */
.custom-navbar .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 12px !important;
    transition: color 0.2s ease;
    span{
        opacity: 0;
        font-size: 0.75rem;
        color: var(--primary-color);
        transition: all 0.2s ease;
        padding:0 3px;
    }
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
    color: var(--primary-color) !important;
    
}
.custom-navbar .nav-link:hover span{
    opacity: 1;
}

/* Call To Action Button */
.btn-cta {
    background-color: var(--primary-color);
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 30px;
    padding: 6px 18px !important;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-cta:hover {
    background-color: #000;
    color: #fff !important;
    transform: scale(1.03);
}

/* --- Mobile Responsiveness Customizations --- */

/* Hamburger Icon Custom Styling */
.custom-toggler {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    padding: 0;
}

.custom-toggler:focus {
    box-shadow: none;
}

.custom-toggler .toggler-icon {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
    transition: all 0.2s ease-in-out;
}

/* Mobile Dropdown Box Adjustments */
@media (max-width: 991.98px) {
    .custom-navbar {
        border-radius: 20px; /* Squarer edges look better when menu is expanded */
        padding: 12px 15px;
        margin: 0;
        background: none;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        padding: 0;
        width: 100%;
        top: 10px;
        img{
            display: none !important;
        }
    }
    
    .navbar-collapse {
        margin-top: 15px;
        padding-bottom: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(18px);
    }

    .custom-navbar .nav-item {
        width: 100%;
        text-align: center;
        padding: 5px 0;
    }
}










/* --- Footer Layout Baseline --- */
.master-footer-section {
    background-color: #000;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-avatar {
    width: 70px;
    height: 70px;
    padding: 5px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-brand-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-brand-sub {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
}

.footer-address {
    font-size: 0.85rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Custom Primary Color Email Button Frame */
.btn-footer-email {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: #fff !important;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px 28px !important;
    border-radius: 6px;
    border: none;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-footer-email:hover {
    transform: translateY(-2px);
}

/* --- Giant Navigation List Layout --- */
.footer-giant-nav {
    margin: 0;
    padding: 0;
}

.footer-giant-nav li {
    margin-bottom: 15px;
}

.wavy-menu-link {
    font-size: 3.5rem;
    font-weight: 900;
    text-decoration: none !important;
    letter-spacing: -1.5px;
    display: block;
    position: relative;
    overflow: hidden; /* Crops everything cleanly inside the line boundaries */
    height: 4.5rem;
    line-height: 4.5rem;
    transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.text-wrapper {
    display: inline-block;
    position: relative;
    height: 100%;
}

/* --- The Core Letter Stagger Engine --- */
.letter-wave-track {
    display: flex;
    position: relative;
}

/* Individual character setup */
.letter-wave-track span {
    display: inline-block;
    color: #fff;
    position: relative;
    transform: translateY(0%);
    /* Snappy custom curve ensures it jumps beautifully on roll */
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1), color 0.3s ease;
    /* Staggered delay loop calculation based on letter position index */
    transition-delay: calc(var(--char-index) * 0.025s); 
}

/* --- The Left-To-Right Accent Fill Layer --- */
.letter-wave-track::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 100%; /* Placed cleanly right beneath the white text track */
    width: 100%;
    height: 100%;
    display: flex;
    color: var(--primary-color, #ff3b00); /* Red/orange branding color from clip */
    
    /* LEFT-TO-RIGHT WIPE MASK EFFECT MECHANICAL SETTINGS */
    background: linear-gradient(to right, var(--primary-color, #ff3b00) 100%, transparent 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1), background-size 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Trigger States --- */

/* 1. When link is hovered: individual white letters roll UP and out symmetrically */
.wavy-menu-link:hover .letter-wave-track span {
    transform: translateY(-100%);
}

/* 2. Concurrently, the red/orange text track slides up into view from the bottom */
.wavy-menu-link:hover .letter-wave-track::after {
    transform: translateY(-100%);
    background-size: 100% 100%; /* Wipes the color mask beautifully from Left to Right */
}

/* --- Reverse Reset Handling on Unhover --- */
/* When mouse leaves, the delays apply in reverse naturally via the transition engine */
.wavy-menu-link .letter-wave-track span {
    transition-delay: calc(var(--char-index) * 0.02s);
}
.wavy-menu-link .letter-wave-track::after {
    transition-delay: 0s; /* Color mask rolls back instantly on leave */
}

/* ==========================================================================
   FOOTER REVEAL ARCHITECTURE (STACK ENGINE FIX)
   ========================================================================== */

/* The Stacking Wrapper Container layout baseline */
.footer-reveal-stack-wrapper {
    position: relative;
    width: 100%;
    background-color: #000;
    /* Keeps container stacked correctly in document flow order */
    display: flex;
    flex-direction: column; 
    z-index: 1;
}

/* --- Footer Plate (Top Layer Layering Off) --- */
.master-footer-section {
    background-color: #000;
    position: relative;
    width: 100%;
    /* Higher z-index allows it to pass over the marquee cleanly like a solid plate */
    z-index: 2; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8); /* Casts shadow over marquee as it exposes */
}

/* --- Infinite Marquee Section (The Fixed Behind Underlay) --- */
.marquee-banner-section {
    background-color: var(--primary-color);
    width: 100vw;
    padding: 2vh 0;
    display: flex;
    align-items: center;
    
    /* FIX: Pin it directly behind the footer plate */
    position: sticky;
    bottom: 0;
    z-index: 1; /* Sits beneath the footer floor grid */
}

/* --- Giant Navigation List Layout --- */
.footer-giant-nav {
    margin: 0;
    padding: 0;
}

.footer-giant-nav li {
    margin-bottom: 15px;
}

.wavy-menu-link {
    font-size: 3.5rem;
    font-weight: 900;
    text-decoration: none !important;
    display: block;
    position: relative;
    overflow: hidden; 
    height: 4.5rem;
    line-height: 4.5rem;
    transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.text-wrapper {
    display: inline-block;
    position: relative;
    height: 100%;
}

/* --- The Core Letter Stagger Engine --- */
.letter-wave-track {
    display: flex;
    position: relative;
}

.letter-wave-track span {
    display: inline-block;
    color: #fff;
    position: relative;
    transform: translateY(0%);
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1), color 0.3s ease;
    transition-delay: calc(var(--char-index) * 0.025s); 
}

/* --- The Left-To-Right Accent Fill Layer --- */
.letter-wave-track::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 100%; 
    width: 100%;
    height: 100%;
    display: flex;
    color: var(--primary-color, #ff3b00); 
    
    background: linear-gradient(to right, var(--primary-color, #ff3b00) 100%, transparent 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1), background-size 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.wavy-menu-link:hover .letter-wave-track span {
    transform: translateY(-100%);
}

.wavy-menu-link:hover .letter-wave-track::after {
    transform: translateY(-100%);
    background-size: 100% 100%; 
}

.wavy-menu-link .letter-wave-track span {
    transition-delay: calc(var(--char-index) * 0.02s);
}
.wavy-menu-link .letter-wave-track::after {
    transition-delay: 0s; 
}

.footer-giant-nav:hover .wavy-menu-link {
    opacity: 0.25;
}
.footer-giant-nav .wavy-menu-link:hover {
    opacity: 1 !important;
}

.footer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-brand-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-brand-sub {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
}

.footer-address {
    font-size: 0.85rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.btn-footer-email {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: #fff !important;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px 28px !important;
    border-radius: 6px;
    border: none;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-footer-email:hover {
    transform: translateY(-2px);
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 1;
}

.footer-social-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-social-links a:hover {
    color: #fff;
}

/* --- Marquee Text Engine Layout --- */
.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content-block {
    display: flex;
    gap: 4rem;
    padding-right: 4rem;
    white-space: nowrap;
    animation: marqueeMoveLoop 20s linear infinite; 
}

.marquee-content-block span {
    font-size: 7.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

@keyframes marqueeMoveLoop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Mobile responsive formatting settings */
@media (max-width: 991.98px) {
    .wavy-menu-link {
        font-size: 2.5rem;
        height: 3.2rem;
        line-height: 3.2rem;
    }
    .footer-giant-nav a {
        font-size: 2.2rem;
    }
    .marquee-content-block span {
        font-size: 4rem;
    }
}

































/* Prevent scrolling while loading */
body.loading {
    overflow: hidden;
}

/* Floating Buttons */
.floating-buttons{
    position:fixed;
    right:20px;
    bottom:20px;
    display:flex;
    flex-direction:column;
    gap:12px;
    z-index:9999;
}

.floating-btn{
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#fff;
    font-size:22px;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(0,0,0,.35);
    transition:.3s ease;
    background:var(--primary-color);
    border:1px solid #333;
}


.whatsapp:hover{
    background:#1ebd5a;
    transform:translateY(-4px);
}

/* Go Top */
.top-btn{
    opacity:0;
    visibility:hidden;
    transform:translateY(15px);
}

.top-btn.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.top-btn:hover{
    background:var(--dark-color);
}

@media (max-width:768px){
    .floating-buttons{
        right:15px;
        bottom:15px;
    }

    .floating-btn{
        width:50px;
        height:50px;
        font-size:20px;
    }
}