:root {
    --primary-color: #C0392B;
    --text-color: #ffffff;
    --bg-color: #050505;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Barlow Condensed', sans-serif;
    overflow-x: hidden;
}

/* Base Headings - Bebas Neue */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', display;
    letter-spacing: 0.05em;
}

/* Header Styling */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    transition: background 0.3s ease, border-bottom 0.3s ease;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* The scroll container sets the total height for scrolling */
.scroll-container {
    height: 500vh;
    /* Adjust based on how long the scroll should feel */
    position: relative;
}

/* Canvas is fixed to the background */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    /* Adding a subtle dark overlay so text remains readable */
    filter: brightness(0.6) contrast(1.1);
}

.content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    pointer-events: none;
    /* Let scroll events pass through mostly */
}

.step {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5% 0 6%;
    /* Create empty space to pace out the text */
    margin-bottom: 25vh;
}

.step-4 {
    margin-bottom: 0;
}

/* Text Block Styling for luxury/modern look */
.text-block {
    max-width: 500px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

.text-block.visible {
    transform: translateY(0);
    opacity: 1;
}

.text-block.right {
    margin-left: auto;
}

.text-block.center {
    margin: 0 auto;
    text-align: center;
}

h1 {
    font-size: 3.8rem;
    font-weight: 400; /* Bebas is naturally bold */
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

p {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    color: #cccccc;
}

.cta-btn {
    margin-top: 2rem;
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: #C0392B;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(192, 57, 43, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(192, 57, 43, 0.5);
}

@media (max-width: 768px) {
    h1 {
        font-size: 3.8rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    .text-block {
        padding: 2rem;
        max-width: 100%;
        margin-top: auto; /* Push towards the bottom */
        margin-bottom: 5vh;
    }

    .step {
        padding: 0 5%;
        align-items: flex-end; /* Align boxes to the bottom instead of center */
    }
}

/* Product Slider Section */
.product-showcase {
    background-color: var(--bg-color);
    padding: 10vh 5%;
    position: relative;
    z-index: 2;
    /* Ensures it scrolls over the fixed canvas */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.section-title {
    text-align: center;
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.02em;
}

.section-subtitle {
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #cccccc;
    max-width: 800px;
    margin: -1.5rem auto 4rem auto;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 1rem 0 3rem 0;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 2rem;
}

.slide {
    min-width: calc(33.333% - 1.33rem);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, background 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.slide:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slide img {
    max-width: 100%;
    height: 350px;
    object-fit: contain;
    margin-bottom: 2rem;
    filter: drop-shadow(0 20px 30px rgba(192, 57, 43, 0.15));
    transition: transform 0.4s ease;
}

.slide:hover img {
    transform: scale(1.05);
}

.slide h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.slide p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
}

.ctrl-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctrl-btn:hover {
    background: #C0392B;
    border-color: #C0392B;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(192, 57, 43, 0.3);
}

@media (max-width: 900px) {
    .slide {
        min-width: calc(50% - 1rem);
    }
}

@media (max-width: 600px) {
    .slide {
        min-width: 100%;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* Our Reach Section */
.reach-section {
    background-color: var(--bg-color);
    /* Match dark background */
    padding: 12vh 5%;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Starry particle effect background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: #ffd700;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 4s infinite ease-in-out;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 0.8;
        transform: scale(1);
    }
}

.reach-section .section-title {
    position: relative;
    z-index: 1;
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    gap: 2rem;
}

.stat-box {
    text-align: center;
    flex: 1;
    min-width: 250px;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
    border-color: rgba(192, 57, 43, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(192, 57, 43, 0.05);
}

.stat-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    transition: color 0.4s ease;
}

.stat-box:hover .stat-icon {
    color: #C0392B;
    filter: drop-shadow(0 0 10px rgba(192, 57, 43, 0.5));
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 900;
    color: #C0392B;
    /* vibrant red */
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    font-variant-numeric: tabular-nums;
}

.stat-number.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-label {
    font-size: 1.1rem;
    color: #a0a0a0;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .stats-container {
        gap: 1.5rem;
    }

    .stat-box {
        min-width: calc(50% - 1.5rem);
    }
}

@media (max-width: 600px) {
    .stat-box {
        min-width: 100%;
    }

    .stat-number {
        font-size: 3.5rem;
    }
}

/* Premium Footer Section */
.site-footer {
    background-color: #020202;
    padding: 6rem 5% 2rem;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtle accent glow at the top of the footer */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(64, 150, 255, 0.5), transparent);
    opacity: 0.5;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto 4rem;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
}

.footer-brand p {
    color: #888;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: #ccc;
    font-size: 1.2rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(192, 57, 43, 0.3);
}

.footer-links-group {
    display: flex;
    gap: 5rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.made-by {
    margin-top: 0.5rem;
}

.made-by a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.made-by a:hover {
    color: #C0392B;
}

@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-links-group {
        width: 100%;
        justify-content: space-between;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer-links-group {
        flex-direction: column;
    }
}