/* ===== Global Styles ===== */
:root {
  --primary-color: #2c83c3;
  --primary-dark: #1a5f8b;
  --secondary-color: #f5a623;
  --accent-color: #e74c3c;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333;
  --text-light: #6c757d;
  --white: #fff;
  --gray-light: #e9ecef;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

#banner{
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn_primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn_primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.btn_white-border {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn_white-border:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  color: var(--dark-color);
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 15px auto;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

/* ===== Header & Navigation ===== */
.header_section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header_section.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.95);
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
}

.navbar-brand span {
  margin-left: 10px;
}

.logo-img {
  height: 40px;
}

.custom_nav-container .navbar-nav {
  display: flex;
  align-items: center;
}

.custom_nav-container .nav-item {
  margin: 0 10px;
  position: relative;
}

.custom_nav-container .nav-link {
  font-weight: 500;
  color: var(--dark-color);
  padding: 10px 15px;
  position: relative;
}

.custom_nav-container .nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.custom_nav-container .nav-link:hover:after {
  width: calc(100% - 30px);
}

.custom_nav-container .nav-item.active .nav-link {
  color: var(--primary-color);
}

.custom_nav-container .nav-item.active .nav-link:after {
  width: calc(100% - 30px);
}

.cta-button .nav-link {
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--border-radius);
  padding: 8px 20px;
  transition: var(--transition);
}

.cta-button .nav-link:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  font-size: 1.5rem;
  color: var(--dark-color);
}

/* ===== Hero Section ===== */
.hero_section {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, rgba(44, 131, 195, 0.1) 0%, rgba(245, 166, 35, 0.05) 100%);
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero_detail-box {
  flex: 1;
  min-width: 500px;
  padding-right: 30px;
}

.hero_detail-box h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  line-height: 1.2;
}

.hero_detail-box p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero_btn-container {
  display: flex;
  gap: 20px;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
}

.hero_img-container {
  flex: 1;
  min-width: 500px;
  position: relative;
}

.hero_img-container img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* ===== About Section ===== */
.about_section {
  background-color: var(--white);
}

.about_img-container {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about_img-container img {
  width: 100%;
  height: auto;
  display: block;
}

.about_detail-box {
  padding-left: 30px;
}

.about_detail-box h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.feature-list {
  margin: 2rem 0;
}

.feature-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.feature-list i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

/* ===== Programs Section ===== */
.programs_section {
  background-color: var(--light-color);
}

.program-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-icon {
  width: 70px;
  height: 70px;
  background: rgba(44, 131, 195, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.program-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.program-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.program-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.program-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
}

.program-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.program-link:hover i {
  transform: translateX(5px);
}

/* ===== Admission Section ===== */
.admission_section {
  background-color: var(--white);
}

.admission_detail-box {
  padding-right: 30px;
}

.timeline {
  position: relative;
  margin: 2rem 0;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  height: 100%;
  width: 2px;
  background: var(--gray-light);
}

.timeline-step {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 20px;
  flex-shrink: 0;
}

.timeline-content {
  padding-top: 10px;
}

.timeline-content h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.admission_img-container {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.admission_img-container img {
  width: 100%;
  height: auto;
  display: block;
}

.admission-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(44, 131, 195, 0.7);
  color: var(--white);
  padding: 20px;
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

.admission-overlay h4 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.deadline-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.deadline-list li:last-child {
  border-bottom: none;
}

.deadline-list span {
  font-weight: 600;
}

/* ===== Why Section ===== */
.why_section {
  background-color: var(--light-color);
}

.why_img-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.why_img-container img {
  width: 100%;
  height: auto;
  display: block;
}

.why_detail-box {
  padding-left: 30px;
}

.why-feature {
  display: flex;
  margin-bottom: 2rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(44, 131, 195, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.feature-content h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.why-cta {
  display: flex;
  gap: 15px;
  margin-top: 2rem;
}

/* ===== Testimonial Section ===== */
.testimonial_section {
  background-color: var(--white);
  position: relative;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px;
  margin: 0 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  color: rgba(44, 131, 195, 0.1);
  font-size: 3rem;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-color);
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
}

.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h5 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--dark-color);
}

.author-info p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.carousel-control-prev {
  left: -20px;
}

.carousel-control-next {
  right: -20px;
}

.carousel-indicators {
  bottom: -50px;
}

.carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gray-light);
  margin: 0 5px;
}

.carousel-indicators .active {
  background-color: var(--primary-color);
}

.testimonial-cta {
  margin-top: 70px;
}

/* ===== Contact Section ===== */
.contact_section {
  background-color: var(--light-color);
}

.contact-form-container {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form .form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(44, 131, 195, 0.25);
}

.contact-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-info-container {
  padding-left: 30px;
}

.contact-info-box {
  display: flex;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(44, 131, 195, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-info-content h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* ===== Newsletter Section ===== */
.newsletter_section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 60px 0;
}

.newsletter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 40px;
}

.newsletter-content {
  flex: 1;
  min-width: 300px;
  padding-right: 30px;
}

.newsletter-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  flex: 1;
  min-width: 300px;
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.newsletter-form button {
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--dark-color);
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--white);
}

/* ===== Footer ===== */
.footer_section {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-about {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 50px;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

/* ===== Responsive Styles ===== */
@media (max-width: 1199.98px) {
  .hero_detail-box h1 {
    font-size: 3rem;
  }
}

@media (max-width: 991.98px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero_section {
    padding: 150px 0 80px;
  }
  
  .hero_detail-box,
  .hero_img-container {
    min-width: 100%;
    padding-right: 0;
  }
  
  .hero_img-container {
    margin-top: 50px;
  }
  
  .about_detail-box,
  .admission_detail-box,
  .why_detail-box {
    padding-left: 0;
    padding-right: 0;
    margin-top: 40px;
  }
  
  .contact-info-container {
    padding-left: 0;
    margin-top: 40px;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero_detail-box h1 {
    font-size: 2.5rem;
  }
  
  .hero_btn-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .stat-item {
    flex: 1 0 calc(50% - 20px);
  }
  
  .why-cta {
    flex-direction: column;
  }
  
  .newsletter-box {
    padding: 30px;
  }
  
  .newsletter-content,
  .newsletter-form {
    min-width: 100%;
  }
  
  .newsletter-content {
    padding-right: 0;
    margin-bottom: 20px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 10px;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
  }
}

@media (max-width: 575.98px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero_detail-box h1 {
    font-size: 2rem;
  }
  
  .hero_detail-box p {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .testimonial-card {
    padding: 30px 20px;
  }
  
  .footer-legal {
    justify-content: flex-start;
    margin-top: 15px;
  }
}