/* ===== AquaKem — About Page | ISO Palette (Cooling Water Treatment style) ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg:           #ffffff;
  --fg:           #333333;
  --surface:      #f0f7ff;
  --surface-2:    #e8f4ff;
  --line:         rgba(0, 123, 255, 0.15);
  --muted:        #666666;
  --brand:        #007BFF;
  --brand-deep:   #0056c7;
  --brand-darker: #003f9e;
  --accent:       #FFC000;
  --accent-deep:  #e6ac00;
  --max:          1320px;
  --display:      Arial, Helvetica, sans-serif;
  --sans:         "Inter", system-ui, sans-serif;
  --mono:         "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  padding-top: 60px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
ul, ol { list-style: none; }
b { font-weight: 700; color: var(--brand-deep); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--brand-deep);
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 700; }

p { color: var(--muted); line-height: 1.7; }

/* ===== HERO ===== */
.about-hero {
  position: relative;
  padding: 7rem 1.5rem 6rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 60%, var(--brand-darker) 100%);
  text-align: center;
  color: #fff;
}
.about-hero::before,
.about-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,192,0,.18), transparent 70%);
  pointer-events: none;
}
.about-hero::before { width: 480px; height: 480px; top: -160px; right: -120px; }
.about-hero::after  { width: 360px; height: 360px; bottom: -140px; left: -100px;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%); }

.about-hero-content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}
.about-hero h1 { color: #fff; margin-bottom: 1.25rem; }
.about-hero p {
  max-width: 720px;
  margin: 1.5rem auto 0;
  color: rgba(255,255,255,.85);
  font-size: 1.125rem;
  line-height: 1.7;
}
.gold-line {
  display: inline-block;
  width: 80px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto;
}

/* ===== Sections base ===== */
.page-section {
  padding: 6rem 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
@media (min-width: 1024px) { .page-section { padding: 8rem 0; } }
.page-section.alt { background: var(--surface); }

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .section-inner { padding: 0 2.5rem; } }

.section-center { text-align: center; margin-bottom: 3rem; }
.section-center .section-tag { margin: 0 auto 2rem; }

/* Section tag — gold bar + uppercase tracked label */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: 2.5rem;
}
.section-tag::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--accent);
}

/* ===== Who We Are ===== */
.who-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .who-grid { grid-template-columns: 6fr 5fr; gap: 5rem; } }
.who-text p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  max-width: 42rem;
}
.who-img {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(0,123,255,.10);
}
.who-img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

/* ===== Stats containers (Factory & Values) ===== */
.stats-container,
.stats-container-val {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}
@media (min-width: 640px) {
  .stats-container     { grid-template-columns: repeat(2, 1fr); }
  .stats-container-val { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .stats-container     { grid-template-columns: repeat(4, 1fr); }
  .stats-container-val { grid-template-columns: repeat(5, 1fr); }
}

.stat-item {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,123,255,.06);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.stat-item:hover {
  transform: translateY(-4px);
  border-top-color: var(--accent);
  box-shadow: 0 12px 32px rgba(0,123,255,.12);
}
.stat-item img {
  width: 56px; height: 56px;
  margin: 0 auto 1.25rem;
  object-fit: contain;
}
.stat-item h2 {
  font-size: 2rem;
  color: var(--brand-deep);
  margin-bottom: .5rem;
}
.stat-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.stat-item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: .5rem;
}
.stat-item p { font-size: .9rem; line-height: 1.6; }

/* Factory description (full-width row) */
.factory-description {
  grid-column: 1 / -1;
  margin-top: 3rem;
  display: grid;
  gap: 2.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,123,255,.06);
}
@media (min-width: 1024px) {
  .factory-description { grid-template-columns: 6fr 5fr; align-items: center; padding: 3rem; }
}
.fd-text h3 {
  font-size: 1.25rem;
  color: var(--brand-deep);
  margin: 1.5rem 0 .75rem;
  position: relative;
  padding-left: 1rem;
}
.fd-text h3::before {
  content: "";
  position: absolute;
  left: 0; top: .35em; bottom: .35em;
  width: 3px; background: var(--accent); border-radius: 2px;
}
.fd-text h3:first-child { margin-top: 0; }
.fd-text p { margin-bottom: 1rem; font-size: 1rem; }
.fd-img {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.fd-img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

/* ===== Certifications ===== */
.cert-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cert-grid { grid-template-columns: repeat(4, 1fr); } }

.cert-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 4px 20px rgba(0,123,255,.06);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.cert-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 12px 32px rgba(0,123,255,.12);
}
.cert-card:hover::after { transform: scaleX(1); }

