/* Service Detail Page Styles */

:root {
    --primary-color: #8E6E22;
    --primary-color-light: #B08C3D;
    --primary-color-lighter: #D1A964;
    --secondary-color: #2F2D3E;
    --secondary-color-light: #4C4962;
    --text-color: #333;
    --text-light: #555;
    --transition: 0.3s ease;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.1);

}
.service-detail-main {
    margin-top: 70px;
}

/* Service Hero Section */
.service-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero-background {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero-overlay {
            background-image: url(../images/FoodStall.png);

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.service-hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.breadcrumb {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--primary-color);
}

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-description {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Service Details Section */
body {
        margin: 0;
        font-family: 'Segoe UI', sans-serif;
        background-color: #f9fafb;
    }

    /* Service Details Section */
    .service-details {
        padding: 20px 0;
        background: #f8fafc; /* Light background to match faq.css */
        position: relative;
        overflow: hidden;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .service-intro {
        text-align: center;
        margin-bottom: 4rem;
    }

    .service-intro h2 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
        font-weight: 700;
        position: relative;
    }

    .service-intro h2::before {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--primary-color-lighter));
        transform: translateX(-50%);
        transition: width var(--transition);
    }

    .service-intro:hover h2::before {
        width: 100px; /* Expand underline on hover */
    }

    .service-intro p {
        font-size: 1.1rem;
        color: var(--text-light);
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.8;
    }

    .services-showcase {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .service-item-detail {
        background: white;
        border-radius: 15px;
        box-shadow: var(--shadow);
        overflow: hidden;
        position: relative;
        transition: var(--transition);
        border: 2px solid var(--primary-color-lighter);
    }

    .service-item-detail::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -10px;
        width: 40px;
        height: 80px;
        background: url('https://via.placeholder.com/40x80/D1A964/ffffff?text=Leaf') no-repeat center;
        background-size: contain;
        transform: translateY(-50%) rotate(15deg);
        z-index: 2;
        opacity: 0.8;
        transition: opacity var(--transition);
    }

    .service-item-detail::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -10px;
        width: 40px;
        height: 80px;
        background: url('https://via.placeholder.com/40x80/D1A964/ffffff?text=Leaf') no-repeat center;
        background-size: contain;
        transform: translateY(-50%) rotate(-15deg);
        z-index: 2;
        opacity: 0.8;
        transition: opacity var(--transition);
    }

    .service-item-detail:hover {
        box-shadow: var(--shadow-hover);
        transform: translateY(-5px);
    }

    .service-item-detail:hover::before,
    .service-item-detail:hover::after {
        opacity: 1;
    }

    .service-item-detail .shine-effect {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: transform 0.6s ease;
        transform: skewX(-20deg);
        z-index: 1;
    }

    .service-item-detail:hover .shine-effect {
        transform: translateX(200%) skewX(-20deg);
    }

 .service-image {
    width: 100%;
    aspect-ratio: 4 / 3; /* Fixed 4:3 aspect ratio */
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    position: relative;
    background: transparent; /* Prevents container background visibility */
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Stretches image to fill container exactly */
    object-position: center;
    display: block;
    transition: transform var(--transition);
    position: absolute;
    top: 0;
    left: 0;
}
    .service-item-detail:hover .service-image img {
        transform: scale(1.05); /* Subtle zoom on hover */
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
        font-weight: 600;
    }

    .service-content p {
        font-size: 1rem;
        color: var(--text-light);
        line-height: 1.6;
        margin-bottom: 1rem;
    }

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

    .service-features li {
        font-size: 0.95rem;
        color: var(--text-light);
        line-height: 1.6;
        position: relative;
        padding-left: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .service-features li::before {
        content: '\f058'; /* Font Awesome check-circle */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        color: var(--primary-color-lighter);
        position: absolute;
        left: 0;
        font-size: 1rem;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .service-details {
            padding: 60px 0;
        }

        .service-intro h2 {
            font-size: 2rem;
        }

        .service-intro p {
            font-size: 1rem;
        }

        .services-showcase {
            grid-template-columns: 1fr;
        }

        .service-item-detail {
            padding: 1.2rem;
        }

        .service-content h3 {
            font-size: 1.3rem;
        }

        .service-content p,
        .service-features li {
            font-size: 0.95rem;
        }

        .service-item-detail::before,
        .service-item-detail::after {
            width: 30px;
            height: 60px;
        }
    }

    @media (max-width: 480px) {
        .service-details {
            padding: 40px 0;
        }

        .service-intro {
            margin-bottom: 3rem;
        }

        .service-intro h2 {
            font-size: 1.8rem;
        }

        .service-intro p {
            font-size: 0.95rem;
        }

        .service-item-detail {
            padding: 1rem;
        }

        .service-content h3 {
            font-size: 1.2rem;
        }

        .service-content p,
        .service-features li {
            font-size: 0.9rem;
        }

        .service-item-detail::before,
        .service-item-detail::after {
            width: 25px;
            height: 50px;
        }
    }
/* Why Choose Section */
.why-choose-section,
.safety-section {
    background: #f8fafc;
    padding: 2rem 0;
    margin: 2rem 0;
    border-radius: 20px;
}

.why-choose-section h2,
.safety-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.benefits-grid,
.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item,
.safety-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-item:hover,
.safety-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon,
.safety-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item h3,
.safety-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item p,
.safety-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Service CTA */
.service-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 1rem;
        border-radius: 20px;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.service-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    
    margin-top: 1.5rem;
}

