:root {
    /* Brand Colors */
    --primary-dark: #0f5f63;
    /* Deep Teal */
    --primary-light: #ffffff;
    --accent-gold: #c6a75e;
    --accent-gold-hover: #e0c27b;
    --accent-blue: #3dbb9a;
    /* Aqua Green */
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.75);
    --glass-bg: rgba(0, 0, 0, 0.15);
    --glass-border: rgba(255, 255, 255, 0.15);
    --card-bg: rgba(0, 0, 0, 0.15);

    /* Spacing */
    --container-width: 1200px;
    --section-spacing: 100px;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-light);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gold {
    color: var(--accent-gold);
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: var(--section-spacing) 0;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #b39040);
    color: #000;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(198, 167, 94, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-light);
    color: var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-light);
    transition: all 0.3s ease-in-out;
}

/* ── Hero Scroll Animation Wrapper ── */
.hero-scroll-wrapper {
    /* Tall scroll container – scrolling through it plays the frames */
    height: 600vh;
    position: relative;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    background-color: var(--primary-dark);
    overflow: hidden;
}

/* Canvas fills the hero viewport behind all content */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    transition: opacity 0.8s ease-out;
}

.hero-canvas.fade-out {
    opacity: 0;
}

/* Background fade overlay */
.hero-canvas-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.28);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.8s ease-out;
}

.hero-canvas-overlay.bg-blend {
    opacity: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 0;
}

.hero-center {
    width: 100%;
    max-width: 850px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    /* Hide animation (reverse scroll): 0.5s duration, ease-in */
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-center.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    /* Reveal animation (scroll down): 0.6s duration, ease-out */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Step Texts */
.step-texts-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10%;
    pointer-events: none;
    z-index: 10;
}

.step-text {
    position: absolute;
    width: auto;
    max-width: 45%;
    text-align: right;
    opacity: 0;
    /* Hidden before */
    transform: translateY(20px);
    transition: opacity 0.3s ease-in, transform 0.3s ease-in;
}

.step-text.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.step-text.hidden-after {
    opacity: 0;
    /* Hidden after */
    transform: translateY(-10px);
    transition: opacity 0.3s ease-in, transform 0.3s ease-in;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(198, 167, 94, 0.2);
    border: 1px solid var(--accent-gold);
    border-radius: 50px;
    color: var(--accent-gold);
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.45);
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 0 4px 20px rgba(0,0,0,0.45);
}

.hero-title .text-gold {
    color: #C6A75E;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 100%;
    text-shadow: 0 4px 20px rgba(0,0,0,0.45);
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats/Features Banner */
.stats-banner {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.stat-item p {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 0 auto;
}

/* Cards (Machines/Benefits) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.icon-box {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

/* Machines Specific */
.machine-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #000;
    /* Placeholder bg */
}

.machine-details ul {
    margin: 15px 0;
    padding-left: 20px;
    list-style: disc;
    color: var(--text-muted);
}

/* Timeline/Process */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-step {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 20px;
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-heading);
}

/* Testimonials */
.testimonial-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.stars {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

/* Contact/Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary-light);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Floating Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 40px 0;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .hero-content {
        padding: 0;
        gap: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

/* Premium Machines Section (Luxury Corporate) */
.premium-machines-section {
    background-color: var(--primary-dark);
    position: relative;
}

.premium-machine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.premium-machine-card {
    background: rgba(15, 23, 42, 0.4);
    /* Darker charcoal tint */
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Very subtle border initially */
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Smooth luxury ease */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Fade up initial state */
    opacity: 0;
    transform: translateY(30px);
    animation: fade-in-up 0.8s ease-out forwards;
}

.premium-machine-card:nth-child(1) {
    animation-delay: 0.1s;
}

.premium-machine-card:nth-child(2) {
    animation-delay: 0.2s;
}

.premium-machine-card:nth-child(3) {
    animation-delay: 0.3s;
}

.premium-machine-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(198, 167, 94, 0.15);
    /* Lift + Glow */
    border-color: rgba(198, 167, 94, 0.4);
    /* Gold border glow */
}

.machine-image-wrapper {
    height: 300px;
    width: 100%;
    position: relative;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.machine-image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
}

