/* ==========================
   ABOUT PAGE HEADING SIZES
========================== */
.text-col h2,
.ev-expertise h2,
.ev-vision h2 {
    font-size: 1.75rem;
    line-height: 1.25;
}

/* ==========================
   ABOUT IMAGE + BADGE
========================== */

.about-img-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

.about-main-img {
    width: 100%;
    display: block;
    filter: grayscale(30%);
    border-radius: 0 !important;
}

.about-badge {
    position: absolute;
    bottom: 28px;
    left: 0;
    background: #1a4731;
    color: #fff;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 80px;
    z-index: 2;
}

.about-badge-number {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
    color: #fff;
}

.about-badge-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1.4;
    margin-top: 3px;
    color: #fff;
}

/* ==========================
   CURVED ABOUT CARDS (fan arc)
========================== */

.about-cards-arc {
    margin-top: 24px;
    margin-bottom: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2px;
    padding-bottom: 90px;
    overflow: visible;
}

/* Curved baseline */
.about-cards-arc::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: -20px;
    right: -20px;
    height: 1px;
    background: #d0ddd5;
    z-index: 0;
}

/* Card Style */
.arc-card {
    width: 130px;
    min-height: 180px;
    position: relative;
    z-index: 1;
    perspective: 800px;
    background: transparent;
    box-shadow: none;
}

/* flip inner wrapper */
.arc-card-inner {
    width: 100%;
    height: 100%;
    min-height: 180px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    border-radius: 4px;
}

.arc-card:hover .arc-card-inner {
    transform: rotateY(180deg);
}

