/* Color Palette */
:root {
    --primary-color: #2C4A3B; 
    --accent-color: #D4A373; 
    --nav-bg-start: #88da6e; 
    --nav-bg-end: #51c648; 
    --text-light: #FAFAFA;
    --text-dark: #1A1A1A;
    --bg-dark: #0A0A0A; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Times New Roman'; background-color: var(--text-light); color: var(--text-light); overflow-x: hidden; scroll-behavior: smooth;}

/* --- GLOBAL RESET: PREVENT HORIZONTAL SCROLLING --- */

html, body {
    /* overflow-x: hidden; 
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    position: relative; */


    overflow-x: clip; /* CHANGED FROM 'hidden' TO 'clip' */
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Ensures padding and borders never make an element wider than the screen */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Ensures images never stretch past their containers on mobile */
img {
    max-width: 100%;
    height: auto;
}

/* --- NAVIGATION STYLES --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: linear-gradient(to bottom, var(--nav-bg-start), var(--nav-bg-end)); 
    position: fixed; 
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.logo {
    font-family: 'Times New Roman';
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color); 
    max-width: 40%;
    /* NEW: Keeps logo visible on top of the mobile menu */
    position: relative; 
    z-index: 1001; 
}
.logo a
{
    text-decoration: none;
     font-family: 'Times New Roman';
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color); 
    max-width: 40%;
    /* NEW: Keeps logo visible on top of the mobile menu */
    position: relative; 
    z-index: 1001; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark); 
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem; 
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.nav-links i { font-size: 1rem; }
/* .menu-icon { display: none; font-size: 1.8rem; color: var(--text-dark); cursor: pointer; } */
.menu-icon { 
    /* NEW: !important stops FontAwesome from forcing it to show on desktop */
    display: none !important; 
    font-size: 1.8rem; 
    color: var(--text-dark); 
    cursor: pointer; 
    /* NEW: Keeps the X button visible on top of the mobile menu */
    position: relative;
    z-index: 1001;
}

/* --- SLIDER & HERO STYLES --- */
.hero-slider-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Background Image Mechanics */
.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; 
    transition: opacity 1.5s ease-in-out; 
    z-index: 1;
}

.slide.active { opacity: 1; }

/* Dark Overlay so text is readable */
.slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.1), var(--bg-dark) 99.9%); 
}

/* Sample Slider Images */
.slide-1 { background-image: url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?q=80&w=2000&auto=format&fit=crop'); }
.slide-2 { background-image: url('https://www.gje.com/wp-content/uploads/2022/04/Packaging-Eco-Friendly-scaled.jpg?q=80&w=2000&auto=format&fit=crop'); }
.slide-3 { background-image: url('https://planetpristine.com/wp-content/uploads/2024/01/sustainable_packaging_17609533-01dd-405c-a205-9e06ddf4ebe9.png?q=80&w=2000&auto=format&fit=crop'); }

/* Stylish Typography */
/* .home-content { position: relative; z-index: 10; max-width: 800px; color: var(--text-light); }4 */
.home-content { 
    position: relative; 
    z-index: 10; 
    max-width: 800px; 
    width: 100%; /* NEW: Forces it to respect the screen size */
    padding: 0 20px; /* NEW: Adds a safety buffer on the left and right */
    color: var(--text-light); 
}

.hero-title {
    font-family: 'Times New Roman';
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--accent-color); 
}

.hero-description { font-size: 1.4rem; font-weight: 300; margin-bottom: 2.5rem; opacity: 0.9; }

.btn-hive {
    padding: 1.2rem 3rem;
    background-color: var(--text-light);
    color: var(--text-dark);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-hive:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(7, 240, 19, 0.777); }

/* Scroll Animation Mechanics */
.page-section { height: 100vh; display: flex; align-items: center; justify-content: center; border-top: 1px solid #222;}
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (min-width: 1440px) {
    .hero-title { font-size: 5.5rem; }
    .hero-description { font-size: 1.6rem; }
}

@media (max-width: 1200px) {
    .nav-links { gap: 1rem; }
    .nav-links a { font-size: 0.85rem; }
}

@media (max-width: 992px) {
    .nav-links {
        flex-direction: column;
        justify-content: center;
        position: fixed;
        top: -100vh; 
        left: 0; width: 100%; height: 100vh;
        background-color: var(--nav-bg-end); 
        transition: all 0.5s ease-in-out;
        z-index: 999; gap: 2rem;
    }
    .nav-links.mobile-active { top: 0; } 
    .nav-links a { font-size: 1.2rem; } 
    /* .menu-icon { display: block; }  */
    .menu-icon { display: block !important; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .hero-description { font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .hero-description { font-size: 1.1rem; padding: 0 1rem; }
}






/* --- HORIZONTAL WAVING TEXT STYLES --- */

.wavy-title-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* NEW: Forces long text to drop to the next line on mobile */
    align-items: center;
    margin-bottom: 0.5rem; 
}

/* The actual visible letters */
.char-wave {
    display: inline-block;
    font-family: 'Times New Roman';
    font-size: 2.9rem;
    font-weight: 700;
    padding: 0 8px; /* Gap between letters */
    text-shadow: 2px 4px 15px rgba(0,0,0,0.6);
    animation: waveBounce 2s ease-in-out infinite;
}

@keyframes waveBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); } /* Bounces up 20px */
}