.premium-machine-card:hover .machine-image-wrapper img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(15, 23, 42, 1), transparent);
    z-index: 1;
}

.machine-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 300px);
    /* Fill remaining space */
}

.machine-content h3 {
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: 15px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.machine-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
    min-height: 65px;
    /* Keeps consistent height across cards */
}

.premium-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.premium-features li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.premium-features li i {
    font-size: 0.8rem;
    flex-shrink: 0;
}

.premium-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 0;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: transparent;
}

.premium-btn:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 5px 15px rgba(198, 167, 94, 0.3);
}

.premium-glow-btn {
    padding: 16px 40px;
    font-size: 1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.premium-glow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.premium-glow-btn:hover::before {
    opacity: 1;
}

/* Premium Investment Section */
.premium-invest-section {
    background-color: var(--primary-dark);
    position: relative;
}

.premium-invest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.premium-invest-card {
    background: rgba(15, 23, 42, 0.4);
    /* Darker charcoal tint to match machines */
    border-radius: 12px;
    padding: 35px 30px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.premium-invest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--accent-gold);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.premium-invest-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, rgba(30, 45, 70, 0.8), rgba(10, 15, 25, 0.6));
    border-color: rgba(198, 167, 94, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.premium-invest-card:hover::before {
    opacity: 1;
}

.invest-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(198, 167, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-gold);
    flex-shrink: 0;
    border: 1px solid rgba(198, 167, 94, 0.2);
    transition: all 0.4s ease;
}

.premium-invest-card:hover .invest-icon-wrapper {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(198, 167, 94, 0.4);
    transform: rotateY(180deg);
}

.invest-card-content h3 {
    font-size: 1.4rem;
    color: var(--primary-light);
    margin-bottom: 12px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.invest-card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.invest-card-content strong {
    color: var(--accent-gold);
    font-weight: 600;
}

/* Responsive adjustments for premium grid */
@media (max-width: 1024px) {
    .premium-machine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .premium-machine-grid {
        grid-template-columns: 1fr;
    }

    .premium-invest-grid {
        grid-template-columns: 1fr;
    }

    .machine-desc {
        min-height: auto;
    }
}

/* Franchise Section (Premium Dual Column) */
.franchise-section {
    background-color: var(--primary-dark);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separation from investment section */
}

.franchise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.franchise-content {
    animation: fade-in-left 0.8s ease-out forwards;
}

.franchise-content h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.franchise-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 95%;
}

.franchise-highlights {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.franchise-highlights li {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 15px;
}

.franchise-highlights li i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

.franchise-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fade-in-right 0.8s ease-out forwards;
}

.franchise-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(198, 167, 94, 0.08) 0%, rgba(198, 167, 94, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
}

.franchise-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* Premium CTA Section */
.premium-cta-section {
    background-color: var(--primary-dark);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separation */
}

/* Responsive adjustments for overall layout */
@media (max-width: 1024px) {
    .premium-machine-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .franchise-grid {
        gap: 40px;
    }

    .franchise-content h2 {
        font-size: 2.2rem;
    }
}

.tech-grid {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {

    .premium-machine-grid,
    .premium-invest-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-image-placeholder {
        display: none !important;
    }

    .franchise-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .franchise-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .franchise-highlights {
        align-items: center;
    }

    .franchise-highlights li {
        justify-content: center;
    }

    .machine-desc {
        min-height: auto;
    }
}

/* Investment Hero Split Layout */
.investment-hero-split {
    padding: 140px 0 80px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.investment-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.investment-hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    z-index: 2;
}

.investment-hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
}

.investment-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.investment-hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.investment-hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    z-index: 1;
}

.investment-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/5;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Premium glass edge */
}

/* Dark teal overlay mixed with shadow */
.investment-visual-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 148, 136, 0.2);
    /* Subtle teal / #0d9488 */
    mix-blend-mode: overlay;
    z-index: 2;
}

.investment-visual-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--primary-dark) 2%, transparent 40%),
        linear-gradient(to top, var(--primary-dark) 2%, transparent 30%);
    z-index: 3;
}

.investment-visual-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.5;
    filter: contrast(1.1) brightness(0.9);
    padding: 30px;
    transform: scale(1.05);
}

