/* ============================================
   eSITE Splash Page - Refined Design
   Warm brown palette with high contrast readability
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Source+Sans+Pro:wght@400;500;600;700&display=swap');

:root {
    /* Primary warm brown palette */
    --primary-brown: #8B6914;
    --secondary-brown: #a67c00;
    --dark-brown: #4a3c0f;
    --darker-brown: #3d3112;
    --accent-gold: #d4a017;
    
    /* Light backgrounds */
    --cream: #f5f0e1;
    --light-tan: #e8dcc8;
    --warm-white: #faf8f3;
    
    /* Legacy compatibility */
    --primary-green: #8B6914;
    --secondary-green: #a67c00;
    --dark-green: #4a3c0f;
    
    --dark-bar: #3d3520;
    --light-bg: #f8f6f1;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(145deg, var(--cream) 0%, var(--light-tan) 100%);
    color: #000;
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 12px solid var(--primary-brown);
    border-bottom: 12px solid var(--primary-brown);
}

/* Subtle geometric pattern */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%238B6914' stroke-width='0.5' opacity='0.06'/%3E%3C/svg%3E");
    opacity: 0.8;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    overflow: hidden; /* Keep icons inside the box */
}

/* ============================================
   FLOATING CONSTRUCTION ICONS
   ============================================ */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    opacity: 0.25;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* Hard Hat 1 */
.icon-hardhat {
    width: 50px;
    height: 50px;
}

/* Hammer 1 */
.icon-hammer {
    width: 40px;
    height: 40px;
}

/* Drill with cord */
.icon-drill {
    width: 55px;
    height: 55px;
}

/* Wrench */
.icon-wrench {
    width: 45px;
    height: 45px;
}

/* Hard Hat 2 */
.icon-hardhat-2 {
    width: 45px;
    height: 45px;
}

/* Paint Roller */
.icon-roller {
    width: 42px;
    height: 42px;
}

/* Ladder */
.icon-ladder {
    width: 35px;
    height: 35px;
}

/* Trowel */
.icon-trowel {
    width: 40px;
    height: 40px;
}

/* Screwdriver */
.icon-screwdriver {
    width: 30px;
    height: 30px;
}

/* Saw */
.icon-saw {
    width: 45px;
    height: 45px;
}

/* Measuring Tape */
.icon-tape {
    width: 40px;
    height: 40px;
}

/* Pliers */
.icon-pliers {
    width: 38px;
    height: 38px;
}

/* Bolt */
.icon-bolt {
    width: 32px;
    height: 32px;
}

/* Safety Cone */
.icon-cone {
    width: 36px;
    height: 36px;
}

/* Float Animations - Now handled by JavaScript physics engine */
/* These are fallback animations if JS doesn't load */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, -15px) rotate(5deg); }
}

.no-js .floating-icon {
    animation: float1 8s ease-in-out infinite;
}

/* Responsive - adjust icons on smaller screens */
@media (max-width: 768px) {
    .floating-icon {
        opacity: 0.18;
    }
    .icon-drill,
    .icon-roller,
    .icon-pliers,
    .icon-bolt,
    .icon-cone {
        display: none;
    }
}

@media (max-width: 576px) {
    .icon-wrench,
    .icon-ladder,
    .icon-trowel,
    .icon-tape {
        display: none;
    }
}

/* Hero Logo Container */
.hero-logo {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px) translateX(-60px); /* Shift left 60px to visually center "SITE" */
    transition: opacity 0.6s ease, transform 0.6s ease;
    position: relative;
    z-index: 5;
}

.hero-logo.visible {
    opacity: 1;
    transform: translateY(0) translateX(-60px); /* Maintain left shift when visible */
}

.hero-logo img {
    max-height: 200px;
    width: auto;
}

/* Global logo offset - apply to any eSITE logo for visual centering */
.logo-offset,
img.logo-offset {
    transform: translateX(-60px);
}

/* Hero Title */
.hero-title {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000 !important;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    letter-spacing: -0.02em;
    line-height: 1.15;
    position: relative;
    z-index: 5;
}

/* Hero Subtitle */
.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: #333 !important;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.1s;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 5;
}

.hero-actions {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.2s;
    position: relative;
    z-index: 5;
}

.hero-title.visible,
.hero-subtitle.visible,
.hero-actions.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Buttons */
.hero-actions .btn {
    font-family: var(--font-body);
    margin-right: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    padding: 0.9rem 2.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    text-transform: uppercase;
}

