/* ---------------- Reset & Base ---------------- */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    padding-top: 100px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #003366;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ---------------- Header & Navbar (same as homepage) ---------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #003366;
    padding: 0.8rem 1rem;
    color: white;
    height: auto;
}

.logo-img {
    height: 60px;
    width: auto;
    border-radius: 50%;
}

/* Desktop Menu */
.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.menu ul {
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
    align-items: center;
}

.menu ul li a {
    color: white;
    font-weight: bold;
    font-size: 1rem;
    padding: 8px 12px;
    transition: all 0.3s ease;
    border-radius: 5px;
    white-space: nowrap;
}

.menu ul li a:hover {
    background-color: yellow;
    color: #003366;
}

/* Hamburger */
.hamburger {
    display: none; 
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
    margin-right: 10px;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Dropdown */
.mobile-menu {
    display: none;
    position: fixed; 
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #003366;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu ul {
    flex-direction: column;
    padding: 0;
}

.mobile-menu ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.mobile-menu ul li a:hover {
    background-color: rgba(255, 215, 0, 0.2);
    color: yellow;
    padding-left: 30px;
}

/* ---------------- Responsive Styles (Merged) ---------------- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .menu {
        display: none;
    }
    .navbar {
        padding: 0.8rem 1rem;
    }
    .logo-img {
        height: 50px;
    }
    .banners {
        padding: 60px 20px 30px;
    }
    .banner {
        width: 90%;
        height: auto;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.6rem 0.8rem;
    }
    .logo-img {
        height: 45px;
    }
    .mobile-menu ul li a {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    .banners {
        padding: 40px 15px 20px;
    }
    .banner {
        width: 100%;
        height: auto;
    }
}

/* ---------- Intro Section ---------- */
.intro-wrapper {
    background: #f0f0f0;
    width: 100%;
    padding: 150px 0 50px;
}

.services-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.services-intro h2 {
    font-size: 3.3rem;
    margin-bottom: 28px;
    color: #222;
    font-weight: bold;
}

.services-intro p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333;
}

/* ---------- Banners Section ---------- */
.banners {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 100px 20px 40px;
    margin-top: 40px;
    background: #f7f7f7;
    border-radius: 15px;
}

/* Individual Banner Card */
.banner {
    position: relative;
    width: 615px;
    height: 400px;
    border-radius: 15px;
    border: 3px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.banner:hover {
    border-color: gold;
    transform: translateY(-5px);
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    z-index: 1;
}

/* Background Images */
.banner1 {
    background: url('/images/fba.jpeg') center/cover no-repeat;
}
.banner2 {
    background: url('/images/fbm.avif') center/cover no-repeat;
}
.banner3 {
    background: url('/images/ws.png') center/cover no-repeat;
}
.banner4 {
    background: url('/images/e-commerce.webp') center/cover no-repeat;
}

/* Content inside banner */
.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}

.banner-content h3 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: bold;
    margin-bottom: 15px;
}

/* Details Button */
.details-btn {
    background: #003366;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.details-btn:hover {
    background: #ffd633;
    color: #000;
    transform: scale(1.05);
}

.details-btn .arrow {
    transition: transform 0.3s ease;
}

.details-btn.active .arrow {
    transform: rotate(180deg);
}

/* Expandable Service Detail */
.service-detail {
    background: linear-gradient(135deg, #051537, #061d4b);
    padding: 0 20px;
    margin: 15px 20px 20px;
    border-radius: 12px;
    color: #f0f0f0;
    font-size: 1rem;
    line-height: 1.6;
    font-family: 'Segoe UI', sans-serif;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
}

.service-detail.show {
    padding: 20px;
    max-height: 500px;
    opacity: 1;
}

/* Intro Section */
.intro-wrapper {
    background: #f0f0f0;
    width: 100%;
    padding: 150px 0 50px;
}

.services-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.services-intro h2 {
    font-size: 3.3rem;
    margin-bottom: 28px;
    color: #222;
    font-weight: bold;
}

.services-intro p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333;
}