/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
p, blockquote,a, abbr, acronym, address, big, cite, code,
del, dfn, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* main */

main {
    font-family: 'Roboto', sans-serif;;
    font-weight: 400;
    font-style: normal;
}

/* -------- header ----------- */

/* Header Logo Section */
.header-logo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 100px;
}

.header .header-logo .logo-image {
    width: 300px;
    height: 115px;
}

.header .header-feature {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.header .header-feature .feature-icon {
    width: 70px;
    height: 70px;
}

.header .feature-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.header .feature-title {
    color: black;
    font-weight: 700;
}

.header .feature-description_break {
    width: 300px;
}

/* Navigation Menu */
.nav-menu{
    display: flex;
    justify-content: space-between;
    padding: 0 150px;
    box-shadow: 0px 0px 20px 0px #d4cccc;
    align-items: center;
}

.nav-menu>ul {
    display: flex;
    flex-direction: row;
    align-items: center;
}


.nav-menu a {
    display: block;
    color: black;
    text-decoration: none;
    font-size: 18px;
    padding: 24px 30px;
}

.nav-menu a:hover {
    background-color: #293D93;
    color: white;
    transition: 0.3s;
}

.nav-menu .menu-phone{
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #293D93;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 40px;
    color: #000;
    padding: 10px;
    z-index: 1001;
}

/* Close button for fullscreen menu */
.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: none;
    z-index: 1002;
}

@media screen and (min-width: 768px) {
    .nav-menu .current_page_item > a{
        background-color: #293D93;
        color: white;
    }
}

@media screen and (max-width: 768px) {

    header.header {
        box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    }

    .menu-toggle.inactive {
        display: none !important;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 10px;
    }

    .close-menu.inactive {
        display: none !important;
    }

    .close-menu {
        display: block;
    }

    .header-logo {
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
        gap: 20px;
    }

    .header .header-logo .logo-image {
        width: auto;
        height: 70px;
    }

    .header .header-feature {
        display: none;
    }

    .header .menu-phone-container{
        display: none;
    }

    /* Fullscreen menu */
    .nav-menu>ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(41, 61, 147, 0.95);
        z-index: 1000;
        gap: 30px;
        transform: translateY(-100%);
        transition: transform 0.4s ease;
        opacity: 0;
        visibility: hidden;
        padding: 0;
        box-shadow: none;
    }

    .nav-menu.active>ul {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        color: white;
        font-size: 22px;
        padding: 15px 0;
        width: auto;
        text-align: center;
        border: none;
    }

    .nav-menu a:hover {
        background-color: transparent;
        color: #FFF;
    }
}

/* Basic dropdown styling */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > a:after {
    content: "▼";
    font-size: 0.7em;
    margin-left: 5px;
    vertical-align: middle;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    z-index: 999;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 10px;
    width: max-content;
}

.menu-item-has-children:hover .sub-menu {
    display: block;
}

.sub-menu li {
    display: block;
    width: 100%;
}

.sub-menu li a {
    padding-top: 15px;
    padding-bottom: 15px;
    display: block;
    border-bottom: 1px solid #eee;
    border-radius: 10px;
}

.sub-menu li:last-child a {
    border-bottom: none;
}

/* Mobile dropdown styling */
@media screen and (max-width: 768px) {
    /* Change sub-menu positioning for mobile */
    .sub-menu {
        position: relative;
        top: auto;
        left: auto;
        background: transparent;
        box-shadow: none;
        margin-top: 10px;
        width: 100%;
        border-radius: 0;
        display: none;
    }
    
    /* Change sub-menu items styling for mobile */
    .sub-menu li a {
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 10px 0;
        font-size: 18px;
        border-radius: 0;
    }
    
    /* Create an accordion effect for mobile dropdowns */
    .menu-item-has-children > a:after {
        content: "↓";
        margin-left: 5px;
    }
    
    .menu-item-has-children.active > a:after {
        content: "↑";
    }
    
    /* When active class is present, show the sub-menu */
    .menu-item-has-children.active .sub-menu {
        display: block;
    }
    
    /* Parent hover shouldn't trigger sub-menu on mobile */
    .menu-item-has-children:hover .sub-menu {
        display: none;
    }
    
    /* Active parent item should show sub-menu */  
    .menu-item-has-children.active .sub-menu {
        display: block;
    }
}

/* -------- footer ----------- */

