/* Reset & Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px; /* dễ scale theo rem */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    background-color: #fff;
    color: #222;
    padding-right: 0 !important;
}

/* Reset cho các thẻ thường dùng */
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

:root {
  /* 🎨 Colors */
  --color-primary: #814582;
  --color-secondary: #BC95BD;
  --color-dark: #1D101D;
  --color-light: #f9f9f9;
  --color-gray: #888;

  /* 🔠 Typography */
  --font-base: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.25rem;    /* 20px */
  --font-size-sm: 0.875rem;   /* 14px */

  /* 📏 Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;

  /* 🔲 Border radius & shadow */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);
}

strong{
    color: var(--color-primary);
}

.w-md-50 {
    width: 100%;
}

.w-md-30 {
    width: 100%;
}
.w-md-40 {
    width: 100%;
}


@media (min-width: 768px) { /* breakpoint md của Bootstrap */
  .w-md-50 {
    width: 50% !important;
  }
  .w-md-30 {
    width: 30% !important;
  }
  .w-md-40 {
    width: 40% !important;
  }
}

.modal-dialog{
    max-width: 1000px !important;
}

.btn--primary {
    background-color: var(--color-primary) !important;
    color: white !important;
    padding: 10px 24px !important;
}

.btn--dark{
    background-color: black !important;
    color: white !important;
    
    padding: 10px 24px !important;
}

.btn__small--primary {
    background-color: var(--color-primary) !important;
    color: white !important;
    padding: 6px 12px !important;
}

.btn__small--dark {
    background-color: black !important;
    color: white !important;
    padding: 6px 12px !important;
}

.form-control:focus {
    border-color: var(--color-primary) !important;  
    box-shadow: var(--shadow-lg);       
}

.section {
    overflow: hidden;
}

.section--dark {
    background: linear-gradient(to bottom, var(--color-primary), black);
    padding: var(--space-xl) 0;
}

.section__header{
    margin-bottom: var(--space-xl);
}

.section__header{
    color: var(--color-primary);
    font-weight: bold;
}

.section__header--dark{
    color: white;
    font-weight: bold;
    margin-bottom: var(--space-xl);
}

.section__header--light{
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: var(--space-xl);
}

.navbar{
    background-color: var(--color-primary);
}

.navbar-brand{
    font-weight: bold;
}

/* Block: hero */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background-color: white;
}

/* Element: background */
.hero_background_1 {
    position: absolute;
    height: 100%;
    z-index: 0;
    left: 0;
}

.hero_background_2 {
    position: absolute;
    height: 100%;
    z-index: 0;
    right: 0;
}

.hero_background_3 {
    position: absolute;
    height: 100%;
    z-index: 2;
    left: 0;
}

.hero_background_4 {
    position: absolute;
    height: 80%;
    z-index: 1;
    left: 0;
}

