:root {
    --primary: #ee4d2d;
    --secondary: #f57c5a;
    --accent: #ff7f50;
    --light: #ffffff;
    --dark: #333333;
    --text: #555555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f9fafb;
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    background: var(--light);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 20px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--primary);
}

.admin-link {
    color: var(--dark) !important;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.admin-link:hover {
    color: var(--primary) !important;
    background: rgba(238, 77, 45, 0.1);
}

.nav-menu a.btn {
    color: white;
}



/* Hero Section */
.hero {
    background: linear-gradient(rgb(0 0 0 / 60%), rgb(0 0 0 / 50%)), url(../images/hero-background.jpg);
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px;
    margin-bottom: 60px;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: #e99a0c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    margin-left: 15px;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* Section Styles */
section {
    padding: 60px 0;
}

/* Scroll Animation Styles */
.services,
.pricing-calculator,
.how-it-works,
.testimonials,
.cta {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Enable scroll animation on mobile */
@media (max-width: 768px) {
    .services,
    .pricing-calculator,
    .how-it-works,
    .testimonials,
    .cta {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .services.animate,
    .pricing-calculator.animate,
    .how-it-works.animate,
    .testimonials.animate,
    .cta.animate {
        opacity: 1;
        transform: translateY(0);
    }
}

.services.animate,
.pricing-calculator.animate,
.how-it-works.animate,
.testimonials.animate,
.cta.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--text);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-items: center;
}

/* Responsive Services Grid */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1201px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 30px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.4rem;
}

/* How it Works */
.how-it-works {
    background: var(--light);
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 250px;
    margin: 20px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -30px;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.step-number {
    background: var(--primary);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.step h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

/* Pricing Calculator Section */
.pricing-calculator {
    background: var(--light);
    padding: 60px 0;
}

.calculator-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.calculator-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
    outline: none;
}

.calculator-result {
    background: var(--primary);
    color: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

.result-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.result-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.result-details {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Testimonials - Story Style */
.testimonials {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(238, 77, 45, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 127, 80, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.stories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.story-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(238, 77, 45, 0.1);
    position: relative;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.story-card:hover::before {
    opacity: 1;
}

.story-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 25px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, rgba(238, 77, 45, 0.08), rgba(255, 127, 80, 0.08));
    position: relative;
}

.story-user {
    display: flex;
    align-items: center;
}

.story-avatar {
    position: relative;
    margin-right: 15px;
}

.story-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    transition: transform 0.3s ease;
}

.story-card:hover .story-avatar img {
    transform: scale(1.1);
}

.avatar-fallback {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    border: 3px solid var(--primary);
}

.story-user-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.story-user-info p {
    font-size: 0.85rem;
    color: var(--text);
    margin: 0;
    opacity: 0.8;
}

.story-time {
    font-size: 1.8rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.story-card:hover .story-time {
    opacity: 1;
}

.story-content {
    padding: 25px;
}

.story-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 25px;
    font-weight: 400;
    position: relative;
}

.story-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: -15px;
    font-family: serif;
}

.story-text br {
    margin-bottom: 10px;
}

.story-reactions {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
    justify-content: flex-start;
}

.reaction {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(238, 77, 45, 0.05);
}

.reaction:hover {
    color: var(--primary);
    background: rgba(238, 77, 45, 0.1);
    transform: translateY(-2px);
}

.reaction::before {
    margin-right: 6px;
    font-size: 1.1rem;
}

/* Story Navigation */
.story-navigation {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 40px 0;
}

.story-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.story-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(238, 77, 45, 0.3);
}

.story-dot.active::before {
    opacity: 1;
}

.story-dot:hover {
    background: var(--secondary);
    transform: scale(1.2);
}

/* Story CTA */
.story-cta {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(238, 77, 45, 0.12), rgba(255, 127, 80, 0.12));
    border-radius: 16px;
    margin-top: 30px;
    border: 1px solid rgba(238, 77, 45, 0.1);
}

.story-cta p {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.story-cta .btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    font-size: 1.1rem;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(238, 77, 45, 0.2);
}

.story-cta .btn:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 77, 45, 0.3);
}

/* CTA Section */
.cta {
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta .btn {
    background: white;
    color: var(--primary);
}

.cta .btn:hover {
    background: var(--light);
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

/* Bottom Navigation Styles */
.bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--light);
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 999;
    height: 70px;
    overflow: hidden;
}

.bottom-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 10px;
    justify-content: space-around;
    height: 70px;
    align-items: center;
    width: 100%;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-decoration: none;
    color: var(--text);
    font-size: 0.75rem;
    transition: all 0.3s ease;
    padding: 8px;
}