.footer {
    padding: 40px 30px;
    color: #1E2B73;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    max-width: 400px;
    min-width: 220px;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 14px;
    color: #293D93;
}

.footer p {
    font-size: 16px;
    color: black;
    margin-bottom: 5px;
    line-height: 1.5;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    text-decoration: none;
    color: black;
    font-size: 16px;
}

.footer-links a:hover {
    color: #293D93;
}

/* Support Section */
.support-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    
}

.social-icons {
    margin-top: 10px;
    display: flex;
}

.social-icons a {
    text-decoration: none;
    color: #1E2B73;
    font-size: 20px;
    margin-right: 10px;
}

.support-phone .fas.fa-phone-alt{
    font-size: 30px;
    color: red;
}

.fab.fa-facebook-square {
    font-size: 44px;
}

.social-icons>a>img {
    width: 40px;
    height: 40px;
    padding: 1px 0;
}

/* Footer Map */
.footer-map iframe {
    width: 100%;
    max-width: 180px;
    height: 120px;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 10px 30px;
    }

    .footer .container {
        flex-direction: column;
    }

}


/* top btn */

.main-social{
    display: flex;
    flex-direction: column;
    gap: 22px;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 120px;
    right: 20px;
    width: 50px;
    height: 50px;
    z-index: 1000000;
}

