/* ==========================================================================
   VIAN CONSULTANCY SERVICES - ABOUT US PAGE (Editorial Design matching input_file_0.png)
   ========================================================================== */

/* ── Container & Global About Rhythm ── */
.about-page-body {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    background: var(--bg-page);
    padding: 0px;
}

[data-theme="dark"] .about-page-body {
    background: #fff;
}

/* ── About Us Page Hero Banner Spacing matching Home Page (`index.html`) exactly ── */
.about-page-body #esperBannerHero {
    position: relative;
    padding-top: 10rem !important;
    padding-bottom: 5rem !important;
   
}

.about-page-body #esperBannerHero .esper-banner-inner {
    padding: 0px !important;
    min-height: auto;
}

.about-page-body #esperBannerHero .esper-text-side {
    padding: 0px  0px 40px!important;
}

/* ==========================================================================
   SECTION 1: EDITORIAL SPLIT CARD WITH OVERLAPPING IMAGE (`input_file_0.png` Top)
   ========================================================================== */
.about-editorial-hero {
    position: relative;
    max-width: 1240px;
    margin: 0rem auto 0rem;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
}

.editorial-beige-card {
    position: relative;
    background: #f6f6f6;
    width: 68%;
    padding: 4.5rem 10rem 4.5rem 5rem;
    border-radius: 8px;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 2;
    transition: all 0.3s ease;
}

[data-theme="dark"] .editorial-beige-card {
    background: #1e293b;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(51, 65, 85, 0.8);
}

/* Rotating Circular Text Stamp on top-right edge (`TYPE HERE • TYPE HERE •`) */
.editorial-circle-stamp {
    position: absolute;
    top: -45px;
    right: 26%;
    width: 110px;
    height: 110px;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateStamp 20s linear infinite;
}

@keyframes rotateStamp {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.editorial-circle-stamp svg {
    width: 100%;
    height: 100%;
}

.editorial-circle-stamp text {
    font-family: 'Outfit', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    fill: #f6b300;
}

[data-theme="dark"] .editorial-circle-stamp text {
    fill: #f8fafc;
}

.stamp-center-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #8c5e40;
    border-radius: 50%;
}

[data-theme="dark"] .stamp-center-dot {
    background: #38bdf8;
}

.editorial-overtitle {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #8c5e40;
    margin-bottom: 1.25rem;
    display: block;
}

[data-theme="dark"] .editorial-overtitle {
    color: #38bdf8;
}

.editorial-main-title {
    font-family: Georgia, 'Times New Roman', Baskerville, serif;
    font-size: clamp(1.9rem, 2.6vw, 2.5rem);
    font-weight: 400;
    color: #1c1917;
    line-height: 1.28;
    margin-bottom: 2.5rem;
}

.editorial-main-title em {
    font-style: italic;
}

[data-theme="dark"] .editorial-main-title {
    color: #f8fafc;
}

.editorial-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.editorial-list-item {
    font-family: 'Inter', sans-serif;
    font-size: 0.96rem;
    color: #44403c;
    line-height: 1.75;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(28, 25, 23, 0.16);
}

.editorial-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

[data-theme="dark"] .editorial-list-item {
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.15);
}

.editorial-paragraph {
    font-family: 'Inter', sans-serif;
    font-size: 1.04rem;
    color: #44403c;
    line-height: 1.88;
    margin-bottom: 1.5rem;
}

.editorial-paragraph:last-child {
    margin-bottom: 0;
}

[data-theme="dark"] .editorial-paragraph {
    color: #cbd5e1;
}

/* Overlapping Photo on right (`input_file_0.png` Right Side) */
.editorial-photo-side {
    position: absolute;
    right: 1.5rem;
    top: -30px;
    width: 38%;
    height: calc(100% + 60px);
    z-index: 5;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: -15px 25px 50px -12px rgba(15, 23, 42, 0.25);
    background: #e2e8f0;
}

