/* ================================
   UNIVERSITY HERO PREMIUM DESIGN
================================ */

.university-hero {
  padding: 70px 20px;
  background: #f1f3f6;
}

.hero-card {
  max-width: 1450px;
  margin: auto;
  background: #ffffff;
  border-radius: 32px;
  padding: 60px 70px;
  display: flex;
  gap: 70px;
  align-items: center;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.08),
    0 10px 25px rgba(0, 0, 0, 0.06),
    inset 0 0 35px rgba(0, 0, 0, 0.05);
}

/* ================= LEFT SIDE ================= */

.hero-left {
  flex: 1;
  min-width: 0;
}

.hero-left h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 25px;
}

.hero-left h1 span {
  color: #1666c5;
  font-weight: 600;
  display: block;
}

.hero-left p {
  font-size: 16px;
  line-height: 1.8;
  color: #222;
  margin-bottom: 15px;
}

.hero-left ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.hero-left li {
  margin-bottom: 8px;
}

/* ================= RIGHT SIDE ================= */

.hero-right {
  flex: 1.3;
}

.image-box {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.1),
    0 8px 20px rgba(0, 0, 0, 0.06);
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

/* ================= THUMBNAILS ================= */

.thumbnail-container {
  width: 100px;
  height: auto;
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
}