.cert-icon { height: 70px; width: auto; margin-bottom: 1.25rem; object-fit: contain; }
.cert-card h3 {
  font-size: 1.125rem;
  color: var(--brand-deep);
  margin-bottom: .75rem;
}
.cert-card p {
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.cert-badge {
  margin-top: auto;
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--surface);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
}

/* ===== AWT membership ===== */
.awt-wrap {
  display: grid;
  gap: 3rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,123,255,.06);
}
@media (min-width: 1024px) {
  .awt-wrap { grid-template-columns: 5fr 7fr; gap: 4rem; padding: 3rem; }
}
.awt-img-side {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.awt-img-side img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.awt-txt h3 {
  font-size: 1.625rem;
  color: var(--brand-deep);
  margin-bottom: 1.25rem;
}
.awt-txt p { margin-bottom: 1rem; font-size: 1rem; }

/* ===== Organisation (Departments) ===== */
.departments {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
  text-align: left;
}
@media (min-width: 640px)  { .departments { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .departments { grid-template-columns: repeat(4, 1fr); } }

.departments .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,123,255,.06);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.departments .card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 12px 32px rgba(0,123,255,.12);
}
.departments .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.departments .card h4 {
  font-size: 1.05rem;
  color: var(--brand-deep);
  margin: 1.25rem 1.25rem .5rem;
  font-weight: 700;
  line-height: 1.3;
}
.departments .card p {
  margin: 0 1.25rem 1.5rem;
  font-size: .9rem;
  line-height: 1.6;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 767px) {
  .about-hero { padding: 5rem 1.25rem 4rem; }
  .page-section { padding: 4rem 0; }
  .factory-description, .awt-wrap { padding: 1.75rem; }
  .who-img img, .fd-img img, .awt-img-side img { min-height: 220px; }
}

/* ================================================================
   FULL RESPONSIVE PACK — Phone / Tablet / Laptop / Large Desktop
   ================================================================ */

