* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
}

body {
  background-color: #f4f8ff;
  color: #0053bc;
  scroll-behavior: smooth;
}

header {
  position: fixed;
  width: 100%;
  top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 50px;
  background-color: #ddd;
  color: #ef7f1a;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid #d3d3d3;
}

header nav {
  display: flex;
  align-items: center;
}

header .hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #060281;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 1.5rem;
  background: none;
  border: none;
  display: none;
  cursor: pointer;
  color: #060281;
}

header .logo {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 1.5px;
}

header nav a {
  color: #060281;
  text-decoration: none;
  margin-left: 20px;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  transition: color 0.3s, border-bottom 0.3s;
}

header nav a:hover {
  color: #0053bc;
}

header nav a.active {
  color: #ef7f1a;
  border-bottom: 2px solid #ef7f1a;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.has-submenu::after {
  content: "▼";
  font-size: 0.8rem;
  margin-left: 5px;
  color: #060281;
  transition: transform 0.3s;
}

.dropdown:hover .has-submenu::after {
  transform: rotate(180deg);
}

.dropdown-content {
  padding-top: 10px;
  display: none;
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #ddd;
  min-width: 170px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.dropdown-content a {
  color: #060281;
  padding: 5px 5px;
  text-decoration: none;
  display: block;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.3s, background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #0053bc;
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

header nav a,
.dropdown > a {
  margin-right: 1.5rem;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 120px;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.background-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.video-controls {
  position: absolute;
  bottom: 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.video-controls input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  width: 15px;
  height: 15px;

  background-color: #ddd;
  border: 1px solid #ef7f1a;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.video-controls input[type="radio"]:checked {
  background-color: #ef7f1a;
  transform: scale(1.1);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  top: 40px;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 20px 5px;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50px;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(38, 43, 36, 10),
    rgba(38, 43, 36, 0.8),
    rgba(255, 255, 255, 0)
  );
  z-index: -1;
}

.hero-text {
  flex: 1;
  text-align: left;
  padding-right: 10px;
  animation: fadeIn 1s ease-in-out;
}

.hero-text h1 {
  font-size: 1.5rem;
  color: #ef7f1a;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1rem;
  color: #ddd;
  margin: 10px 0;
  width: 80%;
  line-height: 1.5;
}

.hero-text button {
  font-size: 1.2em;
  padding: 10px 20px;
  color: #fff;
  background-color: #4caf50;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.hero-image {
  flex: 1;
  padding-left: 20px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 90%;
  height: auto;
  animation: fadeIn 1.5s ease-in-out;
}

button {
  padding: 0.5rem 1rem;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
  text-align: center;
}

button:hover {
  background-color: #45a049;
}

section {
  padding: 80px 50px;
  max-width: 1200px;
  margin: auto;
}

.features,
.enquiry,
.contact {
  background-color: #f4f8ff;
  padding: 10px 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.heading {
  color: #ddd;
  background-color: #060281;
  border-radius: 0.3rem;
  font-size: 1rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  width: fit-content;
  text-align: center;
  display: inline-block;
  padding: 0.5rem 1rem;
}

.feature-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.feature {
  width: 45%;
  padding: 20px;
  text-align: left;
  color: #060281;
  border-left: 4px solid #ef7f1a;
  background: #f4f8ff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.feature {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.feature:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  width: 100px;
  height: auto;
  border-radius: 2rem;
}

.feature-1 {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
}

.feature p {
  margin: 0;
  margin-top: 10px;
  text-align: left;
  font-size: 1rem;
  color: #333;
}

.feature h3 {
  font-size: 1rem;
}

button {
  background-color: #ef7f1a;
  color: #060281;
  border: none;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #ffd7a6;
}

footer {
  background-color: #060281;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-family: Arial, sans-serif;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

footer .social-media {
  margin-top: 10px;
}

footer .social-media a {
  color: #fff;
  font-size: 0.9rem;
  margin: 0 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

footer .social-media a:hover {
  color: #ef7f1a;
}

footer .social-media i {
  margin-right: 8px;
  font-size: 1.3em;
}

.logo {
  position: relative;
  left: -100px;
}

.logo img {
  height: 50px;
  width: auto;
  transition: all 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

.enquiry {
  padding: 40px 20px;
  background-color: #f7f7f7;
  border-radius: 8px;
}

form {
  margin: 0 auto;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 20px;
}

.left-column,
.right-column {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 2rem;
}

label {
  display: block;
  width: fit-content;
  font-weight: 500;
  color: #060281;
  margin-bottom: 5px;
}

.required {
  color: red;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

button {
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
  width: auto;
  display: inline-block;
  text-align: center;
}

button:hover {
  background-color: #56cc5c;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact {
  background: linear-gradient(to right, #e0f7fa, #e0f7fa, #ffffff);
  padding: 40px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #333;
}

.contact .contact-details p {
  font-size: 1.1em;
  line-height: 1.6;
  margin: 10px 0;
}

.contact .contact-details p strong {
  color: #ef7f1a;
}

.contact .contact-details a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact .contact-details a:hover {
  text-decoration: underline;
}

.advantages {
  text-align: center;
  padding: 50px 20px;
  background-color: #f8f8f8;
  margin-bottom: 20px;
}

.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advantage-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.advantage-heading,
.advantage-content {
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.advantage-heading {
  background-color: #4caf50;
  text-align: center;
  padding: 1rem;
  width: fit-content;
}

.advantage-content {
  color: #333;
  text-align: left;
  padding: 1rem;
}

.advantage-heading h3 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.advantage-content p,
.advantage-heading p {
  font-size: 0.9rem;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #ef7f1a;
  font-weight: bold;
  text-decoration: none;
}

.advantage-row:nth-child(odd) .advantage-heading {
  order: 1;
}

.advantage-row:nth-child(odd) .advantage-content {
  order: 2;
  text-align: left;
}

.advantage-row:nth-child(even) .advantage-content {
  order: 1;
  text-align: left;
}

.advantage-row:nth-child(even) .advantage-heading {
  order: 2;
}

#muteToggleButton {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  background-color: rgba(240, 14, 14, 0.78);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#navbar.show {
  right: 0;
}

.ai-teacher-section {
  background: linear-gradient(to right, #e0f7fa, #e0f7fa, #ffffff);
  padding: 40px 20px;
  max-width: 1200px;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  color: #333;
}

.ai-teacher-section-heading {
  width: fit-content;
  margin: auto;
}

.ai-teacher-section h3 {
  font-size: 1.2rem;
  color: #004d40;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}

.ai-teacher-section p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
  margin: 10px 0;
}

.ai-teacher-section .highlight {
  color: #d32f2f;
  font-weight: bold;
  font-style: italic;
  background-color: #ffebee;
  padding: 2px 5px;
  border-radius: 3px;
}

.ai-teacher-section p:last-of-type {
  font-weight: 500;
  color: #004d40;
}

.dropdown.show .dropdown-content {
  display: block;
}

.contact-top {
  height: 40px;
  top: 0;
  width: 100%;
  background-color: #060281;
  position: fixed;
  z-index: 1000;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.contact-top-container a {
  text-decoration: none;
  color: aliceblue;
}

.contact-top-container a:hover {
  text-decoration: underline;
  color: orange;
}

.contact-top-container i {
  margin-right: 3px;
  color: aliceblue;
}

.book-demo {
  color: orange;
  background-color: orangered;
  padding: 3px;
  font-size: 0.9rem;
  border-radius: 3px;
  position: relative;
  transition: transform 0.3s ease !important;
}

.book-demo:hover {
  transform: scale(1.1) !important;
}

.book-demo a {
  color: white;
  text-decoration: none;
}

.book-demo::before {
  content: "Click";
  position: absolute;
  top: -10px;
  left: -15px;
  background-color: yellow;
  color: red;
  font-size: 0.6rem;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: bold;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50%,
  100% {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

/* Success Overlay Styles */
#success-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#success-overlay div {
  text-align: center;
  background: #060281;
  padding: 3rem 1rem;
  border-radius: 8px;
  position: relative;
  margin: 0 20px;
  font-size: 0.9rem;
}

button#close-overlay {
  background-color: red;
  color: white;
  padding: 3px 7px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 10px;
}

/* media quaries */
@media screen and (max-width: 1200px) {
  .benefit-container {
    margin-left: 10px;
    margin-right: 10px;
  }

  .contact {
    margin-left: 10px;
    margin-right: 10px;
  }

  header nav {
    display: none;
  }

  header .hamburger {
    display: block;
  }

  #navbar {
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: fit-content;
    padding: 20px 10px;
    background-color: #ddd;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: right 0.3s ease;
    z-index: 1001;
  }

  #navbar a {
    margin-top: 15px;
  }

  .dropdown {
    margin-top: 15px;
  }

  .hero-content {
    display: none;
  }

  .hero {
    height: 70vh;
  }
}

@media screen and (max-width: 991px) {
  html {
    font-size: 90%;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 85%;
  }

  .feature-list {
    display: flex;
    flex-direction: column;
  }

  .feature {
    width: 100%;
    margin-bottom: 0;
  }

  .form-container {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media screen and (max-width: 650px) {
  html {
    font-size: 80%;
  }

  section:hover {
    transform: none;
  }

  .logo img {
    height: 30px;
  }

  .hero {
    height: 35vh;
  }

  .hero-content::before {
    left: 0;
    width: 70%;
  }

  .video-controls input[type="radio"] {
    width: 7px;
    height: 7px;
  }

  #muteToggleButton {
    bottom: 20px;
    right: 20px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 10px;
  }

  .hero-content {
    display: none;
  }

  .video-container {
    top: 80px;
  }

  .ai-teacher-section {
    margin-left: 20px;
    margin-right: 20px;
  }
}

@media screen and (max-width: 550px) {
  html {
    font-size: 80%;
  }
}

@media screen and (max-width: 386px) {
  footer .social-media a {
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 400px) {
  .contact-top {
    font-size: 80%;
  }
}

/* Loader Section */
.loader {
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column; /* Align text and circle vertically */
  align-items: center;
  justify-content: center;
  background: white;
  transition: opacity 0.75s, visibility 0.75s;
}

.loader--hidden {
  opacity: 0;
  visibility: hidden;
}

.loader::after {
  content: "";
  width: 30px;
  height: 30px;
  border: 5px solid darkorange;
  border-top-color: darkblue;
  border-radius: 50%;
  animation: loading 0.75s ease infinite;
  margin-top: 10px; /* Add space between text and loader */
}

@keyframes loading {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}

/* Loader Text Styling */
.loader-text {
  font-family: 'Arial', sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 3rem;
}

.loader-text span {
  color: darkblue; /* Highlight color for the domain */
}
