/* Footer modern styles */
:root {
  --footer-bg: #0b1b2b;
  --footer-text: #f5f7fa;
  --footer-accent: #bea15a; /* gold */
  --brand-gold: #bea15a;
}
.site-footer { background: var(--footer-bg) !important; }
.site-footer .footer-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.2);
}
.site-footer .footer-link { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer .footer-link:hover { color: var(--footer-text); text-decoration: underline; }
.site-footer .footer-social { width: auto; height: auto; border-radius: 0; background: transparent; color: var(--footer-text); font-size: 1.25rem; }
.site-footer .footer-social:hover { color: #ffffff; }
.site-footer .footer-icon { color: var(--footer-text); font-size: 1.25rem; text-decoration: none; }
.site-footer .footer-icon:hover { color: #ffffff; text-decoration: none; }
.site-footer .footer-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .6rem; border-radius: .75rem; background: rgba(255,255,255,.1); color: var(--footer-text); font-size: .875rem; }
.footer-icon-lg { color: var(--footer-text); font-size: 1.6rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.footer-icon-lg:hover { color: #ffffff; }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-bottom: 1.5rem; }
.site-footer .footer-col { background: transparent; border: 0; padding: 0; }
@media (min-width: 992px) {
  .site-footer #footerAccordion > [class*="col-"] { border-left: 1px solid rgba(255,255,255,.12); padding-left: 1.5rem; }
  .site-footer #footerAccordion > [class*="col-"]:first-child { border-left: 0; padding-left: 0; }
}
.footer-toggle { width: 100%; text-align: left; background: transparent; border: 0; color: var(--footer-text); font-weight: 600; padding: 0; margin-bottom: .5rem; }
.footer-toggle:focus { outline: 2px dashed var(--footer-accent); outline-offset: 3px; }
/* Bootstrap variable overrides (light touch) */
:root {
  --bs-primary: #94001a; /* Brand crimson */
  --bs-primary-rgb: 148, 0, 26;
  --bs-secondary: #bea15a; /* Gold secondary */
  --bs-secondary-rgb: 190, 161, 90;
  --bs-info: #e7f0ff;
  --bs-info-rgb: 231, 240, 255;
  --bs-body-font-family: 'Inter', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

body {
  font-family: var(--bs-body-font-family);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: 'Poppins', var(--bs-body-font-family);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 1050;
}
.skip-link:focus {
  top: 0;
}

/* Header auto-hide on scroll */
.sticky-top.nav-hide {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

/* Section spacing tweaks */
.py-lg-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

/* Cards subtle hover */
.card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.08); }

/* Footer */
.border-white-10 {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Utility: visually-hidden but focusable (if ever needed) */
.sr-only-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Carousel controls contrast */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.6));
}

/* Hero carousel */
.hero-section { position: relative; }
.hero-slide {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 992px) { .hero-slide { min-height: 360px; } }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.45) 100%);
}
.hero-slide .container-xxl { display: flex; align-items: center; justify-content: center; height: 100%; }
.hero-slide .row { width: 100%; justify-content: center; }
.hero-content { position: relative; z-index: 1; padding: 1.5rem 0; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-content h2 { text-shadow: 0 2px 4px rgba(0,0,0,.4); font-size: 2rem; }
.hero-content p { text-shadow: 0 1px 2px rgba(0,0,0,.3); font-size: 1.1rem; }
@media (max-width: 991.98px) {
  .hero-content h2 { font-size: 1.75rem; }
  .hero-content p { font-size: 1rem; }
}

/* Buttons */
.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #7a0015;
  border-color: #7a0015;
}
.btn-outline-primary {
  color: var(--bs-primary);
  border-color: rgba(148,0,26,0.35);
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
/* reverted recent glow effect for cleaner hover */

/* Timeline/Process buttons */
#process .btn-outline-primary {
  background: #fff;
  border-width: 2px;
  border-color: rgba(148,0,26,0.25);
}
#process .btn-outline-primary:hover {
  background: #fff5f6;
  border-color: var(--bs-primary);
}

/* Header two-line structure */
.header-top { position: relative; z-index: 1030; padding-top: 1rem; padding-bottom: 1rem; }
.mini-nav-link { 
  color: #333; 
  text-decoration: none; 
  font-size: .875rem; 
  font-weight: 500;
  padding: .5rem 1rem; 
  border-radius: .5rem; 
  background: rgba(190,161,90,.15);
  border: 1px solid rgba(190,161,90,.3);
  transition: all .2s ease; 
}
.mini-nav-link:hover { 
  color: #fff; 
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  box-shadow: 0 .25rem .5rem rgba(190,161,90,.25);
}

/* Unified search box */
.search-unified { 
  border-radius: .65rem; 
  overflow: hidden; 
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 .25rem .5rem rgba(0,0,0,.06);
}
.search-unified .search-dropdown { 
  max-width: 140px; 
  border: 0; 
  border-right: 1px solid rgba(0,0,0,.1); 
  border-radius: 0;
  padding: .75rem 2rem .75rem 1rem;
}
.search-unified .search-input { 
  border: 0; 
  min-width: 280px;
  padding: .75rem 1rem;
}
.search-unified .search-input:focus { box-shadow: none; }
.search-unified .search-btn { 
  border: 0; 
  border-radius: 0;
  padding: .75rem 1.25rem;
}