.main-social .main-social-zalo{
    width: 44px;
    height: 44px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-social .fa-phone{
    color: white;
    background-color: red;
    padding: 12px 14px;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effects */
.main-social a:hover .fa-phone {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.main-social a:hover .main-social-zalo{
    transform: scale(1.1);
}

/* Pulse animation for phone icon */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Bounce animation for Zalo icon */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Apply animations */
.main-social .fa-phone {
    animation: pulse 2s infinite;
}

.main-social .main-social-zalo {
    animation: bounce 3s infinite;
}

/* Optional: Stop animations on hover for better user experience */
.main-social a:hover .fa-phone {
    animation: none;
    transform: scale(1.15);
}

.main-social a:hover .main-social-zalo {
    animation: none;
    /* transform: scale(1.15); */
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #293D93;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: none;
    /* Hide by default */
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 1000000;
}

.back-to-top:hover {
    background-color: #293D93;
    opacity: 80%;
}

/* -------- home page ----------- */

/* banner */
.banner {
    width: 100%;
    overflow: hidden;
}

.bannerSwiper {
    width: 100%;
}

.banner-img {
    width: 100%;
    height: 488px;
}

/* Style the navigation buttons */
.banner-prev,
.banner-next {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
}

.banner-prev:after,
.banner-next:after {
    font-size: 20px !important;
}

/* Style the pagination bullets */
.banner-pagination {
    position: absolute;
    bottom: 20px !important;
    z-index: 10;
    text-align: center;
}

.banner-pagination .swiper-pagination-bullet {
    height: 7px;
    width: 26px;
    border-radius: 25px;
    background: #fff;
    opacity: 0.5;
}

.banner-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #fff;
}



@media screen and (max-width: 768px) {
    .banner-img {
        height: 200px;
        min-height: 136px;
    }

    .banner-pagination .swiper-pagination-bullet {
        height: 5px;
        width: 20px;
    }
}

/* about */
.about {
    padding: 50px 130px;
}

.about .about-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 50px 0;
}

.about .about-title {
    font-size: 32px;
    font-weight: 700;
    color: #293D93;
}

.about .about-text {
    font-size: 22px;
    font-weight: 500;
    color: #000000;
    text-align: justify;
    padding: 0 120px;
    line-height: 1.3;
}

.about .about-text ul {
    list-style-type: disc;
    padding-left: 50px;
}

.about .show-more-btn {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.about .show-more-link {
    padding: 10px 40px;
    background-color: #f3c13a;
    color: black;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s;
}

.about .show-more-link:hover {
    background-color: #e0a825;
}



/* Base styles for services section */
.services {
    position: relative;
    padding: 70px 0;
    background-color: #E8EDF4;
    overflow: hidden;
}

.services .services-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    font-weight: 700;
    color: #293D93;
}

/* Swiper container */
.services .swiper {
    flex: 1;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}

/* Card styles */
.card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section .card .image img {
    height: 150px;
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service-label {
    background: #1E2B73;
    color: white;
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    text-align: center;
}

.service-category {
    font-size: 14px;
    text-transform: uppercase;
    margin: 0;
}

.service-name {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0 0;
}

.services .swiper-container{
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

/* Navigation buttons - positioned outside */
.services .fa-chevron-left,
.services .fa-chevron-right {
    color: white;
    background-color: #1E2B73;
    padding: 16px 18px;
    border-radius: 50%;
}

.services .services-next-button,
.services .services-prev-button {
    flex: 1;
}



.services div.swiper-button-next:after,
.services div.swiper-button-prev:after {
    font-size: 18px;
}

.services .fa-chevron-left:hover,
.services .fa-chevron-right:hover {
    cursor: pointer;
    opacity: 0.8;
    background-color: #3a4db1;
}

/* Pagination - positioned below */
.services .swiper-pagination {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
}

.services .swiper-pagination-bullet {
    height: 7px;
    width: 26px;
    border-radius: 25px;
    background: #1E2B73;
    opacity: 0.5;
}

.services .swiper-pagination-bullet-active {
    opacity: 1;
}

.services .services-card-link{
    text-decoration: none;
}

/* Responsive styles */
@media screen and (max-width: 1200px) {
    .services div.swiper-button-next {
        right: 5%;
    }
    
    .services div.swiper-button-prev {
        left: 5%;
    }
}

@media screen and (max-width: 992px) {
    .services .services-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .services .swiper {
        max-width: 85%;
    }
    
    .services .swiper-container{
        display: block;
    }

    .services .services-prev-button,
    .services .services-next-button {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .services {
        padding: 40px 0 80px;
    }
    
    .services .services-title {
        font-size: 24px;
    }
    
    .services div.swiper-button-next,
    .services div.swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .services div.swiper-button-next:after,
    .services div.swiper-button-prev:after {
        font-size: 16px;
    }
}

@media screen and (max-width: 576px) {
    .services {
        padding: 30px 0 70px;
    }
    
    .services .services-title {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    section .card .image img {
        height: 120px;
    }
    
    .service-category {
        font-size: 12px;
    }
    
    .service-name {
        font-size: 16px;
    }
    
    .services .swiper-pagination-bullet {
        height: 5px;
        width: 20px;
    }
    
    .services div.swiper-button-next,
    .services div.swiper-button-prev {
        display: none;
    }
}

/* map */

.map {
    padding: 50px 0;
}



@media screen and (max-width: 768px) {

    .about,
    .services {
        padding: 25px !important;
    }

    .about .about-title,
    .services .services-title {
        font-size: 24px !important;
    }

    .about .about-item {
        padding: 25px 0 !important;
    }

    .about .about-text {
        font-size: 16px !important;
        padding: 0 25px !important;
    }

    .about .about-text ul {
        padding-left: 25px !important;
    }

}




/* -------- about page ----------- */
.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 24px 150px;
    font-size: 16px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list a {
    text-decoration: none;
    color: #0073e6;
    font-weight: 500;
}

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

.breadcrumb-list .current-page {
    color: #333;
    font-weight: bold;
}

.content-section {
    background-color: #fff;
    padding: 30px 100px;
}

.content-section-container {
    display: flex;
    align-items: flex-start;
    background-color: #E9F0F6;
    padding: 30px;
    gap: 20px;
}

.content-section .text-container {
    flex: 1;
    padding: 20px;
}

.content-section .image-container {
    flex: 1;
}

.content-section .subtitle {
    font-size: 18px;
    font-weight: bold;
    color: #293D93;
}

.content-section .title {
    font-size: 32px;
    font-weight: bold;
    margin: 10px 0;
    color: #293D93;
}

.content-section .title::after {
    content: "";
    border-bottom: 2px solid black;
    width: 24%;
    display: block;
    padding-top: 10px;
}

.content-section .text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}

.content-section .text.margin-y {
    margin-top: 16px;
    margin-bottom: 16px;
}

.content-section .content-list {
    list-style-type: disc;
    margin-left: 16px;
}

.content-section .about-image {
    width: 100%;
    object-fit: cover;
}

.follow-container .follow-PC{
    display: flex;
    justify-content: center;
    max-height: 400px;
    padding: 30px 0;
}

.follow-container .follow-SP{
    display: none;
}

.follow-container .follow-img{
    flex: 1;
}

.follow-container .follow-content{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 30px;
    background-color: #E9F0F6;
    min-width: 300px;
    padding: 0 25px;
}

.follow-container .follow-line{
    border: 2px solid #293D93;
    width: 100px;
    margin: 0 auto;
}

.follow-container .follow-title{
    color: #293D93;
    font-size: 40px;
}

.follow-container .follow-fb{
    text-decoration: none;
    color: #293D93;
}

.follow-container .follow-fb:hover{
    color: #293D93;
    opacity: 80%;
}

@media screen and (max-width: 768px) {
    .about-page .breadcrumb {
        display: none;
    }

    .about-page .content-section-container {
        display: block !important;
        padding: 0 !important;
    }

    .about-page .content-section {
        padding: 30px 40px;
    }

    .about-page .image-container {
        width: 100%;
    }

    .about-page .image-container img {
        width: 100%;
    }

    .about-page .content-section-container.seccond {
        display: flex !important;
        flex-direction: column-reverse;
        padding: 0 !important;
    }

    .follow-container .follow-PC{
        display: none;
    }

    .follow-container .follow-SP{
        display: block;
    }

    .follow-container .follow-img-SP{
        width: 100%;
    }
}


/* -------- services page ----------- */
.projects,
.news {
    padding: 0 100px 50px;
}

.projects .section-title,
.news .section-title {
    font-size: 24px;
    font-weight: bold;
    margin: 30px 0;
    color: #293D93;
}

.project-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    margin: 0 auto;
}

.project-item,
.news-item {
    max-width: 450px;
    width: 90%;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-item>a,
.news-item>a {
    text-decoration: none;
}

.project-item img,
.news-item img {
    width: 100%;
    height: 250px;
    display: block;
}

.project-info,
.news-info {
    background: #1c3b82;
    color: white;
    padding: 10px;
    height: 100%;
}

.project-info .service,
.news-info .news-title {
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.project-info h3,
.news-info h3 {
    margin: 5px 0;
    font-size: 16px;
}

.project-pagination,
.news-pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page,
.next,
.prev {
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    color: #1c3b82;
    border: 1px solid #1c3b82;
    transition: 0.3s;
}

.page:hover,
.next:hover,
.prev:hover {
    background: #1c3b82;
    color: white;
}

.page.active {
    background: #1c3b82;
    color: white;
}

.dots {
    color: #777;
    font-weight: bold;
}

@media (max-width: 1024px) {
    .project-grid, .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-page .breadcrumb-list,
    .news-page .breadcrumb-list,
    .service-page .breadcrumb-list {
        display: none !important;
    }

    .projects-page .projects,
    .news-page .news,
    .service-page .projects {
        padding: 40px 30px !important;
    }

    .project-grid,
    .news-grid,
    .service-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* Project Detail Page Styles */
.project-container,
.news-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 30px 40px 30px 120px;
    gap: 50px;
}

.project-main-content,
.news-main-content {
    flex: 1;
}

.project-main-content .project-detail,
.news-main-content .news-detail{
    background-color: #E9F0F6;
    padding: 20px 30px;
}

.project-header,
.news-header {
    text-align: left;
    margin-bottom: 30px;
}

.project-title-name,
.news-title-name {
    font-size: 32px;
    font-weight: 700;
    color: #293D93;
    margin-bottom: 40px;
}

.project-subtitle>h2,
.news-subtitle>h2 {
    font-size: 18px;
    color: #293D93;
    margin-bottom: 20px;
}

.project-title ,
.news-header .news-title {
    width: fit-content;
}

.project-title h2,
.news-header .news-title h2{
    font-size: 24px;
    color: #000;
    margin-bottom: 10px;
    text-transform: uppercase;
    width: fit-content;
}

.project-title::after,
.news-header .news-title::after {
    content: "";
    border-bottom: 2px solid black;
    width: 24%;
    display: block;
    padding-top: 10px;
}

.project-main-image,
.news-main-image {
    margin-bottom: 30px;
}

.project-main-image img,
.news-main-image img {
    max-width: 100%;
    height: auto;
}

.project-detail .project-content,
.news-detail .news-content {
    line-height: 1.5;
}

.project-description p,
.news-description p{
    margin-top: 16px;
    margin-bottom: 16px;
}

.project-description ul,
.news-description ul{
    list-style: disc;
    padding-left: 40px;
}

.project-description ol,
.news-description ol{
    list-style: decimal;
    padding-left: 40px;
}

.project-description blockquote,
.news-description blockquote{
    margin-left: 40px;
    margin-right: 40px;
}

.project-description,
.news-description {
    margin-bottom: 30px;
}

.project-description>p>img,
.news-description>p>img {
    width: 950px;
    object-fit: cover;
}


/* Post Navigation Styles */
.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 30px 0;
}

.nav-previous,
.nav-next {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-previous:hover,
.nav-next:hover {
    color: #0056b3;
}



.recent-posts {
    max-width: 310px;
    min-width: 250px;
    height: fit-content;
    background-color: #E9F0F6;
    padding: 20px 30px;
}

.recent-posts>h2{
    font-size: 20px;
    font-weight: 700;
    padding-left: 10px;
    padding-bottom: 20px;
}

.recent-posts-list{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recent-post-thumbnail>img{
    width: 100px;
    height: 100px;
}

.recent-post-item>a{
    display: flex;
    gap: 14px;
    text-decoration: none;
}

.recent-post-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    width: fit-content;
}

.recent-post-title:after {
    content: "";
    border-bottom: 2px solid black;
    width: 40%;
    display: block;
    padding-top: 10px;
  }

.recent-post-excerpt {
    color: #000;
}

@media (max-width: 768px) {
    .project-container,
    .news-container {
        display: block !important;
        padding: 30px !important;
    }
    .project-detail-page .breadcrumb-list,
    .news-detail .breadcrumb-list {
        display: none !important;
    }

}


/* Comments Section Styles */
.project-comments,
.news-comments {
    background-color: #f5f7fa;
    padding: 30px 150px;
    margin-bottom: 40px;
}

.comments-title {
    color: #164194;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.comment-notes {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.comment-form-container {
    width: 100%;
}

.project-comments {
    display: flex;
    flex-direction: column;
}


.project-comments .wpcf7-textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    resize: vertical;
    min-height: 150px;
}

.project-comments .info{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.project-comments p {
    margin-bottom: 15px;
    flex: 1;
}

.project-comments .wpcf7-text,
.project-comments .wpcf7-email {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}


@media (max-width: 768px) {
    .project-comments,
    .news-comments {
        padding: 30px !important;
    }

    .comment-form {
        display: block;
    }

    .comment-info{
        flex-direction: column;
        gap: 0 !important ;
    }
}

.project-comments input[type="submit"] {
    background-color: #164194;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.project-comments input[type="submit"]:hover {
    background-color: #0d2b6b;
}


/* -------- contact ----------- */

.contact-page {
    width: 100%;
    margin: 0 auto;
}

.contact-content {
    padding: 0 100px 50px;
    background-color: #E9F0F6;
}

/* Intro section styles */
.contact-intro {
    text-align: center;
    padding: 40px 0;
}

.intro-text {
    font-size: 18px;
    margin-bottom: 10px;
    color: #555;
}

.intro-heading {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

/* Department cards styles */
.contact-departments {
    padding: 0 20px 50px;
}

.department-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.department-card {
    flex: 1;
    background-color: white;
    border-radius: 8px;
    padding: 25px 20px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    text-align: center;
}

.department-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.department-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.department-phone {
    font-weight: bold;
    color: #293D93;
    font-size: 16px;
}

/* Contact details section styles */
.contact-details {
    display: flex;
    flex-wrap: wrap;
    padding: 50px 20px;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-title {
    font-size: 24px;
    font-weight: bold;
    color: #293D93;
    margin-bottom: 20px;
}

.info-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-icon {
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
}

.location, .factory, .phone, .email {
    background-color: #3b82f6;
}

.info-content h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.info-content p {
    font-size: 14px;
    color: #666;
}

/* Contact form styles */
.contact-form {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.comment-info{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.contact-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form .wpcf7-form .wpcf7-text,
.contact-form .wpcf7-form .wpcf7-tel,
.contact-form .wpcf7-form .wpcf7-email,
.contact-form .wpcf7-form .wpcf7-textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-form .wpcf7-form .wpcf7-submit {
    background-color: #164194;
    color: white;
    border: none;
    padding: 10px 25px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s;
    border-radius: 5px;
}

.contact-form .wpcf7-form .wpcf7-submit:hover {
    background-color: #0d2b6b;
}

/* Responsive styles */
@media (max-width: 768px) {
    .contact-content {
        padding: 0 50px 50px;
    }

    .department-container, .contact-details {
        flex-direction: column;
        padding: 0 !important;
    }

    .contact-departments{
        padding: 30px 0;
    }
}
