/* Reset and Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f9ff, #e0f7fa);
}

/* Header */
header {
  background: linear-gradient(90deg, #00bcd4, #2196f3);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  flex-wrap: wrap;
  position: relative;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 22px;
  font-weight: bold;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffe082;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

main {
  flex: 1;
  background: #ffffff;
}

/* Hero Sections */
/* Create Account Section */
.create-account-section {
  background: linear-gradient(135deg, #e0f7fa, #f0f9ff);
  padding: 60px 20px;
}

.create-account-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.create-account-image img {
  max-width: 450px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.create-account-text {
  flex: 1;
  text-align: left;
}

.create-account-text h2 {
  font-size: 32px;
  color: #007c91;
  margin-bottom: 15px;
}

.create-account-text p {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.create-btn {
  background-color: #00bcd4;
  color: white;
  padding: 14px 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.create-btn:hover {
  background-color: #0097a7;
}

.hero-section {
  padding: 60px 20px;
  background: #e8f4ff;
}

.hero-section.alternate {
  background: #f0faff;
}

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.hero-grid.reverse {
  flex-direction: row-reverse;
}

.hero-text {
  flex: 1 1 400px;
}

.hero-text h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #2d3748;
}

.hero-text p {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.hero-img {
  flex: 1 1 400px;
  text-align: center;
}

.hero-img img {
  width: 100%;
  max-width: 450px;
  height: auto;
}

/* CTA Button */
.cta {
  display: inline-block;
  background-color: #00bcd4;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s ease;
}

.cta:hover {
  background-color: #0198a5;
}

/* Carousel Section */
.carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px;
  scroll-snap-type: x mandatory;
}

.carousel-section h2{
  padding: 20px;
}

.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 20px;
  border-radius: 12px;
  min-width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: white;
  position: relative;
}

.carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
}

.carousel-item p {
  position: relative;
  font-size: 16px;
  line-height: 1.5;
  z-index: 1;
}

/* Background Classes */
.carousel-item.bg1 {
  background-image: url('../images/concept-clear.avif');
}

.carousel-item.bg2 {
  background-image: url('../images/mcq-bank.jpg');
}

.carousel-item.bg3 {
  background-image: url('../images/mentorship.jpg');
}


/* Responsive */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .hero-img img {
    max-width: 300px;
  }

  .carousel-section h2 {
    font-size: 26px;
  }
}

/* Footer */
footer {
  background-color: #1e1e2f;
  color: #ccc;
  padding: 40px 30px 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-section {
  margin: 15px 0;
}

.footer-section h4 {
  color: white;
  margin-bottom: 10px;
}

.footer-section a {
  display: block;
  text-decoration: none;
  color: #ccc;
  margin: 6px 0;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #00bcd4;
}

.footer-bottom {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: #aaa;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    width: 100%;
    display: none;
    background-color: #2196f3;
    position: absolute;
    top: 65px;
    left: 0;
    padding: 10px 0;
  }

  nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  nav a {
    padding: 10px;
    text-align: center;
    width: 100%;
  }

  .logo-text {
    font-size: 20px;
  }
}

.social-icons a {
  margin-right: 10px;
  font-size: 20px;
  color: #333;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #007bff;
}