.bottom-nav .nav-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--secondary);
    color: white;
    font-size: 12px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.bottom-nav .nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
    color: #333;
    margin-top: 2px;
}

.bottom-nav .nav-item.active,
.bottom-nav .nav-item:hover {
    color: var(--primary);
}

.bottom-nav .nav-item.active i {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.bottom-nav .nav-item:hover i {
    background: var(--secondary);
    transform: scale(1.1);
}

/* Bubble Animation */
@keyframes bubble {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Desktop Bottom Nav as Bottom Horizontal Nav */
@media (min-width: 769px) {
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .bottom-nav ul {
        flex-direction: row;
        justify-content: space-around;
        height: 60px;
        padding: 0;
        margin: 0;
    }

    .bottom-nav .nav-item {
        flex-direction: row;
        flex: none;
        width: calc(100% / 6);
        margin: 0;
        font-size: 1rem;
        padding: 10px;
        border-radius: 20px;
        transition: background 0.3s, transform 0.3s;
        background: rgba(255, 255, 255, 0.8);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        justify-content: center;
    }

    .bottom-nav .nav-item:hover {
        background: rgba(238, 77, 45, 0.1);
        animation: bubble 0.3s ease;
    }

    .bottom-nav .nav-item.active {
        background: var(--primary);
        color: white;
        animation: bubble 0.3s ease;
    }

    .bottom-nav .nav-item i {
        margin-right: 8px;
        margin-bottom: 0;
    }

    .bottom-nav .nav-item span {
        font-size: 0.9rem;
        font-weight: 500;
    }

    body {
        padding-bottom: 60px;
    }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
    .bottom-nav {
        height: 70px; /* Larger touch target */
    }

    .bottom-nav ul {
        height: 70px;
    }

    .bottom-nav .nav-item {
        padding: 8px;
        font-size: 0.75rem;
    }

    .bottom-nav .nav-item i {
        font-size: 1.1rem;
    }

    .bottom-nav .nav-item span {
        font-size: 0.65rem;
    }

    body {
        padding-bottom: 70px;
    }

    .floating-cta {
        bottom: 100px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .bottom-nav {
        height: 55px;
    }

    .bottom-nav ul {
        height: 55px;
    }

    .bottom-nav .nav-item {
        padding: 4px;
        font-size: 0.75rem;
    }

    .bottom-nav .nav-item i {
        font-size: 1.1rem;
        margin-bottom: 1px;
    }

    .bottom-nav .nav-item span {
        font-size: 0.65rem;
    }

    body {
        padding-bottom: 55px;
    }

    .floating-cta {
        bottom: 75px;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .bottom-nav .nav-item {
        padding: 8px;
        font-size: 0.9rem;
    }

    .bottom-nav .nav-item span {
        font-size: 0.8rem;
    }

    .bottom-nav .nav-item i {
        margin-right: 6px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .bottom-nav .nav-item {
        padding: 12px 15px;
        font-size: 1.1rem;
        min-width: 140px; /* Prevent too small on ultra-wide */
    }

    .bottom-nav .nav-item span {
        font-size: 1rem;
    }

    .bottom-nav .nav-item i {
        font-size: 1.3rem;
        margin-right: 10px;
    }
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(245, 124, 90, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-cta i {
    font-size: 1.5rem;
    color: white;
}

.floating-cta:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(245, 124, 90, 0.4);
    background: var(--primary);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.3rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

.footer-column p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-column a:hover {
    color: var(--secondary);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Map Styles */
.map-container {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 400px;
}

#map {
    height: 100%;
    width: 100%;
    z-index: 1;
}

.search-container {
    position: relative;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1.2rem;
}

.map-info {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.map-info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.map-info-item:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        right: -100%;
        background: white;
        width: 80%;
        height: calc(100vh - 80px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: all 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 998;
    }

    .nav-menu.active {
        display: flex;
        right: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }



    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding-top: 120px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }

    .calculator-form {
        grid-template-columns: 1fr;
    }

    .weight-input-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .weight-input-container label {
        margin-bottom: 5px;
    }

    /* Story Style Mobile Responsive */
    .testimonials {
        padding: 60px 0;
    }

    .stories-container {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }

    .story-card {
        max-width: 100%;
        min-width: unset;
        margin: 0 15px;
        border-radius: 16px;
    }

    .story-header {
        padding: 20px 20px 15px;
    }

    .story-avatar img,
    .avatar-fallback {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }

    .story-user-info h4 {
        font-size: 1rem;
    }

    .story-user-info p {
        font-size: 0.8rem;
    }

    .story-content {
        padding: 20px;
    }

    .story-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .story-text::before {
        font-size: 2.5rem;
        top: -8px;
        left: -12px;
    }

    .story-reactions {
        gap: 15px;
        padding-top: 15px;
    }

    .reaction {
        font-size: 0.85rem;
        padding: 4px 8px;
    }

    .story-navigation {
        margin: 30px 0;
        gap: 10px;
    }

    .story-dot {
        width: 12px;
        height: 12px;
    }

    .story-cta {
        padding: 30px 20px;
        margin: 20px 15px 0;
        border-radius: 12px;
    }

    .story-cta p {
        font-size: 1.1rem;
    }

    .story-cta .btn {
        font-size: 1rem;
        padding: 12px 25px;
        border-radius: 20px;
    }

    /* Mobile Bottom Nav */
    .bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 60px;
    }

    .floating-cta {
        bottom: 90px;
    }
}

/* Style untuk input berat barang di map-info */
.weight-input-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.weight-input-container label {
    font-weight: 500;
    color: var(--dark);
    margin-right: 10px;
}

.weight-input {
    width: 80px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
}

/* Additional Styles for Inline Elements */
.logo img {
    border-radius: 8px;
    object-fit: contain;
}

.seo-content {
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

#calculate-btn {
    margin-top: 20px;
}

.tarif-info {
    margin-top: 40px;
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.tarif-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.tarif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tarif-note {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
}

.cta-phone {
    margin-top: 15px;
}

.cta-link {
    color: #fff;
    text-decoration: underline;
}

/* Hero Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    animation: fadeInUp 1s ease-out 2s both;
}

.hero-content p {
    animation: fadeInUp 1s ease-out 3s both;
}

.hero-content div {
    animation: fadeInUp 1s ease-out 4s both;
}
/* Loading Overlay Styles */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
    color: var(--primary);
    animation: fadeInScale 0.3s ease-out;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    margin-top: 15px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading for mobile */
@media (max-width: 768px) {
    .loading-spinner {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }

    .loading-text {
        font-size: 1rem;
    }
}

    .pwa-install-popup {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        padding: 16px;
        z-index: 10000;
        display: none;
        max-width: 320px;
        border: 1px solid #e5e7eb;
    }

    .pwa-popup-content {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .pwa-popup-icon img {
        border-radius: 8px;
    }

    .pwa-popup-text {
        flex: 1;
    }

    .pwa-popup-text h4 {
        margin: 0 0 4px 0;
        font-size: 16px;
        font-weight: 600;
        color: #1f2937;
    }

    .pwa-popup-text p {
        margin: 0;
        font-size: 14px;
        color: #6b7280;
    }

    .pwa-popup-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .pwa-btn-install {
        background: #2563eb;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .pwa-btn-install:hover {
        background: #1d4ed8;
    }

    .pwa-btn-close {
        background: transparent;
        color: #6b7280;
        border: 1px solid #d1d5db;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.2s;
    }

    .pwa-btn-close:hover {
        background: #f9fafb;
        color: #374151;
    }

    @media (max-width: 480px) {
        .pwa-install-popup {
            left: 20px;
            right: 20px;
            bottom: 20px;
            max-width: none;
        }

        .pwa-popup-content {
            flex-direction: column;
            text-align: center;
        }

        .pwa-popup-buttons {
            flex-direction: row;
            justify-content: center;
        }
    }

    /* Modal Styles for Scroll Fix */
    .modal {
        display: none;
        position: fixed;
        z-index: 1001;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
        animation: fadeIn 0.3s ease-out;
    }

    .modal-content {
        background-color: var(--light);
        margin: 5% auto;
        padding: 0;
        border-radius: 16px;
        width: 90%;
        max-width: 800px;
        max-height: 90vh;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        overflow: hidden;
        animation: slideIn 0.3s ease-out;
        border: 1px solid rgba(238, 77, 45, 0.1);
    }

    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        color: white;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .modal-header h2 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
    }

    .close-btn {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .close-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

    .modal-body {
        max-height: 60vh;
        overflow-y: auto;
        padding: 25px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Custom Scrollbar for Modal Body */
    .modal-body::-webkit-scrollbar {
        width: 6px;
    }

    .modal-body::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .modal-body::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 3px;
    }

    .modal-body::-webkit-scrollbar-thumb:hover {
        background: var(--secondary);
    }

    .modal-image {
        text-align: center;
        margin-bottom: 15px;
    }

    .modal-image img {
        max-width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .modal-rating {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        padding: 15px;
        background: rgba(238, 77, 45, 0.05);
        border-radius: 10px;
        border-left: 4px solid var(--primary);
    }

    .rating {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .rating i {
        color: #ffd700;
        font-size: 1.1rem;
    }

    .rating-number {
        font-weight: 600;
        color: var(--primary);
        font-size: 1rem;
    }

    .category {
        background: var(--secondary);
        color: white;
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 500;
    }

    .info-section {
        background: #f8f9fa;
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 15px;
    }

    .info-section h3 {
        color: var(--dark);
        margin-bottom: 15px;
        font-size: 1.2rem;
        border-bottom: 2px solid var(--primary);
        padding-bottom: 8px;
    }

    .info-item {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
        gap: 10px;
    }

    .info-item i {
        color: var(--primary);
        width: 20px;
        font-size: 1.1rem;
    }

    .info-item span {
        color: var(--text);
        flex: 1;
    }

    .description {
        color: var(--text);
        line-height: 1.6;
        font-size: 0.95rem;
        background: white;
        padding: 15px;
        border-radius: 8px;
        border-left: 4px solid var(--secondary);
        margin: 10px 0;
    }

    #modal-menu-search {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        margin-bottom: 15px;
        font-size: 1rem;
    }

    #modal-menu-search:focus {
        border-color: var(--primary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(238, 77, 45, 0.1);
    }

    .modal-category-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 20px;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .category-filter-btn {
        background: #f1f1f1;
        border: 1px solid #ddd;
        padding: 8px 16px;
        border-radius: 20px;
        cursor: pointer;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .category-filter-btn:hover,
    .category-filter-btn.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
        transform: translateY(-1px);
    }

    .menu-category {
        color: var(--primary);
        font-size: 1.2rem;
        margin: 20px 0 10px;
        padding-bottom: 8px;
        border-bottom: 2px solid var(--secondary);
        font-weight: 600;
    }

    .services-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }

    .service-item-detail {
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        padding: 15px;
        transition: all 0.3s ease;
    }

    .service-item-detail:hover {
        border-color: var(--primary);
        box-shadow: 0 4px 15px rgba(238, 77, 45, 0.1);
        transform: translateY(-2px);
    }

    .service-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .service-name {
        font-weight: 500;
        color: var(--dark);
        flex: 1;
    }

    .service-price {
        color: var(--primary);
        font-weight: 600;
        font-size: 1rem;
    }

    .services-badges {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .service-badge {
        background: var(--secondary);
        color: white;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 500;
    }

    .service-badge.delivery {
        background: #28a745;
    }

    .modal-footer {
        display: flex;
        gap: 15px;
        padding: 20px 25px;
        background: #f8f9fa;
        border-top: 1px solid #e0e0e0;
        justify-content: center;
        flex-wrap: wrap;
    }

    .modal-footer .btn {
        flex: 1;
        min-width: 150px;
        text-align: center;
        padding: 12px 20px;
    }

    .modal-footer .btn-primary {
        background: var(--primary);
        border: none;
    }

    .modal-footer .btn-primary:hover {
        background: var(--secondary);
    }

    .modal-footer .btn-outline {
        background: transparent;
        border: 2px solid var(--text);
        color: var(--text);
    }

    .modal-footer .btn-outline:hover {
        background: var(--text);
        color: white;
        border-color: var(--text);
    }

    /* Animations */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-50px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    /* Responsive Modal */
    @media (max-width: 768px) {
        .modal-content {
            width: 95%;
            margin: 10% auto;
            max-height: 85vh;
        }

        .modal-body {
            max-height: 50vh;
            padding: 20px;
        }

        .modal-header {
            padding: 15px 20px;
        }

        .modal-header h2 {
            font-size: 1.3rem;
        }

        .modal-footer {
            padding: 15px 20px;
            flex-direction: column;
        }

        .modal-footer .btn {
            min-width: auto;
        }

        .modal-category-filters {
            justify-content: flex-start;
        }

        .category-filter-btn {
            padding: 6px 12px;
            font-size: 0.8rem;
        }

        .info-section {
            padding: 15px;
        }

        .services-list {
            gap: 10px;
        }

        .service-item-detail {
            padding: 12px;
        }
    }

    @media (max-width: 480px) {
        .modal-body {
            max-height: 45vh;
        }

        .modal-image img {
            height: 150px;
        }

        .description {
            font-size: 0.9rem;
        }
    }
