@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Segoe+UI:wght@400;700&display=swap');

/* ====== Variables ====== */
:root {
  --deep-plum: #481f24;
  --golden-yellow: #eac57a;
  --modern-green: #3ec381;
  --forest-green: #55883b;
  --background: #fff;
  --section-bg: #f6f6f6;
  --glass-bg: rgba(255,255,255,0.92);
  --glass-blur: 14px;
  --card-shadow: 0 6px 20px rgba(234, 197, 122, 0.1), 0 2px 6px rgba(72, 31, 36, 0.05);
  --card-shadow-hover: 0 10px 30px rgba(234, 197, 122, 0.2);
  --text-main: #222;
  --text-light: #fff;
}

/* ====== Hero Section ====== */
.privacy-hero {
  position: relative;
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--deep-plum);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('../images/school-building.jpeg') center center/cover no-repeat;
  z-index: 1;
  filter: brightness(0.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(76, 28, 34, 0.466) 60%, rgba(234, 197, 122, 0.466) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-light);
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.privacy-hero__title {
  font-family: 'Merriweather', serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  color: var(--text-light);
  animation: fadeInDown 1s ease forwards;
}

.privacy-hero__subtitle {
  font-size: 1.3rem;
  opacity: 0.95;
  line-height: 1.6;
  animation: fadeInUp 1.1s ease forwards;
}

/* ====== Main Container ====== */
.privacy-main {
  background: var(--section-bg);
  padding: 4rem 0;
}

.privacy-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  padding: 0 1rem;
}

.privacy-section {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  border: 1.5px solid rgba(234, 197, 122, 0.2);
  padding: 2rem;
  transition: box-shadow 0.3s, transform 0.3s;
  animation: fadeInText 0.7s ease forwards;
}

.privacy-section:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-5px) scale(1.01);
}

.privacy-section-title {
  font-family: 'Merriweather', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--deep-plum);
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--deep-plum), var(--forest-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.privacy-section h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  color: var(--deep-plum);
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

.privacy-section p {
  font-size: 1.1rem;
  color: var(--deep-plum);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.privacy-section ul {
  list-style: none;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-section ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: var(--deep-plum);
}

.privacy-section ul li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--golden-yellow);
  font-size: 1.2rem;
}

/* ====== Info Section ====== */
.info-section {
  background: linear-gradient(135deg, var(--section-bg) 60%, #e0e8f0 100%);
  padding: 2.5rem 0;
}

.info-container {
  max-width: 650px;
  margin: 0 auto;
  padding: 1.5rem;
  background: var(--background);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(234, 197, 122, 0.3);
  position: relative;
}

.info-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  box-shadow: inset 0 0 10px rgba(234, 197, 122, 0.2);
  z-index: -1;
}

.info-title {
  font-family: 'Merriweather', serif;
  font-size: 2.2rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
  background: linear-gradient(to right, var(--deep-plum), var(--forest-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.info-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--golden-yellow), var(--modern-green));
}

.contact-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1rem;
  padding: 0.4rem 0;
  transition: background 0.3s;
}

.contact-item:hover {
  background: rgba(234, 197, 122, 0.08);
}

.contact-icon {
  color: var(--golden-yellow);
  font-size: 2rem;
  margin-top: 0.2rem;
  transition: color 0.3s, transform 0.3s, text-shadow 0.3s;
}

.contact-item:hover .contact-icon {
  color: var(--modern-green);
  transform: scale(1.1);
  text-shadow: 0 0 8px rgba(62, 195, 129, 0.5);
}

.contact-details {
  flex: 1;
}

.contact-label {
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--deep-plum);
  display: block;
  margin-bottom: 0.3rem;
}

.contact-value {
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.1rem;
  color: var(--deep-plum);
  line-height: 1.6;
}

.contact-value a {
  color: var(--deep-plum);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-value a:hover {
  color: var(--modern-green);
}

.info-btn {
  display: inline-flex !important;
  align-items: center;
  background: linear-gradient(45deg, var(--golden-yellow), #f4d38e);
  color: var(--deep-plum);
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 25px;
  padding: 0.7rem 2rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(234, 197, 122, 0.3);
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  gap: 0.6rem;
  margin: 0.8rem auto;
  display: block;
  width: fit-content;
  position: relative;
  overflow: hidden;
}

.info-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--modern-green), #5ad99a);
  transition: left 0.4s ease;
  z-index: 0;
}

.info-btn:hover::before {
  left: 0;
}

.info-btn:hover {
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(62, 195, 129, 0.4);
}

.info-btn .arrow-circle {
  display: flex;
  align-items: center;
  transition: transform 0.3s;
  z-index: 1;
}

.info-btn:hover .arrow-circle {
  transform: translateX(5px);
}

.info-btn span {
  position: relative;
  z-index: 1;
}

.info-btn svg {
  width: 20px;
  height: 20px;
  transition: stroke 0.3s;
}

.info-btn:hover svg circle,
.info-btn:hover svg path {
  stroke: var(--text-light);
}

.info-date {
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  color: var(--deep-plum);
  text-align: center;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(234, 197, 122, 0.3);
  opacity: 0.8;
}

/* ====== Animations ====== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInText {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fadeInText 0.8s forwards;
}

/* ====== Responsive Design ====== */
@media (max-width: 900px) {
  .privacy-hero {
    min-height: 50vh;
  }
  .privacy-hero__title {
    font-size: 2.8rem;
  }
  .privacy-hero__subtitle {
    font-size: 1.2rem;
  }
  .privacy-container {
    padding: 0 0.5rem;
  }
  .privacy-section {
    padding: 1.5rem;
  }
  .info-container {
    max-width: 550px;
    padding: 1.2rem;
  }
  .info-title {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .privacy-hero {
    min-height: 40vh;
  }
  .privacy-hero__title {
    font-size: 2.2rem;
  }
  .privacy-hero__subtitle {
    font-size: 1rem;
  }
  .privacy-section {
    padding: 1.2rem;
    font-size: 1rem;
  }
  .privacy-section-title {
    font-size: 1.6rem;
  }
  .privacy-section h3 {
    font-size: 1.2rem;
  }
  .privacy-section ul li {
    font-size: 1rem;
  }
  .info-title {
    font-size: 1.8rem;
  }
  .contact-label {
    font-size: 1.1rem;
  }
  .contact-value {
    font-size: 1rem;
  }
  .contact-icon {
    font-size: 1.7rem;
  }
  .info-btn {
    padding: 0.6rem 1.8rem;
    font-size: 1rem;
  }
  .info-date {
    font-size: 0.85rem;
  }
}

@media (max-width: 400px) {
  .privacy-hero__title {
    font-size: 1.8rem;
  }
  .privacy-hero__subtitle {
    font-size: 0.9rem;
  }
  .privacy-section {
    padding: 1rem;
  }
  .privacy-section-title {
    font-size: 1.4rem;
  }
  .privacy-section h3 {
    font-size: 1.1rem;
  }
  .privacy-section ul li {
    font-size: 0.95rem;
  }
  .info-title {
    font-size: 1.6rem;
  }
  .contact-label {
    font-size: 1rem;
  }
  .contact-value {
    font-size: 0.95rem;
  }
  .contact-icon {
    font-size: 1.5rem;
  }
  .info-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
  }
  .info-date {
    font-size: 0.8rem;
  }
}