* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    margin: 0;
    padding-top: 120px;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}


/* Memorial Popup */

/* Popup background */

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 9999;
}

/* Popup box */

.popup-box {
    background: #111;
    color: white;
    text-align: center;
    padding: 40px 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    position: relative;
}

/* Memotial Image */

.memorial-img {
    width: 220px;
    max-width: 80%;
    margin-bottom: 20px;
}

/* Memorial Subtitle */

.subtitle {
    font-size: 16px;
    opacity: 0.9;
}

/* Close button */

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
}

/* ----------------------------- */

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    padding: 10px;

}

.logo img {
    height: 60px;

}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-title {
    display: flex;
    align-items: center;
}

.site-title {
    text-align: left;
    padding-right: 200px;
    font-family: merriweather;
    color: #0d2a6b;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    width: 100%;
    padding: 20px 40px;
}

/* Header Menu */

.menu {
    display: flex;
    gap: 20px;
    list-style: none;
}

.menu li {
    flex-shrink: 1;
}

.menu a {
    text-decoration: none;
    color: #0d2a6b;
    font-weight: 600;
    padding: 6px 10px;
    border: 2px solid transparent;
    border-radius: 6px;
    white-space: nowrap;
    transition: 0.3s;
    font-size: clamp(15px, 1.2vw, 16px);
}

.menu a:hover {
    border-color: #0d2a6b;
    color: #8A7650;
    box-shadow: 0 0 10px rgba(33, 150, 246, 0.8);

}

.language-picker {
    /* Ensures the selector is aligned correctly within the header */
    display: flex;
    align-items: center;
}

/* Optional: Hide the label visually but keep it for screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

#language-picker-select {
    padding: 5px;
    border-radius: 4px;
    /* Further styling for the select element can be added */
}

/* -------------------------- */

/* HAMBURGER */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #0d2a6b;
    margin: 4px 0;
    transition: 0.3s;
}

/* transform to X */

.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(11px, -11px);
}

.menu-header {
    list-style: none;
    text-align: center;
    display: none;
}

.menu-header img {
    width: 120px;
    margin-bottom: 10px;
    height: auto;
}

.menu-header h2 {
    font-size: 22px;
    color: #0d2a6b;
    font-family: merriweather;
    padding-bottom: 30px;
}

/* -------------------------- */

/* SLIDER */

.slider {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* ----------------------- */

/* Home : Our Services */

.services,
.about-services {
    max-width: 1000px;
    margin: auto;
    padding: 20px 20px 0 20px;
    font-family: merriweather;
}

.title {
    text-align: center;
    font-size: 32px;
    padding-bottom: 20px;
}

/* each service block */
.service-item {
    display: flex;
    flex-direction: column;
    /* stack image and text */
    margin-bottom: 50px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.service-detail {
    font-family: merriweather;
}

.service-desc {
    padding: 30px 20px;
    font-weight: bold;
    font-size: 18px;
}

.service-text {
    padding: 25px;
}

.service-text h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.service-text p {
    line-height: 1.6;
    color: #555;
}

/* See More container */
.see-more-section {
    width: 100%;
    background: #f3f3f3;
    text-align: center;
    padding: 20px 10px;
}

/* line */
.divider {
    width: 100%;
    height: 1px;
    background: #dcdcdc;
    margin-bottom: 12px;
}

/* button */
.see-more-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #8a9aa0;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

/* -------------------------- */

/* arrow */
.arrow {
    margin-top: 5px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #8a9aa0;
    border-bottom: 2px solid #8a9aa0;
    transform: rotate(45deg);
}

/* hover */
.see-more-btn:hover {
    color: #0d2a6b;
}

.see-more-btn:hover .arrow {
    border-color: #0d2a6b;
}

/* ---------------------------- */

/* Footer */

.footer {
    font-size: 14px;
    height: auto;
    background: #111;
    color: white;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.footer-section {
    flex: 4;
    min-width: 200px;
    text-align: left;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

/* Social Icons */

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    margin: 5px;
    transition: 0.3s;
}

#mail:hover {
    background: #EA4335;
}

#fb:hover {
    background: #0077ff;
}

#line:hover {
    background: #00C300;
}

/* Bottom */

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 15px;
    color: #aaa;
    font-size: 14px;
}

/* ---------------------------------- */

/* Scroll  */

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-size: 25px;
    background: #0d2a6b;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    width: 50px;
}

#scrollTopBtn:hover {
    background: #1f4bc1;
}


/* --------------------------------------- */

/* Contact_Us_Map */

.map {
    padding: 60px 20px;
    text-align: center;
}

.map h2 {
    text-align: center;
}

