/* --- Root Variables & Reset --- */
:root {
    --bg-primary: #0a0a0c;
    --bg-secondary: #121216;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --card-bg: #1e1e24;
    --border-color: #2a2a35;
    --font-stack: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    overflow-x: hidden;
}

/*logo of Navbar */
/* Container for the logo link */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Controls the actual image sizing */
.logo-img {
    height: 40px;        /* Adjust this height to match your navbar design */
    width: auto;         /* Keeps the original aspect ratio aspect intact */
    object-fit: contain; /* Prevents any squishing or stretching */
    display: block;
}

/* Optional: Subtle hover effect for the image */
.logo-img:hover {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

/* --- Utility Components --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--text-main);
    color: var(--bg-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-primary);
}

.separator {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border: none;
    margin: 1rem auto 2.5rem auto;
    border-radius: 2px;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    letter-spacing: 1px;
}

/* --- Header / Nav --- */
/* --- Action Buttons Layout Alignment --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px; /* Uniform distance gap spacing between buttons */
}

/* --- Premium Glow-Border Login Button Styles --- */
.btn-login {
    position: relative;
    background: rgba(18, 18, 22, 0.4);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    z-index: 1;
    
    /* Layered borders using double box-shadows instead of property layout shifts */
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
    
    /* Hardware accelerated transition handling scaling and background interpolation updates */
    will-change: transform, box-shadow, color;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.3s ease;
}

/* Dynamic shifting neon gradient background overlay layer */
.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Hover Interactive States Animation --- */
.btn-login:hover {
    color: #ffffff;
    transform: translateY(-1px);
    
    /* Swaps out basic glass border for a pulsing purple neon drop shadow glow mesh matrix */
    box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.3),
                0 8px 20px rgba(99, 102, 241, 0.35);
}

/* Fades the glowing inner gradient smoothly into view upon cursor intersection */
.btn-login:hover::before {
    opacity: 1;
}

/* Slight scale reduction feedback on click interaction */
.btn-login:active {
    transform: translateY(0) scale(0.97);
}

/* Make sure your secondary button scales uniformly alongside it */
.btn-secondary {
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-secondary:hover {
    transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1e1b4b 0%, var(--bg-primary) 70%);
    padding-top: 80px;
}

.hero-logo {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 12px;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.tagline {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* --- About Section --- */
.about {
    background-color: var(--bg-secondary);
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* --- Features Section --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #fff;
}

.card p {
    color: var(--text-muted);
}

/* ---Feature Effect --*/

/* --- Core Pillars Features Section Base --- */
.features {
    background-color: #0a0a0c;
    padding: 80px 20px;
}

.features h2 {
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    font-weight: 800;
}

.separator {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border: none;
    margin: 1.5rem auto 3.5rem auto;
    border-radius: 2px;
}

/* --- Layout Grid --- */
.grid {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- Interactive 3D Glow Cards --- */
.card {
    flex: 1;
    position: relative;
    background: rgba(18, 18, 22, 0.6); /* Translucent dark workspace */
    border: 1px solid rgba(42, 42, 53, 0.7);
    padding: 3rem 2rem;
    border-radius: 14px;
    overflow: hidden;
    
    /* Prepares 3D coordinate processing matrix layers */
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
    
    /* Smooth transition fallback recovery tracking */
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), 
                border-color 0.3s ease, 
                box-shadow 0.3s ease;
}

/* Hover base changes */
.card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* --- The Mouse-Tracking Glow Mesh --- */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        250px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), 
        rgba(99, 102, 241, 0.15), 
        transparent 80%
    );
    z-index: 1;
    pointer-events: none; /* Allows cursor inputs to skip down to text layers safely */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover .card-glow {
    opacity: 1;
}

/* --- Typography Content Hierarchy --- */
.card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    transform: translateZ(20px); /* Extrudes text slightly into perspective workspace */
}

.card p {
    font-size: 0.98rem;
    color: #9ca3af;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    transform: translateZ(10px);
}

/* --- Responsive Layout Stack --- */
@media (max-width: 768px) {
    .grid {
        flex-direction: column;
        gap: 20px;
    }
    .card {
        padding: 2.5rem 1.5rem;
    }
}

/* --- Contact Section --- */
.contact {
    background-color: var(--bg-secondary);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-main);
    font-family: var(--font-stack);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form button {
    align-self: flex-start;
    padding: 1rem 2rem;
}