/* Responsive updates for smaller screens */
@media (max-width: 992px) {
    .char-wave { font-size: 2.8rem; padding: 0 6px; }
}

@media (max-width: 768px) {
    hero-title { font-size: 2.8rem; }
    .hero-description { font-size: 1.2rem; }
    .char-wave { font-size: 2rem; padding: 0 4px; }
    @keyframes waveBounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-12px); }
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; } /* Slightly smaller for tight phone screens */
    .hero-description { font-size: 1rem; padding: 0 10px; }
    .char-wave { 
        font-size: 1.5rem; /* Shrunk down so the long name fits nicely */
        padding: 0 2px; 
        line-height: 1.2; /* Adds breathing room if it wraps to two lines */
    }
}






















/* --- ABOUT US STYLES --- */
.about-section {
    padding: 6rem 10%;
    height: auto; /* Overrides the 100vh so content dictates the height */
    min-height: 100vh;
    background-color: white
}

.about-container {
    display: flex;
    align-items: center;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    filter: brightness(0.8) contrast(1.1); /* Blends it into the dark theme */
}

/* Elegant offset border behind the image */
.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    z-index: -1;
}

.about-text {
    flex: 1;
}

.section-title {
    font-family: 'Times New Roman';
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #141313;
}

/* A sleek outlined button for secondary actions */
.btn-secondary {
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--bg-dark);
}

/* Responsive layout for Tablets and Phones */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .about-image::before {
        top: 15px; 
        left: 15px; /* Adjust border offset for mobile */
    }
    .section-title { font-size: 2.8rem; }
}








/* --- ABOUT US FIXES --- */

/* Removed flexbox from the main section so it stacks properly */
.about-section {
    display: block; 
    padding: 6rem 10%;
    background-color: var(--text-light); 
    color: black;
    min-height: 100vh;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto 6rem auto; /* Adds a large gap below the text before the grid */
}

/* Fixed Image Sizing */
.about-image {
    flex: 1;
    position: relative;
    min-width: 300px; /* Prevents the image from being crushed to 0px */
}

.about-image img {
    width: 100%;
    display: block;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    filter: brightness(0.8) contrast(1.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px; left: -20px;
    width: 100%; height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    z-index: -1;
}

.about-text {
    flex: 1;
}

.section-title {
    font-family: 'Old Standard TT', serif;
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #0e0e0e;
}

/* The Single Stat Styling */
.single-stat {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.single-stat h3 {
    display: inline-block;
    font-family: 'Old Standard TT', serif;
    font-size: 4rem;
    color: var(--accent-color);
}

.single-stat span {
    font-family: 'Old Standard TT', serif;
    font-size: 2.5rem;
    color: var(--accent-color);
}

.single-stat p {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #060606;
}

/* Core Values Grid */
.core-values-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.value-icon { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 1.5rem; }
.value-card h4 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-light); }
.value-card p { color: #0b0b0b; line-height: 1.6; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-container { flex-direction: column; text-align: center; gap: 3rem; }
    .about-image::before { top: 15px; left: 15px; }
    .core-values-container { grid-template-columns: 1fr; padding: 0 5%; }
}























/* --- PRODUCT USAGE STYLES (LIGHT THEME) --- */

.usage-section {
    padding: 8rem 5%;
    background-color: #FFFFFF; /* The stark white background you requested */
    color: var(--text-dark); /* Switching to dark text */
    min-height: 100vh;
}

.usage-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto;
}

.section-title-dark {
    font-family: 'Times New Roman';
    font-size: 3.5rem;
    color: var(--primary-color); /* Deep Forest Green for contrast */
    margin-bottom: 1rem;
}

.usage-subtitle {
    font-size: 1.2rem;
    color: #080808; /* Soft grey for readability on white */
    line-height: 1.6;
}

/* --- INDUSTRIES & ADVANTAGES STYLES --- */

.usage-section {
    padding: 8rem 5%;
    background-color: #FFFFFF; /* Pure White Theme */
    color: var(--text-dark);
}