/* Primary button */
.hero-actions .btn-primary {
    background-color: var(--primary-brown);
    color: #fff !important;
    border: none;
}

.hero-actions .btn-primary:hover {
    background-color: var(--dark-brown);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* Outline button */
.hero-actions .btn-outline-light,
.hero-actions .btn-outline-primary {
    border: 2px solid var(--primary-brown);
    background-color: transparent;
    color: #000 !important;
}

.hero-actions .btn-outline-light:hover,
.hero-actions .btn-outline-primary:hover {
    background-color: var(--primary-brown);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* Demo button */
.hero-actions .btn-secondary,
.hero-actions .btn-success,
#openDemoModal {
    background-color: var(--secondary-brown);
    color: #fff !important;
    border: none;
}

.hero-actions .btn-secondary:hover,
.hero-actions .btn-success:hover,
#openDemoModal:hover {
    background-color: var(--dark-brown);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 5rem 0;
    background-color: var(--warm-white);
    position: relative;
}

.section-title {
    font-family: var(--font-display);
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    color: #000;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 60px;
    height: 3px;
    background: var(--primary-brown);
    transform: translateX(-50%);
    border-radius: 2px;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.feature-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 2.2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 105, 20, 0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(139, 105, 20, 0.2);
}

.feature-card-inner {
    height: 100%;
    width: 100%;
    position: relative;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--secondary-brown) 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.8rem;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    box-shadow: 0 4px 15px rgba(139, 105, 20, 0.25);
}

@keyframes iconPulse {
    0% { box-shadow: 0 0 0 0 rgba(139, 105, 20, 0.35); }
    70% { box-shadow: 0 0 0 8px rgba(139, 105, 20, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 105, 20, 0); }
}

.feature-icon.animate {
    transform: scale(1);
    opacity: 1;
    animation: iconPulse 2.5s infinite;
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-align: center;
    color: #000;
}

.feature-card p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #444;
    text-align: center;
    line-height: 1.55;
}

/* ============================================
   DASHBOARD PREVIEW SECTION
   ============================================ */
.dashboard-preview {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--warm-white), #fff);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dashboard-preview h2 {
    font-family: var(--font-display);
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #000;
}

.device-mockup {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.laptop-frame {
    position: relative;
    width: 100%;
    padding-bottom: 62%;
    background: #2a2a2a;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.laptop-screen {
    position: absolute;
    top: 2.5%;
    left: 2.5%;
    right: 2.5%;
    bottom: 2.5%;
    background: #fff;
    overflow: hidden;
    border-radius: 3px;
}

.laptop-screen img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slideshow-image.active {
    opacity: 1;
}

.slideshow-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    color: #000;
}

.slideshow-control:hover {
    background-color: var(--primary-brown);
    color: #fff;
}

.slideshow-prev { left: 10px; }
.slideshow-next { right: 10px; }

.laptop-base {
    position: relative;
    height: 18px;
    background: linear-gradient(to bottom, #3a3a3a, #1a1a1a);
    border-radius: 0 0 8px 8px;
    margin: 0 12%;
}

.laptop-base::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px;
    height: 3px;
    background: #4a4a4a;
    transform: translate(-50%, -50%);
    border-radius: 2px;
}

.slideshow-nav {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-tan);
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 2px solid var(--primary-brown);
}

.slideshow-dot.active {
    background-color: var(--primary-brown);
}

/* Interface highlights */
.interface-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2.5rem;
}

.interface-feature {
    flex: 0 0 280px;
    margin: 0.8rem;
    padding: 1.3rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: left;
    border: 1px solid rgba(139, 105, 20, 0.08);
}

.interface-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.interface-feature h4 {
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    color: #000;
}

.interface-feature h4 i {
    margin-right: 10px;
    background: var(--primary-brown);
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
}

.interface-feature p {
    font-family: var(--font-body);
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============================================
   CLIENTS & BUILDERS SECTION
   ============================================ */
.clients-builders-section {
    padding: 5rem 0;
    background-color: #fff;
    position: relative;
}

.clients-builders-grid {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Three column layout */
.clients-builders-grid.three-columns {
    justify-content: space-between;
}

.client-side, .builder-side, .trade-side {
    flex: 1;
    padding: 1.5rem;
    min-width: 280px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Divider lines between columns */
.client-side::after,
.builder-side::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 0;
    height: 70%;
    width: 5px;
    background: linear-gradient(to bottom, transparent, var(--primary-brown), transparent);
}

.client-side:hover, .builder-side:hover, .trade-side:hover {
    transform: translateY(-4px);
}

.side-title {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #000;
    position: relative;
    display: inline-block;
}

.side-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-brown);
    border-radius: 2px;
}