[data-theme="dark"] .editorial-photo-side {
    box-shadow: -15px 25px 50px -12px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.editorial-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.editorial-photo-side:hover .editorial-main-img {
    transform: scale(1.04);
}

/* Overlapping Icon Button on photo right edge */
.photo-side-badge {
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    background: #ffffff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 8;
    color: #1c1917;
    font-size: 1.35rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-side-badge:hover {
    transform: translateY(-50%) scale(1.1);
    background: #1c1917;
    color: #ffffff;
}


/* ==========================================================================
   SECTION 2: THREE-COLUMN FEATURES WITH VERTICAL DIVIDERS (`- 01 -`, `- 02 -`, `- 03 -`)
   ========================================================================== */
.about-columns-section {
    position: relative;
    max-width: 1240px;
    margin: 7rem auto 6rem;
    padding: 0 1.5rem;
}

.section-subtitle-center {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #57534e;
    text-align: center;
    margin-bottom: 3.5rem;
}

[data-theme="dark"] .section-subtitle-center {
    color: #94a3b8;
}

.columns-3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.col-item {
    padding: 0 2.8rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.col-item.has-divider {
    border-right: 1px solid rgba(28, 25, 23, 0.18);
}

[data-theme="dark"] .col-item.has-divider {
    border-right-color: rgba(255, 255, 255, 0.15);
}

.col-num {
    font-family: 'Outfit', sans-serif;
    font-size: 25px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1.35rem;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .col-num {
    color: #f8fafc;
}

.col-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #ececec;
    line-height: 1.85;
}

[data-theme="dark"] .col-desc {
    color: #cbd5e1;
}


/* ==========================================================================
   SECTION 3: INTRODUCING + GIANT WATERMARK TITLE + DEVICE MOCKUP CLUSTER
   ========================================================================== */
.about-showcase-section {
    position: relative;
  
    padding: 5rem;
}

.showcase-wrapper {
    position: relative;
    padding-top: 4.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Giant Background Watermark Text (`COURSE NAME` / `VIAN CONSULTANCY`) */
.watermark-title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.2rem, 8.8vw, 7.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: rgba(180, 160, 145, 0.22);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

[data-theme="dark"] .watermark-title {
    color: rgba(255, 255, 255, 0.07);
}

.showcase-white-backdrop {
    position: relative;
    z-index: 2;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.08);
    padding: 4rem 2rem 3rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
}

[data-theme="dark"] .showcase-white-backdrop {
    background: #0f172a;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(51, 65, 85, 0.8);
}

/* Mockup Trio Layout */
.mockup-cluster {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    max-width: 1040px;
    position: relative;
    gap: 0;
}

/* ── Continuous Staggered Floating Animations for Bottom Device Images ── */
@keyframes floatTablet {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes floatMonitor {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-8px) scale(1.015); }
}

@keyframes floatLaptop {
    0%, 100% { transform: translateY(0px) rotate(1.5deg); }
    50% { transform: translateY(-14px) rotate(-1deg); }
}

/* Left Tablet / Checklist Box */
.mockup-item-tablet {
    width: 26%;
    z-index: 4;
    margin-right: -4%;
    margin-bottom: 0.5rem;
    animation: floatTablet 6.5s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), z-index 0s;
}

.mockup-item-tablet:hover {
    animation-play-state: paused;
    transform: translateY(-16px) scale(1.05) rotate(0deg) !important;
    z-index: 20 !important;
}

.tablet-frame {
    background: #111827;
    padding: 10px;
    border-radius: 18px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
    border: 2px solid #374151;
}

.tablet-frame img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* Center Monitor / Laptop Screen */
.mockup-item-monitor {
    width: 58%;
    z-index: 3;
    animation: floatMonitor 7.5s ease-in-out infinite 0.6s;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), z-index 0s;
}

.mockup-item-monitor:hover {
    animation-play-state: paused;
    transform: translateY(-14px) scale(1.03) !important;
    z-index: 20 !important;
}

.monitor-frame {
    background: #111827;
    padding: 14px 14px 20px;
    border-radius: 16px 16px 6px 6px;
    box-shadow: 0 25px 55px -12px rgba(0, 0, 0, 0.45);
    border: 2px solid #374151;
    position: relative;
}

.monitor-frame::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 18px;
    background: linear-gradient(180deg, #374151 0%, #1f2937 100%);
    border-radius: 0 0 6px 6px;
}

.monitor-stand-base {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 6px;
    background: #4b5563;
    border-radius: 3px;
}

