@import url('https://fonts.googleapis.com/css2?family=DynaPuff:wght@400..700&family=Inter:wght@400;500;600&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --primary-purple: #c71585;
  /* Image'daki parlak pembe/mor tonu */
  --secondary-blue: #0f3d81;
  /* Koyu mavi buton tonu */
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: white;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #030b2e;
}

.dynapuff {
  font-family: 'DynaPuff', system-ui, sans-serif;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url('../img/bg-placeholder.jpg');
  /* Eğer video yüklenmezse diye fallback */
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  object-fit: cover;
  opacity: 0.8;
  /* Yazıların okunurluğu için */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(3, 11, 46, 0.8) 0%, rgba(3, 11, 46, 0.4) 100%);
  z-index: 1;
}

.navbar {
  position: relative;
  z-index: 10;
  padding: 1.5rem 0;
  background: transparent !important;
}

.navbar-brand img {
  height: 40px;
}

.nav-link {
  color: white !important;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  margin: 0 12px;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-link:hover {
  color: #e0e0e0 !important;
}

.btn-login {
  background-color: var(--primary-purple);
  color: white;
  border-radius: 50px;
  padding: 8px 24px;
  font-weight: bold;
  font-family: 'Inter', sans-serif;
  border: none;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(199, 21, 133, 0.4);
}

.btn-login:hover {
  background-color: #a0106a;
  color: white;
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: 3rem;
  padding-top: 2rem;
}

.archi-character {
  width: 382px;
  height: 632px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
  margin-left: -15%;
  /* Karakteri biraz sola taşırarak ortadaki yazıya yer açmak için */
  opacity: 0;
  animation: fadeInLeft 1s ease-out forwards, float-character 4s ease-in-out infinite 1s;
}

@keyframes float-character {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-text-content {
  text-align: center;
}

.hero-tagline {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 700px;
  margin-inline: auto;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.btn-discover {
  background-color: var(--primary-purple);
  color: white;
  border-radius: 50px;
  padding: 14px 36px;
  font-weight: bold;
  border: none;
  font-size: 1.1rem;
  margin-right: 20px;
  box-shadow: 0 4px 15px rgba(199, 21, 133, 0.4);
  font-family: 'Inter', sans-serif;
  transition: transform 0.2s, background-color 0.2s;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.btn-discover:hover {
  background-color: #a0106a;
  color: white;
  transform: scale(1.05);
}

.btn-package {
  background-color: var(--secondary-blue);
  color: white;
  border-radius: 50px;
  padding: 14px 36px;
  font-weight: bold;
  border: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(15, 61, 129, 0.4);
  font-family: 'Inter', sans-serif;
  transition: transform 0.2s, background-color 0.2s;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

/* Entrance Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomInSoft {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-15deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.btn-package:hover {
  background-color: #0b2d63;
  color: white;
  transform: scale(1.05);
}

/* Floating Image Symbols */
.floating-shape {
  position: absolute;
  z-index: 2;
  opacity: 0;
  pointer-events: auto;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.5));
  object-fit: contain;
}

/* yes6-3.png (Sağ üst üçgen) */
.floating-1 {
  width: 136px;
  height: 154px;
  top: 15%;
  right: 10%;
  animation: zoomInSoft 0.8s ease-out 0.5s forwards;
}

/* yes1-3.png (Sağ alt x işareti) */
.floating-2 {
  width: 252px;
  height: 241px;
  bottom: 15%;
  right: 15%;
  animation: zoomInSoft 0.8s ease-out 0.7s forwards;
}

/* yes3-3.png (Sol alt üçgen) */
.floating-3 {
  width: 224px;
  height: 224px;
  bottom: 10%;
  left: 25%;
  animation: zoomInSoft 0.8s ease-out 0.9s forwards;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-30px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate-reverse {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}


@media (max-width: 991px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .navbar-collapse {
    background: rgba(3, 11, 46, 0.95);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .archi-character {
    width: 100%;
    max-width: 382px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
  }

  /* Responsive Floating Shapes */
  .floating-1 {
    width: 80px;
    height: auto;
    top: 10%;
    right: 5%;
  }

  .floating-2 {
    width: 120px;
    height: auto;
    bottom: 5%;
    right: 5%;
  }

  .floating-3 {
    width: 100px;
    height: auto;
    bottom: 5%;
    left: 10%;
  }

  .hero-text-content {
    text-align: center;
    padding: 0 15px;
  }

  .btn-discover {
    margin-right: 0;
    margin-bottom: 15px;
    display: block;
    width: 100%;
  }

  .btn-package {
    display: block;
    width: 100%;
  }

  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
  }

  .navbar-toggler-icon {
    filter: invert(1);
    /* Beyaz menü ikonu için */
  }
}

/* --- Section 2: Features Section --- */
.features-section {
  background-color: #ffffff;
  color: #333;
  padding: 5rem 0;
  position: relative;
  z-index: 5;
}

.features-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.4;
}

.text-blue {
  color: #0747be;
}

.text-pink {
  color: #ba00e4;
}

.features-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  color: #4a4a4a;
  max-width: 800px;
  line-height: 1.6;
}

.features-subtitle strong {
  color: #222;
  font-weight: 700;
}

.mockup-container {
  max-width: 1000px;
  margin: 0 auto;
}

.mockup-image {
  width: 100%;
  height: auto;
}

.logos-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}



@media (max-width: 991px) {
  .features-subtitle {
    font-size: 1rem;
    padding: 0 15px;
  }
}

/* --- Section 3: Education Model --- */
.education-model-section {
  background-color: #f8f6fc;
  padding: 5rem 0;
}

.model-kicker {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #222;
}

.model-title {
  font-size: 3rem;
  font-weight: 700;
}

.dynapuff {
  font-family: 'DynaPuff', sans-serif !important;
}

.model-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #555;
  max-width: 850px;
  line-height: 1.8;
}