.side-description {
    font-family: var(--font-body);
    color: #444;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.benefit-item {
    padding: 0.8rem 0;
    display: flex;
    align-items: flex-start;
    transition: transform 0.2s ease;
}

.benefit-item:hover {
    transform: translateX(4px);
}

.benefit-icon {
    color: var(--primary-brown);
    font-size: 1.1rem;
    margin-right: 0.9rem;
    margin-top: 0.2rem;
}

.benefit-text {
    font-family: var(--font-body);
    font-size: 1.00rem;
    color: #333;
    flex: 1;
}

/* ============================================
   CTA SECTION - "Empowering Sites"
   ============================================ */
.cta-section {
    background: linear-gradient(145deg, var(--cream) 0%, var(--light-tan) 100%);
    padding: 5rem 0;
    position: relative;
    color: #000;
    border-top: 12px solid var(--primary-brown);
    border-bottom: 12px solid var(--primary-brown);
}

/* Subtle pattern */
.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%238B6914' stroke-width='0.5' opacity='0.06'/%3E%3C/svg%3E");
    opacity: 0.8;
    z-index: 0;
}

.cta-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #000 !important;
    line-height: 1.2;
}

.cta-content p {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #333 !important;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.cta-buttons .btn {
    font-family: var(--font-body);
    border-radius: 6px;
    padding: 0.9rem 2.2rem;
    font-weight: 600;
    min-width: 160px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cta-buttons .btn-primary {
    background-color: var(--primary-brown);
    color: #fff !important;
    border: none;
}

.cta-buttons .btn-primary:hover {
    background-color: var(--dark-brown);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.cta-buttons .btn-outline-primary,
.cta-buttons .btn-outline-light {
    background-color: transparent;
    color: #000 !important;
    border: 2px solid var(--primary-brown);
}

.cta-buttons .btn-outline-primary:hover,
.cta-buttons .btn-outline-light:hover {
    background-color: var(--primary-brown);
    color: #fff !important;
    transform: translateY(-2px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background-color: var(--warm-white);
    padding: 4rem 0;
    text-align: center;
}

.contact-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #000;
}

.contact-section p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-section a {
    color: var(--primary-brown);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-section a:hover {
    color: var(--dark-brown);
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #fff;
    border-radius: 50%;
    color: var(--primary-brown);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--light-tan);
}

.social-link:hover {
    background-color: var(--primary-brown);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-brown);
}

/* ============================================
   FOOTER SECTION - HIGH CONTRAST
   ============================================ */
.site-footer {
    background-color: var(--darker-brown);
    border-top: 12px solid var(--primary-brown);
    position: relative;
    padding: 0;
    margin: 0;
}

.site-footer .container {
    background-color: var(--darker-brown);
    padding: 2.5rem 2rem;
    position: relative;
    z-index: 2;
}

/* Footer Grid Layout */
.site-footer .footer-grid,
.site-footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

/* Footer Logo & Tagline */
.site-footer .footer-brand,
.site-footer .col-md-3:first-child,
.site-footer .footer-logo {
    margin-bottom: 1.5rem;
}

.site-footer .footer-brand img,
.site-footer .footer-logo img,
.site-footer .footer-logo-img {
    max-height: 50px;
    margin-bottom: 0.8rem;
    transform: translateX(60px); /* Shift right 60px to visually center "SITE" */
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.site-footer .footer-tagline,
.site-footer .tagline {
    font-family: var(--font-body);
    color: #f5f0e1 !important;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Footer Headings */
.site-footer h5,
.site-footer h6,
.site-footer .footer-heading {
    font-family: var(--font-body);
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

/* Footer Links */
.site-footer a {
    font-family: var(--font-body);
    color: #f5f0e1 !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: block;
    padding: 0.3rem 0;
}

.site-footer a:hover {
    color: var(--accent-gold) !important;
}

/* Footer List Items */
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 0.4rem;
}

/* Footer Text */
.site-footer p,
.site-footer span,
.site-footer .text-muted {
    font-family: var(--font-body);
    color: #f5f0e1 !important;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Footer Bottom Bar */
.site-footer .footer-bottom,
.site-footer .copyright,
.site-footer hr + div,
.site-footer .row:last-child {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}

.site-footer .footer-bottom p,
.site-footer .copyright p {
    color: rgba(245, 240, 225, 0.8) !important;
    font-size: 0.85rem;
    margin: 0;
}

/* Australian Made with Flag */
.site-footer .australian-made {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.site-footer .aus-flag {
    display: inline-block;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Australian Made styling */
.site-footer .australian-made {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0.5rem !important;
}

.site-footer .aus-flag {
    height: 20px;
    width: auto;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Footer Particle Area */
.site-footer #footer-content-area {
    position: relative;
    min-height: 60px;
    overflow: hidden;
    background-color: var(--darker-brown);
    z-index: 3;
}

.site-footer #footer-content-area .particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    pointer-events: none;
}

.site-footer .content-area .particle,
.site-footer .content-area .footer-particle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(212, 160, 23, 0.3);
}

/* ============================================
   DEMO REQUEST MODAL
   ============================================ */
#demoRequestModal .modal-header {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--secondary-brown) 100%);
    color: white;
    border-bottom: none;
}

#demoRequestModal .modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

#demoRequestModal .form-group label {
    font-family: var(--font-body);
    font-weight: 500;
    color: #000;
}

#demoRequestModal .form-control {
    font-family: var(--font-body);
    border-radius: 4px;
    border: 1px solid var(--light-tan);
    padding: 10px 14px;
    color: #000;
}

#demoRequestModal .form-control:focus {
    border-color: var(--primary-brown);
    box-shadow: 0 0 0 0.2rem rgba(139, 105, 20, 0.2);
}

