/**
* Theme Name: Immigo Child
* Description: This is a child theme of Immigo, generated by Merlin WP.
* Author: <a href="http://themeforest.net/user/theme-kalia">Theme Kalia</a>
* Template: immigo
* Version: 1.3
*/

/* -------------------------------------------------------------
 * Custom Styles for Redesigned About Us (Giới Thiệu) Landing Page
 * ------------------------------------------------------------- */

:root {
    --primary-color: #f172a8;      /* Red representing Lukvisa/Hanotours branding */
    --primary-hover: #f172a8;
    --dark-color: #1a1e21;
    --light-bg: #f8f9fa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 45px rgba(209, 26, 42, 0.12);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-landing-wrapper {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: #4a4a4a;
    overflow-x: hidden;
}

/* 1. Hero Section */
/* .about-landing-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0 50px; 
    color: #004dc0;
    min-height: 320px; 
    display: flex;
    align-items: center;
} */

.about-landing-hero {
    width: min(1180px, calc(100% - 30px));
    max-width: 1180px;
    margin: 0 auto;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 70px 0 45px;
    color: #004dc0;
    min-height: 320px;

    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.about-landing-hero .auto-container {
    width: 100%;
}

.about-landing-hero .hero-content {
    max-width: 800px;
}

.about-landing-hero .about-breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.about-landing-hero .about-breadcrumb a {
    color: #f76bdf;
    text-decoration: none;
}

.about-landing-hero .about-breadcrumb a:hover {
    color: var(--primary-color);
}

.about-landing-hero .hero-title {
    font-size: 34px; /* Slightly smaller title for balance */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    text-transform: none;
    color: #f76bdf !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    max-width: 470px;
}

.about-landing-hero .hero-desc {
    font-size: 16px; /* Slightly smaller desc */
    max-width: 450px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    color: #004dc0;
}

/* Trust Badges in Hero */
.hero-trust-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.trust-badge-mini {
    background: #528ffe;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

/* .trust-badge-mini:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
} */

.trust-badge-mini .badge-icon {
    font-size: 16px;
}

.about-landing-hero .hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Common Buttons */
.about-btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.about-btn.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
}

.about-btn.primary-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(209, 26, 42, 0.35);
}

.about-btn.outline-btn {
    background-color: #528ffe;
    border-color: #fff;
    color: #fff;
}

.about-btn.outline-btn:hover {
    background-color: #fff;
    color: var(--dark-color);
    transform: translateY(-2px);
}

.about-btn.large-btn {
    padding: 18px 40px;
    font-size: 16px;
}

/* 2. Intro Section */
.about-intro-section {
    padding: 90px 0;
    background-color: #fff;
}

.about-intro-row {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-intro-text {
    flex: 1;
}

.about-intro-text .intro-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-intro-visual {
    flex: 1;
    position: relative;
    padding-bottom: 50px; /* Space reserved to prevent badge card from overlapping the next section */
}

/* Benefits Checklist */
.benefits-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-checklist li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.benefits-checklist .check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(209, 26, 42, 0.1);
    color: var(--primary-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 15px;
    font-weight: bold;
    flex-shrink: 0;
}

/* Visual Badges */
.visual-badge-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: absolute;
    bottom: -20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    border: 1px solid rgba(0,0,0,0.05);
}

.visual-badge-card .badge-item {
    text-align: center;
}

.visual-badge-card .badge-num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.visual-badge-card .badge-txt {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    color: #777;
    letter-spacing: 0.5px;
}

.visual-img-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background-color: var(--light-bg);
}

.intro-visual-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.intro-visual-img:hover {
    transform: scale(1.03);
}

/* 3. Countries Grid Section */
.about-countries-section {
    padding: 90px 0;
    background-color: var(--light-bg);
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); /* Improved minimum width for better responsive wrap */
    gap: 30px;
    margin-top: 40px;
}

.country-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(209, 26, 42, 0.15);
}

.country-card .card-country-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

.country-card .country-flag-icon {
    font-size: 32px;
    line-height: 1;
}

.country-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--dark-color);
}

.country-card .card-badge-top {
    position: absolute;
    right: 0;
    background-color: #f172a8;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.country-card.highlight-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff6f6 100%);
    border-left: 4px solid var(--primary-color);
}

.country-card.highlight-card .card-badge-top.hot-badge {
    background-color: var(--primary-color);
    color: #fff;
}