/* --- Footer --- */
footer {
    background-color: var(--bg-primary);
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-links, .btn-secondary {
        display: none; /* Simplifies mobile presentation */
    }
    
    .hero-logo {
        font-size: 3.5rem;
        letter-spacing: 6px;
    }
    
    .tagline {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 80%;
    }
    
    .contact-form button {
        width: 100%;
    }
}




/* --- Gallery Section & Flex Container --- */
.gallery-section {
    width: 100%;
    padding: 40px 20px;
}

.gallery-container {
    display: flex;
    gap: 20px; /* Space between the images */
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- Individual Image Cards --- */
.gallery-item {
    flex: 1; /* Distributes equal width to all 3 elements */
    position: relative;
    border-radius: 12px;
    overflow: hidden; /* Keeps the zoomed image inside the rounded corners */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    height: 400px; /* Fixed height for consistency */
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents image distortion */
    transition: transform 0.5s ease;
}

/* --- Hover Effects --- */
.gallery-item:hover img {
    transform: scale(1.08); /* Smooth zoom effect */
}

/* --- Text Overlay --- */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: #ffffff;
    transition: background 0.3s ease;
}

.image-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.image-overlay p {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* --- Responsive Layout (Mobile Friendly) --- */
@media (max-width: 768px) {
    .gallery-container {
        flex-direction: column; /* Stacks the images vertically on small screens */
    }
    
    .gallery-item {
        height: 300px; /* Slightly shorter height for mobile screens */
    }
}





/* --- Global Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: #0a0a0c;
}

/* --- Address Bar Base Style --- */
.address-bar {
    background-color: #121216; /* Dark background to match sleek layouts */
    border-top: 1px solid #2a2a35;
    color: #f3f4f6;
    width: 100%;
}

/* --- Flex Container --- */
.address-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap; /* Allows wrapping on medium screens */
}

/* --- Column Blocks --- */
.address-block {
    display: flex;
    gap: 1rem;
    flex: 1;
    min-width: 220px; /* Prevents items from getting too squished */
}

/* --- Brand Specific Styling --- */
.address-block.brand-block {
    flex-direction: column;
    gap: 0.5rem;
}

.address-logo {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #fff;
}

.brand-block p {
    font-size: 0.9rem;
    color: #9ca3af;
}

/* --- Icons Wrapper --- */
.icon-wrap {
    background-color: #1e1e24;
    border: 1px solid #2a2a35;
    color: #6366f1; /* Vibrant Accent color */
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0; /* Keeps icon round shape */
}

/* --- Content Text Inside Blocks --- */
.address-text h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.address-text p {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.5;
}

/* --- Copyright Bottom Bar --- */
.footer-bottom {
    background-color: #0a0a0c;
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #1e1e24;
    color: #6b7280;
    font-size: 0.85rem;
}

/* --- Responsive Layout (Mobile Friendly) --- */
@media (max-width: 768px) {
    .address-container {
        flex-direction: column; /* Stack details vertically on phone view */
        gap: 2.5rem;
        padding: 2.5rem 1.5rem;
    }

    .address-block {
        width: 100%;
    }
}



/* --- JS-Driven Styles --- */

/* Sticky Navbar Transitions */
header {
    transition: padding 0.4s ease, background-color 0.4s ease, backdrop-filter 0.4s ease;
}

.header-scrolled {
    padding: 0.5rem 0; /* Shrinks the navbar height slightly */
    background-color: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Scroll Reveal States */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for your feature cards */
.grid .card:nth-child(1) { transition-delay: 0.1s; }
.grid .card:nth-child(2) { transition-delay: 0.2s; }
.grid .card:nth-child(3) { transition-delay: 0.3s; }

/* Typing Effect Cursor */
.tagline::after {
    content: '|';
    animation: blink 0.8s infinite;
    color: var(--accent);
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


/*Loraxs Effect Logo */

.hero-logo {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 12px;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    display: inline-block; /* Crucial: Allows transforms to work properly */
    cursor: default;
    user-select: none;    /* Prevents accidental text highlighting on hover */
    
    /* Base text shadow glow */
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
    
    /* Smooth transition for when the mouse enters and snaps back out */
    transition: transform 0.15s ease-out, text-shadow 0.15s ease-out;
    transform-style: preserve-3d;
}

/* Image Slide */

/* --- Gallery Item Tweaks for 3D Interaction --- */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    /* Crucial properties for enabling depth and smooth recovery animations */
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Ensure the image scales and shifts without sharp jitter */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Enhancing the overlay layout for the 3D translation depth */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0.3) 70%, transparent 100%);
    color: #ffffff;
    
    /* Depth management */
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none; /* Prevents cursor stuttering when switching from tracking img to tracking overlay */
}

