.hero {
    height: 100vh;
    background: url('yarn.webp') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center !important;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 40, 80, 0.75);
    /* #1A3263 overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
}


/* .hero p {
    font-size: 1.2rem;
    margin-top: 15px;
    margin-bottom: 25px;
} */

.btn-custom {
    padding: 10px 25px;
    font-weight: 500;
}

.btn-primary {
    background-color: #ffffff;
    color: #1A3263;
    border: none;
}

.btn-primary:hover {
    background-color: #e6e6e6;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: #1A3263;
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }

    .res {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .contactbtn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

}

/*====================================================================*/

.overview-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.overview-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.overview-title {
    font-size: 38px;
    font-weight: 700;
    color: #1A3263;
}

.overview-text {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-top: 15px;
}

.btn-outline-light {
    color: #1A3263 !important;
    border: 2px solid #1A3263 !important;
}


@media (max-width: 768px) {
    .overview-title {
        font-size: 28px;
        text-align: center;
    }

    .overview-text {
        text-align: center;
    }


}


/*============================Why-Choose===========================================*/
.why-section {
    background: url('sofa-bg.jpg') center/cover no-repeat;
    position: relative;
    padding: 100px 20px;
    color: #fff;
}

.why-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 50, 99, 0.75);
    /* Your brand color overlay */
}

.why-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.why-content h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.why-content p {
    font-size: 16px;
    opacity: 0.9;
}

.why-points {
    margin-top: 25px;
}

.why-points li {
    margin-bottom: 10px;
    font-size: 15px;
}



/*===========================================================*/

.image-gallery {
  height: 400px;
  gap: 15px;
}

.img-box {
  flex: 1;
  overflow: hidden;
  border-radius: 10px;
  transition: all 0.5s ease;
  cursor: pointer;
  position: relative;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover effect */
.image-gallery:hover .img-box {
  flex: 1;
}

.image-gallery .img-box:hover {
  flex: 3;
}

.image-gallery .img-box:hover img {
  transform: scale(1.05);
}

/* Default active (middle bigger) */
.img-box.active {
  flex: 2;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
  .image-gallery {
    flex-direction: column;
    height: auto;
  }

  .img-box {
    height: 200px;
  }

  .image-gallery .img-box,
  .image-gallery .img-box:hover {
    flex: unset;
  }
}


/*=======================Table===============*/
.table-container{
    width:100%;
    overflow-x:auto;
}

.product-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    min-width:800px;
}

/* Header */

.product-table thead{
    background:#00136b;
    color:#fff;
}

.product-table thead th{
    padding:18px 14px;
    text-align:left;
    font-size:20px;
    font-weight:600;
}

/* Body */

.product-table tbody tr{
    border-bottom:1px solid #d9d9d9;
    transition:0.3s ease;
}

.product-table tbody tr:hover{
    background:#f7f9ff;
}

.product-table tbody td{
    padding:20px 14px;
    font-size:17px;
    color:#111;
}

/* Italic Application Column */

.product-table tbody td:last-child{
    font-style:italic;
}

/* Responsive */

@media(max-width:768px){

    .product-table thead th{
        font-size:15px;
        padding:14px 10px;
    }

    .product-table tbody td{
        font-size:14px;
        padding:14px 10px;
    }

}


/*=================Advantages================*/
.advantages-section{
    width:100%;
    padding:70px 5%;
    
    background:url('99.webp') center/cover no-repeat;

    position:relative;
}

/* Overlay */

.advantages-section::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(255,255,255,0.55);
}

.container{
    position:relative;
    z-index:2;
}

.section-title{
    text-align:center;
    font-size:52px;
    font-weight:700;
    color:#1d1d1d;
    margin-bottom:60px;
}

.advantages-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.advantage-card{
    background:#fff;
    border:3px solid #00156e;
    border-radius:22px;
    padding:60px 35px 35px;
    position:relative;

    transition:0.4s ease;

    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.advantage-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,0.18);
}

.number{
    position:absolute;
    top:-38px;
    left:30px;

    width:90px;
    height:90px;

    background:#00156e;
    color:#fff;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:30px;
    font-weight:300;
}

.advantage-card h3{
    font-size:25px;
    margin-bottom:20px;
    color:#111;
}

.advantage-card p{
    font-size:16px;
    line-height:1.7;
    color:#555;
}

/* Tablet */

@media(max-width:1024px){

    .section-title{
        font-size:42px;
    }

    .advantage-card h3{
        font-size:32px;
    }

    .advantage-card p{
        font-size:20px;
    }

}

/* Mobile */

@media(max-width:768px){

    .advantages-grid{
        grid-template-columns:1fr;
    }

    .section-title{
        font-size:34px;
        margin-bottom:40px;
    }

    .advantage-card{
        padding:50px 22px 25px;
    }

    .number{
        width:70px;
        height:70px;
        font-size:30px;
        top:-28px;
    }

    .advantage-card h3{
        font-size:26px;
    }

    .advantage-card p{
        font-size:17px;
        line-height:1.6;
    }

}
