/* ============================================================
   layout.css – Consistent content width & external style rules
   All pages now use .container (1220px max-width) for content.
   ============================================================ */

/* ---- Width constraint for custom containers ---- */
.faq-container,
.portal-container,
.ams-main-page-wrapper,
.ams-t-content,
.main-wrapper {
 
  margin-left: auto;
  margin-right: auto;
 
}

.content-grid {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* ---- Banner background styles ---- */
.page-banner {
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  min-height: 350px;
}

.page-banner-admission {
  background-image: url('../images/get-admission-banner.jpg');
}

.page-banner-courses {
  background-image: url('../images/cources-banner.jpg');
}

.page-banner-faq {
  background-image: url('../images/faq-banner.jpg');
}

.page-banner-about {
  background-image: url('../images/demo-accounting-company-title-bg.jpg');
}

.page-banner-contact {
  background-image: url('../images/contact-us-banner.jpg');
  
}

.page-banner-index-1 {
  background-image: url('../images/sliders/slider-1-img.jpg');
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

.page-banner-index-2 {
  background-image: url('../images/sliders/slider-2-img.jpg');
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

/* Responsive slider heights */
@media (max-width: 1199px) {
  .page-banner-index-1,
  .page-banner-index-2,
  .section-dark .carousel-inner {
    min-height: 400px !important;
  }
}
@media (max-width: 991px) {
  .page-banner-index-1,
  .page-banner-index-2,
  .section-dark .carousel-inner {
    min-height: 320px !important;
  }
}
@media (max-width: 575px) {
  .page-banner-index-1,
  .page-banner-index-2,
  .section-dark .carousel-inner {
    min-height: 250px !important;
  }
}

.page-banner-company {
  background-image: url('../images/demo-accounting-company-04.jpg');
}

/* ---- Banner heading ---- */
.banner-heading {
  font-size: 3rem;
  font-weight: 700;
  color: black;
}

/* ---- Courses catalog iframe ---- */
.courses-pdf-viewer {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 950px;
  height: 1020px;
  padding-bottom: 10px;
  padding-top: 20px;
  border: 1px solid #ccc;
}

/* ---- FAQ page ---- */
.faq-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #333;
}

/* ---- Courses catalog heading ---- */
.courses-catalog-heading {
  text-align: center;
  padding-top: 60px;
  color: #064e3b;
  padding-bottom: 40px;
}

/* ---- Feature icon colors ---- */
.feature-icon-blue {
  color: #1a365d;
}

.feature-icon-blue-lg {
  color: #1a365d;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* ---- Inline text styles (replacing style attributes) ---- */
.text-accent {
  color: #0073aa;
  font-weight: bold;
}

.text-accent-underline {
  color: #0073aa;
  font-weight: bold;
  text-decoration: underline;
}

.text-muted-small {
  font-size: 11px;
  color: #666;
  font-style: italic;
  border-top: 1px solid #eee;
  padding-top: 8px;
  margin-top: 15px;
}

.text-underline {
  text-decoration: underline;
}

/* ---- Box border accent ---- */
.box-border-top-accent {
  border-top: 3px solid #c88a2b;
}

/* ---- Section background colors ---- */
.section-bg-light-gray {
  background-color: rgb(243, 238, 238);
  padding-top: 70px !important;
  padding-bottom: 40px;
  margin-bottom: 0;
}

.section-bg-white {
  background-color: #ffffff;
}

/* ---- Section spacing utility ---- */
.section-spacing {
  padding-top: 90px !important;
  /* padding-bottom: 80px; */
}

/* ---- Legacy of Scholarship section ---- */
.legacy-section {
  padding: 80px;
}
.legacy-img {
  border-radius: 12px;
  height: 540px;
  width: 100%;
  object-fit: cover;
}
.legacy-text {
  padding-left: 40px;
}
.legacy-heading {
  font-size: 2.4rem;
  color: #1a2e4a;
  line-height: 1.25;
}
.legacy-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}
.legacy-feature-icon {
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.legacy-feature-img {
  height: 70px;
  width: auto;
}
.legacy-feature-fa {
  color: #c8963e;
  font-size: 2.2rem;
}
.legacy-feature-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a2e4a;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .legacy-section {
    padding: 40px 20px;
  }
  .legacy-text {
    padding-left: 0;
  }
}

/* ---- Section padding overrides ---- */
.section-padding-large {
  padding-top: 400px;
  padding-bottom: 80px;
}

.section-padding-top {
  padding-top: 80px;
}

/* ---- Image styling ---- */
.team-figure {
  padding-bottom: 102px;
}

/* Responsive faculty section */
@media (max-width: 991px) {
  .team-figure {
    padding-bottom: 60px;
  }
}
@media (max-width: 575px) {
  .team-figure {
    padding-bottom: 40px;
  }
  .section-bg-light-gray {
    padding-top: 40px !important;
    padding-bottom: 20px;
  }
}

.admission-banner-img {
  height: 40px;
  width: auto;
  border-radius: 50%;
}

/* ---- Section header (Objectives, etc.) ---- */
.section-header {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 40px;
  position: relative;
}
.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #cda250;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ---- Feature icon in objectives section ---- */
.objective-section .feature-box .feature-icon {
  color: #1a365d;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* ---- Online admission form ---- */
.admission-form-container {
  background-color: #f3f4f6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 90px;
}

.admission-form-wrapper {
  background-color: #ffffff;
  width: 100%;
  max-width: 1220px;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .admission-form-wrapper {
    padding: 2rem;
  }
}

/* ---- Modal / popup styles (question-and-answer.html) ---- */
.modal-card-iframe {
  max-width: 90%;
  width: 1100px;
  height: 85vh;
  padding: 10px;
  overflow: hidden;
}

.portal-iframe {
  width: 100%;
  height: calc(100% - 40px);
  border: none;
  border-radius: 8px;
}

/* ---- QA Portal inline style replacements ---- */
.qa-pending-status {
  border-left-color: #ffc107;
}

.qa-pending-scholar {
  color: #856404;
}

/* ---- Ask question popup button ---- */
.ask-nav-btn-wrapper {
  margin-top: 20px;
}

/* ---- Sign in button full width ---- */
.signin-btn-full {
  width: 100%;
}

/* ============================================================
   Q&A Page Styles (question-and-answer.html)
   ============================================================ */
.qa-main {
  background: #f4f6f8;
  padding: 40px 0;
  min-height: 60vh;
}
.qa-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 15px;
}

.qa-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.qa-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.qa-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #fff;
  color: #064e3b;
  border: 2px solid #064e3b;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.qa-profile-btn:hover { background: #064e3b; color: #fff; }
.qa-header-text h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #064e3b;
  margin: 0 0 4px;
}
.qa-header-text p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}
.qa-ask-btn {
  background: #c88a2b;
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  white-space: nowrap;
}
.qa-ask-btn:hover { background: #b07a24; }

.qa-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.qa-filter-pill {
  background: #fff;
  border: 1px solid #d0d5dd;
  color: #475467;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.qa-filter-pill:hover {
  border-color: #c88a2b;
  color: #c88a2b;
}
.qa-filter-pill.active {
  background: #064e3b;
  color: #fff;
  border-color: #064e3b;
}

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.qa-loading,
.qa-empty {
  text-align: center;
  padding: 60px 20px;
  color: #888;
  font-size: 1rem;
  background: #fff;
  border-radius: 10px;
}
.qa-card {
  background: #fff;
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid #e8ecf0;
  transition: box-shadow 0.2s;
}
.qa-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.06); }
.qa-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.qa-cat-tag {
  background: #e8f5e9;
  color: #064e3b;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.qa-status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 10px;
  text-transform: uppercase;
}
.qa-status.pending { background: #fef3c7; color: #92400e; }
.qa-status.approved { background: #dbeafe; color: #1e40af; }
.qa-status.answered { background: #d1fae5; color: #065f46; }
.qa-q-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #064e3b;
  margin: 0 0 8px;
}
.qa-q-title a {
  color: inherit;
  text-decoration: none;
}
.qa-q-title a:hover {
  color: #c88a2b;
  text-decoration: underline;
}
.qa-read-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.88rem;
  color: #c88a2b;
  text-decoration: none;
  font-weight: 500;
}
.qa-read-more:hover { text-decoration: underline; }
.qa-q-desc {
  color: #555;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 14px;
}
.qa-answer {
  background: #f9fafb;
  border-left: 3px solid #064e3b;
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  margin-top: 10px;
}
.qa-pending-answer {
  border-left-color: #f59e0b;
}
.qa-answer-text {
  font-size: 0.92rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 6px;
}
.qa-scholar {
  font-size: 0.82rem;
  color: #666;
  font-style: italic;
}
.qa-date {
  font-size: 0.78rem;
  color: #999;
  margin-top: 12px;
}

/* ---- Auth Modal ---- */
.qa-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.qa-modal-overlay.qa-modal-open {
  display: flex;
}
.qa-modal-card {
  background: #fff;
  border-radius: 12px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.qa-auth-card {
  max-width: 440px;
}
.qa-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #888;
  cursor: pointer;
  line-height: 1;
}
.qa-modal-close:hover { color: #333; }
.qa-modal-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #064e3b;
  margin: 0 0 20px;
}

.qa-auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid #e8ecf0;
}
.qa-auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.qa-auth-tab.active {
  color: #064e3b;
  border-bottom-color: #c88a2b;
}
.qa-auth-tab:hover { color: #064e3b; }

.qa-auth-panel {
  display: none;
}
.qa-auth-panel.active {
  display: block;
}
.qa-auth-panel h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #064e3b;
  margin: 0 0 16px;
}