.step-title {
  font-size: 2.2rem;
  font-weight: 700;
}

.step-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .model-title {
    font-size: 2.2rem;
  }
  .step-title {
    font-size: 1.8rem;
  }
}

/* --- Section 4: Scientific Foundations --- */
.scientific-foundations-section {
  background-color: #fff;
  background-image: url('../img/Group-365.png');
  background-size: 90%; /* Daha küçük ve şık durması için */
  background-repeat: no-repeat;
  background-position: center;
  padding: 5rem 0; /* Padding'i de biraz kıstım ki arka plan çok yayılmasın */
  position: relative;
}

.logo-hover {
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.logo-hover:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 8px 15px rgba(0,0,0,0.2));
}

.source-link {
  display: inline-block;
  color: #ba00e4;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 10px;
  transition: color 0.3s, transform 0.3s;
}

.source-link:hover {
  color: #d811da;
  text-decoration: underline;
  transform: translateY(-2px);
}

.btn-full-width-pink {
  display: inline-block;
  width: 100%;
  max-width: 900px;
  background-color: #ba00e4;
  color: #fff;
  padding: 16px 0;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.15rem;
  transition: transform 0.3s, filter 0.3s;
  box-shadow: 0 4px 15px rgba(186, 0, 228, 0.4);
}

.btn-full-width-pink:hover {
  color: #fff;
  background-color: #9c00bf; /* Darker pink for clear hover */
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(186, 0, 228, 0.6);
}

/* --- Section 5: Archie --- */
.archi-section {
  background-color: #D4F2FF;
  background-image: url('../img/Group-367.png');
  background-size: 85%;
  background-repeat: no-repeat;
  background-position: center top;
  padding-top: 2rem;
  padding-bottom: 6rem; /* Alt kısımdaki boşluğu artırarak taşmayı dengeledim */
  position: relative;
}

.archi-img {
  position: relative;
  left: 50%;
  transform: translateY(92px) translateX(-50%);
  z-index: 10;
  display: block;
}