/* --- Full Screen Lightbox / Image Viewer Styles --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 12, 0.92); /* Matches Loraxs dark identity */
    backdrop-filter: blur(12px);              /* Blurs background content */
    z-index: 2000;                            /* Forces it over navbars and footer */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* Smooth opacity fade state */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Active trigger state handled via Javascript classList toggle */
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

/* The actual big screen presentation element */
.lightbox-img {
    max-width: 85%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid #2a2a35;
    
    /* Zoom pop entrance effect */
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

/* Close action 'X' icon styling */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: #9ca3af;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Informative Caption label display strip beneath photo */
.lightbox-caption {
    margin-top: 20px;
    color: #f3f4f6;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 0 20px;
}

.lightbox-caption strong {
    color: #6366f1; /* Pops the hardware brand styling accent color */
}

/* Phone screen responsive adjustment optimizations */
@media (max-width: 768px) {
    .lightbox-img {
        max-width: 92%;
    }
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 2.5rem;
    }
}

/* --- Slider Structure Positioning Rules --- */
.gallery-section {
    position: relative;
    padding: 60px 0;
    max-width: 1240px;
    margin: 0 auto;
}

.gallery-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

/* The viewport window clipping items out of view */
.gallery-container {
    overflow: hidden;
    width: 100%;
    padding: 20px 10px; /* Provides vertical safety breathing room for the 3D hover scale pop */
}

/* The horizontal moving line track stretching out */
.gallery-track {
    display: flex;
    gap: 24px;
    width: 100%;
    /* Hardware accelerated transition movement execution timing */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Individual Card dimension formatting */
.gallery-item {
    flex: 0 0 calc(33.333% - 16px); /* Displays exactly 3 items at a time cleanly inside the track width */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform-style: preserve-3d;
    transition: transform 0.2s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

/* --- Control Buttons Architecture --- */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 30, 36, 0.7);
    border: 1px solid rgba(42, 42, 53, 0.8);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.slider-arrow:hover {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

.prev-btn { left: -20px; }
.next-btn { right: -20px; }

/* --- Navigation Dot Indicators --- */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2a2a35;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
}

.dot.active {
    background: #6366f1;
    width: 24px; /* Pill stretch indicator shape modification for active item tracking */
    border-radius: 6px;
}

/* --- Mobile / Tablet Responsiveness overrides --- */
@media (max-width: 1024px) {
    .gallery-item {
        flex: 0 0 calc(50% - 12px); /* Displays 2 items at a time on tablets */
    }
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
}

@media (max-width: 640px) {
    .gallery-item {
        flex: 0 0 100%; /* Displays 1 item at a time on mobile smartphones */
    }
}

/*NavBar Bar logo Efftect*/

/* --- Premium Navigation Header Base --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background-color: transparent; /* Seamless blend on page load */
    border-bottom: 1px solid transparent;
    
    /* Smooth transition for absolute positioning and visual styles */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                padding 0.4s ease, 
                background-color 0.4s ease, 
                backdrop-filter 0.4s ease, 
                border-color 0.4s ease;
}

/* --- Triggered States via JS --- */

/* Action state when scrolling down: Hides header off-screen */
.header-hidden {
    transform: translateY(-100%);
}

/* Action state when scrolling away from top: Frosted glass panel */
.header-scrolled {
    padding: 0.8rem 0; /* Smoothly shrinks navbar height */
    background-color: rgba(10, 10, 12, 0.75); /* Dark theme translucent background */
    backdrop-filter: blur(16px);              /* High-end native blurring */
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(42, 42, 53, 0.5);       /* Subtle border line appears */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* --- Nav Links Glow Line Effect --- */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

/* The expanding glow underline */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #a855f7); /* Smooth indigo to purple gradient */
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.6); /* Neon glow effect */
}

/* Hover updates */
.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Ensure navbar layout aligns objects beautifully */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 !important; /* Let the header tag handle the padding */
}