.qa-field {
  margin-bottom: 14px;
}
.qa-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #344054;
  margin-bottom: 4px;
}
.qa-field input,
.qa-field select,
.qa-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.2s;
  box-sizing: border-box;
}
.qa-field {
  position: relative;
}
.qa-pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
  font-size: 1.1rem;
  line-height: 1;
}
.qa-pw-toggle:hover { color: #333; }
.qa-field input:focus,
.qa-field select:focus,
.qa-field textarea:focus {
  outline: none;
  border-color: #c88a2b;
  box-shadow: 0 0 0 3px rgba(200,138,43,0.1);
}

.qa-submit-btn {
  width: 100%;
  background: #c88a2b;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.qa-submit-btn:hover { background: #b07a24; }

.qa-auth-switch {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  margin: 14px 0 0;
}
.qa-auth-switch a {
  color: #c88a2b;
  text-decoration: none;
  font-weight: 600;
}
.qa-auth-switch a:hover { text-decoration: underline; }

.qa-otp-info {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 14px;
}
.qa-otp-info span { font-weight: 700; color: #064e3b; }

/* ---- Toast notifications ---- */
.qa-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 999999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.qa-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.qa-toast-success { background: #065f46; color: #fff; }
.qa-toast-error { background: #991b1b; color: #fff; }
.qa-toast-info { background: #c88a2b; color: #fff; }

@media (max-width: 767px) {
  .qa-header-row { flex-direction: column; }
  .qa-header-actions { width: 100%; }
  .qa-ask-btn { width: 100%; justify-content: center; }
  .qa-profile-btn { width: 100%; justify-content: center; }
  .qa-card { padding: 18px 20px; }
  .qa-modal-card { padding: 24px 20px; }
  .qa-auth-tab { font-size: 0.8rem; padding: 10px 4px; }
  .qa-header-text h1 { font-size: 1.4rem; }
  .qa-q-title { font-size: 1rem; }
}

/* ---- Privacy & Terms page accent color ---- */
.accent-color {
  color: #c88a2b;
}

/* ---- iframe border none ---- */
.iframe-map {
  border: 0;
}

/* ---- Body duplicate tag fix for privacy-policy ---- */
/* Removed duplicate body tag in HTML - no CSS fix needed */

/* ============================================================
   Responsive header – mobile & tablet
   ============================================================ */

/* Tablet & mobile: ≤991px – redesigned mobile menu */
@media (max-width: 991px) {
  .duo-middle .right-info {
    display: none;
  }
  .duo-middle .admission-btn {
    display: none;
  }
  .duo-nav {
    position: relative;
  }
  .duo-nav .container {
    justify-content: space-between;
  }
  .duo-nav .nav-admission-btn {
    display: inline-block;
    background: #fff;
    color: #064e3b;
    font-size: 13px;
    font-weight: 600;
    padding: 1px 10px;
    border-radius: 19px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }
  .duo-nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 999;
    padding: 0;
  }
  .duo-nav ul > li > a {
    padding: 14px 20px;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
  }
  .duo-nav ul > li > a:hover,
  .duo-nav ul > li:hover > a {
    background: #f5f5f5;
    color: #c88a2b;
  }
  .duo-nav ul > li .sub-menu {
    background: #f9f9f9;
    padding-left: 20px;
  }
  .duo-nav ul > li .sub-menu li a {
    color: #555;
    border-bottom-color: #e8e8e8;
  }
  .duo-nav ul > li .sub-menu li a:hover {
    background: #eee;
    color: #c88a2b;
  }
  .duo-nav ul > li.menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 6px;
    font-size: 12px;
  }
  .duo-nav:has(#duo-menu.open) .menu-toggle i::before {
    content: "\f00d";
  }
  .duo-nav:has(#duo-menu.open) .menu-toggle .menu-label {
    display: none;
  }
}

/* Small tablet / large phone: 576px–767px */
@media (max-width: 767px) {
  .duo-middle .logo img {
    max-height: 80px;
  }
  .duo-nav ul > li > a {
    padding: 14px 16px;
    font-size: 15px;
  }
}

/* Phone < 576px */
@media (max-width: 575px) {
  .duo-top-bar {
    padding: 8px 0;
  }
  .duo-top-bar .assalam {
    font-size: 12px;
  }
  .duo-top-bar .social-icons {
    justify-content: center;
  }
  .duo-middle {
    padding: 10px 0;
  }
  .duo-middle .logo img {
    max-height: 95px;
  }

  .duo-nav ul > li > a {
    padding: 14px 16px;
    font-size: 14px;
  }
  .duo-nav .menu-toggle {
    font-size: 20px;
    padding: 10px 0;
  }
}

/* ---- Hide nav admission button on desktop ---- */
@media (min-width: 992px) {
  .duo-nav .nav-admission-btn {
    display: none;
  }
}

/* ---- Fix slider fade stacking ---- */
.section-dark {
  margin: 0;
  padding: 0;
}
.section-dark .carousel-inner {
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 500px;
}
.section-dark .carousel-item {
  margin: 0;
  padding: 0;
}
/* Stack fade items on top of each other */
.carousel-fade .carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease;
  background: #1a1a2e;
}
.carousel-fade .carousel-item.active {
  position: relative;
  opacity: 1;
  z-index: 1;
}
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
}

/* ---- Responsive section spacing ---- */
@media (max-width: 991px) {
  .section-spacing {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .objective-section {
    padding: 40px 20px !important;
  }
}
@media (max-width: 575px) {
  .section-spacing {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .objective-section {
    padding: 30px 15px !important;
  }
}

/* ============================================================
   Our Courses section – styles (grid handled by Bootstrap)
   ============================================================ */
.courses-section {
  padding: 20px 15px;
}

@media (max-width: 767px) {
  .top-badge {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto 10px;
  }
  .card-header {
    flex-direction: column;
    text-align: center;
  }
  .card-icon {
    margin-bottom: 8px;
  }
  .info-container {
    flex-direction: column;
    gap: 8px;
    padding: 10px;
  }
  .info-block.border-right {
    border-right: none;
    border-bottom: 1px solid #dcdcdc;
    padding-bottom: 8px;
  }
}

@media (max-width: 575px) {
  .card-title-box h3 {
    font-size: 14px;
  }
  .action-btn {
    font-size: 12px;
    height: 40px;
  }
}

/* ============================================================
   Faculty Section – redesigned
   ============================================================ */
.faculty-section {
  padding: 80px 0;
  background: #f8f9fa;
}
.faculty-heading {
  font-size: 35px;
  font-weight: 700;
  color: black;
  margin-bottom: 12px;
}
.faculty-subheading {
  font-size: 1.05rem;
  color: #666;
  max-width: 500px;
  margin: 0 auto 10px;
}
.faculty-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.faculty-img-wrap {
  width: 100%;
  overflow: hidden;
}
.faculty-img-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.faculty-card:hover .faculty-img-wrap img {
  transform: scale(1.05);
}
.faculty-info {
  padding: 22px 20px 28px;
}
.faculty-name {
      font-size: 15px;
    font-weight: 600;
    color: #1a365d;
    margin: 0 0 0px;
    line-height: 18px;
}
.view-all-btn {
    display: inline-block;
    background-color: #d97706;
    color: #fff;
    padding: 4px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s 
ease;
}
.view-all-btn:hover {
    background-color: #c26400;
    color: #fff;
}
@media (min-width: 1200px) {
    .faculty-grid .faculty-col {
        flex: 0 0 auto;
        width: 24%;
        max-width: 24%;
    }
}


/* ============================================================
   Testimonials Section – redesigned
   ============================================================ */
.testim-section {
  padding: 60px 0;
  background: #ffffff;
}
.testim-heading {
  font-size: 35px;
  font-weight: 700;
  color: #064e3b;
  margin-bottom: 8px;
}
.testim-subheading {
  font-size: 1rem;
  color: #555;
  max-width: 500px;
  margin: 0 auto;
}
.testim-track-wrap {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 50px;
}
.testim-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 24px 0 10px;
}
.testim-card {
  min-width: calc(33.333% - 16px);
  background: #fff;
  border-radius: 14px;
  padding: 26px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0ead9;
  border-top: 3px solid #c88a2b;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.testim-card:hover {
  box-shadow: 0 10px 28px rgba(200,138,43,0.15);
  transform: translateY(-4px);
}
.testim-stars {
  color: #c88a2b;
  font-size: 0.95rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testim-text {
  color: #444;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
  font-style: italic;
}
.testim-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f0ead9;
}
.testim-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c88a2b;
}
.testim-author h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #064e3b;
  margin: 0;
}
.testim-author span {
  font-size: 0.8rem;
  color: #c88a2b;
  display: block;
  margin-top: 1px;
}
.testim-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid #c88a2b;
  border-radius: 50%;
  background: #fff;
  color: #c88a2b;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.testim-btn:hover {
  background: #c88a2b;
  color: #fff;
  border-color: #c88a2b;
}
.testim-btn-prev { left: 0; }
.testim-btn-next { right: 0; }
.testim-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.testim-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #e3d8c0;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.2s;
}
.testim-dot.active {
  background: #c88a2b;
  width: 26px;
  border-radius: 5px;
}