/* Main navbar (second line) */
#mainNavbar { position: relative; z-index: 1020; transition: all .3s ease; }
#mainNavbar.sticky-nav { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 .25rem .75rem rgba(0,0,0,.08); }
#mainNavbar.sticky-nav #stickyLogo { display: flex !important; }
#mainNavbar .nav-link { 
  color: #333;
  font-weight: 600;
  font-size: .9rem;
  padding: .5rem 1rem; 
  border-radius: .5rem;
  background: transparent;
  border: 1px solid transparent;
  transition: all .2s ease;
  margin: 0 .25rem;
  letter-spacing: .01em;
}
#mainNavbar .nav-link:hover,
#mainNavbar .nav-link:focus { 
  color: #fff;
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  box-shadow: 0 .25rem .5rem rgba(190,161,90,.25);
}
#mainNavbar .nav-link.active { 
  color: #fff;
  background: var(--brand-gold);
  border-color: var(--brand-gold);
}
#mainNavbar .dropdown-menu { border-radius: .5rem; box-shadow: 0 .75rem 1.5rem rgba(0,0,0,0.08); }

/* Dropdown on hover */
#mainNavbar .dropdown:hover > .dropdown-menu { display: block; }
#mainNavbar .dropdown > .dropdown-menu { margin-top: 0; }

/* Newsletter input focus */
.newsletter .form-control:focus {
  box-shadow: 0 0 0 .25rem rgba(148,0,26,.15);
  border-color: rgba(148,0,26,.4);
}

/* Footer contrast */
footer.bg-dark {
  background: #151922 !important;
}

/* Footer grand design */
.footer-grand { position: relative; }
.footer-brand .footer-logo-wrap {
  width: 108px; height: 108px; border-radius: 24px; overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.2);
}
.footer-brand .footer-logo { width: 96px; height: 96px; object-fit: cover; border-radius: 16px; }
.footer-brand .footer-logo-text { font-weight: 700; letter-spacing: .3px; opacity: .9; }
.footer-link { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-link:hover { color: var(--brand-gold); text-decoration: underline; }
.footer-social { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: #fff; font-size: 1.15rem; transition: transform .2s ease, background .2s ease; }
.footer-social:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); }

/* Section alternation */
.section-alt { background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%); }
.
/* Section divider */
.section-divider { position: relative; }
.section-divider::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148,0,26,0.25), transparent);
}

/* Stats icons */
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(148,0,26,0.1);
  color: var(--bs-primary);
  font-size: 1.1rem;
}

/* About section enhancements */
.about-card {
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff, #fff) padding-box,
              linear-gradient(135deg, rgba(190,161,90,0.35), rgba(148,0,26,0.25)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,0.06);
}
.about-badge {
  display: inline-flex; gap: .5rem; align-items: center;
  padding: .4rem .75rem; background: rgba(190,161,90,0.15);
  color: var(--brand-gold); border-radius: 999px; font-weight: 600;
  border: 1px solid rgba(190,161,90,0.35);
}
.about-image img { object-fit: cover; width: 100%; height: auto; }

.stat-card { padding: .5rem 0; }
.stat-icon {
  background: rgba(190,161,90,0.15);
  color: var(--brand-gold);
  border: 1px solid rgba(190,161,90,0.3);
}
.counter { letter-spacing: .5px; color: var(--bs-primary); }
.counter::after { content: '+'; margin-left: 2px; color: var(--brand-gold); font-weight: 600; }

