/* ===================================================
   ABOUT.CSS — loaded on about.html only
=================================================== */
.shared-background-container {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.shared-background-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.about-services {
    width: 100%;
    padding: 2rem 0 7rem;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.about-services .background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.about-services .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
}

.about-services .shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.03) 70%, transparent 100%);
    bottom: -150px;
    left: -100px;
    animation: float 30s ease-in-out infinite reverse;
}

.about-services .shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.03) 70%, transparent 100%);
    top: 20%;
    right: -100px;
    animation: float 30s ease-in-out infinite 5s;
}

.about-services .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    z-index: 2;
    padding: 0 2rem;
    position: relative;
}

/* About detail */
.about-detail {
    width: 100%;
    padding: 2rem 0;
    animation: fadeInUp 1.2s ease-out;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.about-detail-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
    padding: 3rem;
}

.about-img {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.about-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.img-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(212, 175, 55, 0.3), transparent);
}

.about-img:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.about-description {
    padding: 1rem;
}

.about-description p {
    font-weight: 300;
    line-height: 1.8;
    color: var(--white-color);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

/* Services grid */
.services-title {
    margin-top: 4rem;
}

.services-content {
    padding: 2rem 0;
    animation: fadeInUp 1.2s ease-out;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-box {
    cursor: pointer;
}

.service-box a {
    display: block;
    text-decoration: none;
}

.service-inner {
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 2rem 1rem;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--first-color);
    opacity: 0.3;
    animation: pulse 4s infinite;
}

.service-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(0.8) sepia(1) hue-rotate(10deg) saturate(5);
    transition: transform 0.4s ease;
}

.service-inner h3 {
    font-family: var(--font-body);
    font-size: var(--h3-font-size);
    font-weight: 600;
    color: var(--first-color);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.service-box:hover .service-inner {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: var(--first-color);
}

.service-box:hover .service-icon img {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

/* Responsive */
@media(max-width: 992px) {
    .about-detail-content {
        padding: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 768px) {
    .about-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-img img {
        height: 350px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 480px) {
    .about-detail-content {
        padding: 1.5rem;
    }

    .about-img img {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