/*logo section in navbar/*

/* --- Premium Interactive Image Logo Wrapper --- */
.logo {
    position: relative;
    overflow: hidden; /* Keeps the sweeping shine effect clipped inside the container */
    border-radius: 4px; /* Optional: smooth edge clipping if your logo has a shape */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- The Link Structure Anchor --- */
.logo a {
    display: block;
    position: relative;
    text-decoration: none;
    line-height: 0; /* Eliminates microscopic trailing space gaps below layout images */
}

/* --- The Logo Image Properties --- */
.logo-img {
    height: 42px;         /* Standard layout height for headers */
    width: auto;          /* Maintains original proportional aspect ratio */
    object-fit: contain;
    display: block;
    
    /* Hardware accelerated transition handling scaling and drop filters */
    will-change: transform, filter;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- The Metallic Sweep Shine Glare Layer --- */
.logo a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%; /* Starts off-screen to the left side */
    width: 60%;
    height: 100%;
    
    /* Creates a white semi-translucent light beam gradient angled at 45 degrees */
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.35) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg); /* Slants the glare bar */
    transition: none;
    pointer-events: none; /* Allows cursor actions to pass completely through the overlay safely */
}

/* --- Hover Interactive States --- */

.logo:hover .logo-img {
    transform: scale(1.06) translateY(-1px); /* Elevates and scales up softly */
    
    /* Generates a colorful tech-neon shadow aura around the silhouette shape of the logo.png */
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.45)) 
            drop-shadow(0 0 4px rgba(168, 85, 247, 0.2));
}

/* Sweeps the metallic reflection glare light completely across to the right side on hover */
.logo:hover a::after {
    left: 150%;
    transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}




/* loraxs logo ading */ 

/* --- Premium Hero Logo Container with Left-Side Icon --- */
.hero-logo {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 12px;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    
    /* Flex alignment properties to put the image on the left side */
    display: inline-flex;
    align-items: center; 
    justify-content: center;
    gap: 10px; /* Space between your LS icon and the text */
    
    cursor: default;
    user-select: none;
    
    /* Base text glow drop */
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
    
    /* Smooth transitions for the JavaScript mouse-tracking effects */
    transition: transform 0.15s ease-out, text-shadow 0.15s ease-out, filter 0.15s ease-out;
    transform-style: preserve-3d;
}

/* --- Left-Side Icon Specific Styles --- */
.hero-logo-icon {
    height: 80px;        /* Proportionately matches the 5rem text size */
    width: auto;         /* Preserves structural aspect ratio */
    object-fit: contain;
    letter-spacing: normal; /* Prevents text letter-spacing from adding gap to the image edge */
    
    /* Pushes the icon slightly forward in 3D perspective layers */
    transform: translateZ(15px); 
    
    /* Filters apply matching glows to your image silhouette alongside text-shadow */
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.2));
    transition: filter 0.15s ease-out;
}

/* --- Responsive Adaptability for Mobile Screens --- */
@media (max-width: 768px) {
    .hero-logo {
        font-size: 3.2rem;
        letter-spacing: 6px;
        gap: 12px;
    }
    .hero-logo-icon {
        height: 60px; /* Scales down cleanly on phones */
    }
}




/* --- FIFA World Cup 2026 Special Banner Canvas --- */
.fwc-banner-section {
    position: relative;
    background-color: #000000; /* Pure black baseline layout grounding */
    padding: 120px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

/* 1. Base Layer: Deep Stadium Atmosphere Graphic Space */
.fwc-stadium-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('stadium.jpg'); /* Your stadium image asset file */
    background-size: cover;
    background-position: center;
    opacity: 0.18; /* Dimmed down to prevent text contrast clashing */
    z-index: 0;
}

/* 2. Secondary Layer: Vignette Mask to blend stadium smoothly into pitch black */
.fwc-stadium-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        linear-gradient(to right, #000000 25%, rgba(0,0,0,0.6) 60%, #000000 100%),
        linear-gradient(to bottom, #000000 0%, transparent 40%, transparent 60%, #000000 100%);
    z-index: 1;
    pointer-events: none;
}

/* 3. Ambient Glow Node */
.fwc-glow-field {
    position: absolute;
    top: 50%; left: 75%;
    transform: translate(-50%, -50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Layout Core Grid Structure */
.fwc-grid-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

/* --- Badges & Text Elements Typography --- */
.fwc-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.8rem;
}

.fwc-pill-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 30px;
    text-transform: uppercase;
}

.fwc-pill-badge.red-pulse {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.05);
}

