/* 
 * Tiwari Package & Movers - Premium Style Sheet
 * Theme: Dark Luxury (Red, Black, White)
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Pirata+One&display=swap');

:root {
    --primary-color: #E63946;
    --primary-dark: #C21825;
    --secondary-color: #ffffff;
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-hero: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --gradient-text: linear-gradient(to right, #ffffff, #e5e5e5);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(230, 57, 70, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-primary {
    color: var(--primary-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: #000;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-outline {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
}

.btn-outline:hover {
    background: #e2e2e2;
    border-color: #e2e2e2;
    color: #000;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    max-width: 100%;
}


/* LOCKED LOGO STYLES */
.logo-img {
    height: 70px !important;
    width: auto !important;
    object-fit: contain;
    max-width: none;
    /* Reset standard limits */
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px !important;
        /* Force small size on mobile */
        max-width: 60px !important;
        /* Safety cap */
    }
}


.logo-text {
    font-family: 'Pirata One', cursive;
    font-size: 2.6rem;
    color: var(--primary-color);
    margin-left: 10px;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.8rem;
        /* Large enough for mobile */
        white-space: nowrap;
    }
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    opacity: 1;
}

.mobile-toggle {
    display: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/images/hero_couple.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* Fixed attachment can be jittery on mobile */
    overflow: hidden;
}

.hero-bg {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Updated Hero Layout */
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    /* Full width container */
    padding-top: 0;
    /* Adjust if needed */
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-form-wrapper {
    flex: 0 0 400px;
    /* Fixed width for form */
    margin-left: 2rem;
}

/* DARK THEME FORM STYLES */
.quick-quote-card {
    background: #111;
    /* Pitch Black */
    border: 1px solid #333;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.quick-quote-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
}

.hero-input {
    width: 100%;
    background: #2a2a2a !important;
    /* Dark Grey Input */
    border: 1px solid #444 !important;
    color: #fff !important;
    /* White Text */
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.hero-input::placeholder {
    color: #bbb;
}


.form-row-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Mobile Hero Layout */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        /* Space between text and form */
        justify-content: center;
    }

    .hero-text {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-form-wrapper {
        margin-left: 0;
        width: 100%;
        max-width: 400px;
        /* Keep form nice and compact */
    }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0;
    /* Remove padding to let image flush */
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--primary-color);
}

.service-content {
    padding: 1.5rem;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(230, 57, 70, 0.5);
    box-shadow: 0 20px 40px -10px rgba(230, 57, 70, 0.15);
    /* Premium Red Glow */
}

.service-card:hover::before {
    transform: translateX(100%);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.6);
    /* Glowing Icon */
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Trust Section */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.trust-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.trust-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    padding: 1.5rem;
    border-radius: 20px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 20px rgba(255, 78, 0, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.trust-features {
    list-style: none;
    margin-top: 2rem;
}

.trust-features li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.trust-features i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(230, 57, 70, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    /* Centering fix */
    align-items: center;
    /* Centering fix */
    justify-content: center;
    /* Centering fix */
    border-radius: 50%;
    flex-shrink: 0;
    /* Prevent icon shrinking */
}

.trust-features h4 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 0.5rem;
}

.trust-features p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Stats Section */
.stats {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Responsive */
    gap: 2rem;
    text-align: center;
}

.stat-item h2 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #bbb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Form Section */
.contact-section {
    position: relative;
}

.form-container {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background: #050505;
    padding-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info p {
    color: var(--text-muted);
    margin: 1.5rem 0;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.copyright {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
    animation-fill-mode: forwards;
}

.animate.visible {
    animation: fadeInUp 0.8s ease forwards;
}



/* Home Gallery Specific */
#home-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    /* Force 4 columns on desktop */
}

@media (max-width: 1024px) {
    #home-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #home-gallery-grid {
        grid-template-columns: 1fr;
    }
}

#home-gallery-grid .gallery-item {
    height: 300px;
    /* Fixed height for uniformity */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#home-gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

#home-gallery-grid .gallery-item:hover img {
    transform: scale(1.1);
}

/* Overlay for Home Gallery */
#home-gallery-grid .gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#home-gallery-grid .gallery-item:hover::after {
    opacity: 1;
}

#home-gallery-grid .gallery-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    color: white;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

#home-gallery-grid .gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

/* Contact Section Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-title {
    font-size: 3rem;
    margin: 1rem 0;
}

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.contact-icon {
    margin: 0;
    width: 50px;
    height: 50px;
    background: rgba(230, 57, 70, 0.1);
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* Scrolled Header State */
header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 0.8rem 0;
    /* Slightly thinner */
}