.monitor-frame img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Right Laptop Mockup */
.mockup-item-laptop {
    width: 38%;
    z-index: 5;
    margin-left: -8%;
    margin-bottom: -10px;
    animation: floatLaptop 7s ease-in-out infinite 1.2s;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), z-index 0s;
}

.mockup-item-laptop:hover {
    animation-play-state: paused;
    transform: translateY(-16px) scale(1.05) rotate(0deg) !important;
    z-index: 20 !important;
}

.laptop-frame {
    background: #1f2937;
    padding: 10px 10px 14px;
    border-radius: 12px 12px 4px 4px;
    box-shadow: -15px 20px 45px -10px rgba(0, 0, 0, 0.45);
    border: 2px solid #4b5563;
    position: relative;
}

.laptop-frame::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -6%;
    width: 112%;
    height: 10px;
    background: linear-gradient(180deg, #6b7280 0%, #374151 100%);
    border-radius: 0 0 10px 10px;
}

.laptop-frame img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}


/* ==========================================================================
   SECTION 4: BOTTOM CTA ROW (`YOU NEED THIS BECAUSE` + Heading + Button)
   ========================================================================== */
.about-cta-row {
    position: relative;
    max-width: 1180px;
    margin: 4rem auto 3rem;
    padding: 3.5rem 4rem;
    background: #f6f6f6;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3.5rem;
    box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .about-cta-row {
    background: #1e293b;
    border: 1px solid rgba(51, 65, 85, 0.8);
    box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.45);
}

.cta-text-side {
    flex: 1;
}

.cta-overtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #8c5e40;
    margin-bottom: 0.85rem;
    display: block;
}

[data-theme="dark"] .cta-overtitle {
    color: #38bdf8;
}

.cta-main-heading {
    font-family: Georgia, 'Times New Roman', Baskerville, serif;
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    font-weight: 400;
    color: #1c1917;
    line-height: 1.35;
    margin: 0;
}

[data-theme="dark"] .cta-main-heading {
    color: #f8fafc;
}

.cta-btn-side {
    flex-shrink: 0;
}

.about-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #9d5c38;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1.25rem 3.2rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 28px -4px rgba(157, 92, 56, 0.38);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.about-cta-button:hover {
    background: #7d472a;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -4px rgba(157, 92, 56, 0.48);
}

[data-theme="dark"] .about-cta-button {
    background: #38bdf8;
    color: #0f172a;
    box-shadow: 0 12px 28px -4px rgba(56, 189, 248, 0.35);
}

[data-theme="dark"] .about-cta-button:hover {
    background: #0284c7;
    color: #ffffff;
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Mobile Layout Stacking)
   ========================================================================== */
