:root {
    /* Colors */
    --primary: #D4AF37;
    --primary-dark: #AA8C2C;
    --primary-light: #F4E5B0;

    /* DARK THEME (Default) */
    --text-main: #F5F6FA;
    --bg-main: #1A1A1A;
    --bg-card: #2D2D2D;
    --glass-bg: #1A1A1A;
    --glass-border: rgba(255, 255, 255, 0.05);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);

    /* Shared */
    --max-width: 95%;
    --padding-section: 80px 0;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Light Mode Overrides */
html.light-mode {
    --text-main: #2D3436;
    --bg-main: #F5F6FA;
    --bg-card: #FFFFFF;
    --glass-bg: #FFFFFF;
    --glass-border: rgba(0, 0, 0, 0.08);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #1A1A1A;
    /* Hardcoded dark to prevent any flash */
    scroll-behavior: smooth;
    font-size: 16px;
}

html.light-mode {
    background-color: #F5F6FA;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Prevent transition on load */
body.no-transition {
    transition: none !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
    height: 80px;
    display: flex;
    align-items: center;
}

header .container {
    max-width: 98%;
    padding: 0 40px;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    /* Needed for absolute centering of links */
}

.logo {
    z-index: 10;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    transition: var(--transition);
    text-decoration: none;
    font-family: 'Outfit', sans-serif !important;
}

@media (max-width: 768px) {
    .logo {
        transform: scale(0.85);
        /* Slightly smaller on mobile */
        transform-origin: left;
    }
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    /* For SILBERBAU */
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.logo-gmbh {
    font-size: 1.1rem;
    /* Larger */
    font-weight: 700;
    /* Bolder */
    color: var(--primary);
    /* Yellow */
    text-transform: none;
}

.logo-sub {
    font-size: 1.1rem;
    /* Larger */
    font-weight: 700;
    /* Bolder */
    color: var(--primary);
    /* Yellow */
    text-transform: none;
    letter-spacing: 1px;
    /* Slightly reduced spacing for better fit with larger size */
}

.logo:hover {
    transform: scale(1.25) !important;
}

/* Navigation Links - Absolute Centering */
.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Nav Actions (Lang + Theme) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
}

.theme-toggle {
    order: 2;
    /* Second */
    background: none;
    border: none;
    /* No Border */
    color: var(--text-main);
    padding: 0;
    /* No Padding */
    cursor: pointer;
    font-size: 1.2rem;
    /* Restore slightly larger icon since no border */
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    /* Fixed touch target */
    height: 40px;
}

.theme-toggle:hover {
    background: none;
    /* No bg on hover either, or maybe subtle? User said no frame. */
    color: var(--primary);
    /* Just color change */
    border-color: transparent;
}

/* Language Switcher */
.lang-switcher {
    order: 1;
    /* Swap Order: Move to left */
    position: relative;
    cursor: pointer;
}

.current-lang {
    font-weight: 700;
    padding: 5px 10px;
    border: 1px solid var(--text-main);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.current-lang::after {
    content: '▼';
    font-size: 0.7rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    margin-top: 5px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    min-width: 120px;
    overflow: hidden;
}

.lang-switcher.active .lang-dropdown {
    display: flex;
}

.lang-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-option:hover {
    background: var(--bg-main);
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/References/image14.png');
    background-size: cover;
    background-position: center 20%;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    /* Offset for fixed header */
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
    color: var(--primary);
    /* Request: Yellow text */
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
    color: var(--primary);
    /* Request: Yellow text */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: 2px solid var(--primary);
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: var(--primary);
    /* Request: Yellow background */
    color: white;
    border-color: var(--primary);
}

/* Sections General */
.section {
    padding: var(--padding-section);
}

.bg-white {
    background-color: var(--bg-card);
}

.bg-light {
    background-color: var(--bg-main);
}

/* Grid System for Summaries & Services */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-col h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.content-col p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.img-col img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
    width: 100%;
    object-fit: cover;
    /* Back to cover to fill the frame completely */
    height: 400px;
    background-color: transparent;
}

.img-col img:hover {
    transform: scale(1.02);
}

/* Service Page Specifics */
.service-block {
    margin-bottom: 6rem;
}

.service-block:last-child {
    margin-bottom: 0;
}

.service-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.service-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--bg-main);
    margin-top: 5px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.project-content {
    padding: 2rem;
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info-item {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    background: var(--bg-main);
    color: var(--text-main);
    font-family: inherit;
}

/* Footer */
footer {
    background: var(--bg-main);
    color: white;
    padding: 30px 0 15px;
    /* Reduced from 60px 0 20px */
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 25px;
    /* Reduced from 40px */
    margin-bottom: 15px;
    /* Reduced from 20px */
}

.footer-links a {
    margin-left: 20px;
    font-size: 0.9rem;
    color: var(--primary);
}

.footer-links a:hover {
    color: white;
}

.footer-content .logo {
    color: var(--primary) !important;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Slider Buttons */
/* Slider Buttons are styled later in the file */


.no-transition {
    transition: none !important;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.float-icon {
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 5px 0 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.float-icon svg {
    width: 24px;
    height: 24px;
    z-index: 2;
    position: relative;
    fill: currentColor;
    transition: 0.3s;
}

/* Hover effects for icons */
.float-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%) scale(0);
    transition: 0.4s ease;
    border-radius: 50%;
    z-index: 1;
}

.float-icon:hover {
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: scale(1.4);
}

.float-icon:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.float-icon:hover svg {
    fill: white;
}

/* Brand Colors on Hover */
.float-icon.whatsapp:hover::before {
    background-color: #25D366;
}

.float-icon.facebook:hover::before {
    background-color: #1877F2;
}

.float-icon.instagram:hover::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.float-icon.phone:hover::before {
    background-color: #34B7F1;
}

.float-icon.email:hover::before {
    background-color: #EA4335;
}

.float-icon.maps:hover::before {
    background-color: #4285F4;
}

/* Tooltip */
.tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--bg-main);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    white-space: nowrap;
}