.hero_background_5 {
    position: absolute;
    width: 100%;
    max-height: 100%;
    z-index: 1;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

/* Element: content */
.hero_container {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    width: 80%;
    display: flex;
    flex-direction: row;
    padding: 10px 0;
    align-items: stretch;
    gap: 20px;
    margin: 0 auto;
}

.hero_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.hero_content, .hero_content_img {
    flex: 1;
}

.hero_content_img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero_image_cv {
    max-height: 100%; /* don’t overflow container */
    width: auto;
    object-fit: contain;
}

/* Element: title */
.hero__title {
    font-weight: 700; /* tương đương fw-bold */
    font-size: 3rem; /* tuỳ chỉnh theo thiết kế */
    margin-bottom: 10px;
}

.hero__title span {
     /* gradient text */
    background: linear-gradient(90deg, #FFD966, #D0C4FE, #8469FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* fallback for browsers that support it */
    color: transparent;    /* ensure normal color is removed */
}

.hero__subtitle {
    font-weight: 400;
    font-size: 1.5rem;
}

@media (max-width: 762px) {
    .hero_container {
        flex-direction: column; /* stack content + image */
        text-align: center; /* center text */
    }

    .hero_content {
        align-items: center; /* center horizontally */
    }

    .hero_content_img {
        margin-top: 20px; /* spacing between text & image */
    }

    .hero_image_cv {
        width: 90%; /* shrink a bit for mobile */
        max-width: 400px; /* prevent being too large */
        height: auto;
    }

    .hero_background_1 {
        display: none;
    }

    .hero_background_2 {
        display: none;
    }

    .hero_background_4 {
        display: none;
    }
}

.flip {
    transform: scaleX(-1);
}

.loop {
    animation-iteration-count: infinite;
    animation-duration: 3s !important;
    animation-delay: 3s;
    animation-timing-function: ease-in;
}

.text--secondary{
    color: var(--color-secondary);
}

.text--primary{
    color: var(--color-primary);
}

.search {
    border: 1px solid var(--color-primary);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.search__value{
    width: 100%;
    border: none;
    padding: 10px 16px;
}

.search__value:focus {
  box-shadow: none;
  outline: none;
  border-color: inherit; /* hoặc tùy chỉnh */
}

.search__button{
    background-color: var(--color-primary);
    border:none;
    border-radius: 6px;
    padding: 10px;
    aspect-ratio: 1/1;;
    height: 100%;
    margin: 6px;
}

.btn_start {
    position: relative;
    padding: 12px 35px;
    background: var(--color-primary);
    font-size: 1.1rem;
    color: white;
    border-radius: 8px;
    box-shadow: 0 0 0 #fec1958c;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.btn_login {
    position: relative;
    padding: 12px 35px;
    background-color: black;
    font-size: 1.1rem;
    color: white;
    border-radius: 8px;
    box-shadow: 0 0 0 #fec1958c;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.star-1 {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 25px;
    height: auto;
    filter: drop-shadow(0 0 0 var(--color-primary));
    z-index: -5;
    transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}

.star-2 {
    position: absolute;
    top: 45%;
    left: 45%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 0 var(--color-primary));
    z-index: -5;
    transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-3 {
    position: absolute;
    top: 40%;
    left: 40%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 0 var(--color-primary));
    z-index: -5;
    transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-4 {
    position: absolute;
    top: 20%;
    left: 40%;
    width: 8px;
    height: auto;
    filter: drop-shadow(0 0 0 var(--color-primary));
    z-index: -5;
    transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-5 {
    position: absolute;
    top: 25%;
    left: 45%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 0 var(--color-primary));
    z-index: -5;
    transition: all 0.6s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-6 {
    position: absolute;
    top: 5%;
    left: 50%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 0 var(--color-primary));
    z-index: -5;
    transition: all 0.8s ease;
}

.btn_start:hover,
.btn_login:hover {
    background: transparent;
    color: black;
    box-shadow: 0 0 25px var(--color-primary);
}

.btn_start:hover .star-1,
.btn_login:hover .star-1 {
    position: absolute;
    top: -70%;
    left: -30%;
    width: 25px;
    height: auto;
    filter: drop-shadow(0 0 10px var(--color-primary));
    z-index: 2;
}

.btn_start:hover .star-2,
.btn_login:hover .star-2 {
    position: absolute;
    top: -25%;
    left: 10%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 10px var(--color-primary));
    z-index: 2;
}

.btn_start:hover .star-3,
.btn_login:hover .star-3 {
    position: absolute;
    top: 70%;
    left: 25%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 10px var(--color-primary));
    z-index: 2;
}

.btn_start:hover .star-4,
.btn_login:hover .star-4 {
    position: absolute;
    top: 30%;
    left: 80%;
    width: 8px;
    height: auto;
    filter: drop-shadow(0 0 10px var(--color-primary));
    z-index: 2;
}

.btn_start:hover .star-5,
.btn_login:hover .star-5 {
    position: absolute;
    bottom: 25%;
    left: 95%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 10px var(--color-primary));
    z-index: 2;
}

.btn_start:hover .star-6,
.btn_login:hover .star-6 {
    position: absolute;
    top: 5%;
    left: 60%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 10px var(--color-primary));
    z-index: 2;
}

.fil0 {
    fill: var(--color-primary);
}

.hero-btn-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
}


.categories-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.carousel-row {
    display: flex;
    width: max-content;
    margin: 30px 0;
}

.features_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    background-color: var(--color-primary);
    padding: 30px 50px;
    align-items: stretch;
    margin-bottom: 20px;
    gap: 20px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    max-width: 250px;
}

.features_img {
    width: 80px;
    height: 80px;
}

