/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7f7f7;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  background-color: #1e3a8a;
  padding: 1rem 2rem;
  color: white;
}

.navbar .logo {
  font-weight: bold;
  font-size: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Hero Section */

.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6a82fb 0%, #fc5c7d 100%);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  filter: blur(30px);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: rgba(255,255,255,0.10);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 3rem 2rem 2.5rem 2rem;
  display: inline-block;
  animation: heroFadeIn 1.2s cubic-bezier(.39,.575,.565,1.000);
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.18);
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #fc5c7d 30%, #6a82fb 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.3rem;
  color: #f8f8f8;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.10);
}

.btn-primary {
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(90deg, #fc5c7d 0%, #6a82fb 100%);
  border: none;
  border-radius: 30px;
  padding: 0.9rem 2.2rem;
  box-shadow: 0 4px 16px rgba(252,92,125,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 32px rgba(106,130,251,0.18);
}

@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.btn-primary, .btn-secondary {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #ff7f50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary {
  background-color: #1e3a8a;
}

/* Ads Banner */
.ads-banner {
  background: url('../images/quotes-bg.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

#ad-box, #quote-box {
  font-size: 1.5rem;
  font-weight: bold;
  animation: fadeIn 1s ease-in-out;
}

/* Courses */
.courses {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.course-card {
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 1rem;
}

.course-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Enroll */
.enroll {
  padding: 60px 20px;
  background: #e3e8f0;
  text-align: center;
}

.enroll form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.enroll input, .enroll select {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Footer */
footer {
  background: #1e3a8a;
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

/* About Section */
.about {

/* About Section */
.about {
  background: linear-gradient(120deg, #f7f7f7 60%, #e0e7ff 100%);
  padding: 60px 20px;
}
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1100px;
  margin: auto;
}
.about-text {
  flex: 1 1 350px;
}
.about-text h2 {
  font-size: 2.2rem;
  color: #6a82fb;
  margin-bottom: 1rem;
}
.about-text p {
  font-size: 1.15rem;
  color: #333;
}
.about-img {
  flex: 1 1 300px;
  text-align: center;
}
.about-img img {
  max-width: 320px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(106,130,251,0.10);
}

/* Features Section - High Level CSS */
.features {
  background: linear-gradient(120deg, #f7f7f7 60%, #e0e7ff 100%);
  padding: 80px 20px 70px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.features::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #6a82fb 60%, #fc5c7d 100%);
  opacity: 0.10;
  border-radius: 50%;
  filter: blur(20px);
  z-index: 1;
}
.features h2 {
  color: #fc5c7d;
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: auto;
  position: relative;
  z-index: 2;
}
.feature-card {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
  padding: 2.5rem 1.5rem 2.2rem 1.5rem;
  transition: transform 0.22s, box-shadow 0.22s;
  border: 1.5px solid #e0e7ff;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  animation: cardFadeIn 0.9s cubic-bezier(.39,.575,.565,1.000) forwards;
  animation-delay: 0.2s;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #fc5c7d 60%, #6a82fb 100%);
  opacity: 0.10;
  border-radius: 50%;
  filter: blur(10px);
  z-index: 1;
}
.feature-card:hover {
  transform: translateY(-16px) scale(1.07) rotate(-2deg);
  box-shadow: 0 24px 64px rgba(252,92,125,0.25), 0 2px 8px rgba(106,130,251,0.10);
  border-color: #fc5c7d;
  background: linear-gradient(120deg, #f7f7f7 60%, #fc5c7d 100%);
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.1rem;
  display: block;
  background: linear-gradient(90deg, #fc5c7d 0%, #6a82fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 16px rgba(252,92,125,0.10);
}
.feature-card h3 {
  color: #1e3a8a;
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.feature-card p {
  color: #444;
  font-size: 1.08rem;
  line-height: 1.6;
}

/* Testimonials Section - High Level CSS */
.testimonials {
  background: linear-gradient(120deg, #fc5c7d 10%, #6a82fb 100%);
  padding: 80px 20px 70px 20px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, #fff 0%, #fc5c7d 100%);
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(20px);
  z-index: 1;
}
.testimonials h2 {
  font-size: 2.3rem;
  margin-bottom: 2.5rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: auto;
  position: relative;
  z-index: 2;
}
.testimonial-card {
  background: rgba(255,255,255,0.13);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
  padding: 2.5rem 1.5rem 2.2rem 1.5rem;
  color: #fff;
  font-style: italic;
  position: relative;
  overflow: hidden;
  border: 1.5px solid #fff2;
  transition: transform 0.22s, box-shadow 0.22s;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  animation: cardFadeIn 0.9s cubic-bezier(.39,.575,.565,1.000) forwards;
  animation-delay: 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-16px) scale(1.07) rotate(-2deg);
  box-shadow: 0 24px 64px rgba(252,92,125,0.25), 0 2px 8px rgba(106,130,251,0.10);
  border-color: #fff;
  background: linear-gradient(120deg, #fff 60%, #6a82fb 100%);
}
/* Card Entrance Animation */
@keyframes cardFadeIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.testimonial-card span {
  display: block;
  margin-top: 1.2rem;
  font-size: 1.08rem;
  color: #e0e7ff;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
}
.testimonials {
  padding: 80px 20px;
  background: #f7f9ff;
  text-align: center;
  overflow-x: hidden;
}

.testimonials h2 {
  font-size: 2.4rem;
  margin-bottom: 3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #6a82fb, #fc5c7d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonials-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial-card {
  flex: 0 0 300px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  font-style: italic;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
  border-left: 4px solid #fc5c7d;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.03);
}

.testimonial-card p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #444;
}

.testimonial-card span {
  font-weight: bold;
  color: #6a82fb;
  font-size: 1rem;
}
/* Features Section */
.features {
  padding: 80px 20px;
  background: linear-gradient(145deg, #f0f4ff 50%, #f7f7f7 100%);
  text-align: center;
}

.features h2 {
  font-size: 2.5rem;
  color: #1e3a8a;
  margin-bottom: 3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #fc5c7d, #6a82fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Flip card layout */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.feature-card {
  width: 260px;
  height: 320px;
  perspective: 1000px;
}

.feature-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.feature-card:hover .feature-card-inner {
  transform: rotateY(180deg);
}

.feature-card-front,
.feature-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 2rem;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.feature-card-front {
  background: linear-gradient(135deg, #fc5c7d10, #6a82fb10);
  border: 1px solid #d1d5f2;
}

.feature-card-front .feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #fc5c7d, #6a82fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card-front h3 {
  color: #1e3a8a;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.feature-card-back {
  background: linear-gradient(135deg, #6a82fb, #fc5c7d);
  transform: rotateY(180deg);
  color: white;
  text-align: center;
}

.feature-card-back p {
  font-size: 1.05rem;
  line-height: 1.6;
}
/* Courses Section */
.courses {
  padding: 80px 20px;
  background: linear-gradient(145deg, #f7f7f7 60%, #e0e7ff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.courses::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #fc5c7d 60%, #6a82fb 100%);
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(20px);
  z-index: 1;
}

.courses h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  background: linear-gradient(90deg, #fc5c7d, #6a82fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.course-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e0e7ff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

.course-card:hover {
  transform: translateY(-14px) scale(1.03);
  box-shadow: 0 24px 64px rgba(252, 92, 125, 0.25), 0 2px 8px rgba(106, 130, 251, 0.10);
  border-color: #fc5c7d;
  background: linear-gradient(120deg, #ffffff 60%, #fc5c7d10 100%);
}

.course-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  object-fit: cover;
  height: 180px;
}

.course-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.course-card p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.course-card .btn-secondary {
  background: linear-gradient(90deg, #fc5c7d, #6a82fb);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: 0.7rem 1.5rem;
  transition: all 0.25s ease;
}

.course-card .btn-secondary:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(106, 130, 251, 0.15);
}