.btn-outline-gold {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-gold:hover {
    background: rgba(198, 167, 94, 0.1);
    color: var(--accent-gold);
}

@media (max-width: 992px) {
    .investment-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .investment-hero-content {
        text-align: center;
        max-width: 100%;
    }

    .investment-hero-actions {
        justify-content: center;
    }

    .investment-hero-visual {
        justify-content: center;
        width: 100%;
    }

    .investment-hero-title {
        font-size: 2.8rem;
    }

    .investment-visual-img {
        padding: 20px;
    }
}

/* Franchise Hero Text Layout */
.franchise-hero-split {
    padding: 140px 0 80px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.franchise-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.franchise-hero-content {
    flex: 0 0 45%;
    text-align: left;
    z-index: 2;
}

.franchise-hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
}

.text-gold-bright {
    color: #fce76b;
    /* Brighter gold for franchise emphasis */
}

.franchise-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.franchise-hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.franchise-hero-visual {
    flex: 0 0 50%;
    position: relative;
    z-index: 1;
}

/* Framework Blocks Grid */
.franchise-framework-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.framework-card {
    background: rgba(15, 23, 42, 0.6);
    border-left: 3px solid var(--accent-gold);
    border-radius: 8px;
    padding: 25px 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Fade up animation for cards */
.framework-card:nth-child(1) {
    animation: fadeUpCard 0.6s ease forwards 0.2s;
}

.framework-card:nth-child(2) {
    animation: fadeUpCard 0.6s ease forwards 0.4s;
}

.framework-card:nth-child(3) {
    animation: fadeUpCard 0.6s ease forwards 0.6s;
}

@keyframes fadeUpCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.framework-card:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateX(5px) !important;
}

.framework-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.framework-header h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
}

.framework-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.framework-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.framework-list li::before {
    content: "•";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
}

.framework-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .franchise-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .franchise-hero-content {
        flex: 1 1 100%;
        text-align: center;
    }

    .franchise-hero-visual {
        flex: 1 1 100%;
        width: 100%;
    }

    .franchise-hero-actions {
        justify-content: center;
    }

    .franchise-hero-title {
        font-size: 2.8rem;
    }

    .framework-card {
        padding: 20px;
        text-align: left;
    }
}

/* Mobile Optimized Footer Layout */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px; /* Reduce tall padding */
    }

    .footer-grid {
        gap: 20px; /* Tighter layout */
        margin-bottom: 20px;
    }

    .footer-col h4 {
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

    /* Clean up list items and reduce gap */
    .footer-col ul li {
        margin-bottom: 10px;
        font-size: 0.85rem; /* Smaller text */
        display: flex;
        align-items: flex-start;
        gap: 12px;
        line-height: 1.4;
    }

    .footer-col ul li i {
        margin-top: 4px; /* Align icon properly to text */
        font-size: 0.95rem;
    }

    /* Target the Contact Us Column list */
    .footer-col:nth-child(3) ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-col:nth-child(3) ul li {
        width: 100%; /* Default items stay full row */
    }

    /* Target Instagram and Facebook to sit inline */
    .footer-col:nth-child(3) ul li:nth-last-child(2),
    .footer-col:nth-child(3) ul li:nth-last-child(1) {
        width: auto;
        margin-top: 10px !important; /* Override inline style */
        margin-bottom: 0;
        margin-right: 25px; /* Side by side gap */
        display: inline-flex;
        align-items: center;
    }
    
    .footer-col:nth-child(3) ul li:nth-last-child(2) i,
    .footer-col:nth-child(3) ul li:nth-last-child(1) i {
        margin-top: 0; /* Center icons for inline */
    }
}

/* ── Contact Page Grid ── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Make sure the form and info cards don't overflow */
    .contact-grid .glass-card {
        padding: 20px !important;
    }

    /* Inputs and textareas fill properly without overflow */
    .contact-grid input,
    .contact-grid select,
    .contact-grid textarea {
        box-sizing: border-box;
        max-width: 100%;
    }

    /* Map iframe adjusts height nicely on mobile */
    .contact-grid iframe {
        height: 220px;
    }
}