.mini-link { display: inline-flex; align-items: center; padding: .5rem .75rem; border-radius: .5rem; background: #fff; border: 1px solid rgba(0,0,0,0.06); }
.mini-link:hover { background: #fff5f6; border-color: rgba(148,0,26,0.25); text-decoration: none; }

/* removed legacy why-card/why-icon styles */

/* Why Choose — Concept B */
.why-alt-card {
  display: flex; flex-direction: column; justify-content: space-between;
  border-radius: .9rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,0.04);
  padding: 1.25rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.why-alt-card:hover { transform: translateY(-4px); box-shadow: 0 .75rem 1.5rem rgba(0,0,0,0.08); border-color: rgba(148,0,26,0.25); }
.why-alt-top { margin-bottom: .75rem; }
.why-alt-badge { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: .75rem; background: rgba(190,161,90,0.15); color: var(--brand-gold); margin-bottom: .5rem; }
.why-alt-meta { font-size: .875rem; color: #6b7280; display: inline-flex; align-items: center; gap: .35rem; }

/* Process flow arrows */
/* Process stepper redesign */
/* Vertical timeline - compact */
.timeline-plain { position: relative; list-style: none; padding: .25rem 0 0; margin: 0; }
.timeline-plain::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: rgba(148,0,26,.2); }
.timeline-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: .75rem 0; }
.timeline-item .timeline-point { position: absolute; left: 50%; top: 24px; transform: translate(-50%, -50%); width: 10px; height: 10px; border-radius: 50%; background: var(--bs-primary); box-shadow: 0 0 0 5px rgba(148,0,26,.12), 0 0 0 9px rgba(148,0,26,.06); }
.timeline-item::after { content: ""; position: absolute; left: 50%; top: calc(100% - 2px); transform: translateX(-50%); width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid rgba(148,0,26,.2); }
.timeline-item:last-child::after { display: none; }
.timeline-item .timeline-body { padding: .75rem 1rem; background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: .75rem; box-shadow: 0 .5rem 1rem rgba(0,0,0,.05); }
.timeline-item .timeline-body h3 { font-weight: 700; margin-bottom: .25rem; font-size: .95rem; }
/* .timeline-item .timeline-body p { color: #5b6573; font-size: .95rem; } */
.timeline-item:nth-child(odd) .timeline-body { grid-column: 1; justify-self: end; max-width: 90%; }
.timeline-item:nth-child(even) .timeline-body { grid-column: 2; justify-self: start; max-width: 90%; }
@media (max-width: 991.98px) {
  .timeline-plain::before { left: 20px; transform: none; background: rgba(148,0,26,.25); }
  .timeline-item { grid-template-columns: 1fr; padding-left: 48px; }
  .timeline-item .timeline-point { left: 20px; top: 24px; transform: translate(0, -50%); box-shadow: 0 0 0 5px rgba(148,0,26,.15), 0 0 0 9px rgba(148,0,26,.08); }
  .timeline-item .timeline-body { grid-column: 1; justify-self: start; max-width: 100%; }
  .timeline-item::after { left: 20px; transform: none; }
}

/* Reveal animation */
.reveal-on-scroll { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: none; }

/* Cards to differentiate Process and FAQ */
.process-card-wrap { border: 1px solid rgba(0,0,0,.06); border-radius: 1rem; box-shadow: 0 .5rem 1rem rgba(0,0,0,.05); background: #fff; }
.process-card-wrap { position: relative; overflow: visible; background: #fff; }
.process-card-wrap::before { content: none; }
.process-card-wrap > * { position: relative; z-index: auto; }
.process-card-wrap h2 { color: inherit; text-shadow: none; }
.process-card-wrap p { color: #6b7280; text-shadow: none; }
.faq-card {
  position: relative;
  border-radius: 1rem;
  color: #fff;
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.06);
  border: 1px solid rgba(255,255,255,.2);
  overflow: hidden;
}
.faq-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.55)), url('https://images.unsplash.com/photo-1519681393784-d120267933ba?q=80&w=1600&auto=format&fit=crop');
  background-size: cover; background-position: center; background-repeat: no-repeat;
  filter: saturate(1.05);
}
.faq-card > * { position: relative; z-index: 1; }
.faq-card #faqTitle { display: block; width: 100%; color: #fff; }
.faq-card small { color: rgba(255,255,255,.9) !important; }
.faq-card .accordion-item { background: #fff; border-color: rgba(0,0,0,.06); }
.faq-card .accordion-button { background: #fff; color: #212529; }
.faq-card .accordion-button:not(.collapsed) { background: rgba(148,0,26,0.08); color: #212529; }

/* Optional white variant (apply class 'white' to .faq-card if desired) */
.faq-card.white { background: #fff; color: inherit; border-color: rgba(0,0,0,.06); }
.faq-card.white #faqTitle { color: inherit; }
.faq-card.white small { color: #6c757d !important; }

/* removed publications icon carousel styles */

/* FAQ pro styles */
.faq-pro .accordion-item { border-radius: .75rem; overflow: hidden; border: 1px solid rgba(0,0,0,0.06); margin-bottom: .5rem; }
.faq-pro .accordion-button { font-weight: 600; }
.faq-pro .accordion-button::after { filter: invert(18%) sepia(71%) saturate(3552%) hue-rotate(336deg) brightness(90%) contrast(99%); }
/* Active accordion state with brand-friendly background (not blue) */
.faq-pro .accordion-button:not(.collapsed) {
  color: #222;
  background-color: rgba(148,0,26,0.08);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.06);
}
.faq-pro .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(148,0,26,.2); border-color: rgba(148,0,26,.35); }

/* International polish: subtle max widths and spacing harmony */
.container-xxl { max-width: 1320px; }
section { scroll-margin-top: 80px; }

/* Relaxed horizontal spacing for international layout */
.container-xxl { padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 768px) {
  .container-xxl { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1200px) {
  .container-xxl { padding-left: 3rem; padding-right: 3rem; }
}
/* Wider gutters on larger screens for more whitespace between columns */
@media (min-width: 992px) {
  .row { --bs-gutter-x: 2rem; }
}

/* removed packages card styles */

/* Removed services section styles */

/* Author carousel section */
.author-row { min-height: 200px; padding: 1rem 0; }
.author-card { padding: .75rem; transition: transform .2s ease; }
.author-card:hover { transform: scale(1.05); }
.author-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand-gold); box-shadow: 0 .5rem 1rem rgba(0,0,0,.08); display: block; margin-left: auto; margin-right: auto; }

/* Featured Books section */
.book-card {
  border-radius: .75rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 .35rem .75rem rgba(0,0,0,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.book-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
  border-color: rgba(190,161,90,.5);
}
.book-cover {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
  height: 200px;
}
.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.book-card:hover .book-cover img { transform: scale(1.05); }
.book-info { padding: .75rem; }
.book-info h3 { font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.book-info p { line-height: 1.3; font-size: .8rem; margin-bottom: .5rem; }
.book-info .btn { font-size: .75rem; padding: .3rem .6rem; }

/* Package Cards */
.package-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.12);
  border-color: rgba(190,161,90,.5);
}
.package-featured {
  border-color: var(--brand-gold);
  border-width: 2px;
  box-shadow: 0 .75rem 1.5rem rgba(190,161,90,.2);
}
.package-featured:hover {
  box-shadow: 0 1.25rem 2.5rem rgba(190,161,90,.3);
}
.package-ultimate {
  border-color: var(--bs-primary);
  border-width: 2px;
  box-shadow: 0 .75rem 1.5rem rgba(148,0,26,.15);
}
.package-ultimate:hover {
  box-shadow: 0 1.25rem 2.5rem rgba(148,0,26,.25);
}
.package-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--brand-gold);
  color: #fff;
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  z-index: 10;
  box-shadow: 0 .25rem .5rem rgba(0,0,0,.15);
}
.package-ultimate .package-badge {
  background: var(--bs-primary);
}
.package-header {
  background: linear-gradient(135deg, rgba(148,0,26,.05), rgba(190,161,90,.05));
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: relative;
}
.package-featured .package-header {
  background: linear-gradient(135deg, rgba(190,161,90,.1), rgba(148,0,26,.05));
}
.package-ultimate .package-header {
  background: linear-gradient(135deg, rgba(148,0,26,.1), rgba(190,161,90,.05));
}
.package-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-primary);
  margin-bottom: .75rem;
}
.package-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .25rem;
}
.package-price .currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bs-primary);
}
.package-price .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bs-primary);
  line-height: 1;
}
.package-body {
  padding: 1.25rem;
  flex: 1;
}
.package-section {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.package-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.package-section-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--bs-primary);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
}
.package-section-title i {
  color: var(--brand-gold);
}
.package-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.package-features li {
  display: flex;
  align-items: flex-start;
  font-size: .85rem;
  line-height: 1.5;
  margin-bottom: .5rem;
  color: #495057;
}
.package-features li:last-child {
  margin-bottom: 0;
}
.package-features li i {
  flex-shrink: 0;
  margin-top: .15rem;
}
.package-features li i.fa-times {
  color: #dc3545;
  opacity: 0.6;
}
.package-features li:has(i.fa-times) {
  color: #6c757d;
  text-decoration: line-through;
  opacity: 0.7;
}
.package-footer {
  padding: 1.25rem;
  border-top: 1px solid rgba(0,0,0,.06);
  background: rgba(0,0,0,.02);
}
.package-footer .btn {
  font-weight: 600;
  padding: .75rem;
}