.country-card .card-country-body {
    flex-grow: 1;
    font-size: 14.5px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.country-card .card-country-footer .card-action-btn {
    width: 100%;
    background-color: var(--light-bg);
    color: var(--dark-color);
    border: none;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.country-card:hover .card-country-footer .card-action-btn {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(209, 26, 42, 0.2);
}

/* 4. CTA Banner Section */
.about-cta-section {
    padding: 60px 0 90px;
    /* background-color: var(--light-bg); */
}

.cta-inner-box {
    /* background: linear-gradient(135deg, #1e2226 0%, #15181a 100%); */
    border-radius: var(--border-radius);
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-inner-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(209, 26, 42, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.cta-inner-box h2 {
    font-size: 32px;
    font-weight: 700;
    /* color: #fff !important; */
    margin-bottom: 15px;
    text-transform: none;
}

.cta-inner-box p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.cta-btn-wrapper .about-btn {
    border: none;
}

.cta-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 30px auto;
    border-radius: 20px;
    overflow: hidden;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.countries-section-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 25px 0 40px;
    border-radius: 20px;
    overflow: hidden;
}

.countries-section-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* =========================
   VISA SUCCESS STORIES
========================= */

.visa-success-section {
    padding: 80px 0;
    background: #f8fbff;
}

.success-section-header {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.success-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 16px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #1677ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.success-section-header h2 {
    margin: 0 0 14px;
    color: #102a43;
    font-size: 38px;
    line-height: 1.2;
}

.success-section-header p {
    margin: 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.7;
}

/* Gallery */

.success-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.success-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 42, 61, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.success-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(15, 42, 61, 0.12);
}

.success-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef2f7;
}

.success-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.success-card:hover .success-image img {
    transform: scale(1.04);
}

.success-caption {
    padding: 16px 18px 18px;
}

.success-caption strong {
    display: block;
    margin-bottom: 4px;
    color: #102a43;
    font-size: 17px;
}

.success-caption span {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

/* Bottom CTA */

.success-bottom {
    margin-top: 42px;
    text-align: center;
}

.success-bottom p {
    margin: 0 0 18px;
    color: #475569;
    font-size: 16px;
}

/* Tablet */

@media (max-width: 992px) {
    .success-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .success-section-header h2 {
        font-size: 32px;
    }
}

/* Mobile */

@media (max-width: 640px) {
    .visa-success-section {
        padding: 55px 0;
    }

    .success-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .success-section-header h2 {
        font-size: 28px;
    }

    .success-section-header p {
        font-size: 15px;
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .about-intro-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-intro-visual {
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
    }
    
    .about-landing-hero .hero-title {
        font-size: 32px;
    }
    
    .about-landing-hero .hero-desc {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .about-landing-hero {
        padding: 130px 0 60px; /* Adjusted responsive top padding */
        min-height: auto;
    }
    
    .about-landing-hero .hero-title {
        font-size: 26px;
    }
    
    .visual-badge-card {
        position: static;
        margin-top: 20px;
        box-shadow: none;
        border: none;
        padding: 10px 0;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .visual-badge-card .badge-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #f8f9fa;
        padding: 10px 15px;
        border-radius: 8px;
    }
    
    .visual-badge-card .badge-num {
        font-size: 22px;
        margin-bottom: 0;
    }
    
    .cta-inner-box {
        padding: 40px 20px;
    }
    
    .cta-inner-box h2 {
        font-size: 24px;
    }
}


/* 5. Timeline Tree Styling */
.about-timeline-section {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
}

.timeline-tree {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 0;
    list-style: none;
}

/* Vertical Line */
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: rgba(209, 26, 42, 0.15);
    transform: translateX(-50%);
}

.timeline-node {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
    padding-right: 40px;
    box-sizing: border-box;
}

.timeline-node.right-node {
    left: 50%;
    padding-right: 0;
    padding-left: 40px;
}

/* Badge (Year circle) */
.timeline-badge {
    position: absolute;
    top: 15px;
    right: -25px;
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 50px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(209, 26, 42, 0.3);
    border: 3px solid #fff;
    transition: var(--transition);
}

.timeline-node.right-node .timeline-badge {
    left: -25px;
    right: auto;
}

.timeline-node:hover .timeline-badge {
    transform: scale(1.15);
    background-color: var(--primary-hover);
}

/* Panels (Cards) */
.timeline-panel {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--border-radius);
    padding: 24px;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.timeline-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: rgba(209, 26, 42, 0.1);
}

.timeline-panel-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* Arrow indicators for panels */
.timeline-panel::before {
    content: "";
    position: absolute;
    top: 26px;
    right: -10px;
    border-top: 10px solid transparent;
    border-left: 10px solid rgba(0,0,0,0.06);
    border-bottom: 10px solid transparent;
    border-right: 0;
}

.timeline-panel::after {
    content: "";
    position: absolute;
    top: 26px;
    right: -9px;
    border-top: 10px solid transparent;
    border-left: 10px solid #fff;
    border-bottom: 10px solid transparent;
    border-right: 0;
}

.timeline-node.right-node .timeline-panel::before {
    left: -10px;
    right: auto;
    border-left: 0;
    border-right: 10px solid rgba(0,0,0,0.06);
}

.timeline-node.right-node .timeline-panel::after {
    left: -9px;
    right: auto;
    border-left: 0;
    border-right: 10px solid #fff;
}


/* 6. Certifications & Trust Section Styling */
.about-certs-section {
    padding: 100px 0;
    background-color: #fff;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.cert-card {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(209, 26, 42, 0.1);
}

.cert-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(209, 26, 42, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.cert-card:hover .cert-icon-wrapper {
    background-color: var(--primary-color);
    color: #fff;
    transform: rotateY(180deg);
}

.cert-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.cert-card .cert-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.cert-card .cert-status-tag {
    display: inline-block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border-radius: 20px;
}

/* Rating Card specific styles */
.cert-card.rating-card .star-rating-stars {
    font-size: 20px;
    color: #f1c40f;
    margin-bottom: 12px;
}

.cert-card.rating-card .cert-status-tag.rating-tag {
    background-color: rgba(241, 196, 15, 0.1);
    color: #f39c12;
}


/* Responsive styles for timeline */
@media (max-width: 767px) {
    .timeline-line {
        left: 20px;
        transform: none;
    }
    
    .timeline-node {
        width: 100%;
        padding-right: 0;
        padding-left: 50px;
    }
    
    .timeline-node.right-node {
        left: 0;
        padding-left: 50px;
    }
    
    .timeline-badge {
        left: 0 !important;
        right: auto;
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 12px;
    }
    
    .timeline-panel::before {
        left: -10px !important;
        right: auto !important;
        border-left: 0 !important;
        border-right: 10px solid rgba(0,0,0,0.06) !important;
    }
    
    .timeline-panel::after {
        left: -9px !important;
        right: auto !important;
        border-left: 0 !important;
        border-right: 10px solid #fff !important;
    }
}