.thumb {
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.thumb:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumb.active {
  opacity: 1;
  border-color: #ff8401;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
============================================ */

/* Large Screens 1600px+ */
@media (min-width: 1600px) {
  .hero-card {
    padding: 80px 100px;
    gap: 90px;
  }

  .hero-left h1 {
    font-size: 44px;
  }
}

/* Normal Desktop */
@media (max-width: 1400px) {
  .hero-card {
    padding: 50px 50px;
    gap: 60px;
  }

  .image-box {
    height: 480px;
  }
}

/* Laptop */
@media (max-width: 1200px) {
  .hero-left h1 {
    font-size: 34px;
  }

  .image-box {
    height: 420px;
  }

  .thumb {
    width: 65px;
    height: 48px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .hero-card {
    flex-direction: column;
    padding: 40px;
    gap: 40px;
  }

  .hero-left h1 {
    font-size: 30px;
    text-align: center;
  }

  .hero-left p,
  .hero-left ul {
    text-align: center;
  }

  .hero-left ul {
    list-style-position: inside;
  }

  .image-box {
    height: 380px;
  }

  .thumbnail-container {
    bottom: 15px;
    left: 15px;
  }
}

/* Large Mobile */
@media (max-width: 768px) {
  .university-hero {
    padding: 40px 15px;
  }

  .hero-card {
    padding: 30px 25px;
    border-radius: 22px;
  }

  .hero-left h1 {
    font-size: 24px;
  }

  .hero-left p {
    font-size: 15px;
  }

  .image-box {
    height: 300px;
    border-radius: 20px;
  }

  .thumb {
    width: 55px;
    height: 40px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 20px;
    line-height: 1.4;
  }

  .image-box {
    height: 240px;
  }

  .thumbnail-container {
    gap: 8px;
  }

  .thumb {
    width: 45px;
    height: 35px;
    border-radius: 6px;
  }
}

/* =================================
   UNIVERSITY WHY SECTION
================================= */

.university-why {
  padding: 90px 20px;
  background: #f3f4f6;
}

.why-container {
  max-width: 1400px;
  margin: auto;
}

.why-heading {
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 70px;
}

.why-heading span {
  color: #1666c5;
  font-weight: 600;
}

/* ===== GRID LAYOUT ===== */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.6fr;
  gap: 60px;
  align-items: center;
}

/* =================================
   LEFT POSTER
================================= */

.why-left {
  position: relative;
  max-width: 420px;
}

.why-left img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

/* Floating Student Box */
.why-student-box {
  position: absolute;
  top: 190px;
  right: -160px;
  background: #ffffff;
  padding: 22px;
  border-radius: 24px;
  width: 100px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.student-number {
  font-size: 24px;
  color: #1666c5;
  font-weight: 600;
}

.student-label {
  font-size: 14px;
  margin-bottom: 8px;
}

.why-student-box img {
  width: 60px;
}

/* =================================
   CENTER CONTENT
================================= */

.why-center-image img {
  width: 100%;
  border-radius: 28px;
  margin-bottom: 35px;
}

.why-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #333;
}

.why-buttons {
  display: flex;
  gap: 20px;
}

/* Buttons */
.btn-primary {
  background: #1666c5;
  color: #fff;
  padding: 14px 30px;
  border-radius: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #0e4da3;
}

.btn-outline {
  border: 2px solid #d5d5d5;
  padding: 14px 30px;
  border-radius: 14px;
  text-decoration: none;
  color: #1666c5;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #1666c5;
  color: #fff;
}

/* =================================
   RIGHT STAT BOXES
================================= */

.why-right {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.why-stat {
  background: #ffffff;
  padding: 35px 20px;
  border-radius: 26px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.stat-number {
  font-size: 22px;
  font-weight: 600;
  color: #1666c5;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: #333;
}

/* =================================
   RESPONSIVE
================================= */

/* Large Laptop */
@media (max-width: 1200px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-right {
    grid-column: span 2;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .why-stat {
    width: 45%;
  }

  .why-student-box {
    right: 20px;
    top: 40px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .why-left {
    margin: auto;
  }

  .why-student-box {
    right: 10px;
    top: 20px;
  }

  .why-right {
    flex-direction: column;
    width: 100%;
  }

  .why-stat {
    width: 100%;
  }

  .why-buttons {
    flex-direction: column;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .why-heading {
    font-size: 24px;
  }

  .why-left {
    max-width: 100%;
  }

  .why-student-box {
    width: 140px;
    padding: 15px;
    top: 15px;
    right: 15px;
  }

  .student-number {
    font-size: 18px;
  }

  .why-text {
    font-size: 14px;
  }
}

/* =================================
   WHY CHOOSE DOCTORBANO SECTION
================================= */

.university-why-doctorbano {
  padding: 90px 20px;
  background: #f4f5f7;
}

.doctorbano-container {
  max-width: 1400px;
  margin: auto;
}

/* ===== HEADER ===== */

.doctorbano-header {
  margin-bottom: 60px;
}

.doctorbano-header h2 {
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 20px;
}

.doctorbano-header h2 span {
  color: #ff8401;
  font-weight: 600;
}

.doctorbano-header p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* ===== GRID ===== */

.doctorbano-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* ===== IMAGE ===== */

.doctorbano-image img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

/* ===== RIGHT CONTENT ===== */

.doctorbano-text {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #333;
}

/* ===== FEATURES GRID ===== */

.doctorbano-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

/* ===== FEATURE CARD ===== */

.feature-card {
  padding: 30px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.feature-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
}

/* Blue Theme */
.feature-card.blue {
  border-left: 4px solid #0091e3;
  background: rgba(0, 145, 227, 0.08);
}

.feature-card.blue h4 {
  font-size: 20px;
  color: #0091e3;
}

/* Orange Theme */
.feature-card.orange {
  border-left: 4px solid #ff8401;
  background: rgba(255, 132, 1, 0.08);
}

.feature-card.orange h4 {
  font-size: 20px;
  color: #ff8401;
}

/* Hover */
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* =================================
   RESPONSIVE
================================= */

/* Laptop */
@media (max-width: 1200px) {
  .doctorbano-grid {
    gap: 40px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .doctorbano-grid {
    grid-template-columns: 1fr;
  }

  .doctorbano-features {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .doctorbano-header h2 {
    font-size: 26px;
  }

  .doctorbano-features {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 22px;
  }
}

/* =================================
   UNIVERSITY DETAILS ACCORDION
================================= */

.university-details {
  padding: 90px 20px;
  background: #f3f4f6;
}

.details-container {
  max-width: 1300px;
  margin: auto;
}

.details-heading {
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 50px;
}

/* Accordion Wrapper */
.details-accordion {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Individual Item */
.accordion-item {
  background: #ffffff;
  border-left: 5px solid #0091e3;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: 0.3s ease;
}

/* Header */
.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 30px;
  font-size: 18px;
  font-weight: 600;
  color: #0091e3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: 0.3s ease;
}

.accordion-header:hover {
  color: #ff8401;
}

/* Arrow */
.accordion-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* Content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #f8f9fb;
}

.accordion-body {
  padding: 25px 30px;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

/* Active State */
.accordion-item.active {
  border-left-color: #ff8401;
}

.accordion-item.active .accordion-header {
  color: #ff8401;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Tables inside accordion */
.accordion-body table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.accordion-body table th,
.accordion-body table td {
  border: 1px solid #ddd;
  padding: 10px;
  font-size: 14px;
}

.accordion-body table th {
  background: #f1f3f6;
  font-weight: 600;
}

/* Lists */
.accordion-body ul {
  margin-top: 10px;
  padding-left: 20px;
}

.accordion-body ul li {
  margin-bottom: 8px;
}

/* =================================
   RESPONSIVE
================================= */

@media (max-width: 992px) {
  .details-heading {
    font-size: 28px;
  }

  .accordion-header {
    font-size: 16px;
    padding: 18px 20px;
  }

  .accordion-body {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .details-heading {
    font-size: 22px;
  }

  .accordion-header {
    font-size: 15px;
  }

  .accordion-body {
    font-size: 14px;
  }
}

/* ==========================================
   UNIVERSITY ADMISSION SECTION
========================================== */

.university-admission {
  padding: 80px 20px;
  background: #f5f7fa;
}

.admission-container {
  max-width: 1400px;
  margin: auto;
}

/* SECTION TITLE */
.section-title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 50px;
}

.highlight-text {
  color: #ff8401;
  font-weight: 600;
}

.steps-heading {
  font-size: 26px;
  margin-bottom: 30px;
}

/* TOP GRID */
.admission-top-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

/* INFO CARDS */
.info-card {
  background: #fff;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.info-card p {
  margin-bottom: 15px;
  color: #444;
}

.info-card ul {
  padding-left: 20px;
}

.info-card li {
  margin-bottom: 10px;
}

/* TOP BORDER COLORS */
.blue-top {
  border-top: 4px solid #0091e3;
}

.orange-top {
  border-top: 4px solid #ff8401;
}

/* PROCESS INTRO */
.process-intro {
  background: linear-gradient(
    90deg,
    rgba(255, 132, 1, 0.1),
    rgba(0, 145, 227, 0.1)
  );
  padding: 35px;
  border-radius: 20px;
  margin-bottom: 50px;
}

.process-intro h3 {
  font-size: 24px;
  color: #ff8401;
  margin-bottom: 15px;
}

/* STEPS */
.steps-heading {
  font-size: 22px;
  margin-bottom: 30px;
  font-weight: 600;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

/* STEP CARD */
.step-card {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  font-size: 30px;
  font-weight: 700;
}

.step-card h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

/* LEFT BORDER COLORS */
.step-card.blue {
  border-left: 4px solid #0091e3;
}

.step-card.orange {
  border-left: 4px solid #ff8401;
}

.step-card.blue .step-number {
  color: #0091e3;
}

.step-card.orange .step-number {
  color: #ff8401;
}

/* ==============================
   RESPONSIVE DESIGN
============================== */

/* Tablet */
@media (max-width: 992px) {
  .admission-top-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 26px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .university-admission {
    padding: 50px 15px;
  }

  .info-card,
  .process-intro,
  .step-card {
    padding: 20px;
  }

  .section-title {
    font-size: 22px;
  }

  .steps-heading {
    font-size: 20px;
  }

  .step-number {
    font-size: 22px;
  }
}

/* ==========================================
   UNIVERSITY CONCLUSION SECTION
========================================== */

.university-conclusion {
  padding: 80px 20px;
  background: #f5f7fa;
}

.conclusion-container {
  max-width: 1400px;
  margin: auto;
}

.conclusion-card {
  background: linear-gradient(
    90deg,
    rgba(0, 145, 227, 0.08),
    rgba(255, 132, 1, 0.08)
  );
  padding: 50px;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

/* Keep heading style SAME as previous */
.conclusion-card .section-title {
  margin-bottom: 30px;
}

/* Paragraph styling same as other sections */
.conclusion-card p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 992px) {
  .conclusion-card {
    padding: 35px;
  }
}

@media (max-width: 576px) {
  .university-conclusion {
    padding: 50px 15px;
  }

  .conclusion-card {
    padding: 25px;
  }

  .conclusion-card p {
    font-size: 14px;
  }
}

/* ======================================
   POPULAR UNIVERSITIES SECTION
====================================== */

.popular-universities {
  padding: 80px 20px;
  background: #ffffff;
}

.popular-container {
  max-width: 1400px;
  margin: auto;
}

/* Header */
.popular-header {
  margin-bottom: 50px;
}

.section-title {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
}

.highlight-text {
  color: #ff8401;
  font-weight: 600;
  display: inline-block;
  margin-left: 6px;
}

/* ======================================
   CARD WRAPPER
====================================== */

.universities-wrapper {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 15px;
  scroll-snap-type: x mandatory;
}

.university-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

/* Hide scrollbar (optional) */
.universities-wrapper::-webkit-scrollbar {
  height: 6px;
}
.universities-wrapper::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 10px;
}

/* ======================================
   CARD
====================================== */

.university-card {
  min-width: 280px;
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
  transition: 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Hover */
.university-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(255, 132, 1, 0.25);
  border: 1px solid #ff8401;
}

/* Logo */
.university-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.university-logo img {
  max-height: 55px;
  max-width: 120px;
  object-fit: contain;
}

/* University Name */
.university-name {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}

.university-name a {
  text-decoration: none;
  color: #171923;
  transition: 0.3s;
}

.university-name a:hover {
  color: #ff8401;
}

/* ======================================
   BUTTONS
====================================== */

.university-actions {
  display: flex;
  gap: 15px;
}

.btn-apply {
  flex: 1;
  background: #ff8401;
  border: 1px solid #ff8401;
  color: #ffffff;
  padding: 10px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.btn-apply:hover {
  background: #e67300;
}

.btn-outline {
  flex: 1;
  text-align: center;
  border: 1px solid #ff8401;
  color: #ff8401;
  padding: 10px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #ff8401;
  color: #ffffff;
}

/* ======================================
   FLOAT ANIMATION
====================================== */

.float-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

.float-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================
   RESPONSIVE DESIGN
====================================== */

/* Large Desktop */
@media (min-width: 1600px) {
  .section-title {
    font-size: 36px;
  }
}

/* Laptop */
@media (max-width: 1200px) {
  .section-title {
    font-size: 28px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .universities-wrapper {
    gap: 25px;
  }

  .university-card {
    min-width: 260px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .popular-universities {
    padding: 50px 15px;
  }

  .section-title {
    font-size: 22px;
  }

  .university-card {
    min-width: 230px;
    padding: 22px;
  }

  .university-name {
    font-size: 16px;
  }

  .btn-apply,
  .btn-outline {
    font-size: 13px;
    padding: 8px;
  }
}