/* shared face styles */
.arc-face {
    position: absolute;
    inset: 0;
    border-radius: 4px;
    padding: 14px 10px;
    text-align: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* front */
.arc-face.arc-front {
    box-shadow: 0 8px 28px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
}

.arc-1 .arc-front { background: #b2d9be; }
.arc-2 .arc-front { background: #c8e8d2; }
.arc-3 .arc-front { background: #daf0e3; }
.arc-4 .arc-front { background: #c8e8d2; }
.arc-5 .arc-front { background: #b2d9be; }

/* back — light green glassmorphism */
.arc-face.arc-back {
    transform: rotateY(180deg);
    background: rgba(180, 230, 195, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(200, 240, 210, 0.7);
    box-shadow: 0 8px 32px rgba(31, 80, 50, 0.15), inset 0 1px 0 rgba(255,255,255,0.5);
    color: #1c3d22;
}

.arc-face.arc-back i {
    background: rgba(255,255,255,.55) !important;
    color: #1c5b39 !important;
    margin-bottom: 8px;
}

.arc-face.arc-back h5 {
    color: #1c3d22;
    font-size: 12px;
    margin-bottom: 8px;
}

.arc-face.arc-back ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.arc-face.arc-back ul li {
    font-size: 10px;
    color: #2d5a3d;
    padding: 3px 0;
    line-height: 1.4;
}

.arc-face.arc-back ul li::before {
    content: "✓ ";
    color: #348E38;
    font-weight: 700;
}

/* icon */
.arc-card i {
    display: block;
    width: 42px;
    height: 42px;
    line-height: 42px;
    border-radius: 50%;
    background: #eef5ef;
    color: #1c5b39;
    font-size: 15px;
    margin: 0 auto 12px;
}

/* title */
.arc-card h5 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #243b2d;
    margin-bottom: 8px;
}

/* text */
.arc-card p {
    font-size: 12px;
    line-height: 1.6;
    color: #777;
    margin: 0;
}

/* Card positions on arc */
.arc-1 {
    transform: rotate(-18deg) translateY(72px);
    transform-origin: bottom center;
}
.arc-2 {
    transform: rotate(-9deg) translateY(30px);
    transform-origin: bottom center;
}
.arc-3 {
    transform: rotate(0deg) translateY(0px);
    transform-origin: bottom center;
    z-index: 5;
}
.arc-4 {
    transform: rotate(9deg) translateY(30px);
    transform-origin: bottom center;
}
.arc-5 {
    transform: rotate(18deg) translateY(72px);
    transform-origin: bottom center;
}

/* Responsive */
@media (max-width: 992px) {
    .about-cards-arc {
        flex-wrap: wrap;
        min-height: auto;
        gap: 15px;
        padding-bottom: 0;
    }

    .about-cards-arc::before {
        display: none;
    }

    .arc-card {
        width: 160px;
        min-height: auto;
        transform: none !important;
    }
}



/* About section explore link */
.about-explore-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    background: transparent;
    padding: 12px 0;
    cursor: pointer;
    border-bottom: 1.5px solid transparent;
    transition: border-color 0.3s;
}
.about-explore-link:hover {
    border-bottom-color: #28a745;
}
.about-explore-icon {
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #28a745;
    flex-shrink: 0;
    transition: color 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.about-explore-link:hover .about-explore-icon {
    background: transparent;
    color: #1D9E75;
    border-color: transparent;
    transform: translateX(6px);
}
.about-explore-icon i {
    animation: arrow-bounce 1.6s ease-in-out infinite;
}
@keyframes arrow-bounce {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(4px); }
}
.about-explore-link:hover .about-explore-icon i {
    animation: none;
}
.about-explore-link .explore-label-sub {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #28a745;
    display: block;
    margin-bottom: 3px;
    font-weight: 600;
}
.about-explore-link .explore-label-main {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    transition: color 0.3s;
    letter-spacing: 0.01em;
}
.about-explore-link:hover .explore-label-main {
    color: #1a1a1a;
}

/* Light variant for dark background */
.about-explore-link--light:hover {
    border-bottom-color: #4eca8e;
}
.about-explore-link--light .explore-label-sub {
    color: #4eca8e;
}
.about-explore-link--light .explore-label-main {
    color: #fff;
}
.about-explore-link--light:hover .explore-label-main {
    color: #4eca8e;
}
.about-explore-icon--light {
    border-color: #4eca8e;
    color: #4eca8e;
}
.about-explore-link--light:hover .about-explore-icon--light {
    background: #4eca8e;
    color: #0f2d1a;
    border-color: #4eca8e;
}

/* Global: sharp corners on all images */
img { border-radius: 0 !important; }

/* ============================================================
   STICKY NOTES BOARD — Features Section
   ============================================================ */

/* ── swing animations (rotate from pin at top) ── */
@keyframes snoteWiggle {
  0%   { transform: rotate(0deg)   translateY(-6px) scale(1.04); }
  20%  { transform: rotate(-3deg)  translateY(-8px) scale(1.04); }
  40%  { transform: rotate(3deg)   translateY(-8px) scale(1.04); }
  60%  { transform: rotate(-2deg)  translateY(-7px) scale(1.04); }
  80%  { transform: rotate(2deg)   translateY(-7px) scale(1.04); }
  100% { transform: rotate(0deg)   translateY(-6px) scale(1.04); }
}
@keyframes floatA {
  0%   { transform: rotate(3deg);  }
  25%  { transform: rotate(6deg);  }
  75%  { transform: rotate(0deg);  }
  100% { transform: rotate(3deg);  }
}
@keyframes floatB {
  0%   { transform: rotate(-4deg); }
  25%  { transform: rotate(-1deg); }
  75%  { transform: rotate(-7deg); }
  100% { transform: rotate(-4deg); }
}
@keyframes floatC {
  0%   { transform: rotate(2deg);  }
  25%  { transform: rotate(5deg);  }
  75%  { transform: rotate(-1deg); }
  100% { transform: rotate(2deg);  }
}

/* ── board background ── */
.sboard {
  position: relative;
  padding: 24px 28px 24px;
  overflow: visible;
  background-image: url('../img/feature_background_paper.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;
  filter: contrast(1.08) saturate(0.88) brightness(0.98);
}
.sboard::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── rows ── */
.sb-row {
  display: flex;
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}
.sb-left  { justify-content: flex-start; padding-right: 58%; }
.sb-right { justify-content: flex-end;   padding-left:  58%; }

/* ── sticky note card ── */
.snote {
  position: relative;
  width: 100%;
  border-radius: 20px;
  padding: 32px 18px 18px;
  cursor: pointer;
  overflow: visible;
  transform-origin: top center;
  box-shadow:
    0 8px 32px rgba(0,0,0,.18),
    0 2px 8px  rgba(0,0,0,.10),
    0 1px 0    rgba(255,255,255,.9) inset,
    0 0 0 1.5px rgba(255,255,255,.5) inset;
  transition: box-shadow .3s ease, transform .3s ease;
}
.snote::before { content: none; }
.snote::after  { content: none; }

/* ── swing per card ── */
.sb-row:nth-child(1) .snote { animation: floatA 4s   ease-in-out infinite;       }
.sb-row:nth-child(2) .snote { animation: floatB 5s   ease-in-out infinite 0.8s;  }
.sb-row:nth-child(3) .snote { animation: floatC 4.5s ease-in-out infinite 0.4s;  }

/* ── glassmorphism pastel backgrounds ── */
.snote-lavender { background: rgba(253,232,227,0.35); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1.5px solid rgba(255,255,255,0.70); }
.snote-purple   { background: rgba(237,232,251,0.35); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1.5px solid rgba(255,255,255,0.70); }
.snote-cream    { background: rgba(222,238,251,0.35); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1.5px solid rgba(255,255,255,0.70); }
.snote-gray     { background: rgba(254,249,227,0.35); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1.5px solid rgba(255,255,255,0.70); }
.snote-mint     { background: rgba(227,251,232,0.35); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1.5px solid rgba(255,255,255,0.70); }

/* ── pin ── */
.snote-pin {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-size: 1.45rem;
  line-height: 1;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.38));
  transition: transform .25s ease;
}
.snote:hover .snote-pin { transform: translateX(-50%) scale(1.2) rotate(-10deg); }

/* ── number ── */
.snote-num {
  display: block;
  font-size: .7rem;
  font-style: italic;
  font-weight: 600;
  color: rgba(100,100,120,.45);
  margin-bottom: 6px;
  letter-spacing: .06em;
  font-family: Georgia, serif;
}

/* ── title ── */
.snote-title {
  font-size: .78rem;
  font-weight: 700;
  color: #374151;
  margin: 0 0 7px;
  line-height: 1.3;
}

/* ── body text ── */
.snote-body {
  font-size: .68rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.65;
  padding: 8px 10px;
  border-radius: 6px;
}

/* ── accent colours per card (pin + num + title + body bg) ── */
.sb-row:nth-child(1) .snote-pin   { color: #e8836a; }
.sb-row:nth-child(1) .snote-num   { color: #e8836a; }
.sb-row:nth-child(1) .snote-title { color: #e8836a; }
.sb-row:nth-child(1) .snote-body  { color: #b05a44; background: #f9c8be; }

.sb-row:nth-child(2) .snote-pin   { color: #9b7fe8; }
.sb-row:nth-child(2) .snote-num   { color: #9b7fe8; }
.sb-row:nth-child(2) .snote-title { color: #9b7fe8; }
.sb-row:nth-child(2) .snote-body  { color: #6a4fc0; background: #d4c8f7; }

.sb-row:nth-child(3) .snote-pin   { color: #6aabe8; }
.sb-row:nth-child(3) .snote-num   { color: #6aabe8; }
.sb-row:nth-child(3) .snote-title { color: #6aabe8; }
.sb-row:nth-child(3) .snote-body  { color: #2f7ab8; background: #b8d9f5; }

/* ── hover lift ── */
.snote:hover {
  box-shadow: 5px 16px 36px rgba(0,0,0,.22) !important;
}

/* ── mobile ── */
@media (max-width: 575px) {
  .sb-left, .sb-right { padding: 0; justify-content: center; }
  .sb-row:nth-child(1) .snote,
  .sb-row:nth-child(2) .snote,
  .sb-row:nth-child(3) .snote { animation: none; transform: none; }
}
