/* General Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    color: #333;
    background-color: #f8f9fa;
}

/* Navigation */
nav {
    background-color: #2d4a8a;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

nav .logo img { width: 150px; height: auto; transition: transform 0.3s ease; }
nav .logo img:hover { transform: scale(1.05); }

nav .hamburger { display: none; flex-direction: column; cursor: pointer; padding: 5px; }
nav .hamburger div {
    width: 25px; height: 3px; background-color: white;
    margin: 4px 0; transition: 0.3s; border-radius: 2px;
}
nav .hamburger:hover div { background-color: #f39c12; }

nav ul { list-style-type: none; display: flex; gap: 2rem; }
nav ul li a {
    text-decoration: none; color: white; font-size: 1.1rem; font-weight: 500;
    padding: 0.5rem 1rem; border-radius: 4px; transition: all 0.3s ease; position: relative;
}
nav ul li a:hover { color: #f39c12; background-color: rgba(255, 255, 255, 0.1); }
nav ul li a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
    background-color: #f39c12; transition: all 0.3s ease; transform: translateX(-50%);
}
nav ul li a:hover::after { width: 80%; }

.contact-info a {
    text-decoration: none; color: white; font-size: 1rem; font-weight: 500;
    padding: 0.5rem 1rem; background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px; transition: all 0.3s ease;
}
.contact-info a:hover { color: #f39c12; background-color: rgba(255, 255, 255, 0.2); }

/* Hero (clean white, rounded) */
.hero {
    width: 100%;
    padding: 2.5rem 1.5rem;
    background: #f8f9fa;
}
.hero-card {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    min-height: 520px;
    max-width: 1300px;
    margin: 0 auto;
}
.hero-left,
.hero-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.hero-left {
    background: #f7f9fb;
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 520px;
    background: #e7ecf3;
}
.hero-slider .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-slider .slide.active { opacity: 1; }

.hero-right {
    padding: 2.5rem 2.5rem 2rem;
    gap: 1.5rem;
    justify-content: flex-start;
    background: #fff;
}
.hero-text h1 {
    font-size: 2.6rem;
    color: #25354d; /* keep original dark tone */
    margin-bottom: 0.8rem;
    line-height: 1.2;
    font-weight: 800;
}
.hero-text p {
    font-size: 1.2rem;
    color: #34495e; /* keep original body tone */
    margin: 0;
}
.hero-map {
    margin-top: 0.75rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    background: #f5f7fa;
}
.hero-map iframe {
    width: 100%;
    height: 320px;
    border: 0;
}

/* Slider nav arrows */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.25s ease;
    pointer-events: none;
    z-index: 2;
}
.hero-slider:hover .slide-nav {
    opacity: 1;
    pointer-events: auto;
}
.hero-slider.show-arrows .slide-nav {
    opacity: 1;
    pointer-events: auto;
}
.slide-nav:hover { background: rgba(0, 0, 0, 0.5); }
.slide-nav.prev { left: 12px; }
.slide-nav.next { right: 12px; }

/* Common Section Styles */
.section-container { padding: 5rem 2rem; width: 100%; position: relative; }
.section-container h2 {
    font-size: 3rem; color: #2c3e50; margin-bottom: 1rem; text-align: left;
    padding-left: 2rem; font-weight: 700; position: relative;
}
.section-container h2::after {
    content: ''; position: absolute; bottom: -10px; left: 2rem; width: 80px; height: 4px;
    background-color: #2d4a8a; border-radius: 2px;
}
.section-description {
    font-size: 1.3rem; color: #34495e; margin-bottom: 3rem; padding-left: 2rem;
    text-align: left; line-height: 1.7; max-width: 800px;
}

/* Solutions */
#solutions { background-color: #f8f9fa; }
.solutions-grid {
    display: flex; justify-content: space-between; gap: 2rem; margin-top: 3rem;
    padding: 0 2rem; width: 100%;
}
.solution-item {
    flex: 1; background: white; border-radius: 15px; overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); transition: all 0.4s ease; min-width: 300px; position: relative;
}
.solution-item:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.solution-item::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, #2d4a8a, #f39c12); z-index: 1;
}
/* Fill the box: no padding, no gaps */
.solution-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    padding: 0;
    background: transparent;
    display: block;
    transition: transform 0.5s ease;
}
.solution-item:hover img { transform: scale(1.03); }
.solution-title { font-size: 1.6rem; font-weight: 700; color: #2c3e50; padding: 1.2rem 1.5rem 0.4rem; margin: 0; }
.solution-description { font-size: 1.2rem; color: #34495e; padding: 0 1.5rem 1.4rem; margin: 0; line-height: 1.6; }

/* Services */
#services { background-color: white; }
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; padding: 0 2rem; width: 100%;
}
.service-card {
    background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease; position: relative; padding: 2.5rem 2rem; text-align: center; display: flex;
    flex-direction: column; height: 100%;
}
.service-card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, #2d4a8a, #f39c12); z-index: 1;
}
.service-icon { font-size: 3rem; color: #2d4a8a; margin-bottom: 1.5rem; transition: all 0.3s ease; }
.service-card:hover .service-icon { color: #f39c12; transform: scale(1.1); }
.service-content { flex: 1; display: flex; flex-direction: column; }
.service-title { font-size: 1.6rem; font-weight: 700; color: #2c3e50; margin-bottom: 1rem; line-height: 1.3; }
.service-summary { font-size: 1.1rem; color: #34495e; margin-bottom: 1.5rem; line-height: 1.6; flex: 1; }
.service-details { flex: 1; }
.service-list { list-style-type: none; padding: 0; margin: 0 0 1.5rem 0; text-align: left; }
.service-list li {
    font-size: 1rem; color: #555; line-height: 1.7; margin-bottom: 0.8rem; padding-left: 1.5rem; position: relative;
}
.service-list li::before { content: '•'; position: absolute; left: 0; color: #2d4a8a; font-size: 1.5rem; }
.service-card:hover .service-list li::before { color: #f39c12; }
.read-more-btn { display: none; }

/* Banner strip between Services and Contact */
.banner-strip {
    width: 100%;
    padding: 1.5rem 2rem 1.75rem; /* balanced spacing */
    display: flex;
    justify-content: center;
    background: transparent;
}
.banner-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    object-fit: cover;
    display: block;
}

/* Contact */
#contact { background-color: white; width: 100%; }
#contact h2::after { background: linear-gradient(90deg, #2d4a8a, #f39c12); }
.contact-info-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; padding: 0 2rem; width: 100%;
}
.contact-item {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 2rem; border-radius: 15px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05), -5px -5px 15px rgba(255,255,255,0.8);
    transition: all 0.4s ease; display: flex; align-items: flex-start; gap: 1.5rem; border-left: 5px solid #2d4a8a;
}
.contact-item:hover { transform: translateY(-5px); box-shadow: 10px 10px 25px rgba(0,0,0,0.1), -10px -10px 25px rgba(255,255,255,0.9); border-left: 5px solid #f39c12; }
.contact-item i { font-size: 2.2rem; color: #2d4a8a; padding-top: 5px; min-width: 40px; text-align: center; transition: color 0.3s ease; }
.contact-item:hover i { color: #f39c12; }
.contact-details { flex: 1; }
.contact-details h3 { font-size: 1.5rem; color: #2c3e50; margin-bottom: 1rem; font-weight: 700; }
.contact-details p { font-size: 1.1rem; color: #34495e; line-height: 1.6; margin-bottom: 0.5rem; }
.contact-details a { color: #2d4a8a; text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.contact-details a:hover { color: #f39c12; }
.contact-note { font-size: 0.95rem; color: #7f8c8d; font-style: italic; margin-top: 0.5rem; }
.contact-item-link { text-decoration: none; display: block; }
.contact-item-link .contact-item { cursor: pointer; }
.contact-item-link .contact-item:hover { transform: translateY(-5px); box-shadow: 10px 10px 25px rgba(0,0,0,0.1), -10px -10px 25px rgba(255,255,255,0.9); border-left: 5px solid #f39c12; }
.contact-item-link .contact-item:hover i { color: #f39c12; }

/* Footer */
footer { background-color: #2c3e50; color: white; text-align: center; padding: 2.5rem; margin-top: 4rem; width: 100%; }
footer p { font-size: 1rem; margin: 0; opacity: 0.9; font-weight: 300; }

/* Responsive */
@media (max-width: 1200px) {
    .hero { padding: 2.5rem 1.2rem; }
    .hero-card { grid-template-columns: 1fr; min-height: unset; }
    .hero-slider { min-height: 360px; }
    .hero-right { padding: 2rem; }
    .hero-text h1 { font-size: 2.3rem; }
    .hero-map iframe { height: 280px; }

    .section-container { padding: 4rem 1.5rem; }
    .section-container h2 { padding-left: 1.5rem; }
    .section-description { padding-left: 1.5rem; }
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 992px) {
    .solutions-grid { flex-wrap: wrap; justify-content: center; }
    .solution-item { min-width: 280px; max-width: 350px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); padding: 0 1.5rem; }
}

@media (max-width: 768px) {
    nav { flex-direction: row; justify-content: space-between; align-items: center; padding: 0.8rem 1rem; position: relative; }
    nav .hamburger { display: flex; order: 1; }
    nav .logo { order: 3; margin-left: auto; }
    nav .logo img { width: 120px; }
    .contact-info { display: none; }
    nav .nav-links {
        display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: #2d4a8a;
        text-align: center; z-index: 1000; padding: 1rem 0; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    nav .nav-links.active { display: block; }
    nav ul { flex-direction: column; gap: 0.5rem; }
    nav ul li a { font-size: 1.1rem; display: block; padding: 0.8rem 0; }

    .hero { padding: 2.2rem 1rem; }
    .hero-card { border-radius: 12px; grid-template-columns: 1fr; }
    .hero-right {
        order: 1;
        padding: 1.6rem 1.2rem 1rem;
        align-items: center;
        text-align: center;
    }
    .hero-text h1 { font-size: 1.9rem; text-align: center; margin-bottom: 1rem; }
    .hero-text p { font-size: 1.05rem; text-align: center; margin: 0.75rem 0 0; }
    .hero-left { order: 2; background: #f7f9fb; }
    .hero-slider { min-height: 320px; border-radius: 12px; overflow: hidden; margin: 0 0 0.75rem; }
    .hero-map { display: none; } /* Hide map on mobile */

    .section-container { padding: 2.5rem 1rem; }
    .section-container h2 { font-size: 2.2rem; text-align: center; padding-left: 0; }
    .section-container h2::after { left: 50%; transform: translateX(-50%); }
    .section-description { font-size: 1.1rem; text-align: center; padding-left: 0; }

    .solutions-grid { padding: 0 1rem; flex-direction: column; align-items: center; }
    .solution-item { min-width: 100%; max-width: 100%; }
    .solution-item img { height: 240px; padding: 0; }

    /* Services mobile collapsible */
    #services { background-color: #2d4a8a; padding: 2.5rem 1rem; }
    #services h2 { color: white; }
    #services h2::after { display: none; }
    #services .section-description { color: rgba(255, 255, 255, 0.9); }
    .services-grid { grid-template-columns: 1fr; gap: 0; padding: 0; }
    .service-card {
        background: #2d4a8a; border-radius: 0; box-shadow: none; padding: 1.2rem 0;
        display: flex; flex-direction: row; align-items: flex-start; text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2); min-width: 100%; transition: none;
    }
    .service-card:first-child { border-top: 1px solid rgba(255, 255, 255, 0.2); }
    .service-card::before { display: none; }
    .service-card:hover { transform: none; box-shadow: none; }
    .service-icon { font-size: 2.5rem; color: white; margin-bottom: 0; margin-right: 1rem; min-width: 60px; display: flex; align-items: flex-start; justify-content: center; padding-top: 0.2rem; }
    .service-card:hover .service-icon { color: white; transform: none; }
    .service-content { flex: 1; position: relative; display: block; }
    .service-title { font-size: 1.3rem; color: white; margin-bottom: 0.5rem; text-align: left; }
    .service-summary {
        font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 0.5rem;
        line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
        overflow: hidden; text-overflow: ellipsis; text-align: left;
    }
    .service-card.expanded .service-summary { -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
    .service-details { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, opacity 0.3s ease; opacity: 0; margin: 0; }
    .service-card.expanded .service-details { max-height: 500px; opacity: 1; margin-top: 0.5rem; }
    .service-list { padding: 0; margin: 0; text-align: left; }
    .service-list li { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); line-height: 1.6; margin-bottom: 0.5rem; padding-left: 1.2rem; }
    .service-list li::before { color: #f39c12; font-size: 1.2rem; }
    .read-more-btn {
        display: inline-block; color: #f39c12; font-size: 0.95rem; font-weight: 600;
        text-decoration: none; margin-top: 0.3rem; cursor: pointer; transition: color 0.3s ease; text-align: left;
    }
    .read-more-btn:hover { color: #e67e22; text-decoration: underline; }
    .service-card.expanded .read-more-btn { color: rgba(255, 255, 255, 0.7); }

    .contact-info-grid { grid-template-columns: 1fr; padding: 0 1rem; }

    /* Banner responsive tweak */
    .banner-strip { padding: 1.25rem 1rem 1.5rem; }
    .banner-img { border-radius: 12px; }

    /* Mobile: arrows hidden unless show-arrows class is added via touch */
    .slide-nav {
        width: 36px;
        height: 36px;
        opacity: 0;
        pointer-events: none;
    }
    .hero-slider:hover .slide-nav {
        opacity: 0;
        pointer-events: none;
    }
    .hero-slider.show-arrows .slide-nav {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 480px) {
    nav { padding: 0.8rem 1rem; }
    nav .logo img { width: 100px; }
    .hero-text h1 { font-size: 1.65rem; }
    .hero-text p { font-size: 1rem; }
    .hero-map iframe { height: 210px; }
    .section-container h2 { font-size: 2rem; }
    .solution-title { font-size: 1.4rem; }
    .solution-description { font-size: 1rem; }
    .solution-item img { height: 220px; padding: 0; }
    .service-icon { font-size: 2rem; min-width: 50px; }
    .service-title { font-size: 1.2rem; }
    .service-summary { font-size: 0.9rem; }
    .service-list li { font-size: 0.85rem; }
    .contact-item { padding: 1.5rem; }
    .contact-details h3 { font-size: 1.3rem; }
    footer { padding: 1.5rem; }
    footer p { font-size: 0.9rem; }
}