#demoRequestModal .modal-footer {
    border-top: none;
}

#demoRequestModal .btn-primary {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--secondary-brown) 100%);
    border-color: var(--primary-brown);
    color: #fff;
}

#demoRequestModal .btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--primary-brown) 100%);
}

/* Success modal */
#demoSuccessModal .modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

#demoSuccessModal .modal-body {
    padding: 2rem;
}

#demoSuccessModal .btn-success {
    background-color: var(--primary-brown);
    border-color: var(--primary-brown);
    color: #fff;
}

/* ============================================
   PARTICLE ANIMATIONS
   ============================================ */
#openDemoModal {
    position: relative;
    overflow: hidden;
}

.button-particle {
    background-color: rgba(255, 255, 255, 0.5);
    animation: buttonParticleMove 8s infinite ease-in-out !important;
}

@keyframes buttonParticleMove {
    0% { transform: translateY(100%) translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100%) translateX(20px); opacity: 0; }
}

.site-footer .content-area {
    position: relative;
    overflow: hidden;
}

.footer-particle {
    background-color: rgba(212, 160, 23, 0.35);
    animation: footerParticleMove 15s infinite ease-in-out !important;
}

@keyframes footerParticleMove {
    0% { transform: translateY(0) translateX(0); opacity: 0.1; }
    20% { opacity: 0.4; }
    50% { transform: translateY(-30px) translateX(30px); opacity: 0.2; }
    80% { opacity: 0.4; }
    100% { transform: translateY(0) translateX(60px); opacity: 0.1; }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background-color: rgba(139, 105, 20, 0.15);
    border-radius: 50%;
    opacity: 0.5;
    animation: particleMove 20s infinite ease-in-out;
}

@keyframes particleMove {
    0% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(20px); }
    75% { transform: translateY(10px) translateX(5px); }
    100% { transform: translateY(0) translateX(0); }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.1rem;
    }
    
    .side-title {
        font-size: 1.7rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }

    .dashboard-preview h2 {
        font-size: 1.9rem;
    }
    
    .site-footer .container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0 5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .features-section,
    .clients-builders-section,
    .cta-section,
    .contact-section,
    .dashboard-preview {
        padding: 3.5rem 0;
    }

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

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .client-side, .builder-side, .trade-side {
        flex: 100%;
        padding: 2rem 1.5rem;
    }

    .client-side::after,
    .builder-side::after {
        display: none;
    }
    
    .side-title {
        font-size: 1.6rem;
    }

    .interface-feature {
        flex: 0 0 100%;
    }
    
    .site-footer .footer-grid,
    .site-footer .row {
        flex-direction: column;
        text-align: center;
    }
    
    .site-footer .col-md-3,
    .site-footer .footer-column {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3.5rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-actions .btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.8rem;
        padding: 0.8rem 1.5rem;
    }

    .feature-card {
        padding: 1.6rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin: 0.4rem 0;
    }
    
    .site-footer .container {
        padding: 1.5rem 1rem;
    }
}