@media (max-width: 1024px) {
    .about-editorial-hero {
        flex-direction: column;
        margin-top: 5rem;
        padding-top: 6rem;
    }
    .about-columns-section {
    position: relative;
    max-width: 1240px;
    margin: 0rem auto 0rem !important;
    padding: 0 1.5rem;
}

    .editorial-beige-card {
        width: 100%;
        padding: 4rem 3rem;
    }

    .editorial-photo-side {
        position: relative;
        width: 100%;
        height: 420px;
        right: auto;
        top: -30px;
        margin-bottom: -30px;
    }

    .editorial-circle-stamp {
        right: 2rem;
        top: -55px;
    }

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

    .col-item.has-divider {
        border-right: none;
        border-bottom: 1px solid rgba(28, 25, 23, 0.18);
        padding-bottom: 2.5rem;
    }

    [data-theme="dark"] .col-item.has-divider {
        border-bottom-color: rgba(255, 255, 255, 0.15);
    }

    .mockup-cluster {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .mockup-item-tablet,
    .mockup-item-monitor,
    .mockup-item-laptop {
        width: 90%;
        margin: 0;
    }

    .about-cta-row {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .editorial-beige-card {
        padding: 3.5rem 1.75rem;
    }

    .editorial-main-title {
        font-size: 1.65rem;
    }

    .watermark-title {
        font-size: 38px;
    }

    .showcase-white-backdrop {
        padding: 3rem 1rem 2rem;
    }

    .about-cta-button {
        width: 100%;
        padding: 1.15rem 1.5rem;
    }
}

/* ==========================================================================
   H1 & H2 FADE-IN-UP ANIMATION
   ========================================================================== */
@keyframes fadeInUpHeading {
    0% {
        opacity: 0;
        transform: translateY(32px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

h1, h2,
.esper-headline,
.editorial-main-title,
.cta-main-heading {
    animation: fadeInUpHeading 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

h2, .editorial-main-title, .cta-main-heading {
    animation-delay: 0.15s;
}

h1.fade-in-up-scroll,
h2.fade-in-up-scroll {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

h1.fade-in-up-scroll.is-visible,
h2.fade-in-up-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   PERFECT COLOR COMBINATION OVERRIDES
   ========================================================================== */
.about-page-body #esperBannerHero {
    background: #ffffff00;
}
.about-editorial-hero {
    background: #ffffff00 !important;
}
.about-columns-section {
    background:#ffffff00;
}
.about-showcase-section {
    background:#f8fafc;
}

[data-theme="dark"] .about-page-body #esperBannerHero { background:#ffffff00; }
[data-theme="dark"] .about-editorial-hero { background: #ffffff00; }
[data-theme="dark"] .about-columns-section { background: #ffffff00; }
[data-theme="dark"] .about-showcase-section { background: #ffffff00; }

.editorial-main-title {
    background: linear-gradient(90deg, #000000 0%, #35177b 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    text-shadow: none !important;
}

[data-theme="dark"] .editorial-main-title {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    color: #f8fafc !important;
    text-shadow: 0 4px 25px rgba(192, 132, 252, 0.35) !important;
}

/* Global Responsive Adjustments for Tab & Mobile (Equal 60px padding) */
@media screen and (max-width: 1024px) {
    section,
    .hero-stage-container,
    .fanned-ecosystem-section,
    .dreamy-cloud-section,
    .our-works-showcase-section,
    .creative-infographic-section,
    .faq-section,
    .bottom-cta-heading-section,
    .client-showcase-section,
    .about-hero,
    .contact-hero,
    .portfolio-hero,
    .services-hero,
    .section-padding,
    main > section {
        padding: 60px 10px !important;
        box-sizing: border-box !important;
    }
    html, body {
        overflow-x: hidden;
    }
}

@media screen and (max-width: 768px) {
    section,
    .hero-stage-container,
    .fanned-ecosystem-section,
    .dreamy-cloud-section,
    .our-works-showcase-section,
    .creative-infographic-section,
    .faq-section,
    .bottom-cta-heading-section,
    .client-showcase-section,
    .about-hero,
    .contact-hero,
    .portfolio-hero,
    .services-hero,
    .section-padding,
    main > section {
        padding: 60px 10px !important;
        box-sizing: border-box !important;
    }
}

/* Tablet view (769px - 1024px) padding update */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    section,
    .hero-stage-container,
    .fanned-ecosystem-section,
    .dreamy-cloud-section,
    .our-works-showcase-section,
    .creative-infographic-section,
    .faq-section,
    .bottom-cta-heading-section,
    .client-showcase-section,
    .about-hero,
    main > section {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }
}

/* Reduce large gap between banner heading and the first section */
#esperBannerHero {
    padding-bottom: 10px !important;
}
.about-page-body #esperBannerHero .esper-text-side {
    padding-bottom: 0px !important;
}
.about-editorial-hero {
    margin-top: 1rem !important;
    padding-top: 1.5rem !important;
}

/* Tablet view internal spacing adjustments for about columns */
@media screen and (max-width: 1024px) {
    .section-subtitle-center {
        margin-bottom: 1.5rem !important;
    }
    .columns-3-grid {
        gap: 1.5rem !important;
    }
    .col-item.has-divider {
        padding-bottom: 1.5rem !important;
    }
    .col-item {
        padding: 0 1rem !important;
    }
}

/* ==========================================================================
   iPhone Pro Max (430x932) Responsiveness Fixes
   ========================================================================== */
@media (max-width: 430px) {
    .columns-2-grid,
    .columns-3-grid,
    .team-grid {
        grid-template-columns: 1fr !important;
    }
    .about-content,
    .about-image-wrapper {
        width: 100% !important;
        margin: 0 !important;
    }
    .hero-content {
        padding: 0 15px !important;
    }
}

