/* Base Styles */
:root {
  --primary-color: #004aad;
  --secondary-color: #eaf3ff;
  --accent-color: #ffa62a;
  --text-color: #000000;
  --text-light: #686868;
  --white: #ffffff;
  --black: #000000;
  --shadow: 0px 4px 10px rgba(127, 127, 127, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.6;
  background-image: url('BG Vector.svg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover; /* Makes the image fill the screen */
  background-attachment: fixed;
}



h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

body, html {
  overflow-x: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 6px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: #003d8f;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);

}

span.primary {
  color: var(--primary-color);
}

span.black {
  color: var(--black);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px; /* reduced from 80px to 60px */
  background-color: var(--white);
  box-shadow: 0px 1px 10px rgba(165, 165, 165, 0.25);
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 10px; /* reduced padding */
}


.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-image {
  height: auto;
  max-height: 30px; /* slightly reduced */
}

.logo-text {
  font-size: 6px;
  font-weight: 300;
  letter-spacing: 0.9px;
  color: var(--white);
  background-color: var(--primary-color);
  padding: 3px;
  border-radius: 16px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  padding: 4px 16px; /* smaller height, more width */
  height: auto; /* override fixed height */
  border-radius: 50px;
  font-size: 14px;
  min-width: 80px; /* ensures wider look */
  text-align: center;
}

.nav-link.active {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 4px 18px; /* matching the style */
}

.auth-buttons {
  display: flex;
  gap: 10px;
  font-size: 14px;
}

.auth-buttons .btn {
  padding: 4px 18px;
  font-size: 13px;
  border-radius: 20px;
  min-width: 90px;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-links, .auth-buttons {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  background-color: #eaf3ff;
  padding: 90px 0 30px;
  margin-top: -10px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}


.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 100%; /* increased to allow more room for right push */
  margin: 0 auto;
  padding: 0 40px;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* center horizontally */
  text-align: center;
}

.hero-content h1 {
  font-size: 42px; /* decreased to fit in one line */
  white-space: nowrap; /* prevent line break */
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--primary-color);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #555;
  max-width: 100%;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px; /* increased size */
  font-size: 16px;     /* larger text */
  border-radius: 8px;  /* optional: slightly rounder */
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 8px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto; /* pushes image further right */
}

.hero-image img {
  border-radius: 30px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 100%; /* optional: limit image width */
}


@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-content h1 {
    font-size: 36px;
    white-space: normal; /* Allow wrapping */
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .hero-image {
    justify-content: center;
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
  }
}


/* About Section */
.about {
  padding: 50px 0;
 background-color: transparent;
}

.about .container {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  max-width: auto;
  margin: 0 auto;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: 100%;
  max-width: 300px;
  height: 345px;
  background-color: #dedede;
  border-radius: 20px;
  overflow: hidden;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  flex: 2;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-content h2 span {
  color: var(--primary-color);
}

.about-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 860px;
  color: #0f0f0f;
}

.about-content .btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  background-color: var(--primary-color);
  border-radius: 8px;
  transition: background-color 0.3s;
}

