:root {
    --primary-color: var(--ocean-blue2); 
    --text-dark: #222;
    --text-gray: #666;
}

.about-section {
    padding: 80px 5%;
    background-color: #ffffff;
}

.container-about {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.image-grid {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.img-small {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 70px;
}

.img-small img {
    position: absolute;
    top: -20px;
    left: 80px;
    width: 200px;
    height: 140px;
    border-radius: 20px;
    margin-bottom: -50px;
    margin-left: 0;
    object-fit: cover;
    transition: all 0.3s ease-out;
}

.img-small:hover img, .img-large:hover img {
    transform: scale(1.09);
}

.img-large {
    margin-top: 0px;
    position: relative;
}

.img-large img {
    width: 380px;
    height: 450px;
    z-index: 6;
    border-radius: 25px;
    border: 10px solid #fff;
    align-self: flex-end;
    object-fit: cover;
    transition: all 0.3s ease-out;
}

.experience-badge {
    position: absolute;
    top: -10px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 6;
}

.exp-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--berry-crush);
}

.exp-text {
    font-size: 0.9rem;
    line-height: 1.2;
    color: var(--text-dark);
}

.content-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.sub-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.main-heading {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.main-heading strong {
    font-weight: 800;
}

.description {
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.grid-list-us {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
}

.list-feature {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.rating-box {
    grid-template-columns:  2 / 3;
    grid-row: 1 / 3;
    margin: 0 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}



.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.features-list li i {
    color: var(--primary-color);
}

.action-row {
    display: flex;
    flex-direction: row;
    width: max-content;
    padding: 2px 2px;
    background: var(--berry-crush);
    border-radius: var(--border-pt);
    align-content: center;
}

.btn-learn {
    display: inline-flex;
    align-items: center;
    background-color: #fdfdfd; 
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--border-pt); 
    border: 1px solid #eee; 
    padding: 6px 20px 6px 20px; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}

.action-row i {
    background-color: var(--berry-crush);
    color: white;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 15px;
    transform: rotate(314deg);
    transition: transform 0.3s ease;
}

.area-icon {
    display: flex;
    flex-direction: row;
    width: 40px;
    justify-content: center;
    align-items: center;
}

.action-row:hover {
    box-shadow: 0 6px 15px rgba(255, 164, 28, 0.2); 
    transform: translateY(-2px);
}

.rating-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    align-content: center;
}

.rating-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    display: block;
}

.stars {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.rating-count {
    font-size: 0.8rem;
    color: var(--text-gray);
}

@media (max-width: 1280px) {
    .container-about {
        flex-direction: column;
    }
    .img-large {
        width: 100%;
        align-self: center;
    }

    .img-small img {
        left: -60px;
    }

    .grid-list-us {
        width: 100%;
        justify-content: space-between;
        justify-items: center;
    }

    .rating-box {
        width: 210px;
        height: 210px;
    }
}

@media (max-width: 1024px) {
 .grid-list-us {
    grid-template-columns: 1fr 255px;
    width: 100%;
 }
}

@media (max-width: 768px) {
 .grid-list-us {
    grid-template-columns: 1fr ;
    grid-template-rows: 1fr auto auto;
    width: 100%;
    gap: 20px;
    justify-items: center;
 }
 .list-feature {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.features-list {
    margin: 0px;
}

.rating-box {
    grid-column:  1 / 2;
    grid-row: 2 / 3;
    margin: 0px;
    width: 190px;
    height: 190px;
}

.main-heading {
    font-size: 2rem;
} 

.img-small img {
    position: absolute;
    top: -10px;
    left: -20px;
    width: 125px;
    height: 100px;
}


.img-large img {
    width: 250px;
    height: 300px;

}

.experience-badge {
    flex-direction: column;
    gap: 0px;
    top: -10px;
right: 13px;
}

.exp-number {
    font-size: 1.2rem;
}
}