/* General body and container styles */
body {
    font-family: "Inter", sans-serif;
    color: #1a202c;
    background-color: #f7fafc;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Container now stretches to full width with side padding */
.main-container {
    width: 100%;
    margin: 0 auto;
    /* padding: 0 5px; Adjusted padding to 5px on both sides */
}

/* --- About Section --- */
.about-section {
  /* margin-top: 50px; */
  font-family: Arial, sans-serif;
  padding: 80px 20px;
  background-color: #f0f4f8;
  color: #333;
}

.about-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* --- About Text Section --- */
.about-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .about-text {
    text-align: left;
    padding-right: 40px;
  }
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1a237e;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #fbc02d;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .about-text h2::after {
    left: 0;
    transform: none;
  }
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 30px;
}

/* --- Stats Section --- */
.about-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

@media (min-width: 768px) {
  .about-stats {
    justify-content: flex-start;
  }
}

.stat-item {
  text-align: center;
  flex: 1 1 150px;
  padding: 15px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: bold;
  color: #1a237e;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.9rem;
  color: #777;
  margin: 0;
}

/* --- About Image Section --- */
.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* --- About Us Section --- */
.about-us {
  padding: 60px 20px;
  font-family: Arial, sans-serif;
  color: #333;
}

.about-container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

@media (min-width: 768px) {
  .about-container {
    flex-direction: row;
  }
}

/* --- Left Section (Image & Experience Box) --- */
.left-section {
  position: relative;
  flex: 1;
  min-height: 400px;
  background: linear-gradient(135deg, #1f4287, #2f61a4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px 12px 0 0;
}

@media (min-width: 768px) {
  .left-section {
    border-radius: 12px 0 0 12px;
  }
}

.graduate-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  border-radius: 12px 12px 0 0;
}

@media (min-width: 768px) {
  .graduate-image {
    border-radius: 12px 0 0 12px;
  }
}

.experience-box {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInBox 0.8s forwards;
  animation-delay: 0.5s;
}

.experience-box span {
  font-size: 3em;
  font-weight: bold;
  color: #1f4287;
  line-height: 1;
}

.experience-box p {
  margin-top: 5px;
  font-size: 0.9em;
  color: #555;
}

.icon-thumbs-up {
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
  color: #1f4287;
}

/* --- Right Section (Text Content) --- */
.right-section {
  flex: 1.5;
  padding: 40px;
}

.right-section h1 {
  font-size: 2.2em;
  color: #1f4287;
  margin-bottom: 20px;
  position: relative;
}

.right-section h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background-color: #f7a600;
  border-radius: 2px;
}

.right-section p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555;
}

.right-section h2 {
  font-size: 1.3em;
  color: #1f4287;
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.right-section h2::before {
  content: '👉';
  font-size: 1.2em;
  color: #f7a600;
}

/* --- Responsive Design --- */
@media (max-width: 767px) {
  .about-container {
    flex-direction: column;
  }
  .left-section {
    min-height: 300px;
  }
  .right-section {
    padding: 30px;
  }
  .right-section h1 {
    font-size: 1.8em;
  }
}

/* --- Keyframe Animation --- */
@keyframes fadeInBox {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mission & Vision Section */
.mission-vision {
    background: #f1f5fb;
    padding: 48px 0;
}
.mission-vision-grid {
    display: flex;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.mission-card, .vision-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(37,99,235,0.08);
    padding: 32px 28px;
    flex: 1 1 320px;
}
.mission-icon, .vision-icon {
    font-size: 2.2rem;
    color: #2563eb;
    margin-bottom: 12px;
    display: inline-block;
}
.mission-card h3, .vision-card h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}
.mission-card p, .vision-card p {
    color: #222;
    font-size: 1.05rem;
    margin-bottom: 12px;
}
.mission-card ul, .vision-card ul {
    padding-left: 18px;
    color: #2563eb;
    font-size: 1rem;
    margin: 0;
}

/* Values Section */
.values-section {
    background: #fff;
    padding: 48px 0;
}
.values-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 32px;
    font-weight: 700;
}
.values-grid {
    display: flex;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.value-card {
    background: #f1f5fb;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(37,99,235,0.07);
    padding: 28px 22px;
    flex: 1 1 220px;
    text-align: center;
}
.value-icon {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 10px;
    display: inline-block;
}
.value-card h3 {
    font-size: 1.15rem;
    color: #1e293b;
    margin-bottom: 8px;
    font-weight: 700;
}
.value-card p {
    color: #222;
    font-size: 1rem;
}

/* Team Section */
.team-section {
    background: #f1f5fb;
    padding: 48px 0;
}
.team-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 32px;
    font-weight: 700;
}
.team-grid {
    display: flex;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.team-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(37,99,235,0.07);
    padding: 24px 18px;
    flex: 1 1 180px;
    text-align: center;
}
.team-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.team-card h3 {
    font-size: 1.1rem;
    color: #2563eb;
    margin-bottom: 6px;
    font-weight: 700;
}
.team-card p {
    color: #222;
    font-size: 0.98rem;
}

