/* ==============================
   ABOUT SECTION — OPTIMIZED & FULLY RESPONSIVE
   ============================== */

.fernntac-about-section {
  background: linear-gradient(135deg, #f9fafc 0%, #eef2f7 100%);
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
}

/* Decorative floating shape */
.fernntac-about-section::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  background: rgba(255, 111, 0, 0.06);
  border-radius: 50%;
  top: -50px;
  right: -50px;
  z-index: 1;
}

/* ==============================
   GRID WRAPPER
   ============================== */
.fernntac-about-wrapper {
  display: grid;
  grid-template-columns: minmax(280px, 45%) minmax(340px, 55%);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* ==============================
   Image - Full Width Fix
   ============================== */

.fernntac-about-image {
  justify-self: stretch;
  align-self: center;
  max-width: 100%;
  width: 100%;
  text-align: center;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.about-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px; 
  border-radius: 1.2rem;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
  background-color: transparent;
}


/* ==============================
   TEXT CONTENT
   ============================== */
.fernntac-about-content {
  color: #222;
}

.fernntac-about-content h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--fernntac-navy);
  position: relative;
  line-height: 1.3;
}

.fernntac-about-content h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  background: var(--fernntac-accent);
  margin-top: 0.6rem;
  border-radius: 2px;
}

.fernntac-about-content p {
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: clamp(1rem, 1.6vw, 1.05rem);
}

/* Highlighted text */
.fernntac-about-content .highlight {
  color: var(--fernntac-accent);
  font-weight: 600;
}

/* ==============================
   BADGES
   ============================== */
.fernntac-about-badges {
  margin: 1rem 0 1.2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.badge {
  background: rgba(240,138,36,0.1);
  color: var(--fernntac-accent);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(240,138,36,0.06);
}

/* ==============================
   BUTTONS
   ============================== */
.fernntac-about-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.fernntac-btn-about {
  background: var(--fernntac-accent);
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.4px;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 6px 20px rgba(255,111,0,0.18);
}

.fernntac-btn-about:hover,
.fernntac-btn-about:focus {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255,111,0,0.28);
  outline: none;
}

.fernntac-btn-secondary {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: transparent;
  border: 2px solid rgba(21,50,75,0.08);
  color: var(--fernntac-navy);
  font-weight: 700;
  text-decoration: none;
}

/* ==============================
   DETAILS DROPDOWN
   ============================== */
.fernntac-about-more {
  margin-top: 1rem;
  font-size: 0.97rem;
  color: #444;
}

.fernntac-about-more summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.fernntac-about-more summary::-webkit-details-marker {
  display: none;
}

.fernntac-about-more summary::after {
  content: "▾";
  display: inline-block;
  margin-left: 0.6rem;
  transition: transform .25s ease;
}

.fernntac-about-more[open] summary::after {
  transform: rotate(-180deg);
}

/* ==============================
   ANIMATION (scroll fade)
   ============================== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: transform .85s cubic-bezier(.16,1,.3,1), opacity .7s ease;
}

[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }

.animate-show {
  opacity: 1 !important;
  transform: translate(0,0) !important;
}

/* ==============================
   RESPONSIVE LAYOUT
   ============================== */
@media (max-width: 991px) {
  .fernntac-about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fernntac-about-content {
    order: 2;
    margin-top: 1rem;
  }

  .fernntac-about-image {
    order: 1;
    margin-bottom: 1.5rem;
  }

  .about-img {
    max-height: 420px;
    border-radius: 1rem;
  }

  .fernntac-about-badges,
  .fernntac-about-actions {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .about-img {
    max-height: 340px;
    border-radius: 0.9rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  [data-animate], .about-img, .fernntac-about-more summary::after {
    transition: none !important;
    animation: none !important;
  }
}
