/* ==========================================================================
   CSS HALAMAN TENTANG KAMI & FILOSOFI LOGO
   ========================================================================== */

/* Navigasi Aktif */
.nav-links a.nav-active {
  color: #67b4eb; 
  font-weight: 700;
}

/* ==========================================================================
   TENTANG KAMI - HERO SECTION PREMIUM
   ========================================================================== */

.tentang-hero {
  max-width: 1300px;
  margin: 0 auto 80px;
  padding: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
  border-radius: 40px;
  position: relative;
  overflow: hidden;
}

/* Decorative Background Elements */
.tentang-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(103, 180, 235, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.tentang-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 40%;
  height: 80%;
  background: radial-gradient(circle, rgba(103, 180, 235, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* BADGE TENTANG KAMI - DI TENGAH ATAS */
.tentang-badge-wrapper {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.tentang-badge-wrapper .badge {
  display: inline-block;
  background: linear-gradient(135deg, #e8f0fe 0%, #d4e6ff 100%);
  color: #1e4a76;
  padding: 10px 32px;
  border-radius: 60px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(103, 180, 235, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* LAYOUT FOTO + DESKRIPSI */
.tentang-hero-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

/* Image Wrapper */
.tentang-hero-image {
  flex: 0 0 45%;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tentang-hero-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 60px rgba(103, 180, 235, 0.2);
}

.tentang-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tentang-hero-image:hover .tentang-img {
  transform: scale(1.05);
}

/* Content Styling */
.tentang-hero-content {
  flex: 1;
}

.tentang-hero-content h1 {
  font-size: 40px;
  font-weight: 800;
  color: #0a2b44;
  margin-bottom: 28px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.tentang-hero-content h1 span {
  background: linear-gradient(135deg, #67b4eb 0%, #4a9fd9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.tentang-hero-content h1 span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, rgba(103, 180, 235, 0.2), transparent);
  border-radius: 4px;
  z-index: -1;
}

.tentang-hero-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #5a6b7c;
  margin-bottom: 20px;
}

.tentang-hero-content p:first-of-type {
  margin-bottom: 20px;
}

.tentang-hero-content p:last-of-type {
  margin-bottom: 0;
}

.tentang-hero-content p strong {
  color: #1e3a5f;
  font-weight: 700;
}

/* ==========================================================================
   TENTANG KAMI - HERO SECTION MOBILE (max-width: 768px)
   ========================================================================== */

@media screen and (max-width: 768px) {
  .tentang-hero {
    margin: 0 16px 20px 16px;  /* Bottom margin dari 30px jadi 20px */
    padding: 16px 10px;         /* Padding atas dari 20px jadi 16px */
    border-radius: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
  }

  /* Decorative elements - lebih subtle di mobile */
  .tentang-hero::before,
  .tentang-hero::after {
    opacity: 0.5;
  }

  /* BADGE TENTANG KAMI - styling mobile */
  .tentang-badge-wrapper {
    margin-bottom: 18px;  /* Dari 24px jadi 18px */
  }

  .tentang-badge-wrapper .badge {
    padding: 5px 18px;     /* Dari 6px 20px jadi 5px 18px */
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #e8f0fe 0%, #d4e6ff 100%);
    box-shadow: 0 4px 12px rgba(103, 180, 235, 0.12);
  }

  /* LAYOUT FOTO + DESKRIPSI - STACK VERTICAL */
  .tentang-hero-layout {
    flex-direction: column;
    gap: 18px;  /* Dari 24px jadi 18px */
  }

  /* IMAGE WRAPPER */
  .tentang-hero-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 35px rgba(10, 43, 68, 0.1);
  }

  .tentang-hero-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 40px rgba(103, 180, 235, 0.15);
  }

  .tentang-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 24px;
  }

  /* CONTENT - TEKS */
  .tentang-hero-content {
    text-align: left;
    padding: 0 4px;
  }

  .tentang-hero-content h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 14px;  /* Dari 18px jadi 14px */
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: #0a2b44;
  }

  .tentang-hero-content h1 span {
    background: linear-gradient(135deg, #67b4eb 0%, #4a9fd9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
  }

  .tentang-hero-content h1 span::after {
    bottom: 4px;
    height: 5px;
    background: linear-gradient(90deg, rgba(103, 180, 235, 0.25), transparent);
  }

  /* PARAGRAPH STYLING */
  .tentang-hero-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #5a6b7c;
    margin-bottom: 12px;  /* Dari 14px jadi 12px */
    text-align: justify;
  }

  .tentang-hero-content p:first-of-type {
    margin-bottom: 12px;
  }

  .tentang-hero-content p:last-of-type {
    margin-bottom: 0;
  }

  /* HAPUS first letter biru - KEMBALI KE NORMAL */
  .tentang-hero-content p:first-of-type::first-letter {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
  }

  /* STRONG TEXT */
  .tentang-hero-content p strong {
    color: #1e3a5f;
    font-weight: 700;
  }
}

.filosofi-section {
  max-width: 1400px;
  margin: 0 auto 100px;
  padding: 60px 40px;
  background: linear-gradient(145deg, #ffffff 0%, #f4f9ff 100%);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 50px rgba(10, 43, 68, 0.03);
  overflow: hidden;
}

.filosofi-header {
  text-align: center;
  margin-bottom: 60px;
}

.filosofi-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: #0a2b44;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.filosofi-header h2 span {
  background: linear-gradient( #67b4eb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.filosofi-header p {
  font-size: 18px;
  color: #67b4eb;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Wrapper Utama Layout Center */
.filosofi-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}

.filosofi-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  z-index: 2;
}

/* Logo di Tengah */
.filosofi-center {
  flex: 0 0 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Glow dimatikan */
.logo-glow {
  display: none;
}

/* Logo statis */
.center-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 280px;
  filter: drop-shadow(0 10px 20px rgba(10, 43, 68, 0.08));
  transition: none;
}

/* Hover dimatikan */
.center-logo:hover {
  transform: none;
  filter: drop-shadow(0 10px 20px rgba(10, 43, 68, 0.08));
}

/* Desain Kartu (Clean & Glassy) */
.filosofi-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.filosofi-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: rgba(103, 180, 235, 0.3);
  box-shadow: 0 20px 40px rgba(103, 180, 235, 0.12);
}

/* Posisi Spesifik Kolom Kiri & Kanan */
.card-left {
  text-align: right;
  flex-direction: row;
}

.card-right {
  text-align: left;
  flex-direction: row;
}

.filosofi-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #f0f6ff, #e1efff);
  color: #67b4eb;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.card-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #5a6b7c;
  margin-bottom: 10px;
}

.card-content p:last-child {
  margin-bottom: 0;
}

.quote {
  display: inline-block;
  font-size: 13px;
  font-style: italic;
  color: #d68910;
  background: #fffaf0;
  padding: 12px 16px;
  border-radius: 12px;
  border-left: 3px solid #f39c12;
  margin-top: 15px;
  line-height: 1.5;
}

/* ==========================================================================
   TABLET PORTRAIT FIX - LOGO DI ATAS, BAWAHNYA 2 KOLOM
   ========================================================================== */

@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  
  /* RESET total untuk wrapper */
  .filosofi-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 30px 24px !important;
    align-items: start !important;
    justify-items: stretch !important;
  }

  /* LOGO di ATAS - baris 1, span 2 kolom */
  .filosofi-center {
    grid-row: 1 !important;
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    align-self: center !important;
    margin: 0 auto 10px auto !important;
    flex: none !important;
    order: 0 !important;
  }

  .center-logo {
    max-width: 200px !important;
  }

  /* KOLOM KIRI - baris 2, kolom 1 */
  .filosofi-col.col-left {
    grid-row: 2 !important;
    grid-column: 1 / 2 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    order: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* KOLOM KANAN - baris 2, kolom 2 */
  .filosofi-col.col-right {
    grid-row: 2 !important;
    grid-column: 2 / 3 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    order: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* CARD */
  .filosofi-card {
    width: 100% !important;
    padding: 20px !important;
    gap: 14px !important;
    margin: 0 !important;
  }

  .filosofi-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
  }

  .card-content h3 {
    font-size: 17px !important;
    margin-bottom: 8px !important;
  }

  .card-content p {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  .quote {
    font-size: 12px !important;
    padding: 8px 12px !important;
  }

  /* RATA KIRI SEMUA CARD */
  .card-left,
  .card-right {
    text-align: left !important;
    flex-direction: row !important;
  }

  .card-left .card-content,
  .card-right .card-content {
    text-align: left !important;
  }

  /* HAMBURGER SEMBUNYIKAN */
  .hamburger {
    display: none !important;
  }

  /* NAVIGASI HORIZONTAL */
  .nav-links {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    flex-direction: row !important;
    gap: 28px !important;
    padding: 0 !important;
    box-shadow: none !important;
    right: auto !important;
  }

  .nav-overlay {
    display: none !important;
  }

  .navbar {
    padding: 16px 30px !important;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    padding: 40px 30px !important;
  }

  .footer-col {
    flex: 1 !important;
    min-width: 200px !important;
    text-align: left !important;
  }

  .footer-links {
    justify-content: flex-start !important;
  }

  .maps-container iframe {
    height: 220px !important;
  }
}

/* ==========================================================================
   FILOSOFI LOGO - MOBILE (max-width: 768px)
   ========================================================================== */

@media screen and (max-width: 768px) {
  .filosofi-section {
    margin: 0 16px 50px 16px;
    padding: 30px 20px;
    border-radius: 28px;
    background: linear-gradient(145deg, #ffffff 0%, #f4f9ff 100%);
  }

  /* HEADER */
  .filosofi-header {
    margin-bottom: 30px;
  }

  .filosofi-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .filosofi-header p {
    font-size: 14px;
    letter-spacing: 1.5px;
  }

  /* WRAPPER - STACK VERTICAL */
  .filosofi-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }

  /* LOGO TENGAH - DI ATAS */
  .filosofi-center {
    order: 0;
    flex: none;
    margin: 0 auto 10px auto;
  }

  .center-logo {
    max-width: 180px;
  }

  /* KOLOM KIRI & KANAN - JADI VERTICAL */
  .filosofi-col {
    width: 100%;
    gap: 20px;
  }

  .col-left {
    order: 1;
  }

  .col-right {
    order: 2;
  }

  /* CARD STYLING MOBILE */
  .filosofi-card {
    padding: 20px;
    gap: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 20px;
  }

  /* RESET text alignment untuk mobile - SEMUA RATA KIRI */
  .card-left,
  .card-right {
    text-align: left;
    flex-direction: row;
  }

  .card-left .card-content,
  .card-right .card-content {
    text-align: left;
  }

  /* ICON styling mobile */
  .filosofi-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
    border-radius: 14px;
    flex-shrink: 0;
  }

  /* CARD CONTENT */
  .card-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .card-content p {
    font-size: 13.5px;
    line-height: 1.65;
    margin-bottom: 8px;
  }

  .card-content p:last-child {
    margin-bottom: 0;
  }

  /* QUOTE STYLING */
  .quote {
    font-size: 12px;
    padding: 10px 14px;
    margin-top: 10px;
    border-left-width: 3px;
  }
}

/* ==========================================================================
   TENTANG KAMI - TABLET (max-width: 1024px) STACK VERTICAL
   ========================================================================== */

@media screen and (max-width: 1024px) {
  .tentang-hero {
    margin: 0 20px 40px 20px;
    padding: 25px 20px;
    border-radius: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
  }

  /* BADGE TENTANG KAMI */
  .tentang-badge-wrapper {
    margin-bottom: 25px;
  }

  .tentang-badge-wrapper .badge {
    padding: 6px 22px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
  }

  /* LAYOUT JADI STACK VERTICAL */
  .tentang-hero-layout {
    flex-direction: column;
    gap: 25px;
  }

  /* IMAGE WRAPPER */
  .tentang-hero-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 20px 30px rgba(10, 43, 68, 0.1);
  }

  .tentang-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 24px;
  }

  /* CONTENT - TEKS */
  .tentang-hero-content {
    text-align: center;
    padding: 0;
  }

  .tentang-hero-content h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: #0a2b44;
  }

  .tentang-hero-content h1 span {
    background: linear-gradient(135deg, #67b4eb 0%, #4a9fd9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .tentang-hero-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #5a6b7c;
    margin-bottom: 14px;
    text-align: center;
  }

  .tentang-hero-content p:first-of-type {
    margin-bottom: 14px;
  }

  .tentang-hero-content p:last-of-type {
    margin-bottom: 0;
  }

  .tentang-hero-content p strong {
    color: #1e3a5f;
    font-weight: 700;
  }
}