/* ---------------- ABOUT HERO ---------------- */
.about-hero {
    text-align: center;
    background: #f4d400;
    padding: 120px 24px 80px;
    position: relative;
    margin-bottom: 60px;
    overflow: hidden;
}

.about-hero::after,
.about-hero::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border: 24px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    z-index: 0;
}
.about-hero::before { left: -120px; top: 120px; }
.about-hero::after { right: -140px; bottom: 80px; }

.about-hero .top-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.about-hero .top-text h3 {
    font-size: 68px;
    font-weight: 800;
    line-height: 1.1;
    color: #000;
}

.about-hero .top-text p {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.about-hero .sub-title {
    max-width: 880px;
    margin: 22px auto 0;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
    color: #111;
    position: relative;
    z-index: 1;
}

.about-hero .hero-image {
    margin: 30px auto 0;
    max-width: 900px;
    position: relative;
    z-index: 1;
    padding: 0 16px;
}

.about-hero .hero-image img {
    width: 100%;
    max-height: 380px;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

/* ---------------- ABOUT SECTION ---------------- */
.about-section {
    text-align: center;
    padding: 100px 20px;
    background: #fff;
}

.about-title {
    font-size: 55px;
    font-weight: 800;
    margin-bottom: 25px;
}

.about-text {
    max-width: 850px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 400;
    color: #000;
}

/* ---------------- SCROLL BUTTON ---------------- */
.scroll-btn {
    margin-top: 50px;
}

.circle {
    background: #f4d400;  
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 29px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    margin: 30px auto 0;
}

.circle:hover {
    transform: scale(1.1);
}

/* ---------------- SCROLLING GALLERY ---------------- */
.scroll-gallery {
    width: 100%;
    overflow-x: auto;
    padding: 60px 0;
    background: #fff;
}

.scroll-track {
    display: flex;
    gap: 20px;
}

.scroll-item {
    min-width: 250px;
    height: 350px;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.35s ease;
}

.hover-content {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
    text-align: center;
    opacity: 0;
    padding: 10px;
    transition: 0.4s ease;
    pointer-events: none;
}

.overlay-replace:hover img {
    opacity: 0;
}

.overlay-replace:hover .hover-content {
    background: #ffdd00;
    color: #000;
    font-weight: 600;
    opacity: 1;
}

.overlay-text:hover .hover-content {
    opacity: 1; 
    color: white;
    font-weight: 700;
    background-image: url("socialpanga1/assets/img/bg-paint(1).svg");
    background-repeat: no-repeat;
    background-position:center;
    backdrop-filter: blur(1px);
}

/* ---------------- CUSTOMER DELIGHT ---------------- */
.customer-section {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
}

.customer-section h1 {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 40px;
}

.cd-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.cd-box {
    width: 200px;
    background: #dbf3fd;
    padding: 25px;
    border-radius: 8px;
    transition: 0.3s ease;
    cursor: pointer;
}

.cd-box:hover {
    background: #fee439;
    transform: translateY(-5px);
}

.cd-box img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.cd-box p {
    font-size: 14px;
    font-weight: 600;
}

/* ---------------- BOTTOM REFERENCE ---------------- */
.bottom-ref {
    text-align: center;
    margin: 60px auto;
    font-size: 28px;
    font-weight: bold;
    background-image: url("socialpanga1/assets/images/icons/bg-paint.svg");
    background-repeat: no-repeat;
    background-position: center;
    padding: 40px 20px;
}

/* ---------------- MEDIA QUERIES ---------------- */
@media (max-width: 1024px) {
    .about-hero { padding: 100px 20px 60px; }
    .about-hero .top-text h3 { font-size: 54px; }
    .about-hero .top-text p { font-size: 16px; }
    .about-title { font-size: 45px; }
}

@media (max-width: 768px) {
    .about-hero { padding: 80px 18px 50px; }
    .about-hero::before, .about-hero::after { width: 220px; height: 220px; }
    .about-hero .top-text h3 { font-size: 44px; }
    .about-hero .top-text p { font-size: 15px; }
    .about-title { font-size: 38px; }
    .about-text { font-size: 16px; }
}

@media (max-width: 480px) {
    .about-hero { padding: 46px 12px 32px; }
    .about-hero::before, .about-hero::after { display: none; }
    .about-hero .top-text h3 { font-size: 30px; line-height: 1.1; }
    .about-hero .top-text p { font-size: 13px; }
    .about-hero .sub-title { font-size: 14px; margin-top: 12px; }
    .about-title { font-size: 28px; }
    .about-text { font-size: 14px; line-height: 22px; }
    .cd-box { width: 150px; padding: 15px; }
}