.service-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cta-buttons .btn-secondary {
    background: white;
    color: var(--primary-color);
}

.cta-buttons .btn-secondary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Navigation Brand Link */

 :root {
  --primary-color: #272D61;
  --text-color: #333;
  --transition: 0.3s ease;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.1);
}


.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.nav-item.dropdown {
  position: relative;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    /* position: absolute; */

     height: 80px;               /* Set fixed height */
  /* overflow: hidden;           Prevent logo from pushing navbar taller */
  /* align-items: center; */
}

.nav-brand {
    display: flex;
    /* align-items: center; */
    gap: 10px;
}

.nav-brand .logo {
    height: 90px;     
    width: auto;
    object-fit: contain;
    margin-right: 10rem;
    margin-left: 5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #222;
    font-weight: 650;
    position: relative;
    transition: 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #272D61;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 0;
    background: #272D61;
    transition: 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(135deg, #272D61, #4e62cc);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
     margin-right: -50%; 
 } 

.nav-btn:hover {
    background: linear-gradient(135deg, #1a1f40, #7f8eff);
    transform: translateY(-2px);
   box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); 
 }  

 .dropdown-menu {
  position: initial;
  top: 100%;
  left: 0;
  z-index: 999;
  display: none;
  flex-direction: column;
  background: white;
  padding: 10px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  list-style: none;
  margin: 0;
}


.dropdown-menu li {
  margin-bottom: 6px;
}

.dropdown-menu li:last-child {
  margin-bottom: 0;
}


/* Responsive Design */
@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.2rem;
    }

    .service-subtitle {
        font-size: 1rem;
    }

    .service-description {
        font-size: 1rem;
    }

    .service-item-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .service-item-detail:nth-child(even) {
        direction: ltr;
    }

    .service-image {
        order: -1;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }

    .benefits-grid,
    .safety-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .service-intro h2 {
        font-size: 2rem;
    }

    .why-choose-section h2,
    .safety-section h2 {
        font-size: 1.8rem;
    }

    .service-cta h2 {
        font-size: 1.8rem;
    }

    
  .nav-brand .logo {
        height: 70px;
    width: auto;
    object-fit: contain;
    margin-right: 10rem;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
    .service-hero {
        height: 50vh;
        min-height: 350px;
    }

    .service-hero h1 {
        font-size: 1.8rem;
    }

    .service-hero-content {
        padding: 0 1rem;
    }

    .service-details {
        padding: 60px 0;
    }

    .service-intro {
        margin-bottom: 3rem;
    }

    .service-item-detail {
        /* margin-bottom: 3rem; */
    }

    .why-choose-section,
    .safety-section {
        /* padding: 3rem 0; */
        /* margin: 3rem 0; */
    }

    .benefit-item,
    .safety-item {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
  .nav-btn {
      
        margin-left: 0 !important;
        /* margin-right: 0 !important; */
 
  }
}