.about-content .btn:hover {
  background-color: var(--primary-color-hover, #333);
}



/* Why Us Section */
.why-us {
  padding: 20px 0;
  background-color: transparent;
}

.why-us .container {
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 20px 30px;
  box-shadow: var(--shadow);
  max-width: auto;
  margin: 0 auto;
}

.why-us-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.why-us-text {
  flex: 2;
}

.why-us-text h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.why-us-text h2 span {
  color: var(--primary-color);
}

.why-us-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.why-us-text .btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  color: #fff;
  background-color: var(--primary-color);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.why-us-text .btn:hover {
  background-color: var(--primary-color-hover, #333);
}

.why-us-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.why-us-image img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/* Stats Section */
.stats {
  background: linear-gradient(to right, #0d47a1, #1976d2); /* Blue gradient */
  color: #fff;
  padding: 30px 10px; /* Reduced from 60px */
}

.stats .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: auto;
  margin: 0 auto;
}

.stat-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px 15px; /* Reduced inner padding */
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.stat-item h3 {
  font-size: 32px; /* Slightly smaller */
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 16px; /* Slightly smaller */
  font-weight: 500;
  margin: 0;
}



/* Courses Section */
.courses {
  padding: 30px 0;
  background-color: transparent; /* Lighter background for better contrast */
}

.courses .container {
  max-width: auto;
  margin: 0 auto;
  padding: 60px;
  background-color: white;
  border-radius: 24px;
  box-shadow: 0px 10px 30px rgba(0, 74, 173, 0.1);
}

.courses h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

.courses h2 span {
  color: var(--primary-color);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Exactly 2 per row */
  gap: 30px;
}

.course-card {
  background-color: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0px 5px 15px rgba(0, 74, 173, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 74, 173, 0.1);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 25px rgba(0, 74, 173, 0.2);
}

.course-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #222;
  line-height: 1.3;
}

.course-card p {
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 16px;
}

.course-levels {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.course-levels span {
  background-color: rgba(0, 74, 173, 0.1);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}

.course-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.course-buttons .btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
}



/* Features Section */
.features {
  padding: 30px 0;
  background-color: transparent;
}

.features .container {
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 50px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.features h2 {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 60px;
  background-color: var(--white);
  padding: 5px 0;
  border-radius: 0 50px 50px 0;
  max-width: auto;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--black);
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.feature-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon img {
  width: 30px;
  height: 30px;
}

.feature-card h3 {
  font-size: 15px;
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 15px;
  font-weight: 300;
}

/* Testimonials Section */
.testimonials {
  padding: 30px 0; /* Reduced vertical padding */
 background-color: transparent;
}

.testimonials .container {
  background-color: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-width: auto;
  margin: 0 auto;
}

.testimonials h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: #f9f9f9;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 20px;
}

.user-info h4 {
  font-size: 15px;
  margin: 0;
  color: #222;
}

.user-info p {
  font-size: 13px;
  margin: 2px 0 0;
  color: #777;
}

.testimonial-quote {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.testimonial-quote .quote-open {
  width: 20px;
  position: absolute;
  top: -10px;
  left: 0;
  opacity: 0.3;
}

.testimonial-quote .quote-close {
  width: 20px;
  float: right;
  margin-top: 10px;
  opacity: 0.3;
}

.testimonial-nav {
  text-align: right;
  margin-top: 10px;
}

.nav-arrow {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav-arrow:hover {
  background-color: #003e94;
}


/* Footer */
.footer {
  background-color: #262626;
  color: var(--white);
  padding: 30px 0;
  height: 60px;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 48px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about .container,
  .why-us .container,
  .courses .container,
  .features .container,
  .testimonials .container {
    padding: 40px;
  }
}

@media (max-width: 992px) {
  section {
    padding: 60px 0;
  }
  
  .hero .container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  
  .hero-image {
    justify-content: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .about .container {
    flex-direction: column;
  }
  
  .why-us-content {
    flex-direction: column;
  }
  
  .course-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .testimonial-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }
  
  .navbar .container {
    padding: 0 15px;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .nav-links.show {
    transform: translateY(0);
    opacity: 1;
  }
  
  .auth-buttons {
    position: fixed;
    top: 180px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 998;
    gap: 15px;
  }
  
  .auth-buttons.show {
    transform: translateY(0);
    opacity: 1;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .features-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card:last-child {
    grid-column: auto;
  }
  
  .about .container,
  .why-us .container,
  .courses .container,
  .features .container,
  .testimonials .container {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 40px 0;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .btn {
    width: 100%;
  }
  
  .course-grid {
    grid-template-columns: 1fr;
  }
  
  .course-buttons {
    flex-direction: column;
  }
  
  .about .container,
  .why-us .container,
  .courses .container,
  .features .container,
  .testimonials .container {
    padding: 20px;
  }
  
  .stat-item {
    min-width: 100%;
  }
}
@media (max-width: 768px) {
  .nav-links,
  .auth-buttons {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: white;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 999;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show,
  .auth-buttons.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }
}
  