.map iframe {
    width: 100%;
    max-width: 1000px;
    border-radius: 10px;
}

/* Contact us card */

.contact-section {
    padding: 60px 20px;
}

.contact-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: #dcdcdc;
    border-radius: 20px;
    text-align: center;
    padding: 40px 20px;
    transition: 0.3s;
    border: 2px solid transparent;
    color: #0d2a6b;
}

.contact-card img {
    width: 60px;
    margin-bottom: 20px;
}

.contact-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.contact-card p {
    color: #555;
}

.contact-card:hover p {
    color: #8A7650;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #0d2a6b;
    box-shadow: 0 0 10px rgba(33, 150, 246, 0.8);

}

#contact-envelop {
    font-size: 35px;
    padding-bottom: 5px;
}

#contact-location {
    font-size: 35px;
    padding-bottom: 5px;
}

#contact-ph {
    font-size: 35px;
    padding-bottom: 5px;
}

/* -------------------------------------- */

/* aboutus */

.service-detail {
    padding-bottom: 30px;
}

/* -------------------------------------- */

/* Products */

.product_section h1 {
    text-align: center;
    padding: 25px 0;
}

.product_content {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.product_content>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 70px;
}

/* Image */
.product_content img {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    transition: 0.4s ease;
}

/* Content */
.product_content>div>div {
    flex: 3;
    padding: 20px;
}

/* Alternate Layout */
.product_content>div:nth-child(even) {
    flex-direction: row-reverse;
}

/* Curved Image Style (for alternate sections) */
.product_content>div:nth-child(even) img {
    border-radius: 120px 20px 120px 20px;
}

/* Hover effect */
.product_content img:hover {
    transform: scale(1.03);
}

.table-wrapper {
    width: 100%;
    margin-top: 20px;
    padding: 0 10px;
}

/* Table style */
.product-table {
    width: 100%;
    min-width: 750px;
    /* for mobile scroll */
    border-collapse: collapse;
    text-align: center;
}

/* Cells */
.product-table th,
.product-table td {
    border: 1px solid #000;
    padding: 12px 25px;
    color: #0d2a6b;
    background-color: #BFEFFF;
}

/* Header style */
.product-table th {
    font-weight: 600;
}

.seemore {
    color: red;
}

.seemore:hover {
    color: #0d2a6b;
}

/* -------------------------------------- */



/* -------------------------------------- */

/* product*/
/* Image container */

.switching {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.switching h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 5px;
}

.switching a {
    text-decoration: none;
}

.switching h2 {
    text-align: left;
    color: #111;
    margin-bottom: 25px;
    text-decoration: none;
}

.switching h2:hover {
    color: #0d2a6b;
}


.Switchor_group p {
    text-align: left;
    margin: auto;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* ======================================= */
/* SwitchingControl */
/* Container */
.control-page {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.control-page h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

/* Control item layout */
.control-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
    transition: 0.3s;
}

.control-item.reverse {
    flex-direction: row-reverse;
}

/* Content */
.control-content {
    flex: 1;
    padding: 20px;
}

.control-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #1f2937;
}

.control-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

/* Image */
.control-image {
    flex: 1;
    text-align: center;
}

.control-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.control-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* -------------------------- */

/* Gallery Tray */

/* Container */
.gallery-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.gallery-container .title {
    text-align: center;
    margin-bottom: 40px;
    color: #000;
}

.galheader {
    padding: 30px;

}

.galheader a {
    color: #000;
}


.nav-btn-container {
    display: flex;
    justify-content: center;
    margin: 40px 20px 0 20px;
    padding: 0 20px;
}

.prev-btn {
    background: #0d2a6b;
    color: white;
    border: 1px solid #0d2a6b;
    padding: 12px 28px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 16px;
    width: fit-content;
    transition: all 0.3s ease;
}

.prev-btn:hover {
    font-size: 16px;
    color: #0d2a6b;
    border: 1px solid #0d2a6b;
    background: #fff;

}

/* Album Grid */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Album Card */
.album-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    text-decoration: none;
}

.album-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: .5s;
}

.album-card:hover img {
    transform: scale(1.1);
}

.album-name {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 18px;
    color: white;
    background: linear-gradient(transparent, rgba(0, 0, 0, .7));
    font-size: 20px;
}

/* Image Grid */
.img-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* Image Box */
.img-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    height: 220px;
}

.img-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: .4s;
}

.img-box:hover img {
    transform: scale(1.1);
}

/* Hover Overlay */
.img-box::after {
    content: "View";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    background: rgba(13, 42, 107, .45);
    opacity: 0;
    transition: .3s;
}

.img-box:hover::after {
    opacity: 1;
}

