/* about-page.css */

body {
    background-color: #ffffff;
}

/**************
*****************
*************** hero-section ── 
****************
******************/


.section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 60px;
    background-color: var(--white);
}

.hero-section {
    width: 100%;
    height: 600px;
    padding-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.hero-section .hero-image {
    width: 98%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-section .hero-content {
    width: 860px;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.hero-section .hero-content h1 {
    font-family: var(--secondary-font);
    font-size: 48px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
    color: var(--white);
    line-height: 124%;
    letter-spacing: 0%;
}

.hero-section .hero-content .hero-heading {
    display: block;
    font-size: 58px;
}

.hero-section .hero-content p {
    font-family: var(--primary-font);
    text-transform: uppercase;
    font-size: 18px;
    text-align: center;
    font-weight: 400;
    color: var(--white);
    line-height: 35px;
}

/**************
*****************
*************** second-section ── 
****************
******************/


.deliver-content {
    width: 1440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.deliver-content .heading-para {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.heading-para h2 {
    font-family: var(--secondary-font);
    font-size: 48px;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--text-color-primary);
    line-height: 124%;
}

.heading-para h2 .deliver {
    background: var(--golden-gradient);
    -webkit-text-fill-color: transparent;
    width: fit-content;
    padding: 0 8px;
    border-radius: 4px;
    background-clip: text;
    color: transparent;
}

.heading-para p{
    font-size: 18px;
    font-family: var(--primary-font);
}

.six-cards-circle{
    width: 60%;
    position: relative;
    height: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.six-cards-circle img {
    width: 80%;
    height: auto;
}

.six-cards-circle .card {
    width: 240px;
    height: 190px;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    text-align: center;
    padding: 24px;
    border: 1.64px solid #DEDEDE;
    border-radius: 18px;
    box-shadow: 0 0 41.03px rgb(0 0 0 / 13%);
}

.six-cards-circle .card img{
    width: 50% !important;
}

.six-cards-circle .card p{
    font-size: 12px;
    font-weight: 500;
    line-height: 24px;
    color: var(--text-color-primary);
    text-transform: uppercase;
}

.automation-card{
    position: absolute;
    top: 20px;
}

.integration-card{
    position: absolute;
    top: 230px;
    right: 0;
    margin-right: -130px;
    transform: rotate(20deg)
}

.productivity-card{
    position: absolute;
    bottom: 100px;
    right: 0;
    margin-right: -100px;
    transform: rotate(-20deg)
}

.workflows-card{
    position: absolute;
    bottom: 14px;
}

.reduction-card{
    position: absolute;
    bottom: 140px;
    left: 0;
    margin-left: -100px;
    transform: rotate(20deg)
}

.repetitive-card{
    position: absolute;
    top: 230px;
    left: 0;
    margin-left: -130px;
    transform: rotate(-20deg)
}



/**************
*****************
*************** third-section ── 
****************
******************/

/* ============================================================
   RESPONSIVE STYLES — automation.css additions
   Breakpoints: 360, 390, 410, 430 (mobile portrait),
                768 (mobile landscape), tablet portrait (768–1024),
                tablet landscape (1024–1200)
   ============================================================ */

/* ──────────────────────────────────────────────────────────────
   SHARED MOBILE BASE  (≤ 430px — all small phones)
   ────────────────────────────────────────────────────────────── */
@media screen and (max-width: 430px) {
  /* ── Hero ── */
  .hero-section {
    height: auto;
    padding-top: 80px;
    padding-bottom: 0;
  }

  .hero-section .hero-image {
    width: 100%;
    height: 480px;
    border-radius: 12px;
    background-position: center;
  }

  .hero-section .hero-content {
    width: 90%;
    gap: 14px;
    padding: 20px;
  }

  .hero-section .hero-content h1 {
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: 0.02em;
  }

  .hero-section .hero-content p {
    font-size: 13px;
    line-height: 1.8;
  }

  /* ── Deliver Section ── */
  .section {
    padding: 50px 16px;
  }

  .deliver-content {
    width: 100%;
    gap: 32px;
  }

  .heading-para h2 {
    font-size: 28px;
    text-align: center;
  }

  .heading-para p {
    font-size: 14px;
    text-align: center;
  }

  /* Flatten the circle layout into a vertical list on mobile */
  .six-cards-circle {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .six-cards-circle > img {
    display: none; /* hide decorative lines SVG */
  }

  .six-cards-circle .card {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    width: 100%;
    max-width: 320px;
    height: auto;
    padding: 20px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    text-align: left;
  }

  .six-cards-circle .card img {
    width: 44px !important;
    flex-shrink: 0;
  }

  .six-cards-circle .card p {
    font-size: 12px;
    line-height: 1.6;
  }
}
/* ──────────────────────────────────────────────────────────────
   360px — Smallest phones (e.g. Galaxy A series)
   ────────────────────────────────────────────────────────────── */
@media screen and (max-width: 360px) {

  .hero-section .hero-image {
    height: 420px;
  }

  .hero-section .hero-content h1 {
    font-size: 22px;
  }

  .hero-section .hero-content p {
    font-size: 12px;
  }

  .heading-para h2 { font-size: 24px; }

  .cta-dark h2 { font-size: 1.8rem; }

  .cta-btns .btn-primary,
  .cta-btns .btn-outline {
    font-size: 0.72rem;
    padding: 9px 9px 9px 18px;
  }
}

/* ──────────────────────────────────────────────────────────────
   390px — iPhone 14/15 Pro
   ────────────────────────────────────────────────────────────── */
@media screen and (min-width: 361px) and (max-width: 390px) {

  .hero-section .hero-image { height: 450px; }

  .hero-section .hero-content h1 { font-size: 24px; }

  .hero-section .hero-content p { font-size: 12.5px; }

  .heading-para h2 { font-size: 26px; }

  .cta-dark h2 { font-size: 2rem; }
}

/* ──────────────────────────────────────────────────────────────
   410px — Pixel 7 / Galaxy S23+
   ────────────────────────────────────────────────────────────── */
@media screen and (min-width: 391px) and (max-width: 410px) {

  .hero-section .hero-image { height: 460px; }

  .hero-section .hero-content h1 { font-size: 25px; }

  .heading-para h2 { font-size: 27px; }

  .cta-dark h2 { font-size: 2.1rem; }
}

/* ──────────────────────────────────────────────────────────────
   430px — iPhone 14 Plus / 15 Plus
   Already covered by max-width 430 base above — fine-tuning:
   ────────────────────────────────────────────────────────────── */
@media screen and (min-width: 411px) and (max-width: 430px) {

  .hero-section .hero-image { height: 470px; }

  .hero-section .hero-content h1 { font-size: 26px; }

  .heading-para h2 { font-size: 28px; }

  .cta-dark h2 { font-size: 2.2rem; }
}

/* ──────────────────────────────────────────────────────────────
   768px — Mobile Landscape / Small Tablet portrait boundary
   ────────────────────────────────────────────────────────────── */
@media screen and (min-width: 431px) and (max-width: 768px) {

  /* ── Hero ── */
  .hero-section {
    height: auto;
    padding-top: 90px;
    padding-bottom: 0;
  }

  .hero-section .hero-image {
    width: 100%;
    height: 360px;
    border-radius: 14px;
  }

  .hero-section .hero-content {
    width: 88%;
    padding: 0 20px;
  }

  .hero-section .hero-content h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-section .hero-content p {
    font-size: 13px;
    line-height: 1.9;
  }

  /* ── Deliver ── */
  .section { padding: 50px 24px; }

  .deliver-content { width: 100%; gap: 36px; }

  .heading-para h2 { font-size: 32px; text-align: center; }

  .heading-para p { font-size: 15px; text-align: center; }

  /* Cards: 2-column grid */
  .six-cards-circle {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }

  .six-cards-circle > img { display: none; }

  .six-cards-circle .card {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    width: 100%;
    height: auto;
    padding: 20px 16px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .six-cards-circle .card img {
    width: 48px !important;
  }
}

/* ──────────────────────────────────────────────────────────────
   TABLET PORTRAIT  (769px – 1024px)
   ────────────────────────────────────────────────────────────── */
@media screen and (min-width: 769px) and (max-width: 1024px) {

  /* ── Hero ── */
  .hero-section {
    height: auto;
    padding-top: 100px;
    padding-bottom: 0;
  }

  .hero-section .hero-image {
    width: 97%;
    height: 480px;
    border-radius: 18px;
  }

  .hero-section .hero-content {
    width: 76%;
    padding: 0 30px;
  }

  .hero-section .hero-content h1 {
    font-size: 36px;
    line-height: 1.25;
  }

  .hero-section .hero-content p {
    font-size: 15px;
    line-height: 1.9;
  }

  /* ── Deliver ── */
  .section { padding: 60px 36px; }

  .deliver-content { width: 100%; gap: 48px; }

  .heading-para h2 { font-size: 38px; }

  /* Cards: 3-column grid */
  .six-cards-circle {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .six-cards-circle > img { display: none; }

  .six-cards-circle .card {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    width: 100%;
    height: auto;
    padding: 24px 18px;
    flex-direction: column;
    text-align: center;
  }

  .six-cards-circle .card img {
    width: 52px !important;
  }

  .six-cards-circle .card p { font-size: 12px; }
}

/* ──────────────────────────────────────────────────────────────
   TABLET LANDSCAPE  (1025px – 1200px)
   ────────────────────────────────────────────────────────────── */
@media screen and (min-width: 1025px) and (max-width: 1200px) {

  /* ── Hero ── */
  .hero-section {
    height: auto;
    padding-top: 108px;
  }

  .hero-section .hero-image {
    width: 97%;
    height: 520px;
  }

  .hero-section .hero-content {
    width: 72%;
  }

  .hero-section .hero-content h1 { font-size: 40px; }

  .hero-section .hero-content p { font-size: 16px; }

  /* ── Deliver ── */
  .deliver-content { width: 100%; gap: 52px; }

  .heading-para h2 { font-size: 42px; }

  /* Cards: keep circular layout but constrained */
  .six-cards-circle {
    width: 75%;
    height: 860px;
  }
}

/* ──────────────────────────────────────────────────────────────
   MOBILE LANDSCAPE ORIENTATION  (any phone rotated sideways)
   Using orientation media query for phones up to ~900px wide
   ────────────────────────────────────────────────────────────── */
@media screen and (orientation: landscape) and (max-width: 900px) and (max-height: 500px) {

  /* ── Hero ── */
  .hero-section {
    height: auto;
    padding-top: 70px;
    padding-bottom: 16px;
  }

  .hero-section .hero-image {
    width: 100%;
    height: 320px;
    border-radius: 12px;
  }

  .hero-section .hero-content {
    width: 60%;
    padding: 0 16px;
  }

  .hero-section .hero-content h1 { font-size: 22px; }

  .hero-section .hero-content p {
    font-size: 11px;
    line-height: 1.7;
  }

  /* ── Deliver ── */
  .section { padding: 40px 28px; }

  .deliver-content { gap: 28px; }

  .heading-para h2 { font-size: 28px; }

  .six-cards-circle {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .six-cards-circle > img { display: none; }

  .six-cards-circle .card {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    width: 100%;
    height: auto;
    padding: 16px;
    flex-direction: column;
    text-align: center;
  }

  .six-cards-circle .card img {
    width: 38px !important;
  }

  .six-cards-circle .card p { font-size: 10px; line-height: 1.5; }

  /* ── CTA / Footer ── */
  .cta-dark { padding: 40px 28px 28px; }

  .cta-dark h2 { font-size: 2rem; }

  .cta-dark p { max-width: 80%; font-size: 0.78rem; }

  .cta-btns { flex-direction: row; gap: 10px; }

  .cta-btns .btn-primary,
  .cta-btns .btn-outline { font-size: 0.72rem; padding: 8px 10px 8px 18px; }

  .cta-btns .btn-icon { width: 32px; height: 32px; }
}

/**************
*****************
*************** third-section ── 
****************
******************/


.approach-section {
    padding: 80px 0;
}

.approach-container {
    width: 1440px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.approach-container .img {
    width: 50%;
    /* height: 500px; */
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

.text-content {
    width: 86%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.text-content h2 {
    font-family: var(--secondary-font);
    font-size: 48px;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--text-color-primary);
    line-height: 124%;
}

.text-content p {
    width: 100%;
    font-family: var(--primary-font);
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 124%;
}

.text-content .btn-primary {
    width: 41%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #E6B554, #A16C16);
    color: #fff;
    padding: 10px 14px 10px 34px;
    font-size: clamp(0.85rem, 4vw, 1.1rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 55px;
    transition: all .2s;
    height: fit-content;
}

.text-content .btn-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    padding: 7px;
    background-color: #fff;
}


@media screen and (min-width: 1025px) and (max-width: 1200px) {
    .approach-container {
        max-width: 1200px;
    }

    .text-content .btn-primary {
    max-width: 51%;
    width: 100% !important;
}
    .text-content p{
        font-size: 14px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .approach-container {
        max-width: 1200px;
    }

    .text-content .btn-primary {
    max-width: 70%;
    justify-content: center;
    width: 100% !important;
}
    .text-content p{
        font-size: 10px;
    }
}

@media screen and (min-width: 431px) and (max-width: 768px) {
    .approach-container {
        /* max-width: 1200px; */
        flex-direction: column;
    }

    .text-content .btn-primary {
    max-width: 70%;
    justify-content: center;
    width: 100% !important;
}
    .text-content p{
        font-size: 14px;
    }

    .approach-container .img {
        width: 90%;
    }
}

@media screen and (max-width: 430px) {
    .approach-container {
        flex-direction: column;
    }

    .approach-container .img {
        width: 90%;
    }

    .text-content .btn-primary {
        width: 62%;
    }
}

@media screen and (max-width: 410px) {

    .text-content .btn-primary {
        width: 70%;
        justify-content: center;
    }

    .text-content p{
        font-size: 12px;
    }
}

@media screen and (max-width: 390px) {
    .approach-container {
        flex-direction: column;
    }

    .approach-container .img {
        width: 90%;
    }

    .text-content .btn-primary {
        width: 62%;
    }

    .text-content p{
        font-size: 10px;
    }

    .text-content .btn-primary {
    max-width: 70%;
    justify-content: center;
    width: 100% !important;
}
}