/* 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 */
}
/* General Styles for Navigation */
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;
}

/* Logo Container */
.logo-container {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px; /* Adjust logo height as needed */
}

/* Hamburger Menu */
.hamburger {
  display: none; /* Hidden by default */
  font-size: 1.5em;
  cursor: pointer;
  color: #ffffff; /* White */
}

/* Navigation Links */
.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 */
}

/* User Profile (Login Button) */
.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* Hamburger Menu */
  .hamburger {
    display: block; /* Show hamburger menu on mobile */
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 1001;
  }

  /* Logo Container */
  .logo-container {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    z-index: 1000;
  }

  /* Navigation Links */
  .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;
  }

  /* User Profile (Login Button) */
  .user-profile {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1001;
  }

  /* Adjust the button for mobile view */
  .cta-button {
    padding: 6px 12px; /* Smaller padding for mobile */
    font-size: 0.8em; /* Smaller font size for mobile */
  }

  .google-login-button {
    width: auto; /* Auto width for mobile (shorter button) */
    justify-content: center; /* Center text and icon */
  }
}

.logo img {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Add a shadow to the logo */
}

.google-login-button {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Add a shadow to the button */
}
/* General Styles for User Profile (Login Button) */
.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Desktop View (min-width: 769px) */
@media (min-width: 769px) {
  /* Move the Login Button further to the left */
  .user-profile {
    margin-right: 50px; /* Increased from 20px to 40px */
  }
}
.user-profile {
  transition: margin-right 0.3s ease; /* Smooth transition */
}
/* General Styles for Google Login Button */
.google-login-button {
  background-color: #64ffda; /* White background */
  color: #4285f4; /* Google blue text */
  border: 1px solid #4285f4; /* Google blue border */
  border-radius: 4px; /* Slightly rounded corners */
  padding: 8px 16px; /* Padding for the button */
  display: inline-flex; /* Use flexbox for alignment */
  align-items: center; /* Center icon and text vertically */
  gap: 8px; /* Space between icon and text */
  text-decoration: none; /* Remove underline */
  font-size: 14px; /* Standard font size */
  font-weight: 500; /* Medium font weight */
  transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Google Logo */
.google-logo {
  width: 18px; /* Adjust logo size */
  height: 18px; /* Adjust logo size */
}

/* Google Text */
.google-text {
  color: #4285f4; /* Google blue text */
}

/* Hover Effect */
.google-login-button:hover {
  background-color: #f8f9fa; /* Light gray background on hover */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

/* Active Effect */
.google-login-button:active {
  background-color: #e8e8e8; /* Slightly darker gray on click */
}
/* Particle container */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a192f; /* Match your site's background color */
  z-index: 9999;
}

/* Logo reveal */
#logo-reveal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  opacity: 0;
  animation: revealLogo 2s ease-in-out forwards;
}

#logo-reveal img {
  width: 200px; /* Adjust logo size */
  height: auto;
}

/* Logo reveal animation */
@keyframes revealLogo {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Fade out animation */
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
/* Particle container */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a192f; /* Match your site's background color */
  z-index: 9999;
}

/* 3D Spinning Logo */
#logo-spin {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  animation: spin 3s ease-in-out forwards, fadeOut 1s ease-in-out 2.5s forwards;
  transform-style: preserve-3d; /* Enable 3D transformations */
}

#logo-spin img {
  width: 200px; /* Adjust logo size */
  height: auto;
}

/* 3D Spin Animation */
@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotateY(0deg) scale(0.5);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -50%) rotateY(360deg) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotateY(720deg) scale(1);
    opacity: 1;
  }
}

/* Fade Out Animation */
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}