/* General Styles */
body {
  font-family: 'Roboto Slab', serif;
  margin: 0;
  padding: 0;
  background-color: #0a192f; /* Dark blue background */
  color: #ffffff; /* White text */
  line-height: 1.6;
  background-image: url('math-background.png'); /* Add a mathematical symbols background */
  background-repeat: repeat;
  background-size: 200px;
  user-select: none; /* Disable text selection */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

h1, h2, h3 {
  color: #ffffff; /* White headings */
  margin: 0;
}

a {
  text-decoration: none;
  color: #ffffff; /* White links */
}

/* Header */
header {
  background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.9)), url('https://via.placeholder.com/1200x800');
  background-size: cover;
  text-align: center;
  padding: 100px 20px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  background-color: #0a192f; /* Dark blue */
  z-index: 1000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #ffffff; /* White links */
  font-size: 1em;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #64ffda; /* Sky blue hover */
}

.logo img {
  height: 50px;
}

.cta-button {
  background-color: #64ffda; /* Sky blue */
  color: #0a192f; /* Dark blue text */
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #52d1b2; /* Darker sky blue on hover */
}

/* Hamburger Menu */
.hamburger {
  display: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #ffffff; /* White */
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 1001;
  }

  .logo-container {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    z-index: 1000;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    background-color: #0a192f; /* Dark blue */
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .user-profile {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1001;
  }
}

/* Features Section */
#features {
  padding: 50px 20px;
  text-align: center;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.feature {
  background: #112240; /* Darker blue */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(100, 255, 218, 0.1); /* Sky blue shadow */
  flex: 1 1 calc(50% - 40px);
  max-width: calc(50% - 40px);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-10px);
}

.feature img {
  max-width: 100%;
  height: auto;
}

/* About Section */
#about {
  padding: 50px 20px;
  text-align: center;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.about-text {
  flex: 1 1 calc(60% - 40px);
  max-width: calc(60% - 40px);
}

.about-image {
  flex: 1 1 calc(40% - 40px);
  max-width: calc(40% - 40px);
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  width: 150px;
}

/* Courses Section */
#courses {
  padding: 50px 20px;
  text-align: center;
}

.courses-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.course-card {
  background: #112240; /* Darker blue */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(100, 255, 218, 0.1); /* Sky blue shadow */
  flex: 1 1 calc(33.333% - 40px); /* 3 cards per row on desktop */
  max-width: calc(33.333% - 40px); /* 3 cards per row on desktop */
  transition: transform 0.3s ease;
  text-align: center;
}

.course-card:hover {
  transform: translateY(-10px);
}

.course-card h3 {
  color: #64ffda; /* Sky blue text */
  margin-bottom: 10px;
}

.course-card p {
  color: #ffffff; /* White text */
  margin-bottom: 20px;
}

.course-card .course-button {
  background-color: #64ffda; /* Sky blue */
  color: #0a192f; /* Dark blue text */
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.course-card .course-button:hover {
  background-color: #52d1b2; /* Darker sky blue on hover */
}

.course-card .highlight-text {
  display: inline;
}

@media (max-width: 768px) {
  .course-card {
    flex: 1 1 calc(100% - 40px); /* 1 card per row on mobile */
    max-width: calc(100% - 40px); /* 1 card per row on mobile */
  }

  .course-card .highlight-text {
    display: none;
  }

  .course-card .course-button::after {
    content: ' Here';
  }
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
  .course-card {
    flex: 1 1 calc(100% - 40px); /* 1 card per row on mobile */
    max-width: calc(100% - 40px); /* 1 card per row on mobile */
  }
}

/* Testimonials Section */
#testimonials {
  padding: 50px 20px;
  text-align: center;
  background: #0a192f; /* Dark blue */
  color: white;
}

.testimonial-slider {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial {
  background: #112240; /* Darker blue */
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-10px);
}

/* Call-to-Action Section */
#cta {
  padding: 50px 20px;
  text-align: center;
  background: #112240; /* Darker blue */
  color: white;
}

/* Contact Section */
#contact {
  padding: 50px 20px;
  text-align: center;
}

/* Footer */
footer {
  background: #0a192f; /* Dark blue */
  color: white;
  text-align: center;
  padding: 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  color: white;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #64ffda; /* Sky blue hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .feature {
    flex: 1 1 calc(50% - 40px);
    max-width: calc(50% - 40px);
  }

  .course-card {
    flex: 1 1 calc(33.333% - 40px);
    max-width: calc(33.333% - 40px);
  }

  .about-content {
    flex-direction: column;
  }

  .about-text, .about-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .about-image img {
    width: 100px; /* Smaller image for mobile view */
  }
}

/* Ripple Effect Styles */
#ripple-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 255, 218, 0.4) 0%, rgba(100, 255, 218, 0) 70%); /* Sky blue ripple */
  transform: scale(0);
  animation: ripple-animation 1.5s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* User Profile Styles */
.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-photo {
  width: 40px; /* Smaller profile photo */
  height: 40px; /* Smaller profile photo */
  border-radius: 50%; /* Circular photo */
  object-fit: cover; /* Ensures the image fits properly */
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-name {
  font-size: 16px;
  color: #ffffff; /* White text */
}

/* PDF Grid Layout */
.pdf-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.pdf-card {
  background: #112240; /* Darker blue */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(100, 255, 218, 0.1); /* Sky blue shadow */
  flex: 1 1 calc(33.333% - 40px);
  max-width: calc(33.333% - 40px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pdf-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(100, 255, 218, 0.2); /* Enhanced shadow on hover */
}

.pdf-card h3 {
  color: #64ffda; /* Sky blue text */
}

.pdf-card p {
  color: #ffffff; /* White text */
}

.pdf-card .cta-button {
  background-color: #64ffda; /* Sky blue */
  color: #0a192f; /* Dark blue text */
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.pdf-card .cta-button:hover {
  background-color: #52d1b2; /* Darker sky blue on hover */
}

/* Video Player Styles */
.video-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: #112240; /* Darker blue */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(100, 255, 218, 0.1); /* Sky blue shadow */
}

iframe {
  border-radius: 10px;
}

/* Add this to your existing styles.css */
@media (max-width: 768px) {
  .logo-container {
    display: block; /* Default display for logo */
  }

  .user-info {
    display: flex;
    align-items: center;
  }

  .user-name {
    cursor: pointer;
  }

  #logout {
    display: none; /* Initially hide the logout button */
    margin-left: 10px;
  }
}
@media (max-width: 768px) {
  .pdf-card .cta-button {
    display: block;
    margin-bottom: 10px;
  }
}
.about-image p {
  text-align: center;
  margin-top: 10px;
  font-size: 1.2em;
  color: #64ffda; /* Sky blue color to match the theme */
}
.highlight-text {
  background-color: #64ffda; /* Highlight background color */
  color: #000; /* Text color */
  font-weight: bold; /* Bold text */
  padding: 2px 5px; /* Padding */
  border-radius: 3px; /* Rounded corners */
  transition: background-color 0.3s ease; /* Smooth transition */
}

.highlight-text:hover {
  background-color: #64ffda; /* Darker highlight on hover */
}
body {
  overflow-y: scroll; /* Enable vertical scrolling */
  scrollbar-width: none; /* For Firefox */
}

body::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}

html {
  overflow-y: scroll; /* Enable vertical scrolling */
  scrollbar-width: none; /* For Firefox */
}

html::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}