.industries-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.section-title-dark {
    font-family: 'Old Standard TT', serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.usage-subtitle {
    font-size: 1.2rem;
    color: #555555;
    line-height: 1.6;
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 6rem auto;
}

.industry-card {
    background: #FAFAFA;
    border: 1px solid #EAEAEA;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.industry-card:hover {
    background: #FFFFFF;
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.industry-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.industry-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.industry-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Advantages Banner (Dark Contrast) */
.advantages-banner {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--primary-color); /* Deep Forest Green */
    border-radius: 24px;
    padding: 4rem;
    color: #FFFFFF;
    box-shadow: 0 20px 40px rgba(13, 38, 25, 0.15);
}

.advantages-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #FFFFFF;
}

.advantages-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.advantage-item {
    text-align: center;
}

.advantage-item i {
    font-size: 2rem;
    color: var(--accent-color); /* Sand/Gold */
    margin-bottom: 1rem;
    background: rgba(212, 163, 115, 0.1);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
}

.advantage-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #FFFFFF;
}

.advantage-item p {
    font-size: 0.9rem;
    color: #A0C0B0;
    line-height: 1.5;
}

/* Responsive Layout */
@media (max-width: 1024px) {
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-row { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}

@media (max-width: 768px) {
    .industries-grid { grid-template-columns: 1fr; }
    .advantages-row { grid-template-columns: 1fr; }
    .advantages-banner { padding: 3rem 2rem; }
    .section-title-dark { font-size: 2.8rem; }
}

/* Image Styling */
.usage-img-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 4px;
}

.usage-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease; /* Smooth zoom on hover */
}

.usage-card:hover .usage-img-wrapper img {
    transform: scale(1.08); /* Zoom effect */
}

/* Overlapping Text Box (The Premium Feel) */
.usage-info {
    background-color: #FAFAFA; /* Slightly off-white to stand out from background */
    padding: 2.5rem;
    width: 90%;
    margin: -50px auto 0 auto; /* Pulls the box UP to overlap the image */
    position: relative;
    z-index: 2;
    border-top: 3px solid var(--accent-color); /* Sand colored accent line */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.usage-category {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #181818;
    display: block;
    margin-bottom: 1rem;
}

.usage-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.usage-info p {
    font-size: 1rem;
    color: #0f0e0e;
    line-height: 1.6;
}

/* --- RESPONSIVE UPDATES FOR USAGE SECTION --- */
@media (max-width: 1024px) {
    .usage-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .usage-gallery {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .section-title-dark { font-size: 2.8rem; }
    .usage-img-wrapper { height: 300px; }
}


























/* --- PRODUCT DETAILS (PRODUCT-FOCUSED BENTO) --- */

.details-section {
    padding: 8rem 5%;
    background-color: #FFFFFF; /* Pure White Page Background */
    min-height: 100vh;
}

.details-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.section-title-dark {
    font-family: 'Old Standard TT', serif;
    font-size: 3.5rem;
    color: var(--primary-color); /* Dark green for visibility on white */
    margin-bottom: 1rem;
}

.details-subtitle {
    font-size: 1.2rem;
    color: #555555;
    line-height: 1.6;
}

/* Individual Product Group */
.product-bento-group {
    max-width: 1200px;
    margin: 0 auto 6rem auto; /* Space between different products */
}

.bento-group-title {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* The Asymmetrical Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px; /* Base height for standard boxes */
    gap: 1.5rem;
}

/* Dark Bento Cards (So white text is visible) */
.bento-card {
    background: #1A1A1A; /* Deep Dark Background for the cards */
    color: #FFFFFF; /* Pure White Text inside the cards */
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
}

/* Grid Spanning Rules */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    justify-content: flex-end; /* Pushes text to the bottom over the image */
}

.bento-wide {
    grid-column: span 2;
}

/* Content Styling inside the dark cards */
.bento-content {
    position: relative;
    z-index: 2;
}

.text-center { text-align: center; }

.bento-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--accent-color); 
    color: #111; /* Dark text on the sand-colored tag */
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.bento-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.bento-stat {
    font-size: 2rem !important; 
    color: var(--accent-color) !important;
}

.bento-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.bento-card p {
    color: #CCCCCC; /* Light gray for paragraph text */
    line-height: 1.6;
}

/* Bullet Points in the Wide Box */
.bento-features {
    list-style: none;
    margin-top: 1rem;
}

.bento-features li {
    font-size: 1.1rem;
    color: #EEEEEE;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bento-features i {
    color: var(--accent-color);
}

/* Background Image for Large Card */
.bento-bg-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6; /* Dimmed so white text is readable */
    transition: opacity 0.4s ease, transform 0.8s ease;
}

