/* study-usa-section-starts-here */
/* Full-bleed purple curved background */
.study-usa-banner {
  background: #6c30f4;
  color: white;
  padding: 60px 20px 80px;
  border-bottom-left-radius: 100% 30%;
  border-bottom-right-radius: 100% 30%;
  text-align: center;
  width: 100%;
  margin: 0;
  position: relative;
}

.study-usa-banner .breadcrumb {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 10px;
}

.study-usa-banner h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0;
}

.study-usa-content {
  padding: 50px 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.study-usa-content .images {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.study-usa-content .images img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.study-usa-content .description {
  font-size: 1rem;
  max-width: 850px;
  margin: 0 auto;
  color: #333;
  line-height: 1.6;
}

/* Responsive design */
@media (max-width: 768px) {
  .study-usa-banner {
    padding: 50px 15px 60px;
  }

  .study-usa-banner h1 {
    font-size: 1.8rem;
  }

  .study-usa-content .images {
    flex-direction: column;
    gap: 15px;
  }

  .study-usa-content .images img {
    max-width: 90%;
  }
}

/* study-usa-section-ends-here */

/* why-usa-section-starts-here */
/* Why Study in USA Section */
.why-usa-section {
  background-color: var(--background-color);
  padding: 60px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.why-usa-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.why-usa-text {
  flex: 1 1 48%;
}

.why-usa-text h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.why-usa-text p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.usa-facts {
  flex: 1 1 45%;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.usa-facts h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.facts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.facts-list li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid #eee;
  transition: transform 0.2s ease;
}

.facts-list li span {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.facts-list li:hover {
  transform: translateX(5px);
  background: #f5f5f5;
  border-radius: 6px;
  padding-left: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .why-usa-grid {
    flex-direction: column;
  }

  .why-usa-text,
  .usa-facts {
    flex: 1 1 100%;
  }

  .why-usa-text h3 {
    font-size: 1.5rem;
  }

  .usa-facts h4 {
    font-size: 1.3rem;
  }
}

/* why-usa-section-starts-here */

/* study-cost-section-usa-starts-here */
/* Study Cost Section */
.study-cost-section {
  padding: 60px 20px;
  background-color: #f5f7fb;
  text-align: center;
}

.study-cost-section h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 30px;
}

.cost-table-wrapper {
  overflow-x: auto;
}

.cost-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.cost-table thead {
  background-color: #0056d2;
  color: #fff;
}

.cost-table th,
.cost-table td {
  padding: 15px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.cost-table tbody tr:nth-child(even) {
  background-color: #f1f6ff;
}

.cost-table tbody tr:hover {
  background-color: #e7f0ff;
  transition: background 0.3s ease;
}

.total-row {
  background-color: #eaf2ff;
  font-weight: 600;
  border-top: 2px solid #c3dcff;
}

.total-row td {
  color: #1e1e1e;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .cost-table {
    font-size: 0.9rem;
  }

  .study-cost-section h2 {
    font-size: 1.5rem;
  }

  .cost-table th,
  .cost-table td {
    padding: 12px 14px;
  }
}

/* study-cost-section-usa-ends-here */

/* Careers & Industry Insights starts here */
/* Section Styling */
.career-industry-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.career-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Text Section */
.career-text {
  flex: 1 1 50%;
  font-family: var(--font-body);
}

.career-text h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.career-text p {
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 16px;
}

/* Image Grid */
.career-images {
  flex: 1 1 45%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.career-images img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .career-flex {
    flex-direction: column-reverse;
    text-align: center;
  }

  .career-images {
    grid-template-columns: 1fr;
  }

  .career-text h2 {
    font-size: 1.5rem;
  }

  .career-text p {
    font-size: 0.95rem;
  }
}

/* Careers & Industry Insights starts here */

/* university-section-ends-here */
.universities-section {
  background-color: #e8eafe;
  padding: 60px 20px;
  font-family: var(--font-body);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.universities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.university-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.university-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.university-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.university-card p {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.5;
}

/* Responsive: center text on smaller screens */
@media (max-width: 500px) {
  .university-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .university-card img {
    margin-bottom: 10px;
  }
}

/* university-section-ends-here */

/* popular-courses-section starts here */
.popular-courses-section {
  padding: 60px 20px;
  background: #fefefe;
  font-family: var(--font-body);
}

.course-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.course-image .image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  overflow: hidden;
  background: #ffe8c6;
  padding: 20px;
}

.course-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.course-content {
  flex: 1;
  min-width: 280px;
}

.course-content h2 {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  margin-bottom: 25px;
  color: var(--text-dark);
}

.course-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-list li {
  background: #fff;
  border: 1px solid #eee;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease, transform 0.2s ease;
}

.course-list li:hover {
  background: #f4f7ff;
  transform: translateY(-2px);
}

.course-list .star {
  color: orange;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .course-grid {
    flex-direction: column;
    text-align: center;
  }

  .course-content h2 {
    text-align: center;
  }

  .course-list li {
    justify-content: center;
  }
}

/* popular-courses-section ends here */

/* faq-section-starts-here */
.faq-section {
  padding: 60px 20px;
  background: #f1f2fc;
  font-family: var(--font-body);
}

.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #1d1d1d;
  font-family: var(--font-heading);
}

.accordion {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-button {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  cursor: pointer;
  color: #333;
}

.accordion-button::after {
  content: "▾";
  position: absolute;
  right: 20px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-button::after {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #fdfdfd;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 15px 20px 20px;
}

.accordion-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-section h2 {
    font-size: 1.5rem;
  }

  .accordion-button {
    font-size: 0.95rem;
  }
}

/* faq-section-ends-here */

/* guidance-section-starts-here */
.guidance-section {
  background-color: #6c47f2;
  color: #fff;
  padding: 40px 20px;
  border-radius: 10px;
  margin: 30px auto;
  max-width: 1200px;
  text-align: center;
}

.guidance-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.guidance-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-outline,
.btn-filled {
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background-color: white;
  color: #6c47f2;
}

.btn-filled {
  background: linear-gradient(to right, #ff7c5b, #ff4b89);
  border: none;
  color: white;
}

.btn-filled:hover {
  opacity: 0.9;
}

/* Popup Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.popup-content {
  background: #fff;
  color: #333;
  padding: 25px 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  position: relative;
}

.popup-content h3 {
  margin-bottom: 15px;
  color: #6c47f2;
  font-size: 1.5rem;
}

.popup-content input,
.popup-content select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.popup-content button.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #6c47f2;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.popup-content button.submit-btn:hover {
  background-color: #5738d1;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

@media (min-width: 768px) {
  .guidance-section {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .guidance-section h2 {
    font-size: 2rem;
    margin-bottom: 0;
  }

  .guidance-buttons {
    justify-content: flex-end;
  }
}
/* guidance-section-ends-here */



/* application-process-section-starts-here */
.application-process-section {
  background-color: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

.application-container {
  max-width: 1200px;
  margin: 0 auto;
}

.application-title {
  font-size: 2rem;
  color: #012970;
  margin-bottom: 40px;
  font-weight: 700;
}

.application-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 30px 20px;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
}

.step-number {
  width: 40px;
  height: 40px;
  margin: 0 auto 15px;
  background-color: #012970;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.step h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* application-process-section-ends-here */