.features_tittle {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.features_description {
    color: white;
    font-size: 1rem;
}

@media (max-width: 762px) {
    .features_container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .features {
        align-items: center;
        text-align: center;
    }

    .features_img {
        margin: 0 auto;
    }
}


.categories__card {
    flex: 0 0 auto;
    min-width: 200px;
    background: #f5f5f5;
    padding: 1em;
    border-radius: 10px;
    text-align: center;
}

/* Top row moves left */
.row-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    animation: spin-right 30s linear infinite;
    padding-right: 1em;
}

/* Bottom row moves right */
.row-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    animation: spin-right 40s linear infinite;
    padding-right: 1em;
}

@keyframes spin-right {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}


.categories__card:hover .card__title{
    color: var(--color-primary);
}

.categories__card:hover {
    outline: 1px solid var(--color-primary);
    outline-offset: -1px;
    box-shadow: var(--shadow-md);
}

.categories__card .card__title{
    font-weight: bold;
}

.categories-carousel::before,
.categories-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px; /* adjust fade width */
    height: 100%;
    pointer-events: none; /* don’t block clicks */
    z-index: 2;
}

.categories-carousel::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.categories-carousel::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.reason_section {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    position: relative;
    padding: 100px 100px;
}

.reason_background_1 {
    position: absolute;
    height: 400px;
    z-index: 0;
    right: 0;
    top: 15%;
}

.reason_background_2 {
    position: absolute;
    height: 200px;
    z-index: 0;
    left: 0;
    top: 60%;
}

.reason_background_3 {
    position: absolute;
    height: 300px;
    z-index: 0;
    left: 0;
    top: 68%;
}

.reason_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.reason_img {
    width: 40%;
    display: flex; /* use flexbox */
    align-items: center;
}

.reason_img img {
    max-width: 70%;
    width: auto; /* keep aspect ratio */
    height: auto;
    object-fit: contain;
}

.img_right {
    justify-content: flex-end;
}

.reason__card {
    width: 35%;
    position: relative;
}

.reason__number {
    width: 70%;
    padding: 15px 25px;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    font-size: 2rem;
    clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
    box-shadow: inset 0px 4px 30px rgba(0,0,0,0.3);
}