/* Faculty & Testimonials responsive */
@media (max-width: 991px) {
  .faculty-section { padding: 50px 0; }
  .testim-section { padding: 40px 0; }
  .testim-card { min-width: calc(50% - 12px); }
  .testim-track-wrap { padding: 0 40px; }
}
@media (max-width: 575px) {
  .faculty-section { padding: 30px 0; }
  .testim-section { padding: 30px 0; }
  .faculty-heading { font-size: 1.6rem; }
  .testim-heading { font-size: 1.6rem; }
  .faculty-subheading { font-size: 0.95rem; }
  .testim-subheading { font-size: 0.95rem; }
  .faculty-img-wrap img { height: 230px; }
  .testim-card { min-width: 100%; padding: 20px; }
  .testim-track-wrap { padding: 0 36px; }
  .testim-btn { width: 32px; height: 32px; font-size: 0.9rem; }
}

/* ---- Course pages responsive ---- */
@media (max-width: 991px) and (min-width: 768px) {
  .left-column {
    padding: 0 15px !important;
  }
  .right-column {
    padding: 0 15px !important;
  }
}
@media (max-width: 767px) {
  .content-grid {
    display: block !important;
    width: 100% !important;
  }
  .left-column,
  .right-column {
    display: block !important;
    width: 100% !important;
    padding: 0 15px !important;
  }
  .left-column {
    margin-bottom: 20px;
  }
  .page-banner-courses {
    min-height: 180px !important;
  }
  .banner-heading {
    font-size: 1.8rem !important;
  }
  .banner-sub {
    font-size: 1rem !important;
    padding-top: 10px !important;
  }
  .du-box {
    padding: 15px;
    border-radius: 12px;
  }
  .payment-card {
    padding: 12px;
  }
  .payment-card-title {
    font-size: 14px;
  }
}

