﻿@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --primary-color: #7d5a2d; /* Màu nâu đồng */
    --bg-color: #f9f5f0; /* Màu giấy cũ */
    --text-dark: #333;
    --border-style: 1px solid #d4c1a1;
    --text-gold: #7d5a2d;
    --sub-text: #555;
    --line-color: #d4c1a1;
}

body {
    margin: 0;
    font-family: 'Lora', serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    text-align: center;
}


.consult-wrapper {
    padding: 60px 5%;
    background-color: #ffff; /* Nền nhạt để làm nổi bật Form */
    display: flex;
    justify-content: center;
}

.consult-card {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: #fff;
    border-radius: 25px; /* Bo góc mềm mại giống mẫu 2 */
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 1px solid rgba(184, 134, 11, 0.2); /* Viền gold mảnh đồng bộ */
}

/* Cột bên trái */
.consult-left {
    flex: 1.2;
    position: relative;
}

.image-bg {
    height: 100%;
    position: relative;
}

    .image-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.image-content {
    position: absolute;
    inset: 0;
    background: rgba(5, 22, 46, 0.4); /* Lớp phủ Navy trong suốt */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.script-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hotline-display {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--red-brand);
    background: #fff;
    padding: 8px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* Cột bên phải */
.consult-right {
    flex: 1;
    padding: 40px;
    background-image: url('https://png.pngtree.com/thumb_back/fh260/background/20231024/pngtree-textured-crumpled-paper-background-with-copy-space-isolated-on-a-white-image_13693394.png');
    background-size: cover;
    color: #fff;
}

@media (max-width: 576px) {
    .consult-right {
        padding: 25px;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.main-logo {
    width: 50px;
    filter: brightness(0) invert(1); /* Chuyển logo sang trắng cho nổi trên nền Navy */
}

.brand-text {
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-top: 5px;
}

.input-box {
    margin-bottom: 15px;
}

    .input-box input, .input-box textarea {
        width: 100%;
        background: white;
        padding: .75rem 0;
        border: 2px solid rgb(200 145 10);
        border-radius: 8px;
        outline: none;
        transition: 0.3s;
    }

        .input-box input:focus {
            border-color: #b8860b;
            background: rgba(255, 255, 255, 0.1);
        }

.submit-btn-gold {
    width: 100%;
    padding: 15px;
    background: var(--gold-gradient);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.4s;
}

    .submit-btn-gold:hover {
        transform: scale(1.02);
        box-shadow: 0 5px 15px rgba(184, 134, 11, 0.4);
    }

/* Mobile */
@media (max-width: 768px) {
    .consult-card {
        flex-direction: column;
    }

    .hotline-display {
        font-size: 1.6rem;
    }
}

https://png.pngtree.com/thumb_back/fh260/background/20231024/pngtree-textured-crumpled-paper-background-with-copy-space-isolated-on-a-white-image_13693394.png
/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.overlay {
    background: linear-gradient(rgb(0 0 0 / 76%), rgba(0, 0, 0, 0.2)), url(/img/tuong-12-chan-duong.webp);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
}



.hero-content {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

    .hero-content .cta-buttons {
        margin-top: auto;
    }

    .hero-content h1 {
        color: antiquewhite;
        font-size: clamp(2rem, 0.3846rem + 4.4872vw, 3.75rem);
        margin-bottom: 10px;
        margin-top: 0;
    }

        .hero-content h1 span {
            font-style: italic;
            color: #f1c40f;
        }

@media(min-width:768px) {
    .overlay {
        align-items: center;
    }

    .hero-content h1 {
        margin-top: 0px;
    }
}

.subtitle {
    font-size: 1.5rem;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    display: inline-block;
    padding: 10px 0;
}

.cta-buttons {
    margin-top: 30px;
    text-align: center;
}

.btn {
    padding: 12px 25px;
    text-decoration: none;
    margin: 10px auto;
    display: inline-block;
    transition: 0.3s;
    border-radius: 3px;
    font-weight: bold;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-secondary {
    background: rgba(255,255,255,0.9);
    color: var(--primary-color);
}
/*slide*/
.slider-wrapper {
    overflow: hidden; /* Ẩn phần thừa */
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    width: max-content; /* Quan trọng: để các card nằm trên 1 hàng dài */
}

/* Portfolio Cards */
.project-card {
    margin-right: 20px;
    flex-shrink: 0;
    width: 40rem;
    background: white;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

    .project-card img {
        max-width: 100%;
        border-radius: 12px;
        height: 250px;
        object-fit: cover;
    }

    .project-card p {
        font-weight: bold;
        margin: 8px auto;
    }

@media (min-width: 992px) {
    .project-card img {
        height: 350px;
    }
}
/* Common Sections */

:root {
    --gold-color: #b8860b; /* Màu vàng đồng từ icon kim cương */
    --old-paper: #fdfaf5; /* Màu nền giấy cũ nhẹ */
    --text-brown: #5d3a1a; /* Màu nâu trầm */
    --border-color: #e9dcc6; /* Màu vạch ngăn cách */
}

.tech-section {
    background-color: var(--old-paper);
    padding: 60px 0;
    font-family: 'Roboto', sans-serif;
}


.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    color: var(--text-brown);
    margin-bottom: 50px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 50px;
    position: relative;
    font-size: clamp(1.75rem, 1.1923rem + 2.2436vw, 2.875rem);
}

    .section-title::after {
        content: '';
        display: block;
        width: 100px;
        height: 2px;
        background: var(--primary-color);
        margin: 15px auto;
    }

.tech-grid {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0; /* Để các thẻ sát nhau tạo vạch ngăn */
}

.tech-card {
    background: white;
    padding: 40px 16px 25px;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
    position: relative;
    /* Hiệu ứng đổ bóng nhẹ như ảnh 2 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

    /* Tạo vạch ngăn cách tinh tế giữa các mục như ảnh 1 */
    .tech-card:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%;
        width: 1px;
        background-color: var(--border-color);
    }

    .tech-card:hover {
        transform: translateY(-10px);
        z-index: 2;
        box-shadow: 0 15px 40px rgba(184, 134, 11, 0.1);
    }

/* Icon tròn phong cách ảnh 1 & 2 */
.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #fcf6eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

    .icon-wrapper span {
        font-size: 40px;
        color: var(--gold-color);
    }

.tech-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-brown);
    font-size: 20px;
    margin-bottom: 15px;
}

.tech-card p {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 0;
}

/* Responsive cho mobile */
@media (max-width: 992px) {
    .tech-grid {
        flex-wrap: wrap;
    }

    .tech-card {
        min-width: 40%;
        margin-bottom: 0;
        padding: 40px 25px 30px;
    }

        .tech-card:nth-child(2)::after {
            display: none;
        }
}

@media (max-width: 600px) {
    .tech-grid {
        display: block;
    }

    .tech-card {
        margin-bottom: 1.5rem;
        /*min-width: 100%;*/
        border-bottom: 1px solid var(--border-color);
    }

        .tech-card::after {
            display: none;
        }
}

.section {
    background-image: url('https://png.pngtree.com/thumb_back/fh260/background/20231024/pngtree-textured-crumpled-paper-background-with-copy-space-isolated-on-a-white-image_13693394.png');
    background-size: cover;
    padding: 60px 0;
    border-bottom: var(--border-style);
}



.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}


/* Tech Info Circle Icons */
.tech-icon-circle {
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

/* Footer */
.final-cta {
    background: url('https://www.transparenttextures.com/patterns/cream-paper.png');
    padding: 80px 20px;
    text-align: center;
    border-top: 5px double var(--primary-color);
}
/*thêm 1*/




/* Tiêu đề có 2 đường kẻ ngang */
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

    .header-wrapper::before, .header-wrapper::after {
        content: "";
        flex: 1;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--line-color), transparent);
        max-width: 300px;
    }


.main-title {
    margin: 0 auto;
    font-weight: 500;
    font-size: clamp(1.75rem, 1.1923rem + 2.2436vw, 2.875rem);
    color: #1a1a1a;
    font-weight: 700;
}
/* Grid layout */
.features-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}