.float-icon:hover .tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-card);
    margin: 5% auto;
    padding: 40px;
    width: 80%;
    max-width: 800px;
    border-radius: var(--border-radius);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    color: var(--text-main);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Legal Content Styling */
.legal-section h2 {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.legal-block {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

body.dark-mode .legal-block {
    background: rgba(255, 255, 255, 0.05);
}

.legal-block h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: 0;
}

.legal-block p {
    margin-bottom: 5px;
    line-height: 1.6;
}

.legal-block a {
    color: var(--primary);
    font-weight: 600;
}

.legal-block a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
    header {
        height: 70px;
        z-index: 10000;
    }

    nav {
        flex-wrap: nowrap !important;
    }

    header .container {
        padding: 0 12px;
    }

    .logo {
        font-size: 1.2rem !important;
        white-space: nowrap;
        order: 1;
        flex-shrink: 0;
    }

    .nav-actions {
        order: 2;
        gap: 0.5rem;
        /* Tighter for mobile */
        margin-left: auto;
        margin-right: 5px;
        display: flex;
        align-items: center;
    }

    .lang-switcher .current-lang {
        padding: 4px 8px;
        font-size: 0.85rem;
    }

    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .mobile-menu-btn {
        order: 3;
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 10005;
        /* Above menu */
        width: 40px;
        text-align: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100% !important;
        /* Force off-screen right */
        left: auto !important;
        /* Ensure no accidental left alignment */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 100px 2rem 120px;
        gap: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        display: flex !important;
        transition: right 0.4s ease-in-out !important;
        z-index: 10004;
        transform: none !important;
        /* Prevent desktop transform */
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0 !important;
        /* Slide in to the right edge */
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
    }

    .grid-2,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .modal-content {
        width: 95%;
        margin: 2% auto;
        padding: 20px;
    }

    /* Site-wide Section & Service Separation on Mobile */
    .section,
    .service-block {
        padding: 60px 0;
        border-bottom: 2px solid var(--primary) !important;
        position: relative;
    }

    .section:last-of-type,
    .service-block:last-of-type {
        border-bottom: none !important;
    }

    /* Distinct background alternating */
    .section:nth-of-type(even),
    .service-block:nth-of-type(even) {
        background-color: rgba(212, 175, 55, 0.05) !important;
    }

    body.dark-mode .section:nth-of-type(even),
    body.dark-mode .service-block:nth-of-type(even) {
        background-color: rgba(212, 175, 55, 0.08) !important;
    }

    .grid-2 {
        gap: 3.5rem;
        padding: 10px 0;
    }

    .img-col img {
        height: 300px;
    }

    /* Contact Page Mobile Enhancements */
    .contact-wrapper {
        padding: 1.5rem 5px !important;
        /* Extremely minimal side padding */
        gap: 2.5rem !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .contact-wrapper>div:last-child {
        padding: 2.5rem 10px !important;
        /* Form sticks to sides */
        width: 100% !important;
        background: var(--bg-main);
        /* Better visibility */
        border-radius: 8px;
    }

    .form-group input,
    .form-group textarea {
        padding: 18px !important;
        /* Even larger touch targets */
        font-size: 1.1rem !important;
        width: 100% !important;
        border: 1px solid var(--primary);
        /* Gold border for visibility */
    }

    .contact-info-item {
        margin-bottom: 1.5rem;
    }

    /* Mobile Footer Adjustments */
    footer {
        padding: 20px 0 10px !important;
        /* Even tighter on mobile */
    }

    .footer-content {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        text-align: center !important;
    }

    .footer-content .logo {
        order: -1 !important;
        /* Force logo to the top */
        transform-origin: center !important;
        margin-bottom: 10px !important;
    }

    .footer-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 35px !important;
        /* Increased from 20px */
        width: 100% !important;
        margin-top: 0 !important;
    }

    .footer-links a {
        margin: 0 !important;
        display: inline-block !important;
        white-space: nowrap !important;
        font-size: 0.85rem !important;
    }
}

