body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Arial, sans-serif;
}

* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

::-webkit-scrollbar {
  max-width: 4px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  border-radius: 10px;
}

/* Hover */
::-webkit-scrollbar-thumb:hover {
  background: #0b5ed7;
}

.cursor {
  display: inline-block;
  animation: blink 0.8s infinite;
  font-weight: 600;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 0; }
  25%, 75% { opacity: 1; }
}


i.bi {
  transition: transform 0.3s ease, color 0.3s ease;
}
i.bi:hover {
  transform: translateY(-5px) scale(1.1);
  color: #0d6efd;
}

@media (max-width: 991px) {
  .text-lg-start { text-align: center !important; }
  .align-items-lg-start { align-items: center !important; }
}

.hero .overlay {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.navbar {
  background: transparent;
  z-index: 10;
}

.navbar {
  background: transparent !important;
  z-index: 10;
}

.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.hero .bg {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: fadeBG 9s infinite;
  animation-timing-function: ease-in-out;
  z-index: -1;
}

.hero .bg1 { background-image: url('../images/background/bg1.jpg'); animation-delay: 0s; }
.hero .bg2 { background-image: url('../images/background/bg2.jpg'); animation-delay: 3s; }
.hero .bg3 { background-image: url('../images/background/bg3.jpg'); animation-delay: 6s; }

@keyframes fadeBG {
  0%   { opacity: 0; }
  16%  { opacity: 1; }
  50%  { opacity: 1; }
  66%  { opacity: 0; }
  100% { opacity: 0; }
}

.scroll-down i {
 display: inline-block;
 animation: bounce 2s infinite;
}

 @keyframes bounce {
   0%, 100% { transform: translateY(0); }
   50% { transform: translateY(10px); }
 }

 .fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}


.benefit-card {
  padding: 2rem;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.benefit-card i {
  font-size: 2rem;
  color: #0d6efd;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
}

.step-card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
}

.step-number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.benefit-line {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
}

.benefit-line i {
  font-size: 2rem;
  color: #0d6efd;
}

.professor-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  border-radius: 50%;
  background-image: url('../images/23cbeacdea458e9ced9807d6cbe2f4d6.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.speech-bubble-gradient {
  background: linear-gradient(316deg, #f9f9f9, #ffffff);
  border-radius: 25px;
  padding: 30px 20px;
  color: #000;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 8px 8px 20px rgba(0,0,0,0.15), -8px -8px 20px rgba(255,255,255,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.speech-bubble-gradient:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.student-slide {
  width: 100%;
  height: 340px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.slide-1 { background-image: url('../images/students/8c3fa8196ef3e2c81e88d4c24d6b7c06.jpg'); }

.review-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 0.25rem;
}

.review-author {
  font-size: 0.9rem;
  color: #6c757d;
}

@media (max-width: 767px) {
  .professor-photo {
    width: 200px;
    height: 200px;
  }

  .student-slide {
    height: 220px;
  }
}

.carousel-fade .carousel-item {
  transition: opacity 0.5s ease-in-out;
}

.section-soft {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 5rem 0;
}

.section-inner {
  background: #fff;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.radial-gradient {
background: radial-gradient(circle at 20% 30%, #cce5ff 20%, transparent 40%), radial-gradient(circle at 80% 70%, #d1e7dd 20%, transparent 40%), #f8f9fa;
}

.faq-card {
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
}

.faq-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.faq-card h5 {
  font-weight: 600;
}

.faq-card p {
  color: #495057;
  line-height: 1.6;
}

.modal-content {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
}

.modal-header h5 {
  font-weight: 600;
  font-size: 1.4rem;
}

.modal-body p {
  font-size: 0.95rem;
}

#trialForm input.form-control {
  border-radius: 0.5rem;
}

#trialForm button {
  border-radius: 0.5rem;
  font-weight: 500;
}

.btn-outline-primary i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

@media (max-width: 576px) {
  .modal-content {
    margin: 0 1rem;
  }
  .modal-header h5 {
    font-size: 1.2rem;
  }
  #trialForm button, .btn-outline-primary {
    font-size: 0.95rem;
  }
}

.footer {
  background-color: #111;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-title {
  font-size: 32px;
  margin-bottom: 15px;
  color: #ff7e5f;
}

.footer-text {
  font-size: 18px;
  margin-bottom: 30px;
  color: #ccc;
}

.cta {
  display: inline-block;
  padding: 16px 25px;
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  border: 0;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 25px;
}

.cta:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.footer-copy {
  margin-top: 35px;
  font-size: 14px;
  color: #777;
}