@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

body {
    font-family: "merriweather", sans-serif !important;
}

.pb-013 {
    padding-bottom: 13px;
}

/* navbar */
.navbar-brand {
    padding-bottom: 12px !important;
}

.navbar-brand:hover {
    color: white !important;
}

.navbar-toggler {
    border: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.dropdown-icon {
    width: 25px !important;
    margin-bottom: 3px;
}

.dropdown-language {
    font-size: 14px !important;
}

.dropdown-menu[data-bs-popper] {
    min-width: 80px !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #29338C !important;
    color: white !important;
}

/* aboutus icon color */
.icon-color01 {
    color: #29338C !important;
}

.title-style01 {
    color: #29338C;
    /* font-weight: 600; */
}

@media only screen and (max-width: 991px) {
    .offcanvas-body {
        padding-left: 30px !important;
    }

    .navbar-brand {
        padding-bottom: 0px !important;
    }
}

.offcanvas-title {
    color: black;
    text-decoration: none;
}

.offcanvas-title:hover {
    color: #29338C;
}

.mobile-nav-close-btn {
    border: none !important;
    background: none;
    width: 30px;
    font-size: 25px;
}

.mobile-nav-close-btn:hover {
    color: #660708;
}

a.nav-link {
    color: #ffffff;
}

a.nav-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #ffffff !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.carousel-image {
    object-position: 100% 30%;
    height: 33rem !important;
}

/* home page  */
@media only screen and (max-width: 577px) {
    .carousel-image {
        height: 250px !important;
    }
}

@media only screen and (max-width: 768px) {
    .carousel-image {
        height: 400px;
    }
}

.bg-yellow {
    background: #5b65b8 !important;
    color: white !important;
}

.about-section {
    background-color: #ffffff;
    color: #333;
}

.about-section .title-style01,
.about-section .icon-color01 {
    color: #29338C !important;
}

.about-text {
    color: #444;
    line-height: 1.7;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.vm-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e6e8f2;
    border-radius: 14px;
    padding: 1.1rem 1rem 1rem;
    box-shadow: 0 6px 18px rgba(41, 51, 140, 0.08);
}

.vm-card::before {
    content: "";
    position: absolute;
    top: -28px;
    right: -24px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(224, 184, 74, 0.18);
    pointer-events: none;
}

.vm-card-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.vm-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.vm-icon--vision {
    background: #29338C;
    color: #ffffff;
}

.vm-icon--mission {
    background: #e0b84a;
    color: #29338C;
}

.vm-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #29338C;
}

.vm-card-list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vm-card-list li {
    position: relative;
    padding-left: 0.95rem;
    margin-bottom: 0.55rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #555;
}

.vm-card-list li:last-child {
    margin-bottom: 0;
}

.vm-card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e0b84a;
}

@media (max-width: 767px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
}

.about-layout-row {
    --bs-gutter-x: 0;
    row-gap: 2rem;
}

@media (min-width: 992px) {
    .about-layout-row {
        column-gap: 3.5rem;
    }

    .about-layout-row > .about-left,
    .about-layout-row > .about-right {
        flex: 0 0 calc(50% - 1.75rem);
        max-width: calc(50% - 1.75rem);
    }
}

.about-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-welcome-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, #24307a 0%, #29338C 42%, #3d4aa3 100%);
    color: #f0f2f8;
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 12px 32px rgba(41, 51, 140, 0.28);
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.founder-welcome-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(224, 184, 74, 0.12);
    pointer-events: none;
}

.founder-welcome-card::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.founder-welcome-top,
.founder-welcome-body,
.founder-welcome-quote {
    position: relative;
    z-index: 1;
}

.founder-welcome-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e0b84a;
    margin-bottom: 1rem;
}

.founder-welcome-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.founder-avatar {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid #e0b84a;
    background: #1e2766;
    display: block;
}

.founder-welcome-header {
    margin: 0;
}

.founder-welcome-name {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.25rem;
}

.founder-welcome-role {
    color: rgba(224, 184, 74, 0.95);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
}

.founder-welcome-body {
    flex-grow: 0;
}

.founder-welcome-body p {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
    margin: 0 0 0.75rem;
}

.founder-welcome-body p:last-child {
    margin-bottom: 0;
}

.founder-welcome-quote {
    margin: 0;
    padding: 0.9rem 0.95rem 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-left: 3px solid #e0b84a;
}

.founder-quote-mark {
    display: block;
    font-size: 1.8rem;
    line-height: 0.7;
    color: #e0b84a;
    font-family: Georgia, "Times New Roman", serif;
    margin-bottom: 0.25rem;
}

.founder-quote-text {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.5rem;
}

.founder-quote-label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 575px) {
    .founder-welcome-card {
        padding: 1.75rem 1.35rem;
    }

    .founder-welcome-name {
        font-size: 1.1rem;
    }

    .founder-avatar {
        width: 60px;
        height: 60px;
    }
}

.bc-image {
    position: relative;
}

.bc-image::before {
    content: none;
}

.bc-image {
    background-color: #ffffff;
    position: relative;
    color: #333;
}

.bc-image .title-style01,
.bc-image .icon-color01 {
    color: #29338C !important;
}

.bc-content {
    position: relative;
}

