/* === HOMEPAGE HERO STYLES === */
/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

/* 1200px Custom Container */
.container-custom {
  max-width: 1200px;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.hero-section {
  background: linear-gradient(135deg, #1a237e 0%, #303f9f 50%, #3f51b5 100%);
  color: white;
  position: relative;
  overflow: hidden;
  height: 75rem;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><path d="M40 18v38c-6-4-14-4-20 0V18c6-4 14-4 20 0zM40 18c6-4 14-4 20 0v38c-6-4-14-4-20 0" fill="none" stroke="%23ffffff" stroke-width="2.5" opacity="0.14"/><path d="M24 24h12M44 24h12M24 28h10M44 28h14M24 32h8M44 32h10M24 36h11M44 36h13" stroke="%23ffffff" stroke-width="1.5" opacity="0.10"/><path d="M40 18v38" stroke="%23ffffff" stroke-width="1" opacity="0.08"/></svg>'),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><rect x="15" y="18" width="50" height="32" rx="3" fill="none" stroke="%23ffffff" stroke-width="2.5" opacity="0.14"/><path d="M22 26h12v8H22zM38 28h20M38 34h16M38 40h22" stroke="%23ffffff" stroke-width="1.5" opacity="0.10"/><path d="M35 50v8M45 50v8M28 58h24" stroke="%23ffffff" stroke-width="2.5" opacity="0.12"/></svg>'),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><rect x="22" y="12" width="36" height="52" rx="4" fill="none" stroke="%23ffffff" stroke-width="2.5" opacity="0.14"/><rect x="26" y="18" width="28" height="10" rx="2" fill="%23ffffff" opacity="0.10"/><circle cx="32" cy="38" r="3" fill="%23ffffff" opacity="0.12"/><circle cx="40" cy="38" r="3" fill="%23ffffff" opacity="0.12"/><circle cx="48" cy="38" r="3" fill="%23ffffff" opacity="0.12"/><circle cx="32" cy="48" r="3" fill="%23ffffff" opacity="0.12"/><circle cx="40" cy="48" r="3" fill="%23ffffff" opacity="0.12"/><circle cx="48" cy="48" r="3" fill="%23ffffff" opacity="0.12"/></svg>'),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><path d="M25 25h30c3 0 5 2 5 5v28c0 3-2 5-5 5H25c-3 0-5-2-5-5V30c0-3 2-5 5-5z" fill="none" stroke="%23ffffff" stroke-width="2.5" opacity="0.14"/><path d="M32 15v10M48 15v10" stroke="%23ffffff" stroke-width="2.5" opacity="0.12"/><rect x="28" y="35" width="24" height="8" rx="2" fill="none" stroke="%23ffffff" stroke-width="2" opacity="0.10"/><path d="M35 48h10" stroke="%23ffffff" stroke-width="2" opacity="0.10"/></svg>'),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><path d="M16 64l6-2 40-40c1.5-1.5 1.5-4 0-5.5l-3-3c-1.5-1.5-4-1.5-5.5 0L13 54l3 10z" fill="none" stroke="%23ffffff" stroke-width="2.5" opacity="0.14"/><path d="M54 13.5l9 9M16 64l6-6" stroke="%23ffffff" stroke-width="2" opacity="0.10"/><path d="M54 13.5L63 22.5" stroke="%23ffffff" stroke-width="1.5" opacity="0.08"/><rect x="60" y="10" width="8" height="3" rx="1" fill="%23ffffff" opacity="0.12" transform="rotate(45 64 11.5)"/><circle cx="65" cy="16" r="2" fill="%23ffffff" opacity="0.10"/></svg>'),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><path d="M40 15c-8 0-15 7-15 15 0 5 2 9 5 12v8c0 2 2 4 4 4h12c2 0 4-2 4-4v-8c3-3 5-7 5-12 0-8-7-15-15-15z" fill="none" stroke="%23ffffff" stroke-width="2.5" opacity="0.14"/><path d="M32 42h16M34 46h12M36 50h8" stroke="%23ffffff" stroke-width="2" opacity="0.10"/><path d="M36 58h8" stroke="%23ffffff" stroke-width="2.5" opacity="0.12"/></svg>'),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="24" fill="none" stroke="%23ffffff" stroke-width="2.5" opacity="0.14"/><path d="M16 40h48M40 16v48" stroke="%23ffffff" stroke-width="1.5" opacity="0.08"/><path d="M26 26c7 0 14 6 14 14s-7 14-14 14M54 26c-7 0-14 6-14 14s7 14 14 14" fill="none" stroke="%23ffffff" stroke-width="2" opacity="0.10"/><circle cx="40" cy="15" r="2" fill="%23ffffff" opacity="0.12"/></svg>'),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><path d="M12 34L40 20L68 34L40 47L12 34z" fill="%23ffffff" opacity="0.12" stroke="%23ffffff" stroke-width="1" opacity="0.14"/><path d="M58 34v16c0 4-8 9-18 9s-18-5-18-9V34" fill="none" stroke="%23ffffff" stroke-width="2.5" opacity="0.12"/><path d="M62 34v20l5 4v-20l-5-4z" fill="%23ffffff" opacity="0.10" stroke="%23ffffff" stroke-width="1.5" opacity="0.08"/><circle cx="67" cy="58" r="2.5" fill="%23ffffff" opacity="0.14"/><path d="M62 50c2 0 4 1 5 2" stroke="%23ffffff" stroke-width="1" opacity="0.08"/><path d="M58 50L52 44" stroke="%23ffffff" stroke-width="2" opacity="0.10"/></svg>'),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="25" r="8" fill="none" stroke="%23ffffff" stroke-width="2.5" opacity="0.14"/><path d="M30 40v20M50 40v20M30 40h20" stroke="%23ffffff" stroke-width="2.5" opacity="0.12"/><path d="M32 45h16c3 0 5 2 5 5v3c0 1-1 2-2 2H29c-1 0-2-1-2-2v-3c0-3 2-5 5-5z" fill="none" stroke="%23ffffff" stroke-width="2" opacity="0.10"/><path d="M35 48h10M35 51h8" stroke="%23ffffff" stroke-width="1.5" opacity="0.08"/></svg>');
  background-position:
    8% 15%,
    85% 18%,
    22% 70%,
    78% 75%,
    45% 20%,
    15% 85%,
    65% 12%,
    90% 55%,
    35% 45%;
  background-size:
    110px 110px,
    125px 125px,
    115px 115px,
    120px 120px,
    112px 112px,
    118px 118px,
    130px 130px,
    122px 122px,
    116px 116px;
  background-repeat: no-repeat;
  opacity: 0.32;
  animation: floatEducationSeamless 60s linear infinite;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60%;
  height: 140%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 30%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.05) 60%,
    transparent 70%,
    transparent 100%
  );
  transform: skewX(-25deg);
  border-radius: 50% 0 50% 0;
  animation: geometricFloat 30s ease-in-out infinite;
}

