/* style/index-gioi-thieu-vvwin.css */

/* Custom properties for colors */
:root {
    --main-color: #F2C14E;
    --accent-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --card-bg-color: #111111;
    --background-color: #0A0A0A;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
}

/* Global styles for the page content, ensuring proper text color for dark body background */
.page-index-gioi-thieu-vvwin {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* #FFF6D6 */
    background-color: var(--background-color); /* #0A0A0A */
    line-height: 1.6;
    padding-bottom: 40px;
}

.page-index-gioi-thieu-vvwin__section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-index-gioi-thieu-vvwin__section-title {
    font-size: 2.5em;
    color: var(--main-color); /* #F2C14E */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-index-gioi-thieu-vvwin__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Using clamp as per instruction */
    color: var(--text-main-color); /* #FFF6D6 */
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

.page-index-gioi-thieu-vvwin__description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-main-color); /* #FFF6D6 */
}

/* Hero Section */
.page-index-gioi-thieu-vvwin__hero-section {
    display: flex;
    flex-direction: column; /* Ensure image above text */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--background-color);
}

.page-index-gioi-thieu-vvwin__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
}

.page-index-gioi-thieu-vvwin__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Desktop default */
}

.page-index-gioi-thieu-vvwin__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
}

.page-index-gioi-thieu-vvwin__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-index-gioi-thieu-vvwin__btn-primary,
.page-index-gioi-thieu-vvwin__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-index-gioi-thieu-vvwin__btn-primary {
    background: var(--button-gradient);
    color: #000000; /* Black text for bright button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-index-gioi-thieu-vvwin__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-index-gioi-thieu-vvwin__btn-secondary {
    background: transparent;
    color: var(--main-color); /* #F2C14E */
    border: 2px solid var(--main-color);
}

.page-index-gioi-thieu-vvwin__btn-secondary:hover {
    background: var(--main-color);
    color: #000000;
    transform: translateY(-2px);
}

/* Content Blocks */
.page-index-gioi-thieu-vvwin__content-block {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    color: var(--text-main-color);
}

.page-index-gioi-thieu-vvwin__content-block p {
    margin-bottom: 20px;
    font-size: 1.05em;
}

.page-index-gioi-thieu-vvwin__image-inline {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Service Cards / Product Grid */
.page-index-gioi-thieu-vvwin__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index-gioi-thieu-vvwin__service-card,
.page-index-gioi-thieu-vvwin__advantage-card,
.page-index-gioi-thieu-vvwin__step-card {
    background-color: var(--card-bg-color); /* #111111 */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color); /* #3A2A12 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-index-gioi-thieu-vvwin__service-card:hover,
.page-index-gioi-thieu-vvwin__advantage-card:hover,
.page-index-gioi-thieu-vvwin__step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-index-gioi-thieu-vvwin__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-index-gioi-thieu-vvwin__card-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

.page-index-gioi-thieu-vvwin__card-title {
    font-size: 1.4em;
    color: var(--main-color); /* #F2C14E */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-index-gioi-thieu-vvwin__card-title a {
    color: var(--main-color);
    text-decoration: none;
}

.page-index-gioi-thieu-vvwin__card-title a:hover {
    text-decoration: underline;
}

.page-index-gioi-thieu-vvwin__card-description {
    font-size: 0.95em;
    color: var(--text-main-color); /* #FFF6D6 */
    flex-grow: 1; /* Make description take available space */
}

/* Steps Grid */
.page-index-gioi-thieu-vvwin__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index-gioi-thieu-vvwin__step-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.page-index-gioi-thieu-vvwin__step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background: var(--main-color);
    color: #000000;
    font-size: 2.5em;
    font-weight: bold;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
    z-index: 1;
}

.page-index-gioi-thieu-vvwin__step-title {
    font-size: 1.6em;
    color: var(--main-color);
    margin-top: 40px; /* Adjust for step number */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-gioi-thieu-vvwin__step-description {
    font-size: 1em;
    color: var(--text-main-color);
    margin-bottom: 25px;
}

.page-index-gioi-thieu-vvwin__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* FAQ Section */
.page-index-gioi-thieu-vvwin__faq-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index-gioi-thieu-vvwin__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main-color);
}

.page-index-gioi-thieu-vvwin__faq-item summary {
    list-style: none; /* Hide default marker */
}
.page-index-gioi-thieu-vvwin__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-index-gioi-thieu-vvwin__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #1a1a1a; /* Slightly darker for question header */
    color: var(--text-main-color);
    transition: background-color 0.3s ease;
}

