/*

Letter Template 

https://templatemo.com/tm-510-letter

*/

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 300;
  overflow-x: hidden;
}

a,
button {
  transition: all 0.3s ease;
  color: #ffffff;
}

button:focus {
  outline: none;
}

a:hover {
  color: #ffa057;
  text-decoration: underline;
}
a:focus {
  text-decoration: none;
  outline: none;
}

h1 {
  color: #ffffff;
  font-size: 4rem;
}

p {
  color: #ffffff;
}

#particles-js,
.cb-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.cb-slideshow-text-container {
  height: auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.tm-content {
  z-index: 1001;
}

.form-control::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: white;
}
.form-control::-moz-placeholder {
  /* Firefox 19+ */
  color: white;
}
.form-control:-ms-input-placeholder {
  /* IE 10+ */
  color: white;
}
.form-control:-moz-placeholder {
  /* Firefox 18- */
  color: white;
}

.form-control::placeholder {
  color: white;
}

.form-control {
  color: #ffffff;
  border-radius: 0.5rem;
  background-color: transparent;
  border: 1px solid #ffffff;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 1.4rem;
  font-weight: 300;
  padding: 0.75rem 1.2rem;
}

.form-section {
  color: #ffffff;
  background-color: transparent;
  margin-bottom: 100px;
}

#signin-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 100px;
}

.contact_email {
  color: #ffffff;
}

.tm-social-icons-container {
  margin: 10px;
}

.tm-social-link {
  border-color: #ffffff;
  color: black;
  display: inline-block;
  width: 50px;
  height: 50px;
  text-align: center;
}

.fa {
  color: #ffffff;
}

.footer-link {
  margin: 0;
  font-size: 15px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  color: #fff;
  text-align: center;
  background: rgba(30, 30, 30, 0.18);
  z-index: 1001;
  padding: 10px 0 8px 0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.footer-link a {
  color: #ffa057;
  text-decoration: underline;
}

/* Animation */
.cb-slideshow,
.cb-slideshow:after {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  z-index: 0;
}

.cb-slideshow li {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  color: transparent;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: none;
  opacity: 0;
  z-index: 0;
  -webkit-backface-visibility: hidden;
  -webkit-animation: imageAnimation 72s linear infinite 0s;
  -moz-animation: imageAnimation 72s linear infinite 0s;
  -o-animation: imageAnimation 72s linear infinite 0s;
  -ms-animation: imageAnimation 72s linear infinite 0s;
  animation: imageAnimation 72s linear infinite 0s;
}

.cb-slideshow li:nth-child(1) {
  background-image: url(../img/optimized/InEnglish8_opt.jpg);
}
.cb-slideshow li:nth-child(2) {
  background-image: url(../img/optimized/InEnglish9_opt.jpg);
  -webkit-animation-delay: 18s;
  -moz-animation-delay: 18s;
  -o-animation-delay: 18s;
  -ms-animation-delay: 18s;
  animation-delay: 18s;
}
.cb-slideshow li:nth-child(3) {
  background-image: url(../img/optimized/InEnglish10_opt.jpg);
  -webkit-animation-delay: 36s;
  -moz-animation-delay: 36s;
  -o-animation-delay: 36s;
  -ms-animation-delay: 36s;
  animation-delay: 36s;
}
.cb-slideshow li:nth-child(4) {
  background-image: url(../img/optimized/InEnglish11_opt.jpg);
  -webkit-animation-delay: 54s;
  -moz-animation-delay: 54s;
  -o-animation-delay: 54s;
  -ms-animation-delay: 54s;
  animation-delay: 54s;
}

@keyframes imageAnimation {
  0% {
    opacity: 0;
    animation-timing-function: ease-in;
  }
  8% {
    opacity: 1;
    transform: scale(1.15);
    animation-timing-function: ease-out;
  }
  17% {
    opacity: 1;
    transform: scale(1.2);
  }
  25% {
    opacity: 0;
    transform: scale(1.4);
  }
  100% {
    opacity: 0;
  }
}

@media screen and (max-width: 1140px) {
  .cb-slideshow li div h3 {
    font-size: 140px;
  }
}
@media screen and (max-width: 600px) {
  .cb-slideshow li div h3 {
    font-size: 80px;
  }
  .tm-content {
    margin-top: 80px;
  }
}

@media screen and (max-width: 576px) {
  .cb-slideshow li div h3 {
    font-size: 80px;
  }

  .tm-btn-subscribe {
    margin-top: 20px;
  }
}

.logo-container {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1002;
  width: 150px;
}

.logo-container img {
  width: 100%;
  height: auto;
}

.main-flex-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
}

