* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #1f2937;
  overflow-x: hidden;
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hystmodal__window {
  width: min(92vw, 440px);
  padding: 1.5rem;
  border-radius: 1rem;
}

.modal_content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.modal_brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal_title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
}
.modal_subtitle {
  margin: 0;
  font-size: 0.9rem;
}

.modal_close {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.modal_form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.label {
  font-size: 0.9rem;
}

.control {
  position: relative;
  display: flex;
  align-items: center;
}
.input {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1rem;
  outline: none;
  font-size: 1rem;
}

.error {
  color: var(--danger);
  font-size: 0.9rem;
  display: none;
}

.actions {
  margin-top: 10px;
  text-align: right;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(30, 64, 175, 0.1);
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e40af;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a:hover {
  color: #1e40af;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1e40af;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-text {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  transition: color 0.3s ease;
}

.btn-text:hover {
  color: #1e40af;
}

.btn-login {
  background: #1e40af;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-actions > a {
    border-radius: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.btn-offer {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #1e40af;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  display: grid;
  grid-template-areas: "content image" "stats stats";
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4.125rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  margin-bottom: 2rem;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  color: white;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(251, 191, 36, 0.4);
}

.hero-content {
  grid-area: content;
}
.hero-image {
  grid-area: image;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-area: stats;
  gap: 2rem;
}

.stat {
  background: rgba(0, 0, 0, 0.03);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid #bdbdbd59;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.875rem;
  color: #757575;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.why-choose {
  padding: 3rem 0 6rem;
  background: #f8fafc;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #1e40af, #3b82f6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.6;
}

.logo-item {
  background: #f3f4f6;
  padding: 1.5rem;
  border-radius: 12px;
  min-width: 120px;
}

.logo-placeholder {
  font-weight: 600;
  color: #1e40af;
}

.courses {
  padding: 6rem 0;
  background: white;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.course-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.course-card .course-image {
  width: 100%;
  border-radius: 20px 20px 0 0;
}
.course-card .course-body {
  padding: 2.5rem;
  padding-top: 1.75rem;
}

.course-card .course-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #1e40af, #3b82f6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.course-card .course-icon i {
  font-size: 2rem;
  color: white;
}

.course-card .course-header h3 {
  font-size: 1.5rem;
  padding-left: 2.5rem;
  font-weight: 600;
  color: #1f2937;
}

.course-card .course-features {
  margin-bottom: 2rem;
}

.course-card .course-features .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.course-card .course-features .feature-item i {
  color: #10b981;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.course-card .course-features .feature-item span {
  color: #6b7280;
  line-height: 1.6;
}

.branches {
  padding: 3rem 0 6rem;
  background: #f8fafc;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.branch-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.branch-image {
  height: 120px;
  padding: 0 30px;
  background: linear-gradient(45deg, #1e40af, #3b82f6);
  position: relative;
}

.branch-image .branch-title {
  font-size: 28px;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #1e40af, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: white;
  font-weight: 600;
}

.branch-info {
  padding: 2rem;
}

.branch-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.branch-info p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.branch-info p i {
  color: #1e40af;
  margin-right: 7px;
}

.map-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e40af;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.map-link:hover {
  color: #1d4ed8;
}

.testimonials {
  padding: 3rem 0 6rem;
  background: #f8fafc;
}

.splide-testimonials .splide__slide {
  display: flex;
  height: auto;
  padding: 30px 0;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  height: 100%;
  border: 1px solid #e5e7eb;
}

.testimonial-card .avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.testimonial-card .author {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.testimonial-card .review {
  margin: 0;
  line-height: 1.6;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.faq {
  padding: 6rem 0;
  background: white;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.faq-question {
  padding: 1rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #0445a90f;
}

.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
}

.faq-question i {
  color: #6b7280;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
  background: #0445a90f;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 1rem 2rem;
  color: #6b7280;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.footer {
  background: #1f2937;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #1e40af;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #9ca3af;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #1e40af;
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #1e40af;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #1e40af, #3b82f6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #1d4ed8, #2563eb);
}

.mobile-notification i {
  font-size: 1.2rem;
}

@keyframes slideInNotification {
  to {
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 20px 20px;
    gap: 0;
  }

  .nav-menu li {
    margin: 0 !important;
    text-align: center;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    font-size: 1.125rem;
    padding: 0.5rem 0.75rem !important;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: block;
  }

  .nav-menu a:hover {
    background: linear-gradient(45deg, #1e40af, #3b82f6);
    color: white;
    transform: translateY(-2px);
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero-container {
    display: block;
    max-width: 100%;
    grid-template-areas: "content" "image" "stats";
    text-align: left;
    gap: 3rem;
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat {
    padding: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .section-header {
    margin-bottom: 3rem;
    padding: 0 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .section-header p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .feature-card {
    padding: 2rem;
    border-radius: 15px;
  }

  .logo-item {
    min-width: 100px;
    padding: 1rem;
  }

  .hybrid-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1rem;
  }

  .hybrid-text h2 {
    font-size: 2rem;
    text-align: center;
  }

  .hybrid-text p {
    text-align: center;
  }

  .phone-frame {
    width: 250px;
    height: 450px;
  }

  .students-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .student-card {
    padding: 2rem;
    border-radius: 15px;
  }

  .student-results {
    flex-direction: column;
    gap: 1rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .course-card {
    border-radius: 15px;
  }
  .course-card .course-body {
    padding: 2rem;
  }

  .branches-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .branch-card {
    border-radius: 15px;
  }

  .branch-info {
    padding: 1.5rem;
  }

  .faq-grid {
    padding: 0 1rem;
  }

  .faq-question {
    padding: 1.5rem;
  }

  .faq-answer {
    padding: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
    padding: 0 0.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
    padding: 0 0.5rem;
  }

  .btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .feature-card,
  .student-card {
    padding: 1.5rem;
  }

  .course-card .course-body {
    padding: 1.5rem;
  }

  .phone-frame {
    width: 220px;
    height: 400px;
  }

  .courses,
  .why-choose,
  .testimonials,
  .faq {
    padding: 3rem 0;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
  }

  .phone-frame {
    width: 200px;
    height: 350px;
  }
}