/* Lightbox */
/* Lightbox overlay */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.9);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s;

    z-index: 99999;
}

/* Show lightbox */
.lightbox.show {
    opacity: 1;
    visibility: visible;
}

/* Enlarged image */
.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Close button */
.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 42px;
    color: white;
    cursor: pointer;
    z-index: 100000;
}

/* ======================================= */
/* Responsive */
/* Tablet */

@media (min-width: 768px) and (max-width: 1024px) {
    /* header */

    .menu {
        gap: 10px;
    }

    .menu a {
        padding: 4px 6px;
    }

    .site-title {
        padding-right: 70px;
        padding-left: 15px;
    }

    /* Home see more */
    .see-more-btn {
        font-size: 15px;
    }

    .arrow {
        width: 9px;
        height: 9px;
    }

    .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        min-width: 600px;
    }

    th,
    td {
        word-break: break-word;
    }

}

@media (max-width: 900px) {
    .switchors {
        grid-template-columns: 1fr;
    }

    table {
        width: 100%;
        display: block;
        overflow-x: auto;

        min-width: 600px;
        border-collapse: collapse;

    }

    .nav {
        padding: 10px;
    }

    .product_content>div {
        flex-direction: column;
        text-align: center;
    }

    .product_content>div:nth-child(even) {
        flex-direction: column;
    }

    .product_content img {
        max-width: 100%;
    }

    .control-item {
        flex-direction: column;
        text-align: center;
    }

    .control-item.reverse {
        flex-direction: column;
    }

    .control-image img {
        max-width: 100%;
        margin-top: 20px;
    }

    table {
        width: 80%;
    }
}


/* MOBILE */

@media(max-width:768px) {

    /* Memorial  */
    .popup-box {
        padding: 30px 20px;
    }

    .memorial-img {
        width: 160px;
    }

    .close-btn {
        font-size: 24px;
    }

    /* HEADER */

    .title {
        font-size: 24px;
    }

    .subtitle {
        font-size: 14px;
    }

    .header {
        padding: 0px;
        border-bottom: 3px solid #0d2a6b;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 0 10px rgba(33, 150, 246, 0.8);
    }

    /* Footer */
    .footer {
        font-size: 13px;
    }

    /* Hamburger */

    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 25px;
    }

    .menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.3s ease;
    }

    /* ACTIVE */
    .menu.active {
        left: 0;
    }


    .menu li {
        list-style: none;
    }

    .menu a {
        color: white;
        font-size: 18px;
        text-decoration: none;
        font-weight: 600;
    }


    .menu-logo {
        list-style: none;
    }

    .menu-logo img {
        width: 120px;
        margin-bottom: 20px;
    }


    .logo img {
        max-width: 25%;
        height: auto;
    }

    .site-title {
        display: none;
    }

    .menu-header img {
        width: 100px;
    }

    .menu.active {
        left: 0;
        padding-bottom: 200px;
    }

    .menu li {
        list-style: none;
    }

    .menu a {
        color: #0d2a6b;
        font-size: 18px;
        text-decoration: none;
        font-weight: 600;
    }

    .slider {
        height: 450px;
    }

    /* footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .social-icons a {
        margin: 5px;
    }

    .contact-container {

        grid-template-columns: repeat(1, 1fr);

    }

    .footer-section {
        flex: 4;
        min-width: 200px;
        text-align: center;
    }

    .menu li {
        display: block;
    }

    /* services */
    .about-services {
        padding: 20px 20px 0 20px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-title {
        display: none;
    }

    /* Prod_table */

    .product-table th,
    .product-table td {
        padding: 10px 15px;
        font-size: 14px;
    }

    .table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        min-width: 600px;
    }

    th,
    td {
        word-break: break-word;
    }



    /* Aboutus */

    .service-detail h2 {
        font-size: 18px;
    }

    .service-detail h3 {
        font-size: 17px;
    }

    .service-desc {
        font-size: 15px;
    }

    .gallery-container .title {
        padding-bottom: 0px;
    }

    body {
        padding-top: 90px;
    }

    table {
        overflow-x: auto;
        padding-right: 15px;
        width: 100%;
    }

}


@media (max-width: 600px) {
    .lightbox-img {
        max-width: 95%;
        max-height: 75%;
    }

    .close-btn {
        top: 15px;
        right: 20px;
        font-size: 32px;
    }

    .album-card img {
        height: 200px;
    }

    .img-box img {
        height: 220px;
    }
}

@media (max-width: 500px) {
    .switching h1 {
        font-size: 26px;
    }

    .switching h2 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    .galheader {
        font-size: 26px;
    }
}