/* Responsive */
/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .contact-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .trust-image {
        order: -1;
    }

    .contact-info-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
        /* Reduced padding */
    }

    /* Mobile Nav */
    .nav-links {
        display: none;
        position: fixed;
        /* Fixed to cover screen if needed */
        top: 70px;
        /* Below header */
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        /* darker background */
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        animation: slideDownMenu 0.3s ease forwards;
        height: auto;
    }

    @keyframes slideDownMenu {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    /* Hero adjustments */
    .hero {
        padding-top: 100px;
        min-height: auto;
        /* Allow content to dictate height on small screens */
        padding-bottom: 4rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        /* Better fit */
        line-height: 1.2;
    }

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-btns .btn {
        width: 100%;
        /* Full width buttons */
    }

    /* Contact & Footer */
    .contact-grid,
    .footer-grid,
    .trust-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .service-slider {
        aspect-ratio: 4/3;
        /* Taller on mobile */
    }

    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #1a1a1a;
    border: 1px solid #333;
    margin: auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal h2 {
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal .form-group {
    margin-bottom: 1rem;
}

.modal input,
.modal textarea {
    width: 100%;
    padding: 10px;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 6px;
    color: white;
    font-family: inherit;
}

.modal input:focus,
.modal textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.modal .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Announcement Bar */
.announcement-bar {
    background: #d4edda;
    color: #155724;
    text-align: center;
    padding: 8px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.announcement-bar a {
    color: #155724;
    text-decoration: underline;
    margin-left: 5px;
    font-weight: 800;
}

/* Adjust Header to be below Announcement Bar */
header {
    top: 40px;
    /* Push header down */
}

/* Adjust Hero padding because Header + Announcement take space */
.hero {
    padding-top: 140px;
    /* 40px announcement + 80px header approx */
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
    }
}


/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(20, 20, 20, 0.95);
    /* Dark theme match */
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    padding-bottom: 5px;
    /* Safe area */
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #888;
    font-size: 0.7rem;
    width: 25%;
    height: 100%;
    transition: all 0.3s;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.4rem;
    margin-bottom: 4px;
    transform: scale(1.1);
}

.social-links a {
    transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-color) !important;
}

/* Services Slider (Fixed) */
.service-slider {
    margin-top: 30px;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    aspect-ratio: 16/9;
}

.slider-track {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover {
    color: var(--primary-color);
}

.mobile-bottom-nav .nav-item:hover i {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 70px;
        /* Space for bottom nav */
    }

    /* Hide Default Footer on Mobile? Or keep it? Usually keep it but Nav is sticky. */
}

/* Our Offices Section */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.office-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    position: relative;
    cursor: pointer;
}

.office-card:hover {
    transform: translateY(-10px);
}

.office-img {
    width: 100%;
    height: 250px;
    position: relative;
}

.office-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.office-card:hover .office-img img {
    transform: scale(1.1);
}

.city-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    padding: 8px 20px;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
}

/* Offices Grid Optimization */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns on Desktop (6 items = 2 rows) */
    gap: 2rem;
}

@media (max-width: 1024px) {
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns on Tablet */
    }
}

@media (max-width: 600px) {
    .offices-grid {
        grid-template-columns: 1fr;
        /* 1 Column on Mobile */
        gap: 1.5rem;
    }

    .office-img {
        height: 200px;
        /* Slightly shorter on mobile */
    }
}

/* =========================================
   CRITICAL MOBILE FIXES
   ========================================= */

/* 1. Force Screen Width Limit */
html,
body {
    max-width: 100%;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* 2. Fix Container Padding & Width */
.container {
    width: 100%;
    max-width: 100%;
    padding: 0 1.5rem;
    /* Safe padding */
    margin: 0 auto;
}

/* 3. Handle Images & Media */
img,
video,
iframe,
svg {
    max-width: 100%;
    height: auto;
}

/* 4. Fix Announcement Bar overflowing */
.announcement-bar {
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    /* Wrap text */
    overflow: hidden;
    padding: 10px;
    font-size: 0.85rem;
}

/* 5. Mobile Specific Overrides */
@media (max-width: 768px) {

    /* Prevent Hero Overflow */
    .hero {
        width: 100%;
        overflow: hidden;
        background-attachment: scroll;
        /* Fix jittery bg */
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        /* Reduce font size */
        word-wrap: break-word;
    }

    /* Stack all Grids */
    .services-grid,
    .trust-grid,
    .contact-grid,
    .footer-grid,
    .stats-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 2rem;
    }

    /* Fix Form Container */
    .form-container {
        width: 100%;
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Hide large decorative elements if needed */
    .service-card::before,
    .experience-badge {
        /* Keep them but ensure they don't overflow */
        max-width: 100%;
    }

    .experience-badge {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 1rem;
    }
}