/*
Theme Name: MverseMedia
Author: Duy Vien
Version: 1.0
*/


:root {
    --color-primary: #f7c169;
    --color-secondary: #2e7281;
    --color-light: #f5f5dc;
    --color-accent: #bb6e33;
    --color-soft: #ffcf9f;
    --font-main: 'Montserrat', sans-serif;


    --main-color: #f7c169;
    /* màu chính */
    --accent-1: #2e7281;
    --accent-2: #f5f5dc;
    --accent-3: #bb6e33;
    --accent-4: #ffcf9f;
    --text-dark: #222;
    --text-light: #fff;
}

body {
    font-family: var(--font-main);
    margin: 0;
    background-color: #fff;
}

.wide-container {
    padding-left: 160px;
    padding-right: 160px;
}

.topbar {
    background-color: var(--color-secondary);
    color: white;
    font-size: 14px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.topbar a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
}

/* .topbar a:hover {
    color: var(--color-primary);
} */

.topbar .social-icons a {
    margin-left: 12px;
    font-size: 16px;
}
.social-icons {
  display: flex;
  align-items: center;
  gap: 12px; /* giãn icon cho đẹp */
}
.social-icons i {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  width:24px;
  height:24px;
}



/* Thanh tìm kiếm */
.search-bar {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.search-bar input {
    border-radius: 20px;
    border: none;
    padding: 6px 35px 6px 15px;
    width: 100%;
    font-size: 14px;
    outline: none;
}

.search-bar button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-secondary);
    font-size: 16px;
}

.search-bar input:focus {
    box-shadow: 0 0 5px var(--color-primary);
}

.contact-info a {
    margin-right:0px;
}
/* ===== RESPONSIVE ===== */

/* Tablet (768px–991px) */
@media (max-width: 991px) {
    .topbar .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info {
        margin-bottom: 8px;
    }
	

    .social-icons {
        margin-top: 6px;
    }

    .search-bar {
        width: 70%;
    }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
    .topbar {
        font-size: 13px;
        display: none;
    }

    .topbar .container {
        flex-direction: column;
        text-align: center;
    }

    .contact-info a {
        display: block;
        margin: 3px 0;
    }

    .search-bar {
        width: 90%;
        margin: 5px 0;
    }

    .social-icons a {
        margin: 0 6px;
    }
}

/* === NAVBAR CHÍNH === */
.navbar {
    background-color: var(--text-light) !important;
    /* thay nền tối mặc định bằng accent */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    padding-top: 0;
    padding-bottom: 0;
}

/* Logo */
.navbar-brand {
    color: var(--main-color) !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: var(--accent-4) !important;
}



/* Menu item */
.navbar-nav .nav-link {
    color: var(--accent-1) !important;
    font-size: 17px;
    font-weight: 500;
    margin: 0 0.4rem;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
}

/* Hover + Active */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-secondary) !important;
    border-bottom: 2px solid var(--main-color);
}


/* Nút toggle (menu di động) */
.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(90%) sepia(50%) saturate(300%) hue-rotate(10deg);
}

/* === LOGO HÌNH ẢNH === */
.navbar-logo {
    height: 80px;
    /* Chiều cao tối ưu trong navbar */
    width: 80px;
    /* Giữ tỉ lệ gốc, không méo hình */
    object-fit: contain;
    /* Đảm bảo logo nằm gọn trong vùng */
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
    /* Nhẹ nhàng phóng to khi hover */
}

/* Nếu navbar thu nhỏ (mobile) => logo nhỏ lại */
@media (max-width: 768px) {
    .navbar-logo {
        height: 32px;
    }
}

/* === TEXT BÊN CẠNH LOGO === */
.brand-text {
    line-height: 1.3;
    bottom: 1;
}

.brand-name {
    font-size: 23px;
    /* margin-top: 4px; */
    font-weight: 700;
    /* color: var(--text-dark); */
    /* text-transform: uppercase; */
    background: linear-gradient(90deg, #d6a320, #d89b4a, #ffc180, #ffd7b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 23px;
    /* margin-top: 4px; */
    color: #000;
    letter-spacing: 1px;
}








/* ==== Nút Liên Hệ Ngay ====*/
.quick-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

/* nút tròn */
.qc-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* panel */
.qc-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #fff;
    border-radius: 12px;
    padding: 12px 0;
    width: 260px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);

    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: .25s ease;
}