.page-index-gioi-thieu-vvwin__faq-question:hover {
    background-color: #2a2a2a;
}

.page-index-gioi-thieu-vvwin__faq-qtext {
    color: var(--text-main-color);
}

.page-index-gioi-thieu-vvwin__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--main-color); /* #F2C14E */
    margin-left: 15px;
}

.page-index-gioi-thieu-vvwin__faq-item[open] .page-index-gioi-thieu-vvwin__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-index-gioi-thieu-vvwin__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
}

.page-index-gioi-thieu-vvwin__faq-item[open] .page-index-gioi-thieu-vvwin__faq-answer {
    max-height: 500px; /* Sufficiently large for content */
    padding-top: 15px;
    transition: max-height 0.5s ease-in, padding-top 0.5s ease-in;
}

/* Call to Action */
.page-index-gioi-thieu-vvwin__call-to-action {
    text-align: center;
    background-color: var(--card-bg-color);
    padding: 60px 20px;
    border-radius: 10px;
    max-width: 1000px;
    margin: 40px auto;
    border: 1px solid var(--border-color);
}

/* General image responsive styles */
.page-index-gioi-thieu-vvwin img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Contrast fix if needed - not explicitly needed based on color scheme, but for safety */
.page-index-gioi-thieu-vvwin__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-index-gioi-thieu-vvwin__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}

/* Responsive styles for mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-index-gioi-thieu-vvwin__section {
        padding: 30px 15px;
    }

    .page-index-gioi-thieu-vvwin__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-index-gioi-thieu-vvwin__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-index-gioi-thieu-vvwin__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* Hero Section */
    .page-index-gioi-thieu-vvwin__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 40px;
    }

    .page-index-gioi-thieu-vvwin__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-index-gioi-thieu-vvwin__hero-image {
        object-fit: contain !important; /* Mobile: contain, not cover */
        aspect-ratio: unset !important;
        max-height: none !important;
    }

    .page-index-gioi-thieu-vvwin__cta-buttons {
        flex-direction: column !important;
        gap: 15px;
        width: 100% !important;
        max-width: 350px !important; /* Constrain button group width */
        margin: 30px auto 0 auto;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        overflow: hidden;
        flex-wrap: wrap !important; /* Ensure buttons wrap if needed */
    }

    .page-index-gioi-thieu-vvwin__btn-primary,
    .page-index-gioi-thieu-vvwin__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 15px !important;
        font-size: 0.95em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* Content Blocks */
    .page-index-gioi-thieu-vvwin__content-block {
        padding: 0 15px;
    }

    .page-index-gioi-thieu-vvwin__content-block p {
        font-size: 0.95em;
    }

    .page-index-gioi-thieu-vvwin__image-inline {
        margin: 20px auto;
    }

    /* Service Cards / Product Grid */
    .page-index-gioi-thieu-vvwin__grid-container {
        grid-template-columns: 1fr !important; /* Single column on mobile */
        gap: 20px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-index-gioi-thieu-vvwin__service-card,
    .page-index-gioi-thieu-vvwin__advantage-card,
    .page-index-gioi-thieu-vvwin__step-card {
        padding: 20px;
    }

    .page-index-gioi-thieu-vvwin__card-image {
        height: 180px;
    }

    .page-index-gioi-thieu-vvwin__card-icon {
        width: 80px;
        height: 80px;
    }

    .page-index-gioi-thieu-vvwin__card-title {
        font-size: 1.2em;
    }

    .page-index-gioi-thieu-vvwin__card-description {
        font-size: 0.9em;
    }

    /* Steps Grid */
    .page-index-gioi-thieu-vvwin__steps-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-index-gioi-thieu-vvwin__step-title {
        font-size: 1.4em;
        margin-top: 30px;
    }

    .page-index-gioi-thieu-vvwin__step-number {
        width: 60px;
        height: 60px;
        font-size: 2em;
        top: -10px;
        left: -10px;
    }

    /* FAQ Section */
    .page-index-gioi-thieu-vvwin__faq-list {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-index-gioi-thieu-vvwin__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-index-gioi-thieu-vvwin__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95em;
    }

    /* Call to Action */
    .page-index-gioi-thieu-vvwin__call-to-action {
        padding: 40px 15px;
        margin: 30px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Universal mobile image adaptations */
    .page-index-gioi-thieu-vvwin img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .page-index-gioi-thieu-vvwin__section,
    .page-index-gioi-thieu-vvwin__card,
    .page-index-gioi-thieu-vvwin__container,
    .page-index-gioi-thieu-vvwin__content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}