/* Contact Section Styles */
.contact-section {
  background: #fff;
}

/* Contact Info Cards */
.contact-info-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.1);
}
.contact-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(190,161,90,.15);
  color: var(--brand-gold);
  border-radius: 50%;
  font-size: 1.5rem;
}
.contact-link {
  color: var(--bs-primary);
  text-decoration: none;
  transition: color .2s ease;
}
.contact-link:hover {
  color: var(--brand-gold);
  text-decoration: underline;
}
.team-mini-card {
  padding: .75rem;
  background: rgba(0,0,0,.02);
  border-radius: .5rem;
  border-left: 3px solid var(--brand-gold);
}

/* Contact Form Card */
.contact-form-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.06);
}
.contact-form-card .form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: .5rem;
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 .25rem rgba(190,161,90,.25);
}

/* File Upload Progress */
.file-upload-progress {
  margin-top: .5rem;
}
.file-upload-progress .progress-bar {
  background-color: var(--brand-gold);
  transition: width .3s ease;
}

/* Contact Map Card */
.contact-map-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.map-container {
  flex: 1;
  border-radius: .5rem;
  overflow: hidden;
  background: #f8f9fa;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* FAQ Card */
.contact-faq-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.06);
}
.contact-faq-card .accordion-button {
  font-weight: 600;
  color: var(--bs-primary);
}
.contact-faq-card .accordion-button:not(.collapsed) {
  background: rgba(190,161,90,.1);
  color: var(--bs-primary);
}
.contact-faq-card .accordion-button::after {
  filter: invert(18%) sepia(71%) saturate(3552%) hue-rotate(336deg) brightness(90%) contrast(99%);
}

/* Guidance Card */
.contact-guidance-card {
  background: linear-gradient(135deg, rgba(190,161,90,.05), rgba(148,0,26,.05));
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.06);
}
.guidance-item {
  text-align: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: .75rem;
  border: 1px solid rgba(0,0,0,.06);
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.guidance-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}
.guidance-item i {
  font-size: 2rem;
  color: var(--brand-gold);
  margin-bottom: .75rem;
}
.guidance-item h4 {
  color: var(--bs-primary);
  margin-bottom: .5rem;
}

/* Social Card */
.contact-social-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.06);
}
.contact-social-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(190,161,90,.15);
  color: var(--brand-gold);
  border-radius: 50%;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all .2s ease;
}
.contact-social-icon:hover {
  background: var(--brand-gold);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 .5rem 1rem rgba(190,161,90,.3);
}

/* Mobile Quick Action Bar */
.mobile-quick-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 2px solid var(--brand-gold);
  box-shadow: 0 -4px 12px rgba(0,0,0,.15);
  z-index: 1000;
  padding: .75rem 0;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.mobile-quick-bar.show {
  transform: translateY(0);
}
.mobile-quick-bar .container-fluid {
  position: relative;
}
.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .5rem;
  color: var(--bs-primary);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 600;
  border: none;
  background: transparent;
  transition: color .2s ease;
  min-width: 60px;
}
.quick-action-btn:hover,
.quick-action-btn:focus {
  color: var(--brand-gold);
}
.quick-action-btn i {
  font-size: 1.25rem;
}
.quick-bar-close {
  position: absolute;
  top: -2.5rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-primary);
  color: #fff;
  border: none;
  border-radius: 50% 50% 0 0;
  font-size: .875rem;
  cursor: pointer;
  transition: background .2s ease;
}
.quick-bar-close:hover {
  background: var(--brand-gold);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .contact-info-card,
  .contact-form-card,
  .contact-map-card,
  .contact-faq-card,
  .contact-guidance-card,
  .contact-social-card {
    margin-bottom: 1.5rem;
  }
  .map-container iframe {
    min-height: 300px;
  }
}
@media (max-width: 575.98px) {
  .contact-info-card,
  .contact-form-card {
    padding: 1.5rem;
  }
  .guidance-item {
    margin-bottom: 1rem;
  }
}