/* khi mở */
.quick-contact.active .qc-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.qc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #111;
    text-decoration: none;
}

.qc-item:hover {
    background: #f5f5f5;
}

.qc-item img {
    width: 24px;
    height: 24px;
}
.qc-btn img {
    width: 50px;
    height: 50px;
}







/* === SLIDE BANNER === */
.hero-banner {
    position: relative;
    height: 100vh; /* hoặc 70vh nếu không muốn full */
    overflow: hidden;
    color: #fff;
}

/* Video nền */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lớp phủ giúp chữ dễ đọc */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

/* Nội dung */
.hero-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero-content h1{
    font-weight: 600;
}
.hero-content {
    max-width: 600px;
}
.btn-hero {
    display: inline-block;
    background: linear-gradient(90deg, #c49a34, #f8b84a);
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: linear-gradient(90deg, #f5c16b, #dca431);
    transform: translateY(-2px);
}












/* === DỊCH VỤ === */

.services {
    background: #fff;
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-1);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-item {
    background: var(--text-light);
    /* màu phụ nhẹ */
    padding: 40px 25px;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
	

}
.service-item p {
	margin-bottom: 0; 
    
	font-style:italic;
	align-content:center;
	min-height:60px;
}

.service-item:hover {
    background: #fff;
    border-color: #f7c169;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 48px;
    color: var(--accent-1);
    margin-bottom: 20px;
}

/*  */




.btn-service {
    display: inline-block;
    background: #f7c169;
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;

    text-decoration: none;
    transition: all 0.3s ease;
	
	
	margin-top: 20px;
    align-self: center; 
}

.btn-service:hover {
    background: #bb6e33;
    color: #fff;
}




/* === PARTNER === */
.partners {
    background: #fff;
    text-align: center;
    padding: 60px 0;
}


.logo-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.logo-track {
    display: flex;
    animation: scroll 20s linear infinite;
}

.logo-track img {
    width: 200px;
    height: auto;
    margin: 0 40px;
    /* filter: grayscale(100%); */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-track img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Hiệu ứng cuộn ngang */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}



/* === DỰ ÁN === */
/* Giữ nguyên desktop (không cần set gì thêm) */

/* Mobile */
@media (max-width: 768px) {
  .carousel,
  .carousel-inner,
  .carousel-item {
    min-height: 200px;
  }

  .carousel-item img {
    min-height: 200px;
    object-fit: cover; /* hoặc cover nếu bạn muốn */
  }
}




/* === FOOTER === */
.footer {
    background-color: #2e7281;
    color: #f5f5dc;
    padding: 60px 0 20px;
    font-family: "Montserrat", sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h5 {
    color: #f7c169;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #f5f5dc;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffcf9f;
}

.footer-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-right: 10px;

}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;

}

.footer-logo h4 {
    background: linear-gradient(90deg, #bb6e33, #f7c169, #ffcf9f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 20px;
}

.footer-social a {
    color: var(--text-light);
    font-size: 20px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a :hover {
    color: #ffcf9f;
    transform: translateY(-2px);
}



/* Icon Zalo (ảnh PNG) */
.footer-social .zalo-icon img {
    width: 17px;
    height: 17px;

    transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-social .zalo-icon:hover img {
    filter: drop-shadow(0 0 0 #f5b53d) brightness(1) saturate(100%) sepia(100%) hue-rotate(10deg);
    transform: scale(1.15);
}



/* Form đăng ký */
.footer-form {
    display: flex;
    background-color: #f5f5dc;
    border-radius: 8px;
    overflow: hidden;
}

.footer-form input {
    flex: 1;
    border: none;
    padding: 10px 14px;
    outline: none;
    font-size: 14px;
}

.footer-form button {
    background-color: #f7c169;
    border: none;
    padding: 0 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer-form button:hover {
    background-color: #bb6e33;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    font-size: 14px;
}




/* === ABOUT US === */
@layer base, utilities, components, layout, overrides;

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@property --direction {
    syntax: '<number>';
    initial-value: 1;
    inherits: true;
}



@layer base {
    html {
        --surface-1: oklch(20% 0.03 269);
        --surface-2: oklch(26% 0.04 269);
        --text-1: oklch(91% 0.03 61);
        --body: 400 1rem/1.5rem system-ui, sans-serif;
        --display: 400 3.562rem/4rem system-ui, sans-serif;
        --display-small: 400 2.25rem/2.75rem system-ui, sans-serif;
        --label: 500 0.875rem/1.25rem system-ui, sans-serif;
        --title: 400 1.375rem/1.75rem system-ui, sans-serif;
        --tooltip-offset: 200%;
    }


}

@layer layout {
    .section {
        display: grid;
        max-inline-size: 100%;
        min-block-size: 100svb;
        overflow-x: clip;
        padding-block: 80px;
        place-items: center;
    }

    .section-wrapper {
        display: grid;
        place-items: center;
    }

    .header {
        display: grid;
        place-items: center;
        gap: 16px;
        z-index: 2;

        /* lg-n-above */
        @media (width >=1024px) {
            /* Placing header and cards in the same grid cell to stack them */
            /* Both elements use grid-area: 1/1 to overlap within the same area */
            grid-area: 1/1;
        }
    }

    .hgroup {
        display: grid;
        place-items: center;
        gap: 8px;
    }

    .headline {
        font: var(--display-small);

        /* lg-n-above */
        @media (width >=1200px) {
            font: var(--display);
        }
    }

    .section-link {
        color: var(--text-1);
        text-decoration: underline;
        font: var(--label);

        /* lg-n-below */
        @media (width < 1024px) {
            display: none;
        }
    }

	
.aboutus-header-content{
	 list-style: none;
	font-size:larger;
	font-weight:600;
        text-decoration: none;
        color: #fff;

	}
    .cards {
        list-style: none;
        padding: 0;

        /* lg-n-below */
        @media (width < 1024px) {
            display: grid;
            grid-auto-flow: column;
            gap: 32px;
            max-inline-size: 100%;
            overflow-x: scroll;
            padding-block: 32px;
            padding-inline: 32px;
        }

        /* lg-n-above */
        @media (width >=1024px) {
            --avatar-opacity: 1;
            --avatar-img-scale: 1;
            --tooltip-visibility: hidden;
            --tooltip-opacity: 0;
            --animation-state: running;

            display: grid;
            /* Placing header and cards in the same grid cell to stack them */
            /* Both elements use grid-area: 1/1 to overlap within the same area */
            grid-area: 1/1;
            min-block-size: 700px;
            place-items: center;

            &:has(.avatar-link-wrapper:is(:hover, :focus-visible, :active)) {
                --animation-state: paused;
                /* Reduces opacity of non-hovered avatars to create a layered effect */
                --avatar-opacity: 0.4;
            }
        }
    }

    .card {
        padding: 0;

        /* lg-n-above */
        @media (width >=1024px) {
            --radius: min(620px, 40cqi);
            --offset-per-child: calc(360deg / (var(--nth-siblings) + 1));
            --angle-offset: calc(var(--nth-child) * var(--offset-per-child));
            --inline-ratio: 1/1;
            /* Keeps the horizontal scaling unchanged */
            --block-ratio: 1/2;
            /* Reduces vertical scaling, making it an oval */

            /* Adjusts tooltip direction based on avatar position */
            /* Future improvement: Replace with the sign() CSS function when it becomes widely supported */
            /* Reference: https://developer.mozilla.org/en-US/docs/Web/CSS/sign */
            --direction: min(max(calc(cos((var(--angle) + var(--angle-offset))) * -100), -1), 1);

            /* Stack all cards in the same grid cell */
            grid-area: 1/1;

            /* Based on Bramus' article, modified with inline/block ratios to create an oval shape */
            /* Source: https://web.dev/articles/css-trig-functions */

            translate: calc(cos((var(--angle) + var(--angle-offset))) * var(--radius) * var(--inline-ratio)) calc(sin((var(--angle) + var(--angle-offset))) * var(--radius) * var(--block-ratio) * -1);

            animation: adjust-angle linear 40s infinite reverse var(--animation-state);
        }
    }

    /* Continuously rotates the avatars in a circular motion */
    @keyframes adjust-angle {
        to {
            --angle: 360deg;
        }
    }

    .avatar-link-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        color: var(--text-1);

        &:is(:hover, :focus-visible, :active) {
            --avatar-img-scale: 1.1;
            --avatar-opacity: 1;
            --tooltip-opacity: 1;
            --tooltip-visibility: visible;
        }

        /* lg-n-below */
        @media (width < 1024px) {
            flex-direction: column;
            gap: 16px;
        }
		
    }

    .visual {
        aspect-ratio: 1;
        border-radius: 1rem;
        box-shadow: none;
        inline-size: 240px;
        opacity: var(--avatar-opacity);
        overflow: clip;
        transition: opacity 0.3s ease;
        background: transparent;
        border: none;
		display: flex;
    flex-direction: column; /* chữ ở trên, ảnh ở dưới */
    justify-content: center; /* căn giữa theo chiều dọc */
    align-items: center; 
		
		background-color: black;
		
		 

        /* lg-n-above */
        @media (width >=1024px) {
            inline-size: 144px;
        }
    }

    .avatar-img {
        background-color: var(--surface-2);
        block-size: 100%;
        display: block;
        inline-size: 100%;
        object-fit: cover;
        scale: var(--avatar-img-scale, 1);
        transition: scale 0.3s ease;
    }

    .tooltiptext {
        display: grid;
        gap: 4px;

        /* lg-n-above */
        @media (width >=1024px) {
            position: absolute;
            /* Adjusts tooltip placement based on avatar position */
            /* Moves the tooltip to the left or right depending on the avatar's location */
            /* --direction is either 1 (right) or -1 (left) */
            max-inline-size: 20ch;
            opacity: var(--tooltip-opacity);
            transition-duration: 0.3s;
            transition-property: opacity, visibility;
            transition-timing-function: ease;
            translate: 80% 0;
            visibility: var(--tooltip-visibility);
            color: black;
			width:400px;
            /* make the tooltips non-interactive */
            pointer-events: none;
            user-select: none;

            /* Adjusts text alignment based on avatar position */
            /* Ensures the tooltip text aligns properly when shifted left or right */
            @container style(--direction: -1) {
                text-align: end;
                translate: calc(-1 * var(--tooltip-offset)) 0;
            }
        }
    }

    .team-name {
        font: var(--title);
		width: 400px;
    }
}

/* MOBILE FIX */
@media (width < 1024px) {
    .section {
        background: #fff;
    }

    .headline,
    .tagline,
    .team-name {
        color: #000;
    }

    .team-title,
    .team-bio {
        color: #444;
    }

    .cards {
        grid-auto-flow: row;
        grid-template-columns: 1fr;
        overflow-x: hidden;
    }

    .card {
        margin-block: 24px;
        animation: none;
        translate: none;
        border: none;
    }

    .avatar-link-wrapper {
        text-decoration: none;
        text-align: center;

    }

    .visual {
        inline-size: min(280px, 80vw);
        border-radius: 16px;
    }

    .tooltiptext {
        position: static;
        opacity: 1;
        visibility: visible;
        translate: none;
        max-inline-size: none;
    }
}

@media (width < 1024px) {
    .card {
        transform: none;
        translate: none;
        animation: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(280px, 85vw);
    }

    .avatar-link-wrapper {
        align-items: center;
        text-align: center;
        text-decoration: none;
    }

    .avatar-link-wrapper * {
        text-decoration: none;
    }

    .tooltiptext {
        position: static;
        opacity: 1;
        visibility: visible;
        translate: none;
        max-inline-size: none;
    }
}

@media (width < 1024px) {
    .avatar-link-wrapper {
        --avatar-img-scale: 1 !important;
    }

    .avatar-img {
        scale: 1 !important;
    }
}


/* === our service === */

.our-services {
    background-color: #f9f9f9;
}

.service-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 60px 0;
    gap: 40px;
	scroll-margin-top: 100px;
    flex-wrap: wrap;
}

.service-block.reverse {
    flex-direction: row-reverse;
}

.service-img {
    flex: 1 1 45%;
}

.service-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.service-content {
    flex: 1 1 45%;
}

.service-content h3 {
    font-size: 1.8rem;
    color: var(--accent-1);
    margin-bottom: 15px;
	font-weight:600;
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
}

.btn-service {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-service:hover {
    background: var(--main-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {

    .service-block,
    .service-block.reverse {
        flex-direction: column;
        text-align: center;
    }
}

/* ====== CUSTOMER ====== */
.customers-section {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

/* layout */
.customer-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

/* IMAGE */
.customer-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
    /* animation start */
    transform: translateX(-80px);
    opacity: 0;
    transition: all 1s ease;
}

/* CONTENT */
.customer-content {
    transform: translateY(40px);
    opacity: 0;
    transition: all 1s ease 0.2s;
}

.customer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.customer-content h3 {
    font-size: 32px;
    font-weight: 600;
}

.customer-content .service {
    color: var(--accent-1);
    margin: 10px 0;
    font-size: 20px;
}

.customer-content .desc {
    /* color: #ccc; */
    max-width: 480px;
}

/* ACTIVE STATE */
.fade-section.show .customer-image img {
    transform: translateX(0);
    opacity: 1;
}

.fade-section.show .customer-content {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .customer-item {
        grid-template-columns: 1fr;
    }
}




/* === contact us === */

.contact-header {
    width: 100%;
    height: 360px;        /* CỐ ĐỊNH – đừng min-height */
    overflow: hidden;    /*chặn tràn */
    position: relative;

    background-image: url("../images/BannerContactUs.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; /* hoặc contain nếu bạn muốn */
}


.contact-header .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}



/* đọc chữ dễ hơn (optional nhưng nên có) */
.contact-header::after {
    content: "";
    position: absolute;
    inset: 0;
    
    z-index: 1;
}
.contact-header h1,
.contact-header p {
    color: #fff;
	background-color:#000;
	 display: inline-block;   /*  không full ngang */
    padding: 6px 16px;
    margin: 6px auto;        /*  căn giữa */
    text-align: center;
}

.info-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.info-box h4 {
    color: #1e3163;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-form {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 30px;
}

.btn-submit {
    background-color: #1e3163;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 10px;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: #0b1736;
}

.map-container {
    margin-top: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.btn-submit {
    position: relative;
    min-width: 160px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.d-none {
    display: none;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* =========================
   RESPONSIVE GLOBAL
========================= */

/* Laptop nhỏ (≤1200px) */
@media (max-width: 1200px) {
    .wide-container {
        padding-left: 80px;
        padding-right: 80px;
    }

    .hero-content h1 {
        font-size: 40px;
    }
}

/* Tablet (≤992px) */
@media (max-width: 992px) {
    .wide-container {
        padding-left: 40px;
        padding-right: 40px;
    }

    /* NAVBAR */
    .navbar {
        padding: 10px 0;
    }

    .navbar-logo {
        height: 50px;
        width: 50px;
    }

    .brand-name {
        font-size: 18px;
    }

    /* HERO */
    .hero-banner {
        height: auto;
        padding: 60px 0;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-image img {
        max-width: 400px;
    }

    /* ABOUT / SERVICE */
    .about-section,
    .about-section.reverse,
    .service-block,
    .service-block.reverse {
        flex-direction: column;
        text-align: center;
    }

    .about-text ul {
        text-align: left;
        display: inline-block;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    .wide-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* TOPBAR */
    .topbar {
        display: none;
    }

    /* NAVBAR */
    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        font-size: 16px;
        padding: 10px 0;
    }

    /* HERO */
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .btn-hero {
        padding: 10px 24px;
    }

    /* SERVICES GRID */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* PROJECTS */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-item img {
        height: 220px;
    }

    /* FOOTER */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
    .logo-track img {
	    height: 150px;
	}
    .footer-social {
        margin-top: 15px;
    }

    /* CONTACT */
    .contact-form,
    .info-box {
        padding: 25px;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* Mobile nhỏ (≤480px) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .service-item h3 {
        font-size: 20px;
    }

    .btn-service {
        padding: 8px 18px;
        font-size: 14px;
    }
}








