/* Updated Responsive Banner Styles with Form */
.banner {
  padding: 5rem 0;
  background: linear-gradient(RGB(1, 121, 144, 0.8), RGB(1, 121, 144, 0.8)),
    url(../img/banner-img.jpg) no-repeat center center/cover;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 3.125rem;
  /* 50px */
}

@media (max-width:991px){
     .banner-text h1{
        text-align:center;
    }
    
    .banner-text p{
        text-align:center;
    }
}

.banner-text {
  flex: 1;
}

.banner-text h1 {
  margin-bottom: 1.25rem;
  /* 20px */
  font-size: 2.625rem;
  /* 42px */
  line-height: 1.2;
  color: white;
}

.banner-text h1 span:first-child {
  color: black;
}

.banner-text h1 span:nth-child(2) {
  color: var(--primary-color);
}

.banner-text p {
  margin-bottom: 1.25rem;
  /* 20px */
  font-size: 1.125rem;
  /* 18px */
  line-height: 1.6;
  max-width: 90%;
  color: white;
}

.banner-form {
  flex: 1;
}

.form-container {
  background: white;
  padding: 1.875rem;
  /* 30px */
  border-radius: 0.625rem;
  /* 10px */
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.1);
}

.form-container h3 {
  font-size: 1.5rem;
  /* 24px */
  color: var(--heading-color);
  margin-bottom: 1.25rem;
  /* 20px */
  text-align: center;
}

.form-group {
  position: relative;
  margin-bottom: 1.25rem;
  /* 20px */
}

.form-group i {
  position: absolute;
  top: 50%;
  left: 0.9375rem;
  /* 15px */
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 0.9375rem 0.75rem 2.8125rem;
  /* 12px 15px 12px 45px */
  border: 1px solid #ddd;
  border-radius: 0.3125rem;
  /* 5px */
  font-family: var(--default-font);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-btn {
  width: 100%;
  padding: 0.75rem;
  /* 12px */
  font-size: 1rem;
  margin-top: 0.625rem;
  /* 10px */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .banner {
    padding: 4rem 0;
  }

  .banner-content {
    flex-direction: column;
    gap: 2rem;
  }

  .banner-text h1 {
    font-size: 2.25rem;
    /* 36px */
  }

  .banner-text p {
    max-width: 100%;
    font-size: 1rem;
  }

  .form-container {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .banner {
    padding: 3rem 0;
  }

  .banner-text h1 {
    font-size: 1.75rem;
    /* 28px */
    margin-bottom: 1rem;
  }

  .form-container h3 {
    font-size: 1.25rem;
  }

  .form-group input,
  .form-group select {
    padding: 0.625rem 0.75rem 0.625rem 2.5rem;
  }
}

@media (max-width: 480px) {
  .banner-text h1 {
    font-size: 1.5rem;
    /* 24px */
  }

  .banner-text p {
    font-size: 0.9375rem;
    /* 15px */
  }

  .form-container {
    padding: 1.25rem;
  }
}

/* About Section Styles */
/* Simplified About Section Styles */
.about-section {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.about-content {
  display: flex;
  align-items: start;
  gap: 4rem;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.about-text h2 span {
  color: var(--primary-color);
}

.about-text h3 {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.about-text p {
  color: var(--default-text-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }

  .about-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 3rem 0;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-text h3 {
    font-size: 1.25rem;
  }
}

/* Perfect Seamless Marquee CSS */
.tech-marquee-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  color: var(--heading-color);
}

.section-header h2 span {
  color: var(--primary-color);
}

.section-header p {
  color: var(--secondary-color);
  max-width: 600px;
  margin: 0 auto;
}

.marquee-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.marquee-track {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 10px 0;
  will-change: transform;
}

/* Continuous Animation */
.marquee-track:not(.reverse) .marquee-inner {
  animation: scroll-left 60s linear infinite;
}

.marquee-track.reverse .marquee-inner {
  animation: scroll-right 60s linear infinite;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.tech-item:hover {
  transform: translateY(-5px);
}

.tech-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.tech-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tech-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--default-text-color);
  text-align: center;
}

/* Seamless Infinite Animations */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .tech-marquee-section {
    padding: 60px 0;
  }

  .marquee-inner {
    gap: 20px;
  }

  .tech-item {
    min-width: 100px;
    padding: 15px;
  }

  .tech-icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .tech-item {
    min-width: 80px;
    padding: 10px;
  }

  .tech-icon {
    width: 30px;
    height: 30px;
  }

  .tech-item span {
    font-size: 0.85rem;
  }
}

/* Features Section Styles */
.features-section {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  color: var(--heading-color);
}

.section-header h2 span {
  color: var(--primary-color);
}

.section-header p {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(254, 150, 53, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--default-text-color);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Courses Section Styles */

/* Testimonial Section with Swiper - Using your Common CSS Variables */
.testimonial-section {
  padding: 80px 0;
  /* background-color: #f9f9f9; */
}

.testimonial-section .section-header h2 {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  color: var(--heading-color);
  text-align: center;
}

.testimonial-section .section-header h2 span {
  color: var(--primary-color);
}

.testimonial-section .section-header p {
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-family: var(--default-font);
}

.testimonial-card {
  background: white;
  padding: 40px 30px;
  border-radius: 5px;
  /* box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05); */
  margin: 20px;
  position: relative;
  background-color: whitesmoke;
}

.quote-icon {
  color: var(--primary-color);
  opacity: 0.2;
  font-size: 60px;
  position: absolute;
  top: 20px;
  right: 30px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--default-text-color);
  margin-bottom: 30px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.student-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.student-details h4 {
  font-size: 1.1rem;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.student-details p {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.rating {
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* Swiper Custom Styles */
.testimonialSwiper {
  padding: 30px 0 70px;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color) !important;
  background: rgba(254, 150, 53, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.2rem !important;
}

.swiper-pagination-bullet {
  background: #ccc !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .testimonial-section {
    padding: 60px 0;
  }

  .testimonial-section .section-header h2 {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .quote-icon {
    font-size: 40px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}

/* Contact Section Styles */
.contact-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #004d5a 100%);
  padding: 80px 0;
  color: white;
}

.contact-container {
  display: flex;
  gap: 50px;
  align-items: center;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.contact-info p {
  margin-bottom: 30px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 3px;
}

.contact-text h3 {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-text a,
.contact-text p {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: var(--primary-color);
}

.contact-form {
  flex: 1;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--default-text-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--default-font);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #e0852e;
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-info h2 {
    font-size: 2rem;
  }

  .contact-form h3 {
    font-size: 1.5rem;
  }

  .contact-form {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .contact-info h2 {
    font-size: 1.8rem;
  }

  .contact-item {
    flex-direction: column;
    gap: 5px;
  }

  .contact-icon {
    margin-top: 0;
  }
}