@keyframes floatEducationSeamless {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    background-position:
      8% 15%,
      85% 18%,
      22% 70%,
      78% 75%,
      45% 20%,
      15% 85%,
      65% 12%,
      90% 55%,
      35% 45%;
  }
  12% {
    transform: translateY(-18px) translateX(8px) rotate(1.5deg) scale(1.02);
    background-position:
      12% 18%,
      82% 22%,
      26% 68%,
      75% 78%,
      42% 24%,
      18% 82%,
      68% 15%,
      87% 58%,
      38% 42%;
  }
  25% {
    transform: translateY(-8px) translateX(-5px) rotate(-1deg) scale(0.98);
    background-position:
      6% 12%,
      88% 15%,
      18% 72%,
      82% 72%,
      48% 17%,
      12% 88%,
      62% 9%,
      93% 52%,
      32% 48%;
  }
  37% {
    transform: translateY(-25px) translateX(12px) rotate(2deg) scale(1.05);
    background-position:
      15% 22%,
      79% 25%,
      30% 66%,
      71% 81%,
      39% 28%,
      22% 79%,
      71% 18%,
      84% 61%,
      41% 39%;
  }
  50% {
    transform: translateY(-5px) translateX(-8px) rotate(-0.5deg) scale(1.01);
    background-position:
      4% 8%,
      91% 12%,
      14% 76%,
      86% 68%,
      52% 14%,
      8% 91%,
      58% 6%,
      96% 48%,
      28% 52%;
  }
  62% {
    transform: translateY(-32px) translateX(15px) rotate(2.5deg) scale(1.03);
    background-position:
      18% 25%,
      76% 28%,
      34% 63%,
      68% 84%,
      36% 31%,
      25% 76%,
      74% 21%,
      81% 64%,
      44% 36%;
  }
  75% {
    transform: translateY(-12px) translateX(-12px) rotate(-1.8deg) scale(0.97);
    background-position:
      2% 5%,
      94% 9%,
      10% 79%,
      89% 65%,
      55% 11%,
      5% 94%,
      55% 3%,
      99% 45%,
      25% 55%;
  }
  87% {
    transform: translateY(-40px) translateX(18px) rotate(3deg) scale(1.06);
    background-position:
      21% 28%,
      73% 31%,
      38% 60%,
      65% 87%,
      33% 34%,
      28% 73%,
      77% 24%,
      78% 67%,
      47% 33%;
  }
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    background-position:
      8% 15%,
      85% 18%,
      22% 70%,
      78% 75%,
      45% 20%,
      15% 85%,
      65% 12%,
      90% 55%,
      35% 45%;
  }
}

