@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;700&family=Source+Serif+Pro:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Source Serif Pro', serif;
  color: #333;
  background-color: #fdfaf8;
  line-height: 1.90;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  letter-spacing: 0.6px;
}

h2 {
  font-weight: 500;
}

h3 {
  font-weight: 500;
}

button {
  font-family: 'Source Serif Pro', serif;
  font-weight: 600;
  border-radius: 8px;
}

header {
  position: sticky;
  top: 0;
  background-color: rgba(253, 250, 248, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(217, 140, 168, 0.1);
}

header.scrolled {
  padding: 15px 0;
  transform: scale(0.75);
  transform-origin: top center;
}

header .container {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 180px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: #d98ca8;
  text-decoration: none;
  letter-spacing: 0.6px;
}

nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

nav a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #d98ca8;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 100px;
}

section {
  padding: 80px 0;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#hero {
  background: linear-gradient(135deg, #fdfaf8 0%, #f5e6ea 100%);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

#hero .hero-content {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 180px;
  display: flex;
  align-items: center;
  gap: 80px;
}

#hero h1 {
  font-size: 72px;
  color: #333;
  line-height: 1.1;
  margin-bottom: 30px;
  text-align: left;
}

#hero p {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
  max-width: 500px;
}

#hero img {
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(217, 140, 168, 0.2);
}

.education-banner {
  background-color: #f9f4ed;
  color: #333;
  padding: 15px 20px;
  border-left: 4px solid #d98ca8;
  margin-bottom: 30px;
  font-size: 14px;
  border-radius: 4px;
}

.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 60px;
}

.content-block.reverse {
  direction: rtl;
}

.content-block.reverse > * {
  direction: ltr;
}

.content-block img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(217, 140, 168, 0.15);
}

.content-block h2 {
  font-size: 48px;
  color: #333;
  margin-bottom: 30px;
}

.content-block p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.9;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin: 60px 0;
}

.card {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card:hover {
  border-color: #d98ca8;
  box-shadow: 0 10px 30px rgba(217, 140, 168, 0.2);
  background-color: #fff8fb;
}

.card h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

.card p {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background-color: #d98ca8;
  color: white;
}

th, td {
  padding: 18px 25px;
  text-align: left;
  border-bottom: 1px solid #f0e0e8;
  font-size: 15px;
}

tbody tr:nth-child(odd) {
  background-color: #fef5fa;
}

tbody tr:nth-child(even) {
  background-color: white;
}

.accordion {
  margin: 40px 0;
}

.accordion-item {
  background-color: white;
  border: 1px solid #f0e0e8;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  border-left: 4px solid #d98ca8;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #333;
}

.accordion-header:hover {
  background-color: #fef5fa;
}

.accordion-content {
  display: none;
  padding: 25px;
  color: #666;
  background-color: #fdfaf8;
  font-size: 15px;
  line-height: 1.8;
}

.accordion-content.show {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-button {
  background-color: #d98ca8;
  color: white;
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  background-color: #c97597;
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(217, 140, 168, 0.3);
}

.quote-section {
  background: linear-gradient(135deg, #f9f4ed 0%, #fef5fa 100%);
  padding: 80px;
  border-radius: 12px;
  text-align: center;
  margin: 80px 0;
}

.quote-section h2 {
  font-size: 42px;
  color: #333;
  margin-bottom: 20px;
  font-style: italic;
}

.quote-section p {
  font-size: 17px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

.contact-section {
  background: linear-gradient(135deg, #fdfaf8 0%, #f5e6ea 100%);
  padding: 80px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  font-size: 28px;
  color: #333;
  margin-bottom: 30px;
}

.contact-info p {
  font-size: 15px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.8;
}

.contact-info strong {
  color: #d98ca8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 14px;
}

.form-group input {
  padding: 12px 15px;
  border: 2px solid #e8d5e3;
  border-radius: 8px;
  font-family: 'Source Serif Pro', serif;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #d98ca8;
  box-shadow: 0 0 8px rgba(217, 140, 168, 0.2);
}

.form-disclaimer {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-top: 15px;
}

footer {
  background-color: #333;
  color: #ccc;
  padding: 60px 0 40px;
  margin-top: 100px;
}

footer .container {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 180px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 40px;
}

footer h4 {
  color: #d98ca8;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  margin-bottom: 20px;
  letter-spacing: 0.6px;
}

footer a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.8;
  cursor: pointer;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #d98ca8;
}

.footer-bottom {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 180px;
  border-top: 1px solid #555;
  padding-top: 30px;
  text-align: center;
  font-size: 13px;
  color: #999;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal-content {
  background-color: #fdfaf8;
  margin: 10% auto;
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #e8d5e3;
  padding-bottom: 20px;
}

.modal-header h2 {
  font-size: 32px;
  color: #333;
}

.close-modal {
  font-size: 30px;
  font-weight: 700;
  color: #d98ca8;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #c97597;
}

.modal-body {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
}

.modal-body h3 {
  font-size: 20px;
  color: #333;
  margin-top: 25px;
  margin-bottom: 15px;
}

.modal-body ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.modal-body li {
  margin-bottom: 8px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: #ccc;
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  z-index: 999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  font-size: 14px;
  max-width: 600px;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.cookie-btn {
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Source Serif Pro', serif;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: #d98ca8;
  color: white;
}

.cookie-accept:hover {
  background-color: #c97597;
}

.cookie-reject {
  background-color: transparent;
  color: #ccc;
  border: 2px solid #ccc;
}

.cookie-reject:hover {
  color: #d98ca8;
  border-color: #d98ca8;
}

.cookie-learn {
  background-color: transparent;
  color: #ccc;
  border: 2px solid #ccc;
}

.cookie-learn:hover {
  color: #d98ca8;
  border-color: #d98ca8;
}

.thank-you-modal {
  display: none;
  position: fixed;
  z-index: 2500;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.thank-you-content {
  background-color: #fdfaf8;
  padding: 60px 40px;
  border-radius: 12px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.thank-you-content h2 {
  font-size: 36px;
  color: #d98ca8;
  margin-bottom: 20px;
}

.thank-you-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
}

.thank-you-modal.show {
  display: flex;
}

@media (max-width: 768px) {
  header .container {
    padding: 0 20px;
  }

  nav {
    display: none;
  }

  .container {
    padding: 0 20px;
  }

  #hero .hero-content {
    flex-direction: column;
    padding: 0 20px;
  }

  #hero h1 {
    font-size: 36px;
  }

  .content-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px;
  }

  footer .container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }

  .footer-bottom {
    padding: 0 20px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .modal-content {
    width: 90%;
    margin: 30% auto;
    padding: 25px;
  }

  section {
    padding: 40px 0;
  }

  .quote-section {
    padding: 40px 20px;
  }

  .quote-section h2 {
    font-size: 28px;
  }
}