.bento-card:hover .bento-bg-img {
    opacity: 0.8;
    transform: scale(1.05);
}

.bento-large::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 70%;
    background: linear-gradient(to top, rgba(20,20,20,0.9), rgba(20,20,20,0));
    z-index: 1;
}

/* --- RESPONSIVE BENTO GRID --- */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-large {
        grid-row: span 1; 
    }
}

@media (max-width: 768px) {
    .bento-grid {
        display: flex; 
        flex-direction: column;
    }
    .bento-grid > div {
        height: auto; 
        min-height: 250px;
    }
    .bento-large { min-height: 350px; }
}















/* --- PRODUCT DEEP DIVE (STICKY SCROLL ANATOMY) --- */

.anatomy-section {
    background-color: #FFFFFF; /* Pure White Background */
    color: #111111; /* Dark text for contrast */
    position: relative;
    border-top: 1px solid #EAEAEA;
}

.anatomy-container {
    display: flex;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Left Side: The Sticky Image container */
.anatomy-visual {
    width: 50%;
    position: relative;
}

.sticky-wrapper {
    position: sticky;
    top: 15vh; /* Pinned 15% from the top of the screen */
    height: 70vh; /* Takes up most of the screen height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-wrapper img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    object-fit: cover;
}

/* The Interactive Floating Badges */
.anatomy-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0; /* Hidden by default */
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.anatomy-badge.active-badge {
    opacity: 1; /* Shows up when active */
    transform: translateY(0);
}

.badge-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-color); /* Orange/Sand dot */
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

/* Right Side: The Scrolling Text */
.anatomy-text-content {
    width: 50%;
    padding-left: 6rem;
}

.anatomy-step {
    min-height: 100vh; /* Forces the user to scroll a full screen per step */
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.2; /* Text is faded out by default */
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateX(30px);
}

/* When the JavaScript detects the user scrolled to this step */
.anatomy-step.active-step {
    opacity: 1; /* Text becomes fully visible */
    transform: translateX(0);
}

.step-num {
    font-family: 'Old Standard TT', serif;
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.anatomy-step h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.anatomy-step p {
    font-size: 1.2rem;
    color: #555555;
    line-height: 1.8;
}

/* --- RESPONSIVE UPDATES FOR MOBILE --- */
@media (max-width: 992px) {
    .anatomy-container {
        flex-direction: column; /* Stack image on top of text on mobile */
    }
    .anatomy-visual, .anatomy-text-content {
        width: 100%;
        padding-left: 0;
    }
    .sticky-wrapper {
        position: relative; /* Remove sticky effect on small screens */
        top: 0;
        height: 50vh;
        margin-top: 5rem;
    }
    .anatomy-step {
        min-height: 60vh; /* Shorter scroll steps on mobile */
        text-align: center;
    }
}





/* --- INTERACTIVE SPECIFICATIONS (TAB GALLERY) --- */

/* --- PREMIUM ARCHITECTURAL SPECIFICATION INTERACTIVE BOX --- */

.premium-spec-section {
    padding: 7rem 0;
    background-color: #FFFFFF; /* Page Background remains pure white */
    font-family: 'Inter', sans-serif;
}

.spec-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 4%;
}

.spec-branding-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.spec-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.spec-subtitle {
    font-size: 1.1rem;
    color: #666666;
}

/* Horizontal Scroll Bar for 13 items on smaller viewports */
.spec-tab-scroller {
    overflow-x: auto;
    /* Added extra padding so the scrollbar doesn't touch the bottom of the buttons */
    padding-bottom: 1.5rem; 
    margin-bottom: 2rem;
    
    /* Firefox Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #B0B0B0 #F5F5F7; 
}

/* Chrome, Edge, Safari Custom Scrollbar */
.spec-tab-scroller::-webkit-scrollbar {
    height: 8px; /* Thick enough to be clearly visible */
}

.spec-tab-scroller::-webkit-scrollbar-track {
    background: #F5F5F7; /* Light grey track */
    border-radius: 10px;
}

.spec-tab-scroller::-webkit-scrollbar-thumb {
    background-color: #B0B0B0; /* Sleek dark grey thumb */
    border-radius: 10px;
    border: 2px solid #F5F5F7; /* Creates a nice border effect inside the track */
    transition: background-color 0.3s ease;
}

.spec-tab-scroller::-webkit-scrollbar-thumb:hover {
    /* Turns your signature Green when the user interacts with it! */
    background-color: #4B9E43; 
}
.spec-tab-list {
    display: flex;
    gap: 0.75rem;
    white-space: nowrap;
}

.spec-tab-item {
    padding: 0.75rem 1.5rem;
    background: #F5F5F7;
    border: 1px solid #E5E5EA;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555555;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.spec-tab-item:hover {
    background: #E5E5EA;
    color: #111111;
}

.spec-tab-item.active {
    background: #4B9E43; /* Custom high-contrast layout accent */
    border-color: #4B9E43;
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(75, 158, 67, 0.25);
}

/* The Matrix display grid module (The deep green engine room) */
.spec-matrix-board {
    background: #0D2619; /* Highly isolated contrast backdrop */
    border-radius: 28px;
    padding: 3.5rem;
    box-shadow: 0 30px 70px rgba(13, 38, 25, 0.15);
    min-height: 520px;
    position: relative;
    overflow: hidden;
}

/* Tab Panes */
.spec-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    width: 100%;
}

.spec-pane.active {
    display: flex;
    gap: 3.5rem;
    opacity: 1;
    transform: translateY(0);
}

/* Left Side: Dynamic Product Frame */
.pane-visual-card {
    flex: 1;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.pane-visual-card img {
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.pane-visual-card:hover img {
    transform: scale(1.05);
}

.pane-visual-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0D2619;
    text-align: center;
}

/* Right Side: High Spec Digital Grid Blueprint */
.pane-data-grid {
    flex: 1.4;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.grid-spec-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 0.5rem;
}

.grid-spec-header span {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #D4AF37; /* Warm structural gold for metrics */
}

.grid-spec-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
}

.grid-spec-row:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.grid-spec-row strong {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1.05rem;
}

.grid-spec-row span {
    color: #E5E5EA;
    font-size: 1.05rem;
}

/* Coming Soon Empty State Layout Blocks */
.coming-soon-flex {
    justify-content: center;
    align-items: center;
}

.spec-launch-badge {
    text-align: center;
    max-width: 420px;
    padding: 2rem;
}

.launch-icon {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 1rem;
    animation: pulseIcon 2s infinite ease-in-out;
}

.spec-launch-badge h4 {
    font-size: 1.4rem;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.spec-launch-badge p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* --- ADAPTIVE ARCHITECTURAL RESPONSIVENESS --- */
@media (max-width: 992px) {
    .spec-matrix-board { padding: 2rem; }
    .spec-pane.active { flex-direction: column; gap: 2rem; }
    .pane-visual-card { padding: 2rem; width: 100%; }
    .pane-data-grid { width: 100%; }
}

@media (max-width: 640px) {
    .spec-main-title { font-size: 2rem; }
    .grid-spec-header span { font-size: 0.7rem; letter-spacing: 0.5px; }
    .grid-spec-row strong, .grid-spec-row span { font-size: 0.9rem; }
}




























/* --- CATALOGUE SECTION (3D INTERACTIVE) --- */

.catalogue-section {
    padding: 8rem 5%;
    background-color: #0A0F0D; /* Extremely dark, rich forest hue */
    color: #FFFFFF;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden; /* Prevents 3D elements from breaking the page width */
}

.cat-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 6rem;
}

/* Left Side: The 3D Wrapper */
.cat-interactive-side {
    flex: 1;
    perspective: 1000px; /* The magic property for 3D depth */
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.cat-book {
    width: 100%;
    max-width: 350px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out; /* Super snappy tracking */
    box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.8), 
                0 0 0 1px rgba(255,255,255,0.05); /* Premium shadow and subtle border */
    border-radius: 4px;
    cursor: crosshair;
}

.cat-book img {
    width: 100%;
    height: 520px;
    display: block;
    border-radius: 4px;
}

/* The Glare Effect */
.cat-glare {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 4px;
    background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.4) 25%, transparent 30%);
    opacity: 0; /* Hidden until JS activates it */
    pointer-events: none; /* Stops it from blocking the mouse */
    transition: opacity 0.3s ease;
}