@keyframes geometricFloat {
  0%,
  100% {
    transform: skewX(-25deg) translateY(0px) rotate(0deg);
  }
  25% {
    transform: skewX(-25deg) translateY(-20px) rotate(0.5deg);
  }
  50% {
    transform: skewX(-25deg) translateY(-10px) rotate(-0.3deg);
  }
  75% {
    transform: skewX(-25deg) translateY(-30px) rotate(0.8deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: "Raleway", sans-serif;
  font-size: 6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-family: "Roboto", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: #f8f9fa;
  max-width: 95%;
}

.cta-button {
  font-family: "Roboto", sans-serif;
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  color: white;
  text-decoration: none;
}

.cta-button:hover {
  background: linear-gradient(135deg, #45a049 0%, #4caf50 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
  color: white;
  text-decoration: none;
}

.btn-outline-primary {
  font-family: "Roboto", sans-serif;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  border-radius: 50px;
  padding: 16px 40px;
  font-weight: 500;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline-primary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  color: white;
  text-decoration: none;
}

/* Hero Image Styles */
.hero-image {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.mockup-image {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
}

.mockup-image:hover {
  transform: scale(1.02);
}

/* Features Section */
.features-section {
  background: #f8f9fa;
}

.section-title {
  font-family: "Raleway", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-description {
  font-family: "Roboto", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: #495057;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #3f51b5, #5c6bc0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.feature-card h4 {
  font-family: "Raleway", sans-serif;
  color: #1a237e;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.feature-card p {
  font-family: "Roboto", sans-serif;
  color: #495057;
  line-height: 1.7;
  font-weight: 400;
  font-size: 1.125rem;
}

/* Demo Section */
.demo-section {
  background: linear-gradient(135deg, #1a237e 0%, #303f9f 50%, #3f51b5 100%);
  position: relative;
}

.demo-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.demo-content,
.demo-form-card {
  position: relative;
  z-index: 2;
}

.demo-description {
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
}

.benefit-item {
  font-size: 1.1rem;
}

.benefit-item i {
  font-size: 1.2rem;
}

.demo-form-card .card {
  border-radius: 20px;
}

.demo-form .form-label {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  color: #444444;
  margin-bottom: 0.5rem;
  font-size: 15px;
}

.demo-form .form-control {
  border-radius: 4px;
  border: 1px solid #c2c2c2;
  padding: 12px 20px;
  font-size: 15px;
  transition: border-color 0.3s ease;
  background-color: transparent;
}

.demo-form input.form-control {
  height: 50px;
}

.demo-form select.form-control {
  height: 50px;
}

.demo-form .form-control:focus {
  border-color: #0b4776;
  box-shadow: 0 0 0 0.2rem rgba(11, 71, 118, 0.25);
  outline: none;
}

.demo-form .form-control::placeholder {
  color: #adadad;
  font-size: 15px;
}

/* Stats Section */
.why-choose-section {
  background: #f8f9fa;
}

.stat-card {
  background: white;
  padding: 2rem 1rem;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 2px solid transparent;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: #1a237e;
}

.stat-number {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: #1a237e;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.stat-label {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  color: #495057;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1.25rem;
    max-width: 100%;
    margin-bottom: 2.5rem;
  }

  .hero-content {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .hero-section::before {
    background-size:
      65px 65px,
      72px 72px,
      68px 68px,
      70px 70px,
      66px 66px,
      69px 69px,
      75px 75px,
      71px 71px,
      67px 67px;
    opacity: 0.25;
    animation: floatEducationMobile 45s ease-in-out infinite;
  }

  .hero-section::after {
    animation: none;
    opacity: 0.6;
  }

  .hero-image {
    padding: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-actions .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .hero-actions .btn:last-child {
    margin-bottom: 0;
  }

  .mockup-image:hover {
    transform: none;
  }

  .container-custom {
    padding-right: 15px;
    padding-left: 15px;
  }

  .stat-number {
    font-family: "Bebas Neue", sans-serif;
    font-size: 3rem;
    letter-spacing: 1px;
  }

  .demo-form .form-control {
    padding: 10px 12px;
  }

  .benefit-item {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

@keyframes floatEducationMobile {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    background-position:
      8% 15%,
      85% 18%,
      22% 70%,
      78% 75%,
      45% 20%,
      15% 85%,
      65% 12%,
      90% 55%,
      35% 45%;
  }
  33% {
    transform: translateY(-8px) scale(1.02);
    background-position:
      12% 18%,
      82% 22%,
      26% 68%,
      75% 78%,
      42% 24%,
      18% 82%,
      68% 15%,
      87% 58%,
      38% 42%;
  }
  66% {
    transform: translateY(-15px) scale(0.98);
    background-position:
      6% 12%,
      88% 15%,
      18% 72%,
      82% 72%,
      48% 17%,
      12% 88%,
      62% 9%,
      93% 52%,
      32% 48%;
  }
}

.copyright {
  text-align: center;
}