/* --- Scroll Animations --- */
.fade-in-down {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-down.visible,
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Section 6: Packages --- */
.packages-section {
  position: relative;
}

.package-card {
  position: relative;
  border-radius: 20px;
  padding: 100px 30px 40px; /* 100px top to clear the avatar */
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  margin-top: 80px; /* space for the absolute avatar */
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.package-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.package-card.blue {
  background: linear-gradient(180deg, #0757ad 0%, #1a78e8 40%, #e6f2ff 80%, #f4f9ff 100%);
}
.package-card.orange {
  background: linear-gradient(180deg, #c04900 0%, #e86411 40%, #fff1e8 80%, #fff8f4 100%);
}
.package-card.purple {
  background: linear-gradient(180deg, #5b1b9e 0%, #8234d6 40%, #f2e6ff 80%, #f8f2ff 100%);
}

.package-avatar {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: #fff;
  padding: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.package-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.package-title {
  font-family: 'DynaPuff', cursive;
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.package-tag {
  display: inline-block;
  background-color: #fff;
  padding: 8px 24px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.package-card.blue .package-tag { color: #0757ad; }
.package-card.orange .package-tag { color: #c04900; }
.package-card.purple .package-tag { color: #5b1b9e; }

.package-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 30px;
  min-height: 85px; 
  line-height: 1.6;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  text-align: left;
}
.package-features li {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}
.package-features li svg {
  min-width: 24px;
}
.package-card.blue .package-features li { color: #0757ad; }
.package-card.orange .package-features li { color: #c04900; }
.package-card.purple .package-features li { color: #5b1b9e; }

.btn-package {
  background-color: #ba00e4;
  color: #fff;
  border-radius: 30px;
  padding: 12px 35px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(186, 0, 228, 0.4);
}
.btn-package:hover {
  background-color: #d811da;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(186, 0, 228, 0.6);
  color: #fff;
}

/* --- Section 7: School Vision --- */
.school-vision-section {
  background-color: #ffffff;
  background-image: url('../img/Group-367.png');
  background-size: 85%;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 0;
  position: relative;
}

.school-vision-title {
  font-size: 2.2rem;
  line-height: 1.4;
}

.school-vision-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  max-width: 900px;
  line-height: 1.6;
}

/* --- Footer --- */
.footer-section {
  background-color: #031557; /* Şimdilik düz koyu mavi, sonradan bg image eklenecek */
  background-size: cover;
  background-position: center;
  font-family: 'Poppins', sans-serif;
}

.footer-logo {
  font-family: 'DynaPuff', cursive;
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 90%;
}

.footer-slogan {
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: #d4f2ff;
  text-decoration: underline;
}

.story-card {
  position: relative;
  padding-top: 20px;
  margin-top: -20px;
}

.story-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: transparent;
  transition: all 0.4s ease;
}

.story-card:hover::before {
  background-color: #b913ff;
  width: 100px;
}

.story-card .icon-wrapper i {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.story-card:hover .icon-wrapper i {
  transform: scale(1.15) rotate(10deg);
}

/* Custom FAQ Accordion (No dashed border!) */
.custom-faq-accordion .faq-item {
  background-color: #0d47a1; /* Koyu Mavi zemin */
  color: white;
  transition: transform 0.2s ease;
}

.custom-faq-accordion .faq-btn {
  background-color: transparent !important;
  color: white !important;
  box-shadow: none !important;
}

.custom-faq-accordion .faq-number {
  font-size: 1.2rem;
  min-width: 25px;
}

.custom-faq-accordion .faq-question {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Accordion Icon (+ and -) */
.custom-faq-accordion .faq-btn::after {
  content: '\002B';
  background-image: none !important;
  font-size: 1.5rem;
  font-weight: 400;
  transform: none !important;
  color: white;
}

.custom-faq-accordion .faq-btn:not(.collapsed)::after {
  content: '\2212';
}

.custom-faq-accordion .faq-body {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  line-height: 1.7;
}