.no-bullets {
    list-style-type: none;
    list-style-position: outside;
    padding-left: 0;
}

.no-bullets li {
    margin-bottom: 10px;
    text-indent: -15px;
    padding-left: 40px;
}

.card.service-card {
    height: auto;
    background-color: #eef0fa !important;
    border: 1px solid #29338C;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(41, 51, 140, 0.12);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card.service-card:hover {
    transform: translateY(-4px);
    border-color: #29338C;
    box-shadow: 0 10px 24px rgba(41, 51, 140, 0.22);
}

.service-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.75rem;
    min-height: 2.7em;
    color: #29338C;
    text-align: center;
}

.service-card-image {
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.service-card-desc {
    font-size: 0.8rem;
    line-height: 1.45;
    margin: 0;
    color: #333;
    text-align: left;
    flex-grow: 1;
}

.service-text {
    max-width: 48rem;
    font-size: 0.95rem;
}

.border-green {
    border-color: #5b65b8;
}

ul.card-list {
    list-style-type: disc;
    padding-left: 20px;
}

ul.card-list li {
    margin-bottom: 10px;
}

.navbar-logo {
    height: 100px;
    max-height: 100%;
    width: auto;
}

.section-color {
    background: #29338C;
    color: #ffffff;
}

.section-color a,
.section-color .title-style01 {
    color: #ffffff !important;
}

.section-color a:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

.base-color-1 {
    background: #f3f4fb !important;
}

.base-color-2 {
    background: #e8ebf7 !important;
}

#products .title-style01,
#services .title-style01,
#aboutus .title-style01 {
    color: #29338C !important;
}

#products {
    background: linear-gradient(160deg, #5b65b8 0%, #6d76c4 55%, #7f87ce 100%) !important;
    color: #ffffff;
}

#products .title-style01 {
    color: #ffffff !important;
}

#products .service-text {
    color: rgba(255, 255, 255, 0.9);
}

#products .filter-btn {
    color: rgba(255, 255, 255, 0.9) !important;
}

#products .filter-btn.active {
    background-color: #ffffff;
    color: #29338C !important;
}

#services {
    background-color: #ffffff !important;
}

/* Photo gallery */
.photo-gallery-section {
    background: linear-gradient(160deg, #5b65b8 0%, #6d76c4 55%, #7f87ce 100%);
    color: #ffffff;
}

.photo-gallery-section .title-style01 {
    color: #ffffff !important;
}

.photo-gallery-section .service-text {
    color: rgba(255, 255, 255, 0.88);
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 14px;
}

.photo-gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.photo-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.95);
}

.photo-gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

.photo-gallery-item--wide {
    grid-column: span 2;
    grid-row: span 2;
}

.photo-gallery-item--tall {
    grid-row: span 2;
}

@media (max-width: 991px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .photo-gallery-item--wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .photo-gallery-item--tall {
        grid-row: span 1;
    }
}

@media (max-width: 575px) {
    .photo-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .photo-gallery-item--wide,
    .photo-gallery-item--tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

.navbar-logo {
    height: 30px;
    scale: 2.3;
}

/* Reset */
.toolbar {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    color: black !important;
    padding: 10px 15px;
    margin: 0 10px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.3s;
}

.filter-btn.active {
    background-color: #29338C;
    color: white !important;
}

.service_image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service_image {
        height: 160px;
    }
    .service-text {
        width: 100% !important;
    }
    .service-card-title {
        font-size: 1rem;
        min-height: auto;
    }
    .service-card-desc {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .service_image {
        height: 150px;
        margin-top: 0;
    }
}

.contact-layout-row {
    --bs-gutter-x: 2.5rem;
    --bs-gutter-y: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0 0 1rem;
    padding: 0.25rem 0;
}

.contact-phones a {
    font-family: sans-serif;
    font-size: 17px;
    color: inherit;
    text-decoration: none;
}

.contact-phones a:hover {
    text-decoration: underline;
}

.contact-map-wrap {
    width: 100%;
    filter: drop-shadow(8px 8px 12px rgba(0, 0, 0, 0.25));
}

.contact-map-wrap iframe {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    display: block;
}

@media (min-width: 992px) {
    .contact-info {
        padding-right: 1rem;
    }

    .contact-map {
        padding-left: 1rem;
    }
}

/* Masonry Layout using CSS Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 10px;
    gap: 15px;
}

.gallery-item {
    border-radius: 10px;
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 6px 18px rgba(36, 48, 122, 0.22);
    overflow: hidden;
    grid-row: span 10;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(36, 48, 122, 0.3);
}

.gallery-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    display: block;
}

.gallery-item.wide {
    grid-column: span 2;
}

@media (min-width: 992px) {
    .gallery-item.tall {
        grid-row: span 11;
    }
}

.gallery-item.tall img {
    max-width: 70%;
    max-height: 70%;
}

.gallery-item.big {
    grid-column: span 2;
    grid-row: span 20;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .service-text {
        width: 100% !important;
    }
}
@media (max-width: 991px) {
    .navbar-logo {
        height: 60px !important;
        scale: 1.8;
    }
    .service-text {
        width: 100% !important;
    }
}
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .navbar-logo {
        height: 50px !important;
        scale: 1.3;
    }
}

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