/* Right Side: Text & Button */
.cat-text-side {
    flex: 1;
}

.cat-tag {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.cat-title {
    font-family: 'Old Standard TT', serif;
    font-size: 4rem;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.cat-desc {
    font-size: 1.1rem;
    color: #AAAAAA;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cat-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.cat-meta span {
    font-size: 0.95rem;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-meta i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.cat-book:hover
{
    border: 4px solid #51c648;
}

/* The Interactive Download Button */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 1.2rem 2.5rem;
    background-color: var(--accent-color); /* Sand/Gold */
    color: #111111;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px; /* Pill shape */
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-download:hover {
    background-color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.4s ease;
}

.btn-download:hover .btn-icon {
    transform: translateY(4px); /* Arrow moves down on hover */
}

/* --- RESPONSIVE UPDATES --- */
@media (max-width: 992px) {
    .cat-container { flex-direction: column; gap: 4rem; text-align: center; }
    .cat-meta { justify-content: center; }
    .cat-title { font-size: 3rem; }
}




















/* --- CONTACT HUB STYLES (SPLIT THEME) --- */

.contact-section {
    padding: 0; /* Removing padding so the split panels touch the edges */
    background-color: #FAFAFA;
}

.contact-split-container {
    display: flex;
    min-height: 100vh;
}

/* Left Side: Dark Info Panel */
.contact-info-panel {
    flex: 1;
    background-color: #0D2619; /* Signature Deep Green */
    color: #FFFFFF;
    padding: 8rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-tag {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.contact-desc {
    color: #A0C0B0; /* Soft green-grey */
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 500px;
}

/* Interactive Info Cards */
.contact-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


.info-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px); /* Slides slightly to the right on hover */
    border-color: var(--accent-color);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 163, 115, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* Container holding the text */
.info-text {
    flex: 1; /* Tells it to take up the remaining space */
    min-width: 0; /* CRUCIAL: Prevents the flex container from stretching past the card width */
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.info-text p {
    color: #A0C0B0;
    font-size: 0.95rem;
    overflow-wrap: break-word; 
    word-break: break-word; 
    white-space: normal;
}

.contact-email-link {
    color: #A0C0B0;
    font-size: 0.95rem;
    text-decoration: none;
    overflow-wrap: break-word; 
    word-break: break-word; 
    display: inline-block;
    transition: color 0.3s ease;
}

.contact-email-link:hover {
    color: var(--accent-color); /* Turns gold/sand on hover */
    text-decoration: underline;
}

/* Right Side: Light Form Panel */
.contact-form-panel {
    flex: 1;
    background-color: #FFFFFF;
    padding: 8rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    color: #111111;
    margin-bottom: 0.5rem; /* Reduced from 3rem to make room for subtitle */
}

/* NEW SUBTITLE STYLES */
.form-subtitle {
    color: #888888;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 3rem; /* Pushes the form inputs down */
}

.smart-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
}

.form-row {
    display: flex;
    gap: 2rem;
}

.form-row .input-group {
    flex: 1;
}

/* --- FLOATING LABEL INPUT MAGIC --- */
.input-group {
    position: relative;
}

.smart-input {
    width: 100%;
    padding: 1rem 0;
    font-size: 1.1rem;
    color: #111111;
    background: transparent;
    border: none;
    border-bottom: 2px solid #E0E0E0;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

/* Change border color on focus */
.smart-input:focus {
    border-bottom-color: var(--primary-color);
}

.smart-label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 1.1rem;
    color: #888888;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* The Floating Action: Triggered on Focus OR when text is typed (not placeholder shown) */
.smart-input:focus ~ .smart-label,
.smart-input:not(:placeholder-shown) ~ .smart-label {
    top: -15px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.smart-textarea {
    resize: none;
    height: 100px;
}

.smart-select {
    color: #888888;
    cursor: pointer;
}
.smart-select:focus { color: #111111; }

/* The Submit Button */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 1.2rem 2.5rem;
    background-color: var(--primary-color);
    color: #FFFFFF;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.4s ease;
}

.btn-submit:hover {
    background-color: #0A1C12;
    box-shadow: 0 10px 20px rgba(13, 38, 25, 0.2);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .contact-info-panel, .contact-form-panel { padding: 5rem 3rem; }
}

@media (max-width: 768px) {
    .contact-split-container { flex-direction: column; }
    .form-row { flex-direction: column; gap: 2rem; }
}
























/* --- PREMIUM ARCHITECTURAL FOOTER STYLES (UPDATED) --- */

.premium-footer {
    background-color: #050505; 
    color: #FFFFFF;
    padding: 6rem 5% 2rem 5%;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Updated to a wider middle column for the addresses */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

/* Brand Column */
.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.footer-mission {
    font-size: 1.05rem;
    color: #888888;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.footer-nav-inline {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-nav-inline a {
    color: #AAAAAA;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-nav-inline a:hover {
    color: var(--accent-color);
}

/* Headings */
.footer-heading {
    font-size: 1.1rem;
    color: #FFFFFF;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Icon & Content Box Layout (For Addresses & Contact) */
.footer-icon-box {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.icon-marker {
    color: var(--accent-color); /* Sand/Gold color */
    font-size: 1.2rem;
    margin-top: 3px;
}

.box-content strong {
    display: block;
    color: #FFFFFF;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.box-content p {
    color: #888888;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Google Maps Link Styling */
.map-link {
    display: inline-block;
    color: #60B158; /* Vibrant green from your screenshot */
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.map-link:hover {
    color: var(--accent-color);
    transform: translateX(3px); /* Subtle slide to the right */
}

/* Clickable Contact Links */
.contact-link {
    display: block;
    color: #888888;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #FFFFFF;
}

/* Bottom Bar: Copyright & Socials */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    font-size: 0.9rem;
    color: #666666;
}

.footer-socials {
    display: flex;
    align-items: center; /* Ensures the text and icons are perfectly centered vertically */
    gap: 1.2rem;
}

.socials-label {
    color: #888888;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-right: 0.5rem; /* Adds a tiny bit of breathing room before the first icon */
}

.footer-socials a {
    color: #888888;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.footer-socials a:hover {
    color: #111111;
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-brand-col {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: center;
    }
}










/* --- KINETIC SCROLLING QUOTE RIBBON --- */

.quote-ribbon-container {
    width: 100%;
    overflow: hidden;
    background-color: var(--primary-color); /* Deep Forest Green */
    padding: 2rem 0;
    position: relative;
    z-index: 10;
    /* The slight tilt that makes it look incredibly premium */
    transform: rotate(-2deg) scale(1.05); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-top: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    margin: 3rem 0; /* Space above and below the ribbon */
}

.scrolling-wrapper {
    display: flex;
    white-space: nowrap;
}

.scrolling-text {
    display: flex;
    align-items: center;
    /* Adjust the '30s' to make it scroll faster or slower */
    animation: scrollMarquee 30s linear infinite; 
}

.quote-phrase {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #FFFFFF;
    font-style: italic;
    margin: 0 3rem;
}

.quote-dot {
    font-size: 1rem;
    color: var(--accent-color); /* Sand/Gold star icon */
}

/* The Infinite Loop Animation */
@keyframes scrollMarquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

/* --- RESPONSIVE UPDATES FOR RIBBON --- */
@media (max-width: 768px) {
    .quote-phrase {
        font-size: 1.2rem;
        margin: 0 1.5rem;
    }
    .quote-ribbon-container {
        padding: 1.5rem 0;
        transform: rotate(-3deg) scale(1.1); /* Slightly more tilt on mobile */
    }
}















/* --- FLOATING 'BACK TO TOP' BUTTON --- */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color); /* Sand/Gold color */
    color: #111111; /* Dark text/icon */
    border: none;
    border-radius: 50%; /* Makes it a perfect circle */
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999; /* Ensures it sits above absolutely everything */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Starts slightly lower */
    transition: all 0.3s ease; /* Smooth fade and slide */
}

/* Class added by JS when user scrolls down */
.scroll-to-top.show-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Slides up into position */
}

/* Hover Effect */
.scroll-to-top:hover {
    background-color: #111111;
    color: var(--accent-color);
    transform: translateY(-5px); /* Floats up when hovered */
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* --- RESPONSIVE SCROLL BUTTON --- */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px; /* Closer to the edge on mobile */
        right: 20px;
        width: 45px;  /* Slightly smaller for touch screens */
        height: 45px;
        font-size: 1.1rem;
    }
}
























/* --- SMART MINI CHATBOT --- */

.smart-chat-wrapper {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

/* Chat Toggle Button */
.chat-toggle {
    width: 55px;
    height: 55px;
    background-color: var(--primary-color);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.05);
}

/* Chat Window */
.chat-window {
    position: absolute;
    bottom: 75px; /* Sits above the button */
    left: 0;
    width: 320px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    
    /* Hidden by default with animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom left;
    transition: all 0.3s ease;
}

.chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header */
.chat-header {
    background: var(--primary-color);
    color: #FFFFFF;
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-online-dot {
    width: 8px;
    height: 8px;
    background: #60B158;
    border-radius: 50%;
    box-shadow: 0 0 8px #60B158;
}

#chat-close-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Messages Area */
.chat-messages {
    padding: 1.5rem;
    background: #FAFAFA;
    min-height: 200px;
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bot-msg, .user-msg {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 85%;
    animation: popIn 0.3s ease;
}

.bot-msg {
    background: #EAEAEA;
    color: #111;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user-msg {
    background: var(--primary-color);
    color: #FFF;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

/* Options/Buttons Area */
.chat-options {
    padding: 1rem;
    background: #FFF;
    border-top: 1px solid #EAEAEA;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 150px; /* Limits the height */
    overflow-y: auto;  /* Allows scrolling through options if needed */
}

.chat-opt-btn {
    padding: 0.6rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-opt-btn:hover {
    background: var(--primary-color);
    color: #FFF;
}

/* Persistent Chat Footer */
.chat-footer {
    padding: 0.8rem 1rem;
    background: #F5F5F7;
    text-align: center;
    font-size: 0.8rem;
    color: #666666;
    border-top: 1px solid #EAEAEA;
    line-height: 1.4;
}

.chat-footer a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 4px;
    transition: color 0.2s ease;
}

.chat-footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .smart-chat-wrapper { bottom: 20px; left: 20px; }
    .chat-window { width: calc(100vw - 40px); }
}



/* --- PREMIUM CUSTOM AURA CURSOR --- */

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color); /* Sand/Gold */
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none; /* Ensures the cursor doesn't block you from clicking things */
    transform: translate(-50%, -50%);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-color);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

/* Hide default cursor on desktop */
@media (pointer: fine) {
    body, a, button, input, textarea, select {
        cursor: none !important;
    }
}

/* Completely disable the custom cursor on mobile/touch devices */
@media (max-width: 768px), (pointer: coarse) {
    .cursor-dot, .cursor-outline {
        display: none !important;
    }
    body, a, button, input, textarea, select {
        cursor: auto !important;
    }
}














/* --- PREMIUM CINEMATIC PRELOADER --- */

.preloader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* background-color: #050505; Pitch black to match your footer */
    background-color: var(--primary-color);
    z-index: 999999; /* Forces this above absolutely everything */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* The curtain-lift animation */
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
}

.preloader-content {
    text-align: center;
    overflow: hidden; 
}

.preloader-brand {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #FFFFFF;
    margin: 0;
    
    /* Starts invisible and slightly lower */
    opacity: 0;
    transform: translateY(30px);
    animation: revealBrand 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.preloader-line {
    width: 0;
    height: 2px;
    background-color: var(--accent-color); /* Sand/Gold */
    margin: 1rem auto 0 auto;
    
    /* Draws the line shortly after the text appears */
    animation: drawLine 1s cubic-bezier(0.77, 0, 0.175, 1) 0.4s forwards;
}

/* The class JavaScript will add to dismiss it */
.preloader-container.fade-out {
    transform: translateY(-100%); /* Slides up and away */
    opacity: 0;
    pointer-events: none;
}

/* Animations */
@keyframes revealBrand {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drawLine {
    to {
        width: 80px; /* Expands to a neat underline */
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .preloader-brand {
        font-size: 2.5rem;
    }
}







/* --- FINAL SLIDING TIRANGA SCROLL SEQUENCE --- */

.elegant-scroll-section {
    height: 400vh; 
    background-color: #dbd7d7; /* Permanently clean, normal white background */
    position: relative;
}

.elegant-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #ffffff; 
}

/* --- THE SLANTED FLAG LINES --- */
.slant-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: -3; /* Keeps it behind the text */
}

.slant-line {
    position: absolute;
    width: 120vw; /* Wider than the screen to cover edges */
    height: 40vh; /* Bulk, thick lines */
    left: -10vw;
    /* Slants the lines by 12 degrees */
    transform-origin: center;
    will-change: transform;
}

.line-saffron {
    top: -5vh;
    background-color: #FF9933; /* Saffron */
    /* Starts hidden way off to the left */
    transform: skewY(-12deg) translateX(-150vw); 
}

.line-white {
    top: 30vh;
    background-color: #FFFFFF;
    /* Drop shadow so it doesn't blend into the white background */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
    display: flex;
    align-items: center;
    justify-content: center;
    /* Starts hidden way off to the right */
    transform: skewY(-12deg) translateX(150vw); 
}

.sky-blue-center {
    width: 90px;
    height: 90px;
    border: 8px solid #000080; /* Sky/Navy Blue */
    border-radius: 50%;
    transform: skewY(12deg); /* Un-slants the circle so it remains perfectly round */
}

.line-green {
    top: 65vh;
    background-color: #138808; /* India Green */
    /* Starts hidden way off to the left */
    transform: skewY(-12deg) translateX(-150vw); 
}

/* --- THE TEXT & IMAGES --- */
.ele-step {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    opacity: 0; 
    will-change: opacity, transform;
}

.ele-text {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Very light shadow for clean text */
}

.text-white { color: #FFFFFF !important; }

.ele-emoji {
    font-size: 8rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.elegant-reveal-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
    clip-path: circle(0% at 50% 50%); 
    filter: brightness(0.5);
}


/* Responsive */
@media (max-width: 1024px) {
    .ele-text { font-size: 4.5rem; }
    .ele-emoji { font-size: 7rem; }
}

@media (max-width: 768px) {
    .ele-text { font-size: 3rem; }
    .ele-emoji { font-size: 6rem; }
    .elegant-scroll-section { height: 350vh; }
    .sky-blue-center { width: 60px; height: 60px; border-width: 6px; }
}