.calendar-btn-container {
  margin: 32px 0 0 0;
  display: flex;
  justify-content: flex-start;
}

.calendar-btn-container .scheduling-button,
.calendar-btn-container button {
  background: linear-gradient(90deg, #ffa057 0%, #eb9d96 100%);
  color: #222;
  font-weight: 700;
  font-size: 1.2rem;
  border: none;
  border-radius: 28px;
  padding: 20px 44px;
  box-shadow: 0 4px 24px rgba(255, 160, 87, 0.18);
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-btn-container .scheduling-button:hover,
.calendar-btn-container button:hover {
  background: linear-gradient(90deg, #eb9d96 0%, #ffa057 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(255, 160, 87, 0.22);
  transform: scale(1.04);
}

.instagram-cta-btn {
  background: linear-gradient(90deg, #ffa057 0%, #eb9d96 100%);
  color: #222;
  font-weight: 700;
  font-size: 1.2rem;
  border: none;
  border-radius: 28px;
  padding: 20px 44px;
  box-shadow: 0 4px 24px rgba(255, 160, 87, 0.18);
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.instagram-cta-btn:hover {
  background: linear-gradient(90deg, #eb9d96 0%, #ffa057 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(255, 160, 87, 0.22);
  transform: scale(1.04);
  text-decoration: none;
}

.instagram-cta-btn i {
  font-size: 1.3rem;
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  animation: fadeInUp 1s cubic-bezier(0.23, 1.01, 0.32, 1) 0.8s both;
}

.scroll-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.scroll-arrow {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 160, 87, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 160, 87, 0.1);
  backdrop-filter: blur(10px);
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.scroll-arrow:hover {
  border-color: rgba(255, 160, 87, 0.9);
  background: rgba(255, 160, 87, 0.2);
  transform: scale(1.1);
}

.scroll-arrow i {
  color: rgba(255, 160, 87, 0.8);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.scroll-arrow:hover i {
  color: rgba(255, 160, 87, 1);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

.main-cta-box {
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.18) 60%,
    rgba(255, 160, 87, 0.1) 100%
  );
  border-radius: 32px;
  border: 1.5px solid rgba(255, 160, 87, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px);
  padding: 56px 48px;
  margin-bottom: 40px;
  color: #fff;
  animation: fadeInUp 1s cubic-bezier(0.23, 1.01, 0.32, 1) 0.2s both;
  max-width: 520px;
  width: 100%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.main-cta-box h1 img {
  margin-bottom: 18px;
}

.main-cta-box p {
  font-size: 1.18rem;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 18px;
}

@media screen and (max-width: 768px) {
  .main-cta-box {
    padding: 32px 10px;
  }
}

.top-right-nav {
  position: fixed;
  top: 32px;
  right: 44px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 18px 28px 18px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 160, 87, 0.18);
  transition: box-shadow 0.2s;
}

.top-right-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 22px;
  font-size: 1.15rem;
  border-radius: 22px;
  background: none;
  border: 2px solid transparent;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.2s;
  box-shadow: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.top-right-nav .nav-link.active,
.top-right-nav .nav-link:hover {
  border-color: #ffa057;
  background: rgba(255, 160, 87, 0.18);
  color: #ffa057;
  box-shadow: 0 2px 8px rgba(255, 160, 87, 0.08);
  text-shadow: none;
}

.top-right-nav .nav-link i {
  font-size: 1.2em;
  margin-right: 4px;
  opacity: 0.85;
}

@media screen and (max-width: 768px) {
  .top-right-nav {
    top: 10px;
    right: 6px;
    padding: 10px 8px;
    gap: 8px;
  }
  .top-right-nav .nav-link {
    font-size: 1rem;
    padding: 7px 12px;
  }
}

body::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 60% 40%,
    rgba(255, 160, 87, 0.1) 0%,
    rgba(0, 0, 0, 0.04) 100%
  );
}

@media (max-width: 900px) {
  .main-cta-box {
    padding: 32px 10px;
  }

  .footer-link {
    font-size: 13px;
    padding: 8px 0 6px 0;
  }
}

@media (max-width: 600px) {
  .main-cta-box {
    padding: 18px 2vw;
    border-radius: 18px;
  }

  .calendar-btn-container .scheduling-button,
  .calendar-btn-container button,
  .instagram-cta-btn {
    font-size: 1rem;
    padding: 12px 18px;
    border-radius: 18px;
  }

  .scroll-indicator {
    margin-top: 24px;
  }

  .scroll-text {
    font-size: 0.9rem;
  }

  .scroll-arrow {
    width: 36px;
    height: 36px;
  }

  .scroll-arrow i {
    font-size: 1rem;
  }
}

.centered-main {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 700px) {
  .main-cta-box {
    width: 98vw;
    max-width: 98vw;
    padding: 12vw 2vw;
  }
  .centered-main {
    padding: 0;
  }
}

@media (max-width: 400px) {
  .main-cta-box {
    padding: 4vw 1vw;
  }
}

.side-by-side-main {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

@media (max-width: 1100px) {
  .side-by-side-main {
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .side-by-side-main {
    flex-direction: column;
    gap: 24px;
    padding: 24px 0;
  }
  .main-cta-box {
    max-width: 98vw;
    width: 98vw;
  }
}

.main-heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.01em;
}

.tagline {
  font-size: 1.18rem;
  color: #eaeaea;
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.5;
}

.tagline-highlight {
  color: #ffa057;
  font-weight: 500;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  text-align: left;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.feature-list li {
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

.feature-list .emoji {
  font-size: 1.2em;
  margin-right: 6px;
}

.feature-list .highlight {
  color: #ffa057;
  font-weight: 600;
}

/* FAQ dropdown answer visibility and readability */
.faq-section {
  margin-bottom: 50px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 160, 87, 0.18);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition:
    box-shadow 0.2s,
    background 0.2s,
    transform 0.2s;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
  transform: translateY(-2px) scale(1.01);
}

.faq-question {
  padding: 20px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: #222;
  background: none;
  border: none;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(255, 160, 87, 0.08);
}

.faq-question h4 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffa057;
}

.faq-question i {
  color: #ffa057;
  font-size: 1.3rem;
  transition:
    transform 0.3s,
    color 0.2s;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg) scale(1.2);
  color: #ff7e2d;
}

.faq-answer {
  opacity: 1;
  transition:
    max-height 0.3s ease,
    opacity 0.3s;
}

.faq-item.active .faq-answer {
  opacity: 1;
}

.faq-answer p,
.faq-answer ul,
.faq-answer li {
  color: #070707 !important;
  font-size: 1.05rem;
  margin: 0 0 8px 0;
}

@media (max-width: 600px) {
  .faq-question,
  .faq-answer {
    padding-left: 12px;
    padding-right: 12px;
  }
  .faq-item {
    margin-bottom: 22px;
  }
}

.pricing-table th,
.pricing-table td {
  background: rgba(
    30,
    30,
    30,
    0.78
  ); /* much less transparent, dark for contrast */
  color: #fff;
  border-radius: 16px;
  padding: 18px 12px;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.13);
  border: none;
  text-align: center;
}
.pricing-table th {
  background: rgba(255, 160, 87, 0.92);
  color: #fff;
}
.pricing-table .best-value {
  background: linear-gradient(90deg, #ffa057 0%, #eb9d96 100%);
  color: #222;
}

/* Timetable Section */
.timetable-section {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

/* Timetable Styles */
.timetable-box {
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.18) 60%,
    rgba(255, 160, 87, 0.1) 100%
  );
  border-radius: 32px;
  border: 1.5px solid rgba(255, 160, 87, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px);
  padding: 48px 40px;
  margin-bottom: 40px;
  color: #fff;
  animation: fadeInUp 1s cubic-bezier(0.23, 1.01, 0.32, 1) 0.4s both;
  max-width: 800px;
  width: 100%;
}

.timetable-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.01em;
}

.registration-info {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.registration-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 500;
}

.registration-status.available {
  background: rgba(34, 197, 94, 0.15);
  border: 1.5px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.registration-status.coming-soon {
  background: rgba(255, 193, 7, 0.15);
  border: 1.5px solid rgba(255, 193, 7, 0.3);
  color: #ffc107;
}

.status-icon {
  font-size: 1.3rem;
}

.timetable-container {
  margin-bottom: 24px;
  overflow-x: auto;
}

.timetable-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.timetable-table th {
  background: rgba(255, 160, 87, 0.8);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 12px;
  text-align: center;
  border: none;
}

.timetable-table th.time-header {
  background: rgba(255, 160, 87, 0.9);
  font-weight: 700;
  min-width: 120px;
}

.timetable-table td {
  padding: 14px 12px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.timetable-table td.time-slot {
  background: rgba(255, 160, 87, 0.6);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.timetable-table td.empty {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
}

/* Cohort color coding */
.timetable-table td.cohort-1 {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  font-weight: 600;
}

.timetable-table td.cohort-2 {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  font-weight: 600;
}

.timetable-table td.cohort-3 {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  color: #fff;
  font-weight: 600;
}

.timetable-table td.cohort-4 {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
  color: #fff;
  font-weight: 600;
}

.timetable-table td.cohort-5 {
  background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
  color: #fff;
  font-weight: 600;
}

/* Clickable cohort styling */
.timetable-table td.clickable-cohort {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.timetable-table td.clickable-cohort:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.timetable-table td.clickable-cohort a {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  padding: inherit;
  margin: -14px -12px;
  padding: 14px 12px;
  border-radius: inherit;
}

.timetable-table td.clickable-cohort a:hover {
  color: inherit;
  text-decoration: none;
}

.cohort-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #fff;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex-shrink: 0;
}

.legend-color.cohort-1 {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.legend-color.cohort-2 {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.legend-color.cohort-3 {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
}

.legend-color.cohort-4 {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}

.legend-color.cohort-5 {
  background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
}

.legend-text {
  font-weight: 500;
}

/* Responsive adjustments for timetable */
@media screen and (max-width: 900px) {
  .timetable-section {
    padding: 40px 0;
  }

  .timetable-box {
    padding: 32px 24px;
    max-width: 95vw;
    width: 95vw;
  }

  .timetable-table th,
  .timetable-table td {
    padding: 12px 10px;
    font-size: 0.9rem;
  }

  .timetable-table th.time-header {
    min-width: 110px;
  }

  .registration-status {
    padding: 14px 18px;
    font-size: 1rem;
  }
}

@media screen and (max-width: 600px) {
  .timetable-section {
    padding: 20px 0;
  }

  .timetable-box {
    padding: 24px 16px;
    border-radius: 24px;
    max-width: 98vw;
    width: 98vw;
  }

  .timetable-heading {
    font-size: 1.6rem;
    margin-bottom: 24px;
  }

  .timetable-table th,
  .timetable-table td {
    padding: 10px 8px;
    font-size: 0.85rem;
  }

  .timetable-table th.time-header {
    min-width: 90px;
  }

  .registration-info {
    margin-bottom: 24px;
  }

  .registration-status {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .legend-item {
    font-size: 0.9rem;
  }

  .legend-color {
    width: 18px;
    height: 18px;
  }
}
