/* ==================== CONTACT ==================== */
.contact-info {
    display: flex;
    gap: 80px;
    margin: 60px 0;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 70px;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(45, 90, 39, 0.08);
    border: 1px solid rgba(232, 240, 228, 0.8);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

/* Decorative leaf elements */
.contact-info::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.08), transparent);
    border-radius: 50%;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

.contact-info::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45, 90, 39, 0.05), transparent);
    border-radius: 50%;
    z-index: 0;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

@media (max-width: 992px) {
    .contact-info {
        flex-direction: column;
        gap: 50px;
        padding: 50px;
    }
}

@media (max-width: 768px) {
    .contact-info {
        padding: 40px 25px;
        margin: 40px 0;
        gap: 30px;
    }

    .contact-info::before {
        font-size: 2.5rem;
        top: 15px;
        right: 20px;
    }

    .contact-info::after {
        font-size: 2rem;
        bottom: 30px;
        left: 15px;
    }
}

/* Slideshow ảnh chị Yến */
.contact-gallery {
    flex: 0 0 45%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(45, 90, 39, 0.15);
    position: relative;
    min-height: 400px;
}

.contact-gallery::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.02), transparent);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 992px) {
    .contact-gallery {
        flex: 0 0 100%;
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .contact-gallery {
        min-height: 280px;
    }
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.swiper-slide:hover img {
    transform: scale(1.05);
}

/* Navigation buttons - Modern styling */
.swiper-button-next,
.swiper-button-prev {
    background: rgba(255, 255, 255, 0.6) !important; /* Độ trong suốt nhẹ */
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    backdrop-filter: blur(4px); /* Hiệu ứng mờ kính */
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-family: swiper-icons; /* Hoặc dùng font-size nhỏ lại */
    font-size: 1.1rem !important; /* Giảm kích thước mũi tên */
    font-weight: 900;
    color: var(--primary-color) !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color) !important;
    transform: scale(1.05);
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    color: #ffffff !important;
}

.swiper-button-next {
    right: 15px !important;
}
.swiper-button-prev {
    left: 15px !important;
}

/* Contact content */
.contact-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.contact-content h2 {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.contact-details {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.contact-label {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    flex-shrink: 0;
    min-width: 75px;
}

.contact-value {
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

.contact-hotline {
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

.hotline-highlight {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.3px;
}

/* Contact Buttons - Modern Glass Morphism */
.contact-buttons {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-text {
    letter-spacing: 0.4px;
}

.btn-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.btn-contact:hover::before {
    left: 100%;
}

.btn-contact > * {
    position: relative;
    z-index: 1;
}

.btn-contact.zalo {
    background: linear-gradient(135deg, var(--primary-color), #1f3f1b);
    color: white;
    box-shadow: 0 12px 30px rgba(45, 90, 39, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-contact.zalo:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(45, 90, 39, 0.4);
}

.btn-contact.zalo:hover .btn-icon {
    transform: scale(1.2) rotate(5deg);
}

.btn-contact.qr-fanpage {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.7));
    color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(45, 90, 39, 0.15);
    border: 1.5px solid rgba(232, 240, 228, 0.8);
    backdrop-filter: blur(10px);
}

.btn-contact.qr-fanpage:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(212, 163, 115, 0.3);
    border-color: transparent;
}

.btn-contact.qr-fanpage:hover .btn-icon {
    transform: scale(1.2) rotate(-5deg);
}

@media (max-width: 992px) {
    .contact-content h2 {
        font-size: 2.1rem;
    }
}

@media (max-width: 768px) {
    .contact-content h2 {
        font-size: 1.95rem;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 35px;
    }

    .btn-contact {
        width: 100%;
        padding: 14px 30px;
        font-size: 1rem;
    }

    .contact-item {
        font-size: 0.95rem;
    }

    .contact-label {
        font-size: 0.95rem;
        min-width: 65px;
    }

    .hotline-highlight {
        font-size: 0.98rem;
    }
}

@media (max-width: 480px) {
    .contact-content h2 {
        font-size: 1.7rem;
    }

    .contact-item {
        font-size: 0.9rem;
        gap: 8px;
    }

    .contact-icon {
        font-size: 1.2rem;
        width: 24px;
        height: 24px;
    }

    .btn-contact {
        padding: 12px 24px;
        font-size: 0.95rem;
        gap: 8px;
    }

    .btn-icon {
        font-size: 1rem;
    }
}

/* ==================== HOW TO BUY SECTION ==================== */
.how-to-buy {
    display: flex;
    gap: 80px;
    margin: 100px 0;
    align-items: center;
}

.how-to-buy-image {
    flex: 0 0 40%;
}

.how-to-buy-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.how-to-buy-content {
    flex: 1;
}

.how-to-buy-content h2 {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.how-to-buy-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 50px;
    line-height: 1.8;
}

/* Steps */
.steps {
    margin-bottom: 50px;
}

.step {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
}

/* Step numbers - Modern Design */
.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #c9924a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(212, 163, 115, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.step-number::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent-color), #c9924a);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step:hover .step-number {
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(212, 163, 115, 0.4);
}

.step h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.step p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Info Section */
.how-to-buy-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(232, 240, 228, 0.6);
}

/* Info items - Glass Morphism */
.info-item {
    padding: 24px;
    background: rgba(232, 240, 228, 0.4);
    border: 1px solid rgba(232, 240, 228, 0.8);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
}

.info-item:hover {
    background: rgba(232, 240, 228, 0.6);
    border-color: rgba(212, 163, 115, 0.6);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(45, 90, 39, 0.15);
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.phone {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .how-to-buy {
        flex-direction: column;
        gap: 50px;
    }

    .how-to-buy-image {
        flex: 1;
        max-width: 100%;
    }

    .how-to-buy-content h2 {
        font-size: 2.2rem;
    }

    .how-to-buy-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .how-to-buy {
        margin: 60px 0;
    }

    .how-to-buy-content h2 {
        font-size: 1.8rem;
    }

    .how-to-buy-desc {
        font-size: 1rem;
    }

    .step {
        gap: 20px;
    }

    .step h3 {
        font-size: 1.15rem;
    }

    .step p {
        font-size: 0.95rem;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .contact-buttons .btn-primary {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .contact-info {
        padding: 25px 15px;
    }

    .contact-content h2 {
        font-size: 1.7rem;
    }

    .contact-details p {
        font-size: 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .step h3 {
        font-size: 1.05rem;
    }

    .how-to-buy-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==================== HOW TO BUY SECTION ==================== */
.how-to-buy {
    display: flex;
    gap: 80px;
    margin: 100px 0;
    align-items: center;
}

.how-to-buy-image {
    flex: 0 0 40%;
}

.how-to-buy-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.how-to-buy-content {
    flex: 1;
}

.how-to-buy-content h2 {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.how-to-buy-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 50px;
    line-height: 1.8;
}

/* Steps */
.steps {
    margin-bottom: 50px;
}

.step {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
}

.step h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.step p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Info Section */
.how-to-buy-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(232, 240, 228, 0.6);
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.phone {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .how-to-buy {
        flex-direction: column;
        gap: 50px;
    }

    .how-to-buy-image {
        flex: 1;
        max-width: 100%;
    }

    .how-to-buy-content h2 {
        font-size: 2.2rem;
    }

    .how-to-buy-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .how-to-buy {
        margin: 60px 0;
    }

    .how-to-buy-content h2 {
        font-size: 1.8rem;
    }

    .how-to-buy-desc {
        font-size: 1rem;
    }

    .step {
        gap: 20px;
    }

    .step h3 {
        font-size: 1.15rem;
    }

    .step p {
        font-size: 0.95rem;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .contact-buttons .btn-primary {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .contact-info {
        padding: 25px 15px;
    }

    .contact-content h2 {
        font-size: 1.7rem;
    }

    .contact-details p {
        font-size: 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .step h3 {
        font-size: 1.05rem;
    }

    .how-to-buy-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* ==================== TỐI ƯU RESPONSIVE TỔNG THỂ ==================== */

/* 1. Cho máy tính bảng và màn hình nhỏ (Dưới 1024px) */
@media (max-width: 1024px) {
    .contact-info, .how-to-buy {
        gap: 40px;
        padding: 50px;
    }
    
    .contact-gallery {
        flex: 0 0 50%;
        min-height: 350px;
    }
}

/* 2. Cho màn hình dưới 992px (Chuyển sang dạng cột dọc) */
@media (max-width: 992px) {
    .contact-info, .how-to-buy {
        flex-direction: column;
        padding: 40px;
        margin: 40px 0;
        text-align: center; /* Căn giữa text cho đẹp khi xếp dọc */
    }

    .contact-gallery, .how-to-buy-image {
        width: 100%;
        flex: none;
        max-width: 600px; /* Khống chế chiều rộng ảnh cho cân đối */
        margin: 0 auto;
    }

    .contact-item {
        justify-content: center; /* Căn giữa các dòng thông tin */
    }

    .how-to-buy-info {
        grid-template-columns: 1fr 1fr; /* Vẫn giữ 2 cột ở tablet */
    }
}

/* 3. Cho điện thoại (Dưới 768px) */
@media (max-width: 768px) {
    .contact-info {
        padding: 30px 20px;
    }

    .contact-content h2, .how-to-buy-content h2 {
        font-size: 1.8rem;
    }

    .contact-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-contact {
        width: 100%;
        padding: 12px;
    }

    .how-to-buy-info {
        grid-template-columns: 1fr; /* Chuyển về 1 cột */
        gap: 15px;
    }

    .step {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* 4. Cho điện thoại nhỏ (Dưới 480px) */
@media (max-width: 480px) {
    .contact-info {
        padding: 25px 15px;
        border-radius: 20px;
    }

    .contact-content h2 {
        font-size: 1.5rem;
    }

    .contact-label {
        min-width: 60px;
        font-size: 0.9rem;
    }

    .contact-value, .contact-hotline {
        font-size: 0.9rem;
    }

    .contact-gallery {
        min-height: 250px;
    }

    /* Mũi tên slider nhỏ lại trên mobile */
    .swiper-button-next, .swiper-button-prev {
        width: 35px !important;
        height: 35px !important;
    }
    
    .swiper-button-next::after, .swiper-button-prev::after {
        font-size: 0.8rem !important;
    }
}
/* Tạo nền có chiều sâu */
body {
    background: radial-gradient(circle at top right, #f7faf65a 0%, #fffdfd 100%);
    position: relative;
    overflow-x: hidden;
}

/* Thêm họa tiết lá cây trang trí ở góc (Ví dụ dùng icon hoặc hình ảnh) */
body::before {
    content: "🌿"; 
    position: absolute;
    font-size: 200px;
    opacity: 0.05;
    top: -50px;
    left: -50px;
    transform: rotate(-15deg);
}

body::after {
    content: "🕊️";
    position: absolute;
    font-size: 150px;
    opacity: 0.03;
    bottom: 50px;
    right: 20px;
}

/* Làm mịn lại khối Card chính */
.contact-info {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.77);
    box-shadow: 0 30px 60px rgba(45, 90, 39, 0.1) !important;
}