.fwc-pill-badge.hybrid-glass {
    background: rgba(255, 255, 255, 0.03);
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fwc-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
}

.fwc-description {
    font-size: 1.05rem;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* --- Countdown Display Layout Panel --- */
.fwc-countdown-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 30px;
    border-radius: 16px;
    width: max-content;
    margin-bottom: 2.5rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.countdown-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.count-number {
    font-family: monospace;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #10b981);
    
    /* 1. Cross-Browser Compliance Fixes */
    -webkit-background-clip: text;
    background-clip: text;                 /* Standard un-prefixed fallback */
    -webkit-text-fill-color: transparent;
    color: transparent;                    /* Legacy browser fallback */
    
    /* 2. Enhanced Readability Layer */
    /* Prevents the countdown text from getting lost on dark backgrounds or busy image layers */
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.25));
}

.count-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.countdown-divider {
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.12);
    transform: translateY(-6px);
}

/* Call to Action Button Action */
.btn-fwc-glow {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #6366f1);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 15px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-fwc-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.45);
}

/* --- Right Column: Messi Cinematic Display System --- */
.fwc-visual-block {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px; /* Allows 3D tilting layers */
}

.hologram-glow-circle {
    position: absolute;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 40px;
}

.hologram-layers-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Messi Photo Optimization Properties */
.fwc-messi-img {
    height: 460px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.9));
    z-index: 2;
    position: relative;
}

.hologram-layer {
    position: absolute;
    pointer-events: none;
    white-space: nowrap;
}

/* Big 2026 Typography hidden behind Messi */
.layer-back {
    font-size: 10rem;
    font-weight: 900;
    font-family: Arial Black, sans-serif;
    color: rgba(255, 255, 255, 0.015);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
    transform: translateZ(-50px);
    z-index: 1;
    top: 80px;
}

/* Floating badge sitting upfront over Messi's layout space */
.layer-front {
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 14px;
    border-radius: 30px;
    bottom: 20px;
    transform: translateZ(60px);
    letter-spacing: 2px;
    z-index: 3;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* --- Responsive Media Breakpoints Layout Conversions --- */
@media (max-width: 1024px) {
    .fwc-grid-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .fwc-badge-row, .fwc-countdown-wrapper, .fwc-actions { justify-content: center; margin-left: auto; margin-right: auto; }
    .fwc-title { font-size: 2.4rem; }
    .fwc-visual-block { height: 380px; }
    .fwc-messi-img { height: 360px; }
    .layer-back { font-size: 7rem; top: 60px; }
    .fwc-stadium-overlay {
        background: linear-gradient(to bottom, #000000 0%, rgba(0,0,0,0.5) 50%, #000000 100%);
    }
}

@media (max-width: 640px) {
    .fwc-banner-section { padding: 80px 15px; }
    .fwc-countdown-wrapper { padding: 15px 20px; gap: 8px; }
    .count-number { font-size: 1.7rem; }
    .countdown-node { min-width: 45px; }
    .fwc-title { font-size: 2rem; }
    .fwc-visual-block { height: 300px; }
    .fwc-messi-img { height: 280px; }
}

/* MEssi Photo Effect /*

/* --- Visual Frame Framework Setup --- */
.fwc-visual-block {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px; /* Stronger perspective for a more pronounced 3D tilt effect */
    overflow: visible;
}

.hologram-layers-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

.parallax-layer {
    position: absolute;
    will-change: transform;
    /* Soft ease configuration handles the handoff when mouse leaves the frame */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* Base Float Animation handles background weightlessness */
.fwc-messi-img {
    height: 460px;
    width: auto;
    object-fit: contain;
    z-index: 2;
    animation: baseFloat 6s ease-in-out infinite;
}

.messi-aura-pulse {
    position: absolute;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

@keyframes baseFloat {
    0%, 100% { transform: translateY(0px); filter: drop-shadow(0 15px 30px rgba(0,0,0,0.8)); }
    50% { transform: translateY(-10px); filter: drop-shadow(0 25px 40px rgba(16,185,129,0.2)); }
}