.wrapper-congtrinh {
    max-width: 1400px;
    margin: 180px auto 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    border-radius: 10px;
    overflow: hidden;
    color: #333;
  } 
  
  /* Left Column */
.wrapper-congtrinh  .left-column {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    /* background-color: #f4f4f9;  */
}
  
.project-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 8px;
}
  
.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
  
.slider-image.active {
    opacity: 1;
}
  
.project-overlay {
    position: absolute;
    margin-top: 60px;
    padding: 15px;

}
  
.wrapper-congtrinh .left-column:hover .project-overlay {
    transform: translateY(0);
}
  
.project-name {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    text-transform: capitalize;
    margin-bottom: 25px;
}
  
.view-detail-btn {
    background-color: var(--c1);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}
  
.view-detail-btn:hover {
    background-color: var(--c1);
}
  
  /* Right Column */
.wrapper-congtrinh .right-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    /* background-color: #fff; */
}
  
.project-title {
    font-size: 28px;

    margin-bottom: 20px;
}

.project-title span {
    font-weight: bold;
}
  
.project-title .blue-text {
    color: var(--c1);
}
  
.project-title .black-text {
    color: #333;
}

.project-title p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}
  
  /* Navigation dots */
.navigation-dots {
    margin-top: 70px;
    display: flex;
    gap: 10px;
}
  
.nav-dot {
    height: 12px;
    width: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
  
.nav-dot.active {
    background-color: var(--c1);
    border-color: var(--c1);
}
  
.nav-dot:hover {
    background-color: #999;
}


/* sanpham */
.wrapper-products {
    
}


.product-grid {
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1400px;
}

.product-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 100%;
    display: block;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    padding: 15px 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.card-overlay p {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* quytrinh */
.wrapper-process {
    padding: 0 20px 60px;
    width: 100%;
    box-sizing: border-box;
}

.wrapper-process .title {
    margin-bottom: 70px;
}


.horizontal-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    counter-reset: step-counter; 

    min-width: 900px;
    margin: 0 auto;
    /*padding: 60px 0;*/
    padding: 90px 23px;
}

.horizontal-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #ddd;
    transform: translateY(-50%);
}

.timeline-step {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 14%;
}

.timeline-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid var(--c1);
    position: relative;
    z-index: 1;
}

.timeline-dot::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    color: var(--c1); 
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    }

.timeline-content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 160px; 
    text-align: center;
}

.step-title {
    font-weight: 600;
    color: #333;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #333;
    text-transform: capitalize;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Đường nối ngắn từ dot đến content */
.timeline-content::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 25px;
    background-color: #333;
}

.timeline-step:nth-child(odd) .timeline-content {
    top: calc(50% + 30px);
}
.timeline-step:nth-child(odd) .timeline-content::after {
    top: -25px;
}

.timeline-step:nth-child(even) .timeline-content {
    bottom: calc(50% + 30px);
}
.timeline-step:nth-child(even) .timeline-content::after {
    bottom: -25px;
}


/* lienhe */
.contact-container {
    background-image: url('../images/thep-tron-dac-phi-16-04.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Hiệu ứng Parallax */
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    max-height: 500px;
    overflow: hidden; 
    position: relative;
}

.contact-container::before {
    content: "";
    z-index: 1;
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.7); 

}

.contact-form-container {
    /* backdrop-filter: blur(10px); */
    /* -webkit-backdrop-filter: blur(10px);  */
    
    padding: 30px;
    /* border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); */
    width: 100%;
    max-width: 1000px; 
    position: relative;
    z-index: 2;
    overflow-y: auto;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
}

.title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    text-transform: uppercase;

    /* color: #fff; */

}

.title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--c1);
    border-radius: 2px;
}

.contact-container .form-columns {
    display: flex;
    gap: 20px;
}

.contact-container .left-column, .contact-container .right-column {
    flex: 1;
}

.contact-group {
    margin-bottom: 15px;
}

.contact-group label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    /* color: #fff; */
}

.contact-group input,
.contact-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 0.9em;
    background-color: #f5f7fa;
    transition: all 0.3s ease;
}