/* ---- Large Desktop (1440px+) ---- */
@media (min-width: 1440px) {
  :root { --max: 1360px; }
  .about-hero { padding: 8rem 1.5rem 7rem; }
  .stats-container { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .stats-container-val { grid-template-columns: repeat(5, 1fr); gap: 2rem; }
  .cert-grid { gap: 2rem; }
}

/* ---- Ultra-wide Desktop (1920px+) ---- */
@media (min-width: 1920px) {
  :root { --max: 1600px; }
  .about-hero h1 { font-size: clamp(2.5rem, 4vw, 5rem); }
  .who-img img, .fd-img img, .awt-img-side img { min-height: 420px; }
}

/* ---- Tablet (768px – 1023px) ---- */
@media (min-width: 768px) and (max-width: 1023px) {
  .who-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .factory-description { grid-template-columns: 1fr; }
  .awt-wrap { grid-template-columns: 1fr; }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .stats-container-val { grid-template-columns: repeat(3, 1fr); }
  .departments { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Large Phone / Small Tablet (481px – 767px) ---- */
@media (max-width: 767px) {
  body { padding-top: 56px; }
  .about-hero { padding: 4.5rem 1.25rem 3.5rem; }
  .page-section { padding: 3.5rem 0; }
  .who-grid { grid-template-columns: 1fr; gap: 2rem; }
  .who-img img { min-height: 200px; }
  .stats-container,
  .stats-container-val { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-item { padding: 1.5rem 1rem; }
  .factory-description { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.5rem; }
  .cert-grid { grid-template-columns: 1fr; }
  .awt-wrap { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.5rem; }
  .departments { grid-template-columns: 1fr; }
  .section-tag { font-size: 11px; gap: 10px; }
}

/* ---- Small Phone (max 480px) ---- */
@media (max-width: 480px) {
  .about-hero { padding: 4rem 1rem 3rem; }
  .about-hero h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .about-hero p { font-size: 1rem; }
  .page-section { padding: 3rem 0; }
  .stats-container,
  .stats-container-val { grid-template-columns: 1fr; }
  .stat-item h2 { font-size: 1.6rem; }
  .cert-card, .stat-item { padding: 1.5rem 1rem; }
  .factory-description, .awt-wrap { padding: 1.25rem; }
  .gold-line { width: 56px; }
}



/* ==========================================================
   LARGE DESKTOP (1440px+)
   ========================================================== */

@media (min-width:1440px){

    :root{
        --max:1650px;
    }

    body{
        font-size:18px;
    }

    .section-inner{
        max-width:var(--max);
        padding-inline:3rem;
    }
    .section-tag{font-size:1.3rem;}


    .page-section{
        padding:9rem 0;
    }

    /* HERO */

    .about-hero{
        padding:10rem 2rem 8rem;
    }

    .about-hero h1{
        font-size:clamp(4rem,4vw,5.5rem);
    }

    .about-hero p{
        max-width:900px;
        font-size:1.3rem;
        line-height:1.9;
    }

    /* WHO */

    .who-grid{

        grid-template-columns:6fr 5fr;

        gap:6rem;

        align-items:center;
    }

    .who-text p{

        font-size:1.25rem;

        line-height:2;

        max-width:850px;
    }

    .who-img{

        border-radius:22px;
    }

    .who-img img{

        min-height:650px;
    }

    /* FACTORY */

    .factory-description{

        grid-template-columns:6fr 5fr;

        gap:5rem;

        padding:3.5rem;
    }

    .fd-text h3{

        font-size:2rem;
    }

    .fd-text p{

        font-size:1.2rem;

        line-height:1.9;
    }

    .fd-img img{

        min-height:520px;
    }

    /* STATS */

    .stats-container{

        grid-template-columns:repeat(4,1fr);

        gap:2rem;
    }

    .stats-container-val{

        grid-template-columns:repeat(5,1fr);

        gap:2rem;
    }

    .stat-item{

        padding:2.5rem;
    }

    .stat-item img{

        width:70px;
        height:70px;
    }

    .stat-item h2{

        font-size:2.5rem;
    }

    .stat-item h3{

        font-size:1.15rem;
    }

    .stat-item h4{

        font-size:1.35rem;
    }

    .stat-item p{

        font-size:1rem;
    }

    /* CERTIFICATES */

    .cert-grid{

        grid-template-columns:repeat(4,1fr);

        gap:2rem;
    }

    .cert-card{

        padding:2.5rem;
    }

    .cert-icon{

        height:90px;
    }

    .cert-card h3{

        font-size:1.4rem;
    }

    .cert-card p{

        font-size:1rem;
    }

    /* AWT */

    .awt-wrap{

        grid-template-columns:5fr 7fr;

        gap:5rem;

        padding:3.5rem;
    }

    .awt-img-side img{

        min-height:520px;
    }

    .awt-txt h3{

        font-size:2.2rem;
    }

    .awt-txt p{

        font-size:1.2rem;

        line-height:1.9;
    }

    /* Departments */

    .departments{

        grid-template-columns:repeat(4,1fr);

        gap:2rem;
    }

    .departments .card img{

        height:240px;
    }

}

/* ==========================================================
   ULTRA WIDE (1920px+)
   ========================================================== */

@media (min-width:1920px){

    :root{
        --max:1840px;
    }

    body{
        font-size:20px;
    }

    .section-inner{
        max-width:var(--max);
        padding-inline:4rem;
    }

    .page-section{

        padding:11rem 0;
    }

    /* HERO */

    .about-hero{

        padding:12rem 2rem 10rem;
    }

    .about-hero h1{

        font-size:clamp(5rem,5vw,6.8rem);
    }

    .about-hero p{

        max-width:1100px;

        font-size:1.6rem;
    }

    /* WHO */

    .who-grid{

        gap:8rem;
    }

    .who-text p{

        font-size:1.45rem;

        line-height:2.1;
    }

    .who-img img{

        min-height:850px;
    }

    /* FACTORY */

    .factory-description{

        gap:6rem;

        padding:4rem;
    }

    .fd-img img{

        min-height:700px;
    }

    .fd-text h3{

        font-size:2.3rem;
    }

    .fd-text p{

        font-size:1.35rem;
    }

    /* STATS */

    .stat-item{

        padding:3rem;
    }

    .stat-item img{

        width:90px;
        height:90px;
    }

    .stat-item h2{

        font-size:3rem;
    }

    .stat-item h3{font-size:1.3rem;}

    .stat-item h4{font-size:1.6rem;}
    .stat-item p{font-size:1.15rem;}

    /* CERTIFICATES */
    .cert-card{padding:3rem;}
    .cert-icon{height:110px;}
    .cert-card h3{font-size:1.7rem;}
    .cert-card p{font-size:1.15rem;}

    /* AWT */
    .awt-wrap{gap:6rem;}
    .awt-img-side img{min-height:700px;}
    .awt-txt h3{font-size:2.8rem;}
    .awt-txt p{font-size:1.35rem;}

    /* Departments */
    .departments{gap:3rem;}
    .departments .card img{height:320px;}
}