/* ---- Logo with name & tagline ---- */
.duo-middle .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.duo-middle .logo a {
  display: flex;
  align-items: center;
  line-height: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.logo-name {
  font-size: 20px;
  font-weight: 800;
  color: #1a2e4a;
  letter-spacing: 1px;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}
.logo-tagline {
  font-size: 12px;
  font-weight: 600;
  color: #c88a2b;
  letter-spacing: 2px;
  line-height: 1.3;
  margin: 4px 0 0 0;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .duo-middle .logo {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }
  .logo-name {
    font-size: 14px;
    letter-spacing: 0.5px;
  }
  .logo-tagline {
    font-size: 9px;
    letter-spacing: 1px;
  }
}

/* ============================================================
   Online Admission Form
   ============================================================ */
.admission-form-container {
  
  margin: 0 auto;
  padding: 40px 20px 60px;
}
.admission-form-wrapper {
  background: #fff;
  border: 1px solid #f0ead9;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.admission-form-title {
  font-size: 24px;
  font-weight: 700;
  color: #064e3b;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 20px;
}
.admission-greeting {
  background: #fffdf7;
  border: 1px solid #f5d7ab;
  border-left: 4px solid #c88a2b;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}
.admission-greeting p {
  margin: 0 0 4px;
}
.admission-greeting p:last-child {
  margin-top: 6px;
}
.form-section {
  margin-bottom: 24px;
}
.form-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: #064e3b;
  padding: 10px 16px;
  margin: 0 0 0;
  border-radius: 8px 8px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-grid {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 8px 8px;
}
.form-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.form-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.form-full {
  grid-column: 1 / -1;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
}
.form-hint {
  font-size: 10px;
  color: #6b7280;
  margin-top: 4px;
  font-style: italic;
}
.required {
  color: #dc2626;
}
.form-control {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #1f2937;
  outline: none;
  transition: border-color 0.2s;
}
.form-control:focus {
  border-color: #c88a2b;
  box-shadow: 0 0 0 2px rgba(200,138,43,0.15);
}
select.form-control {
  cursor: pointer;
}
.input-group {
  display: flex;
}
.input-group-text {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-right: none;
  border-radius: 6px 0 0 6px;
}
.input-group .form-control {
  border-radius: 0 6px 6px 0;
}
.country-code-select {
  padding: 8px 8px;
  font-size: 13px;
  border: 1px solid #d1d5db;
  border-right: none;
  border-radius: 6px 0 0 6px;
  background: #fff;
  color: #1f2937;
  cursor: pointer;
  outline: none;
  max-width: 110px;
  appearance: auto;
}
.country-code-select:focus {
  border-color: #c88a2b;
}
.terms-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 13px;
  color: #555;
  line-height: 1.8;
  max-height: 100px;
  overflow-y: auto;
  margin-bottom: 12px;
}
.terms-box p {
  margin: 0;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #c88a2b;
  cursor: pointer;
}
.form-check label {
  cursor: pointer;
  user-select: none;
}
.form-submit {
  text-align: center;
  padding-top: 8px;
}
.btn-submit {
  display: inline-block;
  background: #c88a2b;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s;
}
.btn-submit:hover {
  background: #b07a24;
  transform: translateY(-1px);
}
.course-details-box,
.bank-details-box {
  background: #fffdf7;
  border: 1px solid #f5d7ab;
  border-radius: 8px;
  padding: 14px 16px;
}
.cd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #f5d7ab;
  font-size: 13px;
}
.cd-row:last-child {
  border-bottom: none;
}
.cd-row span {
  color: #666;
}
.cd-row strong {
  color: #064e3b;
}
.cd-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 2px solid #c88a2b !important;
  border-bottom: none !important;
}
.cd-total strong {
  color: #c88a2b;
  font-size: 15px;
}
.payment-disclaimer {
  background: #fffdf7;
  border: 1px solid #f5d7ab;
  border-left: 4px solid #c88a2b;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}
.payment-disclaimer i {
  color: #c88a2b;
  margin-right: 6px;
}

/* Admission form responsive */
@media (max-width: 991px) {
  .form-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .admission-form-wrapper {
    padding: 20px 16px;
  }
  .form-grid-4,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .form-full {
    grid-column: auto;
  }
  .admission-form-title {
    font-size: 20px;
  }
}

/* ---- Page banner responsive ---- */
@media (max-width: 767px) {
  .page-banner {
    min-height: 200px !important;
    background-position: center center !important;
  }
  .page-banner-faq {
    min-height: 350px !important;
    background-position: center center !important;
  }
}