/* ===== AUTHORS SEARCH & FILTER SECTION ===== */
.authors-search-filter-section {
  position: relative;
  z-index: 10;
}

.authors-search-filter-form .input-group {
  border-radius: 0.375rem;
}

.authors-search-filter-form .input-group-text {
  border-right: none;
  background: white;
  color: #6c757d;
  padding: 0.5rem 0.75rem;
}

.authors-search-filter-form .form-control {
  border-left: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.authors-search-filter-form .form-control:focus {
  border-left: none;
  box-shadow: none;
}

.authors-search-filter-form .form-control:focus + .input-group-text,
.authors-search-filter-form .input-group:focus-within .input-group-text {
  border-color: var(--bs-primary);
}

.authors-search-filter-form .form-control::placeholder {
  color: #adb5bd;
  font-size: 0.875rem;
}

.authors-search-filter-form .form-select-sm {
  font-size: 0.875rem;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid #dee2e6;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.authors-search-filter-form .form-select-sm:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.15);
}

.authors-search-filter-form .btn-link {
  text-decoration: none;
  font-size: 0.875rem;
}

.authors-search-filter-form .btn-link:hover {
  text-decoration: underline;
  color: var(--bs-primary) !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .authors-search-filter-section {
    padding: 1rem 0 !important;
  }
}

@media (max-width: 767.98px) {
  .authors-search-filter-form .form-control,
  .authors-search-filter-form .form-select-sm {
    font-size: 0.8125rem;
    padding: 0.5rem;
  }
  
  .authors-search-filter-form .input-group-text {
    padding: 0.5rem;
  }
}

/* ===== AUTHORS LISTING SECTION ===== */
.authors-listing-section {
  background: #f8f9fa;
}

/* Results Count */
#authorsCount {
  font-size: 0.875rem;
}

/* Author Card */
.author-card {
  background: white;
  border-radius: 0.375rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  max-width: 320px;
  margin: 0 auto;
}

.author-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-color: var(--bs-secondary);
}

.author-card:hover .author-photo-wrapper {
  border-bottom-color: var(--bs-primary);
}

.author-card:hover .author-photo {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.author-photo-wrapper {
  width: 100%;
  padding-top: 90%; /* Slightly less than square for compact look */
  margin: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid var(--bs-secondary);
}

.author-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.author-card-body {
  padding: 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  line-height: 1.3;
}

.author-name a {
  color: #212529;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.author-name a:hover {
  color: var(--bs-primary);
  text-decoration: none;
}

.author-bio {
  font-size: 0.75rem;
  color: #6c757d;
  line-height: 1.4;
  margin-bottom: 0.625rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Book Highlight Card */
.book-highlight-card {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  background: white;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.book-highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--bs-secondary);
  transition: width 0.3s ease;
}

.book-highlight-card:hover {
  box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.15);
  transform: translateY(-2px);
}

.book-highlight-card:hover::before {
  width: 100%;
  opacity: 0.05;
}

.book-thumbnail {
  flex-shrink: 0;
  width: 50px;
  height: 70px;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #f8f9fa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.book-highlight-card:hover .book-thumbnail {
  box-shadow: 0 4px 10px rgba(var(--bs-primary-rgb), 0.2);
  transform: scale(1.05);
}

.book-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.book-highlight-card:hover .book-thumbnail img {
  transform: scale(1.1);
}

.book-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.book-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.book-highlight-card:hover .book-tag {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.book-tag-latest {
  background: linear-gradient(135deg, var(--bs-primary) 0%, rgba(var(--bs-primary-rgb), 0.9) 100%);
  color: white;
}

.book-tag-popular {
  background: linear-gradient(135deg, var(--bs-secondary) 0%, rgba(var(--bs-secondary-rgb), 0.9) 100%);
  color: #212529;
}

.book-title {
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  color: #212529;
}

.book-title a {
  color: #212529;
  text-decoration: none;
  transition: all 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}

.book-title a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bs-primary);
  transition: width 0.3s ease;
}

.book-title a:hover {
  color: var(--bs-primary);
  text-decoration: none;
}

.book-title a:hover::after {
  width: 100%;
}

/* Author CTAs */
.author-ctas {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
  flex-wrap: wrap;
}

.author-ctas .btn {
  flex: 1;
  min-width: 0;
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
  font-weight: 600;
  border-width: 2px;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.author-ctas .btn i {
  font-size: 0.8125rem;
  transition: transform 0.3s ease;
}

.author-ctas .btn:hover i {
  transform: translateX(2px);
}

/* View Books Button - Secondary/Outline */
.author-ctas .btn-outline-primary {
  border-color: var(--bs-secondary);
  color: var(--bs-secondary);
  background: transparent;
  position: relative;
}

.author-ctas .btn-outline-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--bs-secondary-rgb), 0.1), transparent);
  transition: left 0.5s ease;
}