.reason_number_1 {
    background: linear-gradient(135deg, #D0C4FE, #7F6BFF);
}

.reason_number_2 {
    background: linear-gradient(135deg, #9B6BFF, #7F6BFF);
}

.reason_number_3 {
    background: linear-gradient(135deg, #D0C4FE, #9B6BFF, #814582);
}

.reason_number_4 {
    background: linear-gradient(135deg, #D0C4FE, #9B6BFF, #7F6BFF, #814582);
}

.reason__content {
    font-weight: bold;
    font-size: var(--font-size-lg);
    background-image: linear-gradient(to right, #ffffff, #f9f9f9, #f3f3f3, #eeeeee, #e8e8e8, #e8e8e8, #e8e8e8, #e8e8e8, #eeeeee, #f3f3f3, #f9f9f9, #ffffff);
    box-shadow: inset 0px 4px 30px rgba(0,0,0,0.3);
    position: absolute;
    padding: 25px 0px;
    width: 70%;
    clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
    align-content: center;
    z-index: 3;
}

.reason__content p {
    height: fit-content;
    width: fit-content;
    margin: 0 auto;
}

.reason_content_left {
    top: -15%;
    left: -20%;
}

.reason_content_right {
    top: -15%;
    right: 10%;
}

.reason_number_left {
    display: flex;
    justify-content: flex-end;
}

.reason_number_left span {
    display: inline-block;
}

.reason__description {
    margin-top: 30px;
}


.reason__description a {
    display: block;
    width:fit-content;
    height: fit-content;
    padding: 12px 35px;
    border: 2px solid var(--color-primary);
    font-size: 1.1rem;
    color: black;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    margin-top: 30px;
}

.reason__description a:hover {
    box-shadow: 0 0 10px var(--color-primary);
}

.review_container {
    width: 100%;
    background-image: radial-gradient(circle, #814582, #6c3370, #57225f, #42104e, #2e003e);
    padding: 40px 0px;
}

.review_slider {
    width: 80%;
    margin: 0 auto;
    
}

.section_header {
    color: white;
    font-size: 2rem;
    margin: 2rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
}

.name-carousel {
    position: relative;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.name-tab {
    font-size: 1.5rem;
    padding: 1rem 2.5rem;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    user-select: none;
    flex: 0 0 auto;
    text-align: center;
    /* Gradient text */
    background: linear-gradient(90deg, #FFD966, #D0C4FE, #8469FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* for Firefox */
    color: transparent;
    transform-origin: center center;
}

    .name-tab.side {
        opacity: 0.8;
        filter: blur(1.5px);
        transform: scale(0.8);
    }

    .name-tab.center {
        transform: scale(1.2);
        font-weight: 1000;
        opacity: 1;
        filter: blur(0);
    }

    .name-tab:hover {
        opacity: 0.7;
    }

.slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    max-width: 100%;
}

.reviews {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.review__card {
    min-width: 370px;
    width: 370px;
    max-height: 400px;
    background: white;
    border-radius: 3px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 0 1.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

    .review__card.blur {
        filter: blur(4px);
        opacity: 0.5;
        transform: scale(0.85);
    }

    .review__card.active {
        transform: scale(1.05);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        z-index: 10;
        filter: blur(0);
        opacity: 1;
    }

.review__image {
    width: 100%;
    height: 60%;
    overflow: hidden;
}

    .review__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
        transition: transform 0.3s ease;
    }

.review__content {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    width: 100%;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
}

.review__card img:hover {
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .review__card {
        min-width: 350px;
        width: 350px;
    }

    .slider-wrapper {
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    .name-carousel {
        gap: 1rem;
    }

    .name-tab {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }

    .review__card {
        min-width: 280px;
        width: 280px;
    }

    .section_header {
        font-size: 1.8rem;
        margin: 1rem;
    }

}

.decorate__bottom--twoline{
    width: 100%;
    height: 100px;
    display: block;
    position: relative;
}

.decorate__bottom--twoline::after{
    content: "";
    width: 100%;
    height: 6px;
    background-color: white;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.decorate__bottom--twoline::before{
    content: "";
    width: 100%;
    height: 6px;
    background-color: white;
    position: absolute;
    bottom: 20px;
    left: 0px;
}

footer{
    background-color: black;
    padding: var(--space-lg) 0px;
}

.timeline__card{
    padding: 0px 16px 16px 32px;
    border-left: 2px solid white;
    position: relative;
}

.timeline__card::before{
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    top: -10px;
    left: -10px;
}

.timeline__card .card-title{
    font-size: larger !important;
    font-weight: bold !important;
    color: white;
}

.timeline__card .card-subtitle{
    font-size: larger !important;
    font-weight: inherit !important;
    color: white;
    margin-bottom: 16px;
}

.timeline__card strong {
    color: white !important;
}

.info-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: white;
    overflow: hidden;
}

.info-card .card-image{
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 3/2;
    border: 1px solid var(--color-secondary); 
}

.info-card .card-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.info-card .job-title{
    color: white;
    font-weight: bold;
    background-color: black;
    border-radius: 6px;
    padding: 3px 9px;
    display: block;
}

.info-card .card-title{
    font-weight: bolder;
    font-size: larger;
}

.info-card .card-subtitle{
    color: white;
}

.info-card .list-social svg{
    fill: white;
    width: 30px;
    margin: 0 6px;
}

.info-card .list-social svg:hover{
    fill: gray;
}

.info__section{

}

.info__section .section__header {
    margin: 0px;
    background-color: black;
    border-radius: 3px;
    padding: 6px 12px;;
}

.info__section .section__title{
    font-size: larger;
    font-weight: bold;
    color:white;
}

.project__card {
    flex: 1 1 100%;
    color: black;
    border-radius: 3px;
    overflow: hidden;
}



.project__card .card-header{
    position: relative; /* để định vị phần tử con tuyệt đối */
}

/* Vị trí và trạng thái mặc định của nút */
.project__card .card__buttons {
    position: absolute;
    top: 0px;
    right: 0px;
    opacity: 0; /* ẩn */
    visibility: hidden; /* tránh chiếm chỗ */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Khi hover vào card thì nút hiện */
.project__card:hover .card__buttons {
    opacity: 1;
    visibility: visible;
    background: rgba(0,0,0,0.4);
}

.templates_demo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 40px 0;
    gap: 60px;
}

.demo_img {
    flex: 1;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.5);
}

.templates_section {
    background-color: #FBFAFF;
    position: relative;
}

.templates_background {
    position: absolute;
    height: 90%;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

.templates_container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 60px 0;
    position: relative;
    z-index: 5;
}

.templates_header, .templates_subtitle {
    text-align: center;
}

.templates_header {
    font-size: 2.5rem;
    font-weight: 500;
    color: #814582;
}

.templates_subtitle {
    padding: 0 100px;
    font-size: 1.25rem;
    font-weight: 400;
    color: black;
}


.templates_btn {
    display: block;
    width: fit-content;
    height: fit-content;
    padding: 12px 35px;
    background-color: var(--color-primary);
    font-size: 1.1rem;
    color: white;
    cursor: pointer;
    text-decoration: none;
    margin: 0 auto;
}

.form_input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid black;
    background-color: white;
    box-shadow: 4px 4px black;
    outline: none;
    transition: all 0.3s ease;
}

.form_input:focus {
    border: 2px solid #007BFF;
}

@media (min-width: 768px) {
    .project__card {
        flex: 1 1 calc(33% - 1rem); /* Desktop: 4 card trên 1 hàng, trừ margin */
        max-width: calc(33% - 1rem);
    }
}

.project__card .project__thumbnails{
    width: 100%;
    aspect-ratio: 2/1;
    overflow: hidden;
}

.project__card .project__thumbnails img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project__card .project_content{
    background-color: white;
    padding: 6px 12px;
}

.project__card .card__title{
    color: var(--color-primary);
    font-weight: bold;
}

.image__illustration{
    width: 200px;
}

.contact{
    position: relative;
}

.email--sticky, .phone--sticky, .address--sticky{
    position: absolute;
    z-index: 1;
    background-color: black;
    padding: 6px;
    border-radius: 12px;
}

.email--sticky{
    top: -80px;
    left: 0px;
}

.phone--sticky {
    top: -40px;
    left: 0px
}

.address--sticky {
    top: 0px;
    left: 0px
}

.email--sticky .email__content--sticky, .phone--sticky .phone__content--sticky, .address--sticky .address__content--sticky{
    display: none;
    z-index: 1;
}

.email--sticky:hover .email__content--sticky, .phone--sticky:hover .phone__content--sticky, .address--sticky:hover .address__content--sticky{
    display: block;
}

@media (max-width: 1600px) {
    .hero_background_1 {
        height: 80%;
    }

    .hero_background_2 {
        height: 80%;
    }
}

@media (max-width: 1400px) {
    .hero_background_1 {
        height: 70%;
    }

    .hero_background_2 {
        height: 70%;
    }
}

@media (max-width: 1200px) {
    .hero_background_1 {
        height: 50%;
    }

    .hero_background_2 {
        height: 50%;
    }
}

@media (max-width: 1024px) {

    .reason_section {
        gap: 80px;
        padding: 60px 100px
    }

    .reason__card {
        width: 50%;
    }

    .reason_container {
        flex-direction: column;
        gap: 50px;
    }

    .reason__content {
        text-align: center;
    }

    .reason_container_reversed {
        flex-direction: column-reverse;
    }

    .reason_img {
        justify-content: flex-start;
    }

    .reason_img img {
        max-width: 95%;
    }
    .reason_number_left {
        margin: 0 0 0 auto;
    }

    .reason_content_left {
        top: -10%;
        left: 0;
    }

    .reason_content_right {
        top: -10%;
        right: 0;
    }

    .reason__description {
        text-align: center;
    }

    .reason__description a {
        margin: 0 auto;
    }

    .templates_container {
        max-width: 960px;
        padding: 60px 40px;
    }

}

@media (max-width: 800px) {
    .reason__content {
        padding: 15px 10px;
        text-align: center;
    }

    .reason__number {
        padding: 10px 15px;
    }

    .reason_section {
        padding: 60px 40px;
    }

    .reason__content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .templates_container {
        max-width: 720px;
    }
}

@media (max-width: 710px) {
    .reason__content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero__title {
        font-size: 2.5rem;
    }

    .reason_background_1, .reason_background_2, .reason_background_3 {
        opacity: 0.3;
    }

    .reason_section {
        padding: 40px 20px;
    }

    .reason__card {
        width: 70%;
    }

    .templates_container {
        max-width: 540px;
    }

    .demo3 {
        display: none;
    }

    .templates_header {
        font-size: 2rem;
    }

    .templates_subtitle {
        padding: 0 10px;
        font-size: 1rem;
    }
}