@media (min-width: 901px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Zig-Zag Helpers */
.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

/* Fullscreen Slider */
.fullscreen-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full viewport height */
    overflow: hidden;
    margin-top: 0;
    /* No negative margin needed if we handle header overlap or strict full screen */
    z-index: 100;
}


/* Slide Styles for Sliding Effect */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    /* Smooth sliding */
    transform: translateX(100%);
    /* Default: Off-screen Right */
    z-index: 1;
}

.slide.active {
    transform: translateX(0);
    /* On-screen */
    z-index: 2;
}

.slide.prev-active {
    transform: translateX(-100%);
    /* Exit Left */
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
    /* Dark background better for fullscreen viewer */
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    /* Center vertically relative to parent container */
    transform: translateY(-50%);
    /* Adjust for own height */
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
    font-size: 2rem;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary);
    transform: translateY(-50%);
    /* Fix jump/slide issue */
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
    display: none;
    /* Hide right button as per request */
}

/* Inline Slider for Homepage */
.inline-slider {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .inline-slider {
        height: 300px;
    }
}

.inline-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateX(100%);
    z-index: 1;
}

.inline-slide.active {
    transform: translateX(0);
    z-index: 2;
}

.inline-slide.prev-active {
    transform: translateX(-100%);
    z-index: 1;
}

.inline-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: transparent;
}

.no-transition {
    transition: none !important;
}

/* Mobile App Style Bottom Bar */
@media (max-width: 768px) {
    body {
        padding-bottom: 75px;
    }

    .floating-actions {
        top: auto !important;
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        transform: none !important;
        flex-direction: row;
        justify-content: space-evenly;
        padding: 10px 0;
        background: var(--glass-bg);
        backdrop-filter: blur(15px);
        border-top: 1px solid var(--glass-border);
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
        width: 100%;
        border-radius: 0;
        z-index: 10001;
        /* Above everything */
    }

    .float-icon {
        width: 46px;
        height: 46px;
        border-radius: 50% !important;
        border: none !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .float-icon svg {
        fill: white !important;
        width: 22px;
        height: 22px;
    }

    /* Mobile Brand Colors */
    .float-icon.whatsapp {
        background-color: #25D366 !important;
    }

    .float-icon.facebook {
        background-color: #1877F2 !important;
    }

    .float-icon.instagram {
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    }

    .float-icon.phone {
        background-color: #34B7F1 !important;
    }

    .float-icon.email {
        background-color: #EA4335 !important;
    }

    .float-icon.maps {
        background-color: #4285F4 !important;
    }

    .float-icon:hover {
        transform: translateY(-5px) scale(1.1);
    }

    .tooltip {
        display: none !important;
    }

    /* --- MOBILE FIXES --- */

    /* 1. Hero Image Fix - Scrollable background for better mobile support */
    .hero {
        background-attachment: scroll;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    /* 2. Disable Logo Zoom on Touch */
    .logo:hover,
    .logo:active,
    .logo:focus {
        transform: scale(0.85) !important;
    }

    /* 3. Hero Buttons Spacing */
    .hero .btn {
        display: block;
        width: 70%;
        margin: 0 auto 1rem auto !important;
    }

    .hero .btn:last-child {
        margin-bottom: 0 !important;
    }

    /* 4. Hamburger Menu Stability */
    .mobile-menu-btn {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        /* Removes 300ms delay */
    }
}

/* Global Overflow Fix */
html,
body {
    overflow-x: hidden;
    width: 100%;
}