.author-ctas .btn-outline-primary:hover {
  background: var(--bs-secondary);
  border-color: var(--bs-secondary);
  color: #212529;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(var(--bs-secondary-rgb), 0.3);
}

.author-ctas .btn-outline-primary:hover::before {
  left: 100%;
}

/* View Profile Button - Primary */
.author-ctas .btn-primary {
  background: linear-gradient(135deg, var(--bs-primary) 0%, rgba(var(--bs-primary-rgb), 0.9) 100%);
  border-color: var(--bs-primary);
  color: white;
  box-shadow: 0 2px 6px rgba(var(--bs-primary-rgb), 0.3);
}

.author-ctas .btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.author-ctas .btn-primary:hover {
  background: linear-gradient(135deg, var(--bs-primary) 0%, rgba(var(--bs-primary-rgb), 1) 100%);
  border-color: var(--bs-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.4);
}

.author-ctas .btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

.author-ctas .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(var(--bs-primary-rgb), 0.3);
}

/* Social Links */
.author-social-links {
  display: flex;
  gap: 0.375rem;
  justify-content: center;
  padding-top: 0.5rem;
  border-top: 1.5px solid rgba(var(--bs-secondary-rgb), 0.2);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(var(--bs-secondary-rgb), 0.1);
  color: var(--bs-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.75rem;
  border: 1px solid rgba(var(--bs-secondary-rgb), 0.2);
}

.social-link:hover {
  background: var(--bs-secondary);
  color: #212529;
  border-color: var(--bs-secondary);
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(var(--bs-secondary-rgb), 0.3);
}

/* Pagination */
.authors-pagination-wrapper {
  padding: 1.5rem 0;
}

#authorsPagination {
  gap: 0.5rem;
}

#authorsPagination .page-item {
  margin: 0;
}

#authorsPagination .page-link {
  color: #495057;
  background-color: white;
  border: 2px solid #e9ecef;
  padding: 0.625rem 1rem;
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

#authorsPagination .page-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--bs-primary-rgb), 0.1), transparent);
  transition: left 0.5s ease;
}

#authorsPagination .page-link:hover {
  color: var(--bs-primary);
  background-color: #f8f9fa;
  border-color: var(--bs-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(var(--bs-primary-rgb), 0.15);
}

#authorsPagination .page-link:hover::before {
  left: 100%;
}

#authorsPagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--bs-primary) 0%, rgba(var(--bs-primary-rgb), 0.9) 100%);
  border-color: var(--bs-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
  transform: scale(1.05);
  z-index: 1;
}

#authorsPagination .page-item.active .page-link::before {
  display: none;
}

#authorsPagination .page-item.active .page-link:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 16px rgba(var(--bs-primary-rgb), 0.4);
}

/* Navigation buttons (Previous/Next) */
#authorsPagination .page-link-nav {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-color: #dee2e6;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  min-width: auto;
}

#authorsPagination .page-link-nav:hover {
  background: linear-gradient(135deg, var(--bs-secondary) 0%, rgba(var(--bs-secondary-rgb), 0.9) 100%);
  border-color: var(--bs-secondary);
  color: #212529;
  box-shadow: 0 4px 8px rgba(var(--bs-secondary-rgb), 0.3);
}

#authorsPagination .page-link-nav i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

#authorsPagination .page-link-nav:hover i {
  transform: translateX(2px);
}

#authorsPagination .page-link-nav:first-child:hover i {
  transform: translateX(-2px);
}

#authorsPagination .page-item.disabled .page-link {
  color: #adb5bd;
  background-color: #f8f9fa;
  border-color: #e9ecef;
  cursor: not-allowed;
  opacity: 0.6;
}

#authorsPagination .page-item.disabled .page-link:hover {
  transform: none;
  box-shadow: none;
  border-color: #e9ecef;
  background-color: #f8f9fa;
}

/* Responsive pagination */
@media (max-width: 575.98px) {
  .authors-pagination-wrapper {
    padding: 1rem 0;
  }
  
  #authorsPagination {
    gap: 0.375rem;
    flex-wrap: wrap;
  }
  
  #authorsPagination .page-link {
    padding: 0.5rem 0.75rem;
    min-width: 38px;
    height: 38px;
    font-size: 0.8125rem;
  }
  
  #authorsPagination .page-link-nav {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
  }
}