.contact-group input:focus,
.contact-group textarea:focus {
    border-color: #7a9885;
    box-shadow: 0 0 0 3px #e9eeeb;
    background-color: #fff;
    outline: none;
}

.contact-group.full-width {
    display: flex;
    flex-direction: column;
}

.contact-group.full-width label {
    margin-bottom: 5px;
}

.contact-group.full-width textarea {
    flex-grow: 1;
    min-height: 150px;
    resize: vertical;
}

/* Nút gửi */
.submit-button-container {
    text-align: center;
    margin-top: 15px;
}

input[type="submit"] {
    width: 200px;
    padding: 12px;
    background-color: var(--c1);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

input[type="submit"]:hover {
    background-color: var(--c1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



/* footer */
.footer-container {
    background-color: var(--c1);
    color: #fff;
    font-family: Arial, sans-serif;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-section {
    flex: 1;
    margin: 0 20px;
}

.footer-section h3 {
    border-bottom: 2px solid #fff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item .icon {
    font-size: 20px;
    margin-right: 10px;
    width: 32px;
    text-align: center;
    border: 1px solid #fff;
    padding: 5px;
    border-radius: 5px;
}

.contact-item p {
    margin: 0;
    font-size: 14px;
}

.social-media {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.social-icon {
    background-color: #fff;
    color: var(--c1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
}



/* Large tablets and small desktops */
@media (max-width: 1024px) {

    .header-content,
    .nav-content,
    .main-content {
        padding: 0 15px;
    }

    .company-info h1 {
        font-size: 20px;
    }

    .search-box {
        width: 150px;
    }

    .main-content {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    .left-column {
        width: 100%;
    }
    .project-image {
        width: 90%;
        padding-top: 50%;
    }
    .product-grid {
        gap: 15px;
    }

    .footer-container {
        padding: 20px 30px;
    }
    .footer-section {
        margin: 0 15px;
    }
    .footer-section h3 {
        font-size: 18px;
    }
    .contact-item p {
        font-size: 13px;
    }

    .contact-form-container {
        max-width: 650px;
        padding: 25px;
    }
}

@media (max-width: 992px) {

    .header-content {
        flex-direction: row; 
        text-align: center;
        gap: 20px;
        padding: 0 10px;
    }

    .logo-section {
        justify-content: center; 
    }

    .logo-section img {
        max-width: 345px;
        height: auto;
    }

    .contact-info {
        text-align: center; 
    }

    .search-box {
        width: 150px;
    }

    /* .project-image {
        height: 300px;
    } */

    .wrapper-products {
        padding: 15px;
    }
    .section-title {
        font-size: 18px;
    }
    .product-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    .product-card {
        flex: 0 1 45%;
    }

    .footer-container {
        padding: 20px;
    }
    .footer-section {
        margin: 0 10px;
    }

    .contact-form-container {
        max-width: 600px;
    }
    .form-columns {
        gap: 15px;
    }
    input[type="submit"] {
        width: 180px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row; 
        text-align: center;
        gap: 20px;
        padding: 0 10px;
    }

    .logo-section {
        justify-content: center; 
    }

    .logo-section img {
        max-width: 300px;
        height: auto;
    }

    .contact-info {
        text-align: center; 
    }

    .nav-content {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        /* display: grid;
        grid-template-columns: repeat(2, 1fr); */
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-item {
        padding: 5px 10px;
        font-size: 13px;
        text-align: center;
      
    }
    

    .search-box {
        width: 40%;
        margin: 10px 0 10px 230px;
        box-sizing: border-box; 
    }

    /* .main-content {
        margin: 15px auto;
        padding: 0 10px;
        gap: 15px;
    }

    .project-title {
        font-size: 18px;
        padding: 12px 15px;
    }

    .project-image {
        height: 280px;
    }

    .project-name {
        font-size: 16px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        padding: 15px;
        font-size: 12px;
    } */

    .left-column, .right-column {
        padding: 0;
    }
    .project-title {
        font-size: 20px;
        padding: 15px;
    }
    .project-image {
        width: 95%;
        padding-top: 55%;
    }
    .product-grid {
        flex-direction: column;
    }
    .product-card {
        flex: 1 1 100%;
    }
    .about-content {
        font-size: 12px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    .footer-section {
        margin: 20px 0;
        width: 100%; 
        text-align: left;
    }
    .footer-section h3 {
        font-size: 20px;
        text-align: left;
        border-bottom: 1px solid #fff;
        padding-bottom: 5px;
        margin-bottom: 15px;
    }
    .contact-item {
        justify-content: left;
    }
    .social-media {
        justify-content: left; 
    }

    .contact-form-container {
        max-width: 100%;
        padding: 20px;
        border-radius: 8px;
    }
    .form-columns {
        flex-direction: column;
        gap: 0;
    }
    .contact-form-container h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .contact-group.full-width textarea {
        min-height: 100px; 
    }
    input[type="submit"] {
        width: 100%;
        padding: 14px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 0;
    }

    .logo {
        width: 80px;
        height: 60px;
        margin-right: 15px;
    }

    .logo::after {
        font-size: 14px;
    }

    .logo-section img {
        max-width: 150px;
        height: auto;
    }

    .contact-info {
        max-width: 164px;
    }

    .company-info h1 {
        font-size: 16px;
        line-height: 1.3;
    }

    .company-tagline {
        font-size: 12px;
    }

    .hotline {
        font-size: 12px;
        text-align: left !important;
    }

    .address {
        font-size: 11px;
        text-align: left;
    }

    .search-box {
        width: 40%;
        margin: 10px 0 10px 130px;
        box-sizing: border-box; 
    }

    .main-content {
        gap: 10px;
        padding: 0;
    }
    .project-title {
        font-size: 18px;
        padding: 10px;
    }
    .project-overlay {
        padding: 10px;
    }
    .about-section {
        padding: 15px;
    }
    .section-title {
        font-size: 16px;
    }
    .product-card img {
        height: 150px;
    }

    .footer-container {
        padding: 15px;
    }
    .footer-section {
        margin: 15px 0;
    }
    .footer-section h3 {
        font-size: 18px;
    }
    .contact-item .icon {
        font-size: 18px;
        width: auto;
    }
    .contact-item p {
        font-size: 12px;
    }
    .social-icon {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .contact-form-container {
        padding: 15px;
    }
    .contact-form-container h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    .contact-group label {
        font-size: 0.9em;
    }
    .contact-group input,
    .contact-group textarea {
        padding: 8px;
        font-size: 0.85em;
    }
}

@media (max-width: 320px) {
    .header {
        padding: 10px 0;
    }

    .logo {
        width: 80px;
        height: 60px;
        margin-right: 15px;
    }

    .logo::after {
        font-size: 14px;
    }

    .logo-section img {
        max-width: 240px;
        height: auto;
    }

    .company-info h1 {
        font-size: 16px;
        line-height: 1.3;
    }

    .company-tagline {
        font-size: 12px;
    }

    .hotline {
        font-size: 12px;
    }

    .address {
        font-size: 11px;
    }

    .nav-item {
        font-size: 10px;
        padding: 8px 5px;
    }

    .project-image {
        height: 200px;
    }

    .project-name {
        font-size: 13px;
    }

    .view-detail-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
}

/* Landscape orientation for mobile */
/* @media (max-height: 500px) and (orientation: landscape) {
    .header-content {
        flex-direction: row;
        padding: 0 10px;
    }

    .logo {
        width: 60px;
        height: 40px;
    }

    .company-info h1 {
        font-size: 14px;
    }

    .project-image {
        height: 180px;
    }

    .nav-item {
        padding: 8px 10px;
    }
} */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.left-column,
.wrapper-products,
.about-section {
    animation: slideIn 0.6s ease forwards;
}

.wrapper-products {
    animation-delay: 0.2s;
}

.about-section {
    animation-delay: 0.4s;
}

.wrap-content.linhvuc {
    
    max-width: 1000px;
}

.service {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #f0f0f0;
}

.service:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 12px;
}

.service-number {
    font-size: 0.85rem;
    color: #999;
    font-weight: 400;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-description {
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 480px) {

    
    h1 {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }
    
    .service {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
}