/* Icon tròn */
.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #e8dccb;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

    .icon-wrapper img {
        width: 45px;
        height: 45px;
        opacity: 0.8;
        filter: sepia(0.5) saturate(2); /* Tạo màu đồng cho icon */
    }

    .icon-wrapper .material-symbols-outlined {
        font-size: 2rem;
        color: #9e752c;
    }


/* Đường kẻ dọc ngăn cách */
.vertical-divider {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--line-color), transparent);
    align-self: center;
}

/* Responsive cho điện thoại */
/* --- Cấu trúc chung --- */

.why-choose-us {
    text-align: center;
    padding: 60px 0;
    background-color: #f9f9f9; /* Màu nền nhẹ để nổi bật khối */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.header-wrapper {
    text-align: center;
    margin-bottom: 40px;
}



/* --- Layout cho Desktop (Màn hình lớn) --- */
.features-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Đảm bảo các divider cao bằng nhau */
}

.feature-item {
    padding: 0 15px;
    transition: transform 0.3s ease;
    flex: 1;
    text-align: center;
    padding: 20px;
}

    .feature-item:hover {
        transform: translateY(-5px);
    }

    .feature-item h3 {
        color: var(--text-gold);
        font-size: 18px;
        margin-bottom: 10px;
    }

@media (min-width: 992px) {
    .feature-item {
        padding: 20px 35px;
    }
}

@media (min-width: 1200px) {
    .feature-item {
        padding: 30px;
    }
}



.icon-wrapper .material-symbols-outlined {
    font-size: 40px;
    color: #d4a373; /* Màu vàng đồng tinh tế */
    /* margin-bottom: 15px;*/
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #333;
}


.feature-item p {
    font-style: italic;
    margin: 0;
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

/* Thanh ngăn cách dọc */
.vertical-divider {
    width: 1px;
    background-color: #e0e0e0;
    margin: 20px 0;
}

/* --- Media Queries (Responsive) --- */

/* Tablet: Chuyển sang 2 cột x 2 hàng */
@media (max-width: 992px) {
    .features-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Chia 2 cột đều nhau */
        gap: 20px;
    }

    .vertical-divider {
        display: none; /* Ẩn vạch dọc vì không còn nằm ngang hàng */
    }

    .feature-item {
        border: 1px solid #eee; /* Thêm viền nhẹ để phân tách thay divider */
        border-radius: 8px;
        background: #fff;
    }
}

.br-title {
    display: none;
}
/* Mobile: Chuyển sang 1 cột duy nhất */
@media (max-width: 576px) {
    .br-title {
        display: block;
    }

    .features-grid {
        grid-template-columns: 1fr; /* 1 cột duy nhất */
    }

    .feature-item {
        padding: 25px 15px;
    }
}
/*chuyển động*/