/* Responsive adjustments for author cards */
@media (max-width: 1199.98px) {
  .author-card {
    max-width: 100%;
  }
  
  .author-photo-wrapper {
    padding-top: 90%; /* Keep compact ratio */
  }
  
  .author-card-body {
    padding: 0.625rem;
  }
  
  .author-name {
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
  }
  
  .author-bio {
    font-size: 0.6875rem;
    margin-bottom: 0.5rem;
  }
  
  .book-highlight-card {
    padding: 0.4rem;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
  }
  
  .book-thumbnail {
    width: 40px;
    height: 55px;
  }
  
  .book-title {
    font-size: 0.6875rem;
  }
  
  .author-ctas {
    margin-bottom: 0.5rem;
    gap: 0.4rem;
  }
  
  .author-ctas .btn {
    font-size: 0.6875rem;
    padding: 0.4rem 0.6rem;
  }
  
  .author-ctas .btn i {
    font-size: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  .authors-listing-section {
    padding: 2rem 0 !important;
  }
  
  .author-photo-wrapper {
    padding-top: 90%;
    border-bottom-width: 2px;
  }
  
  .author-card-body {
    padding: 0.625rem;
  }
  
  .author-name {
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
  }
  
  .author-bio {
    font-size: 0.6875rem;
    margin-bottom: 0.5rem;
  }
  
  .book-highlight-card {
    padding: 0.4rem;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
  }
  
  .book-thumbnail {
    width: 40px;
    height: 55px;
  }
  
  .book-title {
    font-size: 0.6875rem;
  }
  
  .author-ctas {
    margin-bottom: 0.5rem;
    gap: 0.4rem;
  }
  
  .author-ctas .btn {
    font-size: 0.6875rem;
    padding: 0.4rem 0.6rem;
  }
  
  .author-ctas .btn i {
    font-size: 0.75rem;
  }
  
  .author-social-links {
    padding-top: 0.4rem;
    gap: 0.3rem;
  }
  
  .social-link {
    width: 24px;
    height: 24px;
    font-size: 0.6875rem;
  }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  position: relative;
}

.testimonial-card {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--bs-secondary);
}

.testimonial-content {
  flex: 1;
  margin-bottom: 1.5rem;
}

.quote-icon {
  color: var(--bs-secondary);
  font-size: 2rem;
  opacity: 0.3;
  line-height: 1;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #495057;
  margin: 0;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 2px solid #f8f9fa;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bs-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.author-details {
  flex: 1;
}

.author-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

/* Carousel Customization */
#testimonialsCarousel {
  position: relative;
  padding: 0 3rem;
}

#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
  width: 50px;
  height: 50px;
  background: var(--bs-primary);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: all 0.3s ease;
}

#testimonialsCarousel .carousel-control-prev {
  left: -25px;
}

#testimonialsCarousel .carousel-control-next {
  right: -25px;
}

#testimonialsCarousel .carousel-control-prev:hover,
#testimonialsCarousel .carousel-control-next:hover {
  background: var(--bs-secondary);
  transform: translateY(-50%) scale(1.1);
}

#testimonialsCarousel .carousel-control-prev-icon,
#testimonialsCarousel .carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

#testimonialsCarousel .carousel-indicators {
  margin-bottom: -2rem;
  position: relative;
}

#testimonialsCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #dee2e6;
  border: 2px solid white;
  opacity: 1;
  transition: all 0.3s ease;
}

#testimonialsCarousel .carousel-indicators button.active {
  background-color: var(--bs-primary);
  width: 32px;
  border-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  #testimonialsCarousel {
    padding: 0 2rem;
  }
  
  #testimonialsCarousel .carousel-control-prev {
    left: -15px;
  }
  
  #testimonialsCarousel .carousel-control-next {
    right: -15px;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-text {
    font-size: 0.9375rem;
  }
}

@media (max-width: 767.98px) {
  .testimonials-section {
    padding: 3rem 0 !important;
  }
  
  #testimonialsCarousel {
    padding: 0 1rem;
  }
  
  #testimonialsCarousel .carousel-control-prev,
  #testimonialsCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  
  #testimonialsCarousel .carousel-control-prev {
    left: -10px;
  }
  
  #testimonialsCarousel .carousel-control-next {
    right: -10px;
  }
  
  .testimonial-card {
    padding: 1.25rem;
  }
  
  .quote-icon {
    font-size: 1.5rem;
  }
  
  .testimonial-text {
    font-size: 0.875rem;
    line-height: 1.6;
  }
  
  .author-avatar {
    width: 50px;
    height: 50px;
  }
  
  .author-name {
    font-size: 1rem;
  }
  
  .author-title {
    font-size: 0.8125rem;
  }
  
  .testimonial-author {
    gap: 0.75rem;
    padding-top: 1rem;
  }
}

/* ===== PUBLISH CTA SECTION ===== */
.publish-cta-section {
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.08) 0%, rgba(var(--bs-secondary-rgb), 0.08) 100%);
  position: relative;
}

.publish-cta-card {
  background: linear-gradient(135deg, white 0%, #fafbfc 100%);
  border-radius: 0.75rem;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--bs-secondary);
  position: relative;
  transition: all 0.3s ease;
}

.publish-cta-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  border-left-color: var(--bs-primary);
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212529;
  line-height: 1.4;
  margin: 0;
}

.cta-description {
  font-size: 0.9375rem;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}

.cta-button {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  box-shadow: 0 3px 10px rgba(var(--bs-primary-rgb), 0.25);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--bs-primary-rgb), 0.35);
}

