/* ==========================================================================
   Anmol Digital — Homepage Modern Polish V2
   ========================================================================== */

/* Hero: retain existing media and controls, improve visual finish only */
.home-hero {
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.home-hero__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .95) 0%,
            rgba(0, 0, 0, .79) 40%,
            rgba(0, 0, 0, .32) 72%,
            rgba(0, 0, 0, .48) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .06),
            rgba(0, 0, 0, .58)
        ) !important;
}

.home-hero__badge {
    min-height: 32px;
    padding: 7px 12px !important;
    border-color: rgba(255, 255, 255, .25) !important;
    background: rgba(255, 255, 255, .075) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-hero__title {
    max-width: 760px;
    text-wrap: balance;
}

.home-hero__description {
    max-width: 600px !important;
    color: rgba(255, 255, 255, .73) !important;
}

.home-hero__actions {
    gap: 10px !important;
}

.home-hero__scroll {
    opacity: .7;
}

/* Distribution network */
.partners-section {
    padding-top: clamp(64px, 6vw, 92px);
}

.partners-section .section-heading {
    margin-bottom: 34px;
}

.partner-marquee {
    margin-top: 32px !important;
}

.partner-marquee__group {
    gap: 14px !important;
    padding-right: 14px !important;
}

.partner-item {
    width: 205px !important;
    height: 104px !important;
    padding: 20px !important;
    border-color: var(--modern-line) !important;
    border-radius: 20px !important;
    background:
        linear-gradient(145deg, #ffffff, #f8f8f6) !important;
    box-shadow: var(--modern-shadow-xs);
}

.partner-item:hover {
    border-color: var(--modern-line-strong) !important;
    box-shadow: var(--modern-shadow-sm) !important;
    transform: translateY(-4px) !important;
}

.partner-item img,
.partner-item:hover img,
.partner-item:focus-visible img {
    filter: none !important;
    opacity: 1 !important;
}

/* About */
.about-section__grid {
    gap: clamp(46px, 6vw, 88px) !important;
}

.about-section__visual {
    min-height: 580px !important;
}

.about-section__image-wrap,
.about-section__placeholder {
    inset: 0 10% 0 0 !important;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 30px !important;
    box-shadow: var(--modern-shadow-md) !important;
}

.about-section__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 54%,
            rgba(0, 0, 0, .18)
        );
    pointer-events: none;
}

.about-section__stat {
    right: 0 !important;
    bottom: 28px !important;
    width: 154px !important;
    min-height: 132px !important;
    padding: 20px !important;
    border: 1px solid var(--modern-line);
    border-radius: 24px !important;
    box-shadow: var(--modern-shadow-md) !important;
}

.about-section__stat strong {
    font-size: 34px !important;
}

.about-highlights {
    gap: 10px !important;
    margin-bottom: 26px !important;
}

.about-highlight {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 15px !important;
    border-color: var(--modern-line) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .72) !important;
    box-shadow: var(--modern-shadow-xs);
}

.about-highlight:hover {
    border-color: var(--modern-line-strong) !important;
    background: #ffffff !important;
    transform: translateX(3px);
}

.about-highlight__icon,
.service-card__icon,
.service-detail-card__icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 13px !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
}

/* Services and Team headings remain centered */
.services-section > .container-fluid > .section-heading--split,
.team-section > .container-fluid > .section-heading--split {
    display: flex !important;
    max-width: 940px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    align-items: center !important;
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
}

.services-section .section-heading__eyebrow,
.team-section .section-heading__eyebrow,
.services-section .section-heading h2,
.team-section .section-heading h2,
.services-section .section-heading__description,
.team-section .section-heading__description {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
}

.services-section .section-heading .text-link {
    margin: 10px auto 0 !important;
}

/* Service cards */
.services-grid {
    gap: 14px !important;
}

.service-card {
    min-height: 310px !important;
    gap: 17px !important;
    padding: 23px !important;
    border-color: var(--modern-line) !important;
    border-radius: 22px !important;
    background:
        linear-gradient(155deg, #ffffff 0%, #fafaf8 100%) !important;
    box-shadow: var(--modern-shadow-xs);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: #111111;
    opacity: 0;
    transform: scaleX(.35);
    transform-origin: center;
    transition:
        opacity var(--modern-ease),
        transform var(--modern-ease);
}

.service-card:hover {
    border-color: var(--modern-line-strong) !important;
    box-shadow: var(--modern-shadow-md) !important;
    transform: translateY(-6px) !important;
}

.service-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.service-card__number {
    color: #a0a0a0 !important;
    font-size: 10.5px !important;
}

.service-card__content h3 {
    font-size: clamp(21px, 1.8vw, 27px) !important;
}

.service-card__content p {
    margin-top: 9px !important;
    color: var(--modern-muted) !important;
    font-size: 13.5px !important;
}

.service-card__link {
    padding-top: 15px !important;
    border-top-color: var(--modern-line) !important;
}

/* Testimonials */
.testimonials-grid {
    gap: 14px !important;
}

.testimonial-card {
    min-height: 350px !important;
    padding: 24px !important;
    border-color: rgba(255, 255, 255, .12) !important;
    border-radius: 22px !important;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .075),
            rgba(255, 255, 255, .035)
        ) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, .24) !important;
    background: rgba(255, 255, 255, .085) !important;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .18);
}

.testimonial-card__quote {
    font-size: 32px !important;
}

.testimonial-card__rating {
    margin: 16px 0 14px !important;
}

.testimonial-card blockquote p {
    font-size: 15.5px !important;
    line-height: 1.72 !important;
}

.testimonial-card__client {
    margin-top: 22px !important;
    padding-top: 18px !important;
}

/* Team */
.team-grid {
    gap: 14px !important;
}

.team-card {
    border-color: var(--modern-line) !important;
    border-radius: 22px !important;
    box-shadow: var(--modern-shadow-xs);
}

.team-card:hover {
    border-color: var(--modern-line-strong) !important;
    box-shadow: var(--modern-shadow-md) !important;
    transform: translateY(-5px) !important;
}

.team-card__media img,
.team-card:hover .team-card__media img,
.team-card:focus-within .team-card__media img {
    filter: none !important;
}

.team-card__content {
    padding: 17px 19px 19px !important;
}

.team-card__content h3 {
    font-size: 19px !important;
}

.team-card__designation {
    color: var(--modern-muted) !important;
    font-size: 12px !important;
}

.team-card__socials {
    right: 14px !important;
    bottom: 14px !important;
    gap: 6px !important;
}

.team-card__socials a {
    width: 35px !important;
    height: 35px !important;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(10, 10, 10, .76) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* CTA */
.cta-section {
    padding-top: 24px !important;
}

.cta-panel {
    padding: clamp(34px, 4.5vw, 62px) !important;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 30px !important;
    box-shadow: var(--modern-shadow-dark);
}

.cta-panel h2 {
    max-width: 820px;
    font-size: clamp(38px, 4.8vw, 66px) !important;
}

.cta-panel__content > p:last-child {
    max-width: 650px;
    color: rgba(255, 255, 255, .68) !important;
}

/* Contact preview */
.contact-preview {
    gap: clamp(36px, 5vw, 72px) !important;
}

.contact-preview__details {
    gap: 10px !important;
}

.contact-preview__item {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    padding: 15px !important;
    border: 1px solid var(--modern-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .68);
    box-shadow: var(--modern-shadow-xs);
}

.contact-preview__item:hover {
    border-color: var(--modern-line-strong);
    background: #ffffff;
    transform: translateX(3px);
}

.contact-preview__icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 13px !important;
}