/* Testimonials Section */
.testimonials {
    background: #fff;
    padding: 48px 0;
}
.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 32px;
    font-weight: 700;
}
.testimonials-grid {
    display: flex;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.testimonial-card {
    background: #f1f5fb;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(37,99,235,0.07);
    padding: 28px 22px;
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.testimonial-content p {
    color: #222;
    font-size: 1.05rem;
    margin-bottom: 0;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-author img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.testimonial-author h4 {
    font-size: 1rem;
    color: #2563eb;
    margin-bottom: 2px;
    font-weight: 700;
}
.testimonial-author p {
    color: #222;
    font-size: 0.95rem;
    margin: 0;
}

/* --- Call to Action (CTA) Section --- */
.cta {
  font-family: Arial, sans-serif;
  background-color: #1a237e;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 15px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* --- Button Styling --- */
.btn {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #fbc02d;
  color: #1a237e;
}

.btn-primary:hover {
  background-color: #ffca28;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Updated .btn-large class for a larger button */
.btn-large {
  padding: 18px 40px; /* Increased padding for a larger button */
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
  .cta {
    padding: 40px 15px;
    margin: 30px 10px;
  }
  .cta h2 {
    font-size: 2rem;
  }
  .cta p {
    font-size: 1rem;
  }
  .btn-large {
    padding: 15px 30px; /* Adjusted padding for smaller screens */
  }
}



/* Responsive Styles */
@media (max-width: 900px) {
    .about-content, .mission-vision-grid, .values-grid, .team-grid, .testimonials-grid { flex-direction: column; gap: 32px; }
    .about-image img { width: 140px; height: 140px; }
}
@media (max-width: 600px) {
    .about-section, .mission-vision, .values-section, .team-section, .testimonials {
        padding: 32px 0;
    }
    .about-image img { width: 100px; height: 100px; }
}

/* --- Why Choose Us Section --- */
.why-us {
  font-family: Arial, sans-serif;
  padding: 80px 20px;
  background-color: #eef5ff;
  color: #333;
}

.why-us-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media (min-width: 992px) {
  .why-us-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* --- Text Section --- */
.text-section {
  flex: 1;
  text-align: center;
}

@media (min-width: 992px) {
  .text-section {
    text-align: left;
    padding-right: 40px;
  }
}

.heading {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1a237e;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 5px;
  background-color: #fbc02d;
  border-radius: 2px;
}

@media (min-width: 992px) {
  .heading::after {
    left: 0;
    transform: none;
  }
}

.description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 30px;
}

/* --- Benefits Grid --- */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
}

.benefit-item {
  background-color: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #1a237e;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.benefit-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.benefit-item strong {
  color: #1a237e;
  font-size: 1.1em;
  display: block;
  margin-bottom: 5px;
}

.benefit-item p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.benefit-item:nth-child(2) {
  border-color: #fbc02d; /* Expert Guidance */
}

.benefit-item:nth-child(3) {
  border-color: #4caf50; /* Top College Access */
}

.benefit-item:nth-child(4) {
  border-color: #e53935; /* Scholarship Assistance */
}

.benefit-item:nth-child(5) {
  border-color: #3f51b5; /* Hassle-Free Process */
}

.benefit-item:nth-child(6) {
  border-color: #ff9800; /* Career-Oriented Courses */
}

.benefit-item:nth-child(7) {
  border-color: #9c27b0; /* Trusted by Many */
}

/* --- Image Section --- */
.image-section {
  flex: 1;
  text-align: center;
}

.image-section img {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.image-section img:hover {
  transform: scale(1.03);
}

/* Additional responsive refinements */
@media (max-width: 1024px) {
  .about-content, .mission-vision-grid, .values-grid, .team-grid, .testimonials-grid {
    gap: 24px;
  }
  .about-image img {
    max-width: 240px;
    width: 100%;
    height: auto;
  }
}
@media (max-width: 768px) {
  .about-container, .about-content {
    flex-direction: column;
  }
  .left-section, .right-section, .about-image, .image-section {
    width: 100%;
    padding: 0 15px;
  }
  .right-section h1 {
    font-size: 2rem;
  }
  .mission-card, .vision-card, .value-card, .team-card, .testimonial-card {
    padding: 22px;
  }
}
@media (max-width: 600px) {
  .cta {
    padding: 32px 16px;
  }
  .cta h2 {
    font-size: 1.8rem;
  }
  .heading {
    font-size: 2rem;
  }
  .benefits {
    gap: 16px;
  }
  .benefit-item {
    padding: 20px;
  }
  .image-section img {
    max-width: 100%;
  }
}