.cta-button i {
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .publish-cta-card {
    padding: 1.75rem;
  }
  
  .cta-title {
    font-size: 1.375rem;
    text-align: center;
  }
  
  .cta-description {
    font-size: 0.875rem;
    text-align: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 767.98px) {
  .publish-cta-section {
    padding: 2.5rem 0 !important;
  }
  
  .publish-cta-card {
    padding: 1.5rem;
    border-left-width: 3px;
  }
  
  .cta-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .cta-description {
    font-size: 0.8125rem;
    margin-bottom: 1rem;
  }
  
  .cta-button {
    font-size: 0.9375rem;
    padding: 0.625rem 1.75rem;
  }
}


/* ==================================================== */
/* Book Publication Premium Layout Styles */
/* ==================================================== */

/* Hero Section */
.hero-book-pub {
  background: linear-gradient(135deg, #ffffff 0%, #fcf4f6 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.hero-book-pub::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(190,161,90,0.05) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
}
.hero-book-pub > .container-xxl { position: relative; z-index: 1; }
.hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.15; color: #1a1f2c; letter-spacing: -0.02em; }
.hero-subtitle { font-size: 1.25rem; font-weight: 500; color: var(--bs-primary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.hero-desc { font-size: 1.2rem; color: #4a5568; line-height: 1.6; }

/* Premium Grid Cards */
.icon-card-premium {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
  z-index: 1;
}
.icon-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(190,161,90,0.3);
}
.icon-card-premium .card-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(148,0,26,0.1), rgba(190,161,90,0.1));
  color: var(--bs-primary);
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}
.icon-card-premium:hover .card-icon {
  background: var(--bs-primary);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}
.icon-card-premium h3 { font-size: 1.25rem; font-weight: 700; color: #1a1f2c; margin-bottom: 0.75rem; }
.icon-card-premium p { color: #64748b; font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* Glassmorphism Timeline */
.timeline-modern {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}
.timeline-modern::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%; width: 2px;
  background: linear-gradient(to bottom, rgba(190,161,90,0.1), var(--bs-primary), rgba(190,161,90,0.1));
  transform: translateX(-50%);
}
.timeline-step {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
  opacity: 0; transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.timeline-step.in-view { opacity: 1; transform: translateY(0); }
.timeline-content {
  width: 45%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
}
.timeline-step:nth-child(odd) .timeline-content { margin-right: auto; text-align: right; }
.timeline-step:nth-child(even) .timeline-content { margin-left: auto; text-align: left; }
.timeline-dot {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px;
  background: #ffffff;
  border: 3px solid var(--bs-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--bs-primary);
  box-shadow: 0 0 0 5px rgba(148,0,26,0.1);
  z-index: 2;
}
@media (max-width: 768px) {
  .timeline-modern::before { left: 30px; }
  .timeline-dot { left: 30px; }
  .timeline-content { width: calc(100% - 80px); margin-left: 80px !important; text-align: left !important; }
}

/* Feature Cards (Our Services) */
.feature-box {
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex; align-items: flex-start; gap: 1rem;
  transition: all 0.3s ease;
}
.feature-box:hover { background: #fcf4f6; border-color: rgba(148,0,26,0.2); }
.feature-box i { font-size: 1.5rem; color: var(--bs-primary); margin-top: 0.25rem; }
.feature-box h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; color: #1a1f2c; }
.feature-box p { font-size: 0.9rem; color: #64748b; margin: 0; }

/* Checklist Grid */
.checklist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.checklist-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.04);
  font-weight: 500; color: #334155;
  transition: transform 0.2s;
}
.checklist-item:hover { transform: translateX(5px); }
.checklist-item i { color: #10b981; font-size: 1.2rem; }

/* Pricing Cards */
.pricing-card {
  background: #fff; border-radius: 1.5rem; padding: 2.5rem;
  border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  position: relative; overflow: hidden; height: 100%; transition: all 0.3s ease;
}
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.pricing-card.popular { border: 2px solid var(--bs-primary); }
.pricing-badge {
  position: absolute; top: 1.5rem; right: -2rem; background: var(--bs-primary); color: #fff;
  padding: 0.25rem 3rem; transform: rotate(45deg); font-size: 0.8rem; font-weight: 700; letter-spacing: 1px;
}
.pricing-price { font-size: 2.5rem; font-weight: 800; color: #1a1f2c; margin: 1rem 0; }
.pricing-list { list-style: none; padding: 0; margin: 2rem 0; }
.pricing-list li { margin-bottom: 1rem; color: #4a5568; display: flex; align-items: center; gap: 0.75rem; }
.pricing-list li i { color: #10b981; }

/* Split Stats Section */
.stats-split-bg { background: linear-gradient(135deg, #0b1b2b 0%, #152940 100%); color: #fff; border-radius: 1.5rem; overflow: hidden; }
.stat-box { text-align: center; padding: 2rem; background: rgba(255,255,255,0.05); border-radius: 1rem; border: 1px solid rgba(255,255,255,0.1); }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--brand-gold); margin-bottom: 0.5rem; }

/* Testimonials Carousel Modern */
.testimonial-card {
  background: #fff; border-radius: 1.5rem; padding: 2.5rem; margin: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}
.testi-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand-gold); margin: 0 auto 1rem; }
.testi-rating { color: #fbbf24; margin-bottom: 1rem; font-size: 1.1rem; }
.testi-text { font-size: 1.1rem; font-style: italic; color: #4a5568; line-height: 1.6; margin-bottom: 1.5rem; }
.testi-name { font-weight: 700; color: #1a1f2c; margin: 0; }
.testi-book { color: var(--bs-primary); font-size: 0.9rem; }

/* CTA Gradient Section */
.cta-gradient { background: linear-gradient(135deg, var(--bs-primary) 0%, #d4223f 100%); color: #fff; border-radius: 1.5rem; padding: 4rem 2rem; text-align: center; position: relative; overflow: hidden; }
.cta-gradient::before, .cta-gradient::after {
  content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.1);
}
.cta-gradient::before { width: 300px; height: 300px; top: -100px; left: -100px; }
.cta-gradient::after { width: 200px; height: 200px; bottom: -50px; right: -50px; }
