/* Kindle Direct Publishing Ã¢â‚¬â€ Redesign Core System */

:root {
  --kdp-orange: #FF9900;
  --kdp-orange-dark: #E68600;
  --kdp-orange-light: #FFB84D;
  --kdp-black: #000000;
  --kdp-dark: #131921;
  --kdp-charcoal: #232F3E;
  --kdp-gray-900: #1D1D1F;
  --kdp-gray-700: #37475A;
  --kdp-gray-500: #6C757D;
  --kdp-gray-300: #D5D9D9;
  --kdp-gray-100: #F7F8FA;
  --kdp-white: #FFFFFF;
  --kdp-success: #067D62;
  --kdp-legacy-blue: #40BEE2;

  --primary: var(--kdp-orange);
  --primary-dark: var(--kdp-orange-dark);
  --primary-light: var(--kdp-orange-light);
  --heading: var(--kdp-gray-900);
  --body: var(--kdp-gray-700);
  --surface: var(--kdp-white);
  --surface-soft: var(--kdp-gray-100);
  --border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-primary,
.font-sans {
  font-family: var(--font-display);
  color: var(--heading);
  letter-spacing: -0.02em;
}

p,
li,
.font-secondary {
  font-family: var(--font-body);
  color: var(--body);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

section {
  position: relative;
}

.mr-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width:1536px) {
  .mr-container {
    max-width: 1380px;
  }
}

/* Color overrides */
.bg-primary-100 {
  background-color: var(--primary) !important;
}

.text-primary-100 {
  color: var(--primary) !important;
}

.border-primary-100 {
  border-color: var(--primary) !important;
}

.text-secondary-100,
.text-secondary-200,
.text-black {
  color: var(--kdp-gray-900) !important;
}

.bg-secondary-100,
.bg-black {
  background-color: var(--kdp-black) !important;
}

.text-\#40BEE2,
.text-\[\#40BEE2\],
.text-\[\#e56400\] {
  color: var(--primary) !important;
}

.bg-\#40BEE2,
.bg-\[\#40BEE2\],
.bg-\[\#e56400\] {
  background-color: var(--primary) !important;
}

.border-\#40BEE2,
.border-\[\#40BEE2\] {
  border-color: var(--primary) !important;
}

/* Buttons */
.btn,
.side-btn-faom a,
.MRHeroForm_leadforms__xJrZk button,
.submit-button2,
a[class*="h-\[50px\]"] {
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

a[class*="h-\[50px\]"] {
  min-height: 50px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

a[class*="h-\[50px\]"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

a.bg-primary-100:hover,
a.hover\:bg-secondary-100:hover,
a.hover\:bg-white:hover,
.submit-button2:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 0.75rem 0;
  transition: var(--transition);
}

header.scrolled {
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
}

header .navbar {
  padding: 0;
}

header a.navbar-brand img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

header a.nav-link {
  color: var(--heading) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem !important;
  position: relative;
  border-radius: var(--radius-sm);
}

header a.nav-link::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

header a.nav-link:hover::after,
header a.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

header a.nav-link:hover {
  color: var(--primary) !important;
  background: rgba(255, 153, 0, 0.06);
}

header .dropdown-menu {
  width: max-content;
  padding: 1.25rem;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  margin-top: 0.75rem !important;
}

header .dropdown-menu a {
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem !important;
  color: var(--heading) !important;
  font-size: 0.9rem;
  transition: var(--transition);
}

header .dropdown-menu a:hover {
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.08), rgba(255, 153, 0, 0.02)) !important;
  color: var(--primary) !important;
}

.side-btn-faom a {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  padding: 0.55rem 1rem;
}

.side-btn-faom a:hover {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

/* Hero */
.index-banner {
  padding-top: 0 !important;
}

.index-banner .bg-no-repeat {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

h1.text-secondary-200 {
  color: var(--heading);
  line-height: 1.15;
  font-weight: 800;
}

.index-banner p {
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.75;
}

.index-banner img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

/* Section headings */
section h2 {
  color: var(--heading);
  font-weight: 800;
}

.text-center h2 {
  position: relative;
}

.text-center h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

/* Forms */
.MRHeroForm_leadforms__xJrZk {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
}

.MRHeroForm_leadforms__xJrZk input,
.MRHeroForm_leadforms__xJrZk textarea,
.form-field2 {
  border-radius: var(--radius-sm) !important;
  border: 1px solid transparent !important;
  padding: 0.85rem 1rem !important;
  font-size: 0.95rem !important;
  transition: var(--transition);
}

.MRHeroForm_leadforms__xJrZk input:focus,
.MRHeroForm_leadforms__xJrZk textarea:focus,
.form-field2:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.15);
}

.MRHeroForm_leadforms__xJrZk button,
.submit-button2 {
  background: var(--kdp-black) !important;
  color: #fff !important;
  padding: 0.75rem 1.5rem !important;
  width: 100% !important;
}

.MRHeroForm_leadforms__xJrZk button:hover,
.submit-button2:hover {
  background: var(--kdp-charcoal) !important;
}

/* Footer */
footer {
  background: var(--surface-soft) !important;
  padding: 4rem 0 2rem;
}

footer .items p:first-child {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 1rem;
}

footer ul li a {
  color: var(--body);
  font-size: 0.9rem;
  display: inline-block;
  padding: 0.25rem 0;
}

footer ul li a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.copyright {
  background: var(--kdp-dark) !important;
}

.copyright p,
.copyright a {
  color: rgba(255, 255, 255, 0.8);
}

.copyright a:hover {
  color: var(--primary);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface-soft);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Focus rings */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.35);
  border-radius: var(--radius-sm);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile sticky CTA */
@media (max-width: 991px) {
  header .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-top: 0.75rem;
  }

  header .dropdown-menu {
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--border);
  }

  .side-btn-faom {
    display: flex;
    margin-top: 0.75rem;
  }
}

@media (max-width: 767px) {
  .index-banner .bg-no-repeat {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  h1.text-secondary-200 {
    font-size: 1.75rem !important;
  }

  .side-btn-faom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.75rem 1rem;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1040;
  }

  .side-btn-faom a {
    width: 100%;
    justify-content: center;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (min-width: 1400px) {
  h1.text-secondary-200 {
    font-size: 3.25rem !important;
  }

  section h2 {
    font-size: 2.75rem !important;
  }
}

/* Print */
@media print {

  header,
  footer,
  .side-btn-faom,
  .MRHeroForm_leadforms__xJrZk {
    display: none !important;
  }
}

/* Fix broken bg url */
.bg-\[url\(\.\.\/images\/bg_black\.cd9c35ba\.png\;\)\] {
  background-image: none !important;
}

/* Fix top spacing */
.font-secondary.px-0.sm\:\!px-2.xs\:\!px-2.pt-3 {
  padding-top: 0 !important;
}

main.__className_7e430a.__variable_83d459 {
  padding-top: 0 !important;
}

/* Lazy loaded images */
.lazy-loaded {
  animation: fadeUp 0.5s ease;
}

/* Navbar toggler */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.25);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* Generic image hover */
a img {
  transition: var(--transition);
}

a:hover img {
  transform: scale(1.03);
}

/* Legacy title highlight */
.house,
span.house,
.bg-primary-100.house {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: var(--radius-sm);
}

/* Audience section */
.Audience_audienceFlod__ObogG {
  background: linear-gradient(135deg, var(--kdp-dark), var(--kdp-charcoal));
  padding: 5rem 0;
}

.Audience_audienceFlod__ObogG h2,
.Audience_audienceFlod__ObogG p {
  color: #fff;
}

.Audience_audienceFlod__ObogG h2 span {
  background: var(--primary) !important;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.75rem;
}

.Audience_audienceImg__xxMzT img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
  border-radius: var(--radius-lg);
}

/* Numbered list steps */
.col-span-2 span {
  color: var(--primary) !important;
  font-weight: 800;
}

.border-\[\#40BEE2\] {
  border-color: var(--primary) !important;
}

/* Process tagline pill */
.bg-white.text-black.rounded-r-\[50px\] {
  background: #fff !important;
  color: var(--heading) !important;
  border-radius: 0 var(--radius) var(--radius) 0 !important;
  box-shadow: var(--shadow);
}

/* List icon replacement */
.list-image-\[url\(\.\.\.\.\/public/listIcon\.webp\)\] li,
.list-image-\[url\(\.\.\/\.\.\/public/listIcon\.webp\)\] li {
  padding-left: 1.5rem;
  position: relative;
  list-style: none;
}

.list-image-\[url\(\.\.\.\.\/public/listIcon\.webp\)\] li::before,
.list-image-\[url\(\.\.\/\.\.\/public/listIcon\.webp\)\] li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Blog */
.blog-parent {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-parent:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* FAQ */
.accordion-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: var(--heading);
  background: #fff;
}

.accordion-button:not(.collapsed) {
  background: rgba(255, 153, 0, 0.05);
  color: var(--primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(255, 153, 0, 0.2);
}

/* Swiper arrows */
.swiper-button-next,
.swiper-button-prev {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50%;
  background: var(--primary);
  color: #fff !important;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem !important;
  font-weight: 700;
}

/* Alerts */
.alert-success {
  background: rgba(6, 125, 98, 0.08);
  color: var(--kdp-success);
  border-color: rgba(6, 125, 98, 0.15);
}

.alert-danger {
  background: rgba(220, 53, 69, 0.08);
  color: #a71d2a;
  border-color: rgba(220, 53, 69, 0.15);
}

/* Pagination / tabs */
.nav-pills .nav-link.active,
#pills-tab .nav-link.active {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}

#pills-tab .nav-link {
  border-radius: var(--radius-sm);
  border-color: var(--primary);
  color: var(--primary);
}

/* Tables */
table {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

th {
  background: var(--kdp-dark);
  color: #fff;
}

td {
  border-bottom: 1px solid var(--border);
}

tr:hover td {
  background: var(--surface-soft);
}

/* Contact cards */
.contact-info-card,
.contact-form-wrap,
.lead-form {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Genre / service cards */
.genre-card,
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
}

.genre-card:hover,
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 153, 0, 0.2);
}

/* Trust badges */
.trrus {
  display: flex;
  align-items: end;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.trrus a img {
  border-radius: var(--radius-sm);
  transition: var(--transition);
  width: 130px;
  object-fit: cover;
}

.trrus a img.wsaa {
  width: 86px;
}

.trrus a:hover img {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Section reveal helper classes */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

/* Fix footer banner overlay path */
.before\:bg-\[url\(\&\#x27\;\.\.\.\.\/public\/ahsan\/students-working-study-group\.png\&\#x27\;\)\]::before {
  opacity: 0.12 !important;
}

/* Disabled submit */
.submit-button2:disabled {
  background: var(--kdp-gray-300) !important;
  color: var(--kdp-gray-500) !important;
  cursor: not-allowed;
}

/* Final polish: links in content */
section a:not(.btn):not([class*="h-[50px]"]):hover {
  color: var(--primary);
}

/* Utility radius overrides */
.rounded-lg,
.rounded-xl,
.rounded-2xl {
  border-radius: var(--radius) !important;
}

.rounded-md,
.rounded-sm {
  border-radius: var(--radius-sm) !important;
}

.shadow-lg {
  box-shadow: var(--shadow) !important;
}

.shadow-xl {
  box-shadow: var(--shadow-lg) !important;
}

/* Increase section spacing globally */
.py,
section.py {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

section>div[class*="py-"],
section>div[class*="py-"] {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

@media (max-width: 767px) {

  .py,
  section.py {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

/* Page banner headings */
.page-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--heading);
}

.page-banner p {
  font-size: 1.1rem;
  color: var(--body);
  max-width: 700px;
}

/* Loader */
.loader img {
  border-radius: 50%;
}

/* Inline title bar */
.kdp-title-bar {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Ensure footer form uses full width */
.MRHeroForm_leadforms__xJrZk.relative {
  width: 100% !important;
}

/* Improve breadcrumb readability */
.breadcrumb {
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: var(--kdp-gray-500);
}

/* Consistent form field placeholder */
::placeholder {
  color: var(--kdp-gray-500);
  opacity: 0.8;
}

/* Hide broken before backgrounds that reference missing public files */
.before\:bg-\[url\(\&\#x27\.\.\.\&\#x27\;\)\]::before {
  display: none !important;
}

/* Hero image subtle float */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.index-banner .mr-md\:col-span-5.mr-lg\:col-span-6 img {
  animation: float 6s ease-in-out infinite;
}

/* Add subtle grain overlay to dark sections for premium feel */
.Audience_audienceFlod__ObogG::after,
.section-container11>div::after,
.Enlisted_enlistedSlideWhite__42HfP::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

.Audience_audienceFlod__ObogG,
.section-container11>div,
.Enlisted_enlistedSlideWhite__42HfP {
  position: relative;
}

/* Ensure text over dark backgrounds readable */
.text-white h2,
.text-white h3,
.text-white p,
.text-white span,
.text-white a,
.text-white li {
  color: #fff;
}

.text-white a[class*="h-[50px]"].bg-transparent {
  border-color: #fff;
  color: #fff !important;
}

.text-white a[class*="h-[50px]"].bg-transparent:hover {
  background: #fff !important;
  color: var(--kdp-black) !important;
}

/* CTA buttons on dark */
.section-container11 a[class*="h-[50px]"] {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Make slider images sharper */
.images-slider-img img {
  filter: grayscale(1) opacity(0.75);
  transition: var(--transition);
  max-height: 60px;
  object-fit: contain;
}

.images-slider-img img:hover {
  filter: grayscale(0) opacity(1);
}

/* Ensure service cta dark bg */
.services-cta>div,
[class*="serviceBG"]>div {
  background: linear-gradient(135deg, var(--kdp-charcoal), var(--kdp-dark));
}

/* Smooth reveal on scroll handled by JS class */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fix legacy process cards hover state */
.group:hover h3,
.group:hover p {
  color: inherit;
}

/* Remove awkward top banner height on mobile */
.pt-\[80px\] {
  padding-top: 80px;
}

@media (max-width: 767px) {
  .pt-\[80px\] {
    padding-top: 40px;
  }
}

/* Consistent card number badges */
[class*="rounded-"][class*="bg-\#40BEE2"] {
  background: var(--primary) !important;
}

/* Ensure all orange accents use new primary */
[style*="background-color: rgb(238 102 0)"],
[style*="background-color:#ee6600"],
[style*="background:#ee6600"] {
  background-color: var(--primary) !important;
}

[style*="color: rgb(238 102 0)"],
[style*="color:#ee6600"] {
  color: var(--primary) !important;
}

[style*="border-color: rgb(238 102 0)"],
[style*="border-color:#ee6600"] {
  border-color: var(--primary) !important;
}

/* Improve enough-from-us slider active slide */
.enough-slider .swiper-slide.swiper-slide-active .enough-slider-main {
  transform: scale(1.05);
  opacity: 1;
  box-shadow: var(--shadow-lg);
}

/* Final cleanup: remove fixed heights on sections */
section.enough-from-us {
  height: auto;
  min-height: 400px;
}

.book-reviews {
  height: auto;
  min-height: 500px;
}

/* Improve blog content readability */
.blog-content h3 {
  color: var(--heading);
}

.blog-content p {
  color: var(--body);
  font-size: 1rem;
}

/* Contact page map/image */
.contact-map img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Generic banner images */
section img.img-fluid {
  border-radius: var(--radius-sm);
}

/* Make sure buttons in dark hero readable */
.index-banner a.bg-transparent {
  border-color: var(--kdp-black);
  color: var(--kdp-black) !important;
}

.index-banner a.bg-transparent:hover {
  background: var(--kdp-black) !important;
  color: #fff !important;
}

/* Fix footer logo width */
footer .logo img {
  max-height: 50px;
  width: auto;
}

/* Service list items */
.services-list li {
  padding-left: 1.5rem;
  position: relative;
}

.services-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Subtle hover lift on all cards */
[class*="shadow-lg"],
[class*="shadow-xl"] {
  transition: var(--transition);
}

[class*="shadow-lg"]:hover,
[class*="shadow-xl"]:hover {
  transform: translateY(-4px);
}

/* Remove transform on images inside cards to prevent layout shift */
[class*="shadow-lg"] img,
[class*="shadow-xl"] img {
  transition: transform 0.6s ease;
}

[class*="shadow-lg"]:hover img,
[class*="shadow-xl"]:hover img {
  transform: scale(1.02);
}

/* Ensure no horizontal scroll on mobile */
body {
  overflow-x: hidden;
}

/* Improve dropdown arrow */
.dropdown-toggle::after {
  transition: var(--transition);
}

.dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Active tab pill */
.nav-pills .nav-link {
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-pills .nav-link:hover:not(.active) {
  background: rgba(255, 153, 0, 0.08);
  color: var(--primary);
}

/* Improve form labels */
label {
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 0.35rem;
}

/* Footer newsletter / contact links hover */
footer a[href^="mailto"]:hover,
footer a[href^="tel"]:hover {
  color: var(--primary);
}

/* Make sure payment method images align */
.payment_method img {
  border-radius: var(--radius-sm);
}

/* Smooth scroll offset for sticky header */
html {
  scroll-padding-top: 90px;
}

/* Improve testimonial star rating */
.enough-slider-main-img-2 img {
  max-height: 22px;
  width: auto;
}

.enough-slider-main-img-1 img {
  max-height: 40px;
  width: auto;
}

/* Custom privacy policy */
.custom-privacy-policy h3 {
  color: var(--heading);
}

.custom-privacy-policy ul li {
  color: var(--body);
}

/* Improve large headings on service pages */
.mr-lg\:text-\[45px\],
.mr-xl\:text-\[45px\] {
  font-weight: 800;
}

/* Adjust CTA image gallery */
.gallery .image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery .image img:hover {
  transform: scale(1.05);
}

/* Improve form success/error messages */
.alert {
  border-radius: var(--radius-sm);
}

/* Ensure all section content has decent line height */
section p,
section li {
  line-height: 1.75;
}

/* Hover effect on nav logo */
header .navbar-brand {
  transition: var(--transition);
}

header .navbar-brand:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

/* Improve process step cards */
.point-card {
  position: relative;
  overflow: hidden;
}

.point-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: var(--transition);
}

.point-card:hover::before {
  opacity: 1;
}

/* Pricing / package cards */
.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 153, 0, 0.2);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.04);
}

/* Portfolio celebrating section */
.celebrating-your-section {
  padding: 0 !important;
}

/* Improve hero stats */
.text-secondary-100,
.text-primary-100 {
  color: var(--primary) !important;
}

/* Ensure consistent text color on white cards */
.bg-white h3,
.bg-white p,
.bg-\#fff h3,
.bg-\#fff p,
.bg-\#F2F2F2 h3,
.bg-\#F2F2F2 p {
  color: var(--heading);
}

.bg-white p,
.bg-\#fff p,
.bg-\#F2F2F2 p {
  color: var(--body);
}

/* Fix section with broken bg url containing semicolon */
.bg-\[url\(\.\.\/images\/bg_black\.cd9c35ba\.png\;\)\] {
  background-image: url('../images/bg_black.cd9c35ba.png') !important;
}

/* Improve about page text */
section.about p {
  color: var(--body);
  font-size: 1.05rem;
}

section.about h3 {
  color: var(--heading);
}

/* Blog page improvements */
.blog-parent12 p {
  color: var(--body) !important;
  line-height: 1.7 !important;
}

.blog-parent12 h2,
.blog-parent12 h3 {
  color: var(--heading) !important;
}

/* Contact form textarea fix */
textarea.resize-none {
  resize: none;
  min-height: 120px;
}

/* Improve genre page */
.genre-page h2 {
  color: var(--heading);
}

/* Final: consistent link color */
a {
  color: inherit;
}

a:hover {
  color: var(--primary);
}

/* Ensure buttons keep white text */
.bg-primary-100,
a.bg-primary-100 {
  color: #fff !important;
}

/* Improve mobile menu button color */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Improve hover on footer social icons */
footer ul.flex li a {
  display: inline-block;
  transition: var(--transition);
}

footer ul.flex li a:hover {
  transform: translateY(-4px);
}

/* Ensure dark section headings readable */
.text-white .text-secondary-100,
.text-white .text-primary-100 {
  color: var(--primary-light) !important;
}

/* Improve CTA subtitle highlight */
.section-container11 .bg-black {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
}

/* Sticky header shadow on scroll via JS */
header.scrolled {
  box-shadow: var(--shadow);
}

/* Improve book reviews slider */
.book-reviews-slider-main {
  border: none !important;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.book-reviews-slider-main-text p {
  height: auto;
  min-height: 140px;
}

/* Improve custom tabs */
.custom-tabs {
  height: auto;
  min-height: 560px;
}

.custom-tabs div#v-pills-tab {
  background: var(--kdp-charcoal);
}

.custom-tabs .nav-pills .nav-link {
  border-radius: 0;
  transition: var(--transition);
}

.custom-tabs .nav-pills .nav-link.active {
  background: #fff;
  color: var(--kdp-black);
}

/* Make sure images in enough slider don't overflow */
.enough-slider-main img {
  max-width: 100%;
}

/* Improve page loader if any */
.loader {
  text-align: center;
}

/* Hide any leftover noindex from dev if not intentional */
/* meta[content="noindex, nofollow"] removed by user request to preserve SEO */

/* Final responsive tweaks */
@media (max-width: 575px) {
  .mr-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1.text-secondary-200 {
    font-size: 1.6rem !important;
  }

  section h2 {
    font-size: 1.5rem !important;
  }

  .text-center h2::after {
    width: 40px;
  }
}

/* Ensure all forms submit buttons full width */
.submit-button2 {
  width: 100%;
}

/* Improve footer banner text container */
footer~section .mr-lg\:h-\[500px\] {
  height: auto !important;
  min-height: 300px;
}

/* Dark simplified services dropdown */
header .dropdown-menu {
  /* background: #1a1a1a; */
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  padding: 0.5rem 0;
  /* min-width: 220px; */
}

header .dropdown-menu .dropdown-item {
  color: #fff;
  font-weight: 500;
  padding: 0.7rem 1.25rem;
  transition: var(--transition);
}

header .dropdown-menu .dropdown-item:hover,
header .dropdown-menu .dropdown-item:focus {
  background: var(--primary);
  color: #fff;
}

header .dropdown-toggle::after {
  vertical-align: middle;
}

/* Utility classes for new components */
.bg-surface-soft { background: var(--surface-soft); }
.text-heading { color: var(--heading); }
.text-body { color: var(--body); }
.font-display { font-family: var(--font-display); }

/* Modern portfolio grid */
.portfolio-item img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

/* Modern testimonial cards */
.testimonial-card {
  transition: var(--transition);
}

.testimonial-card .rounded-full {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  width: 40px;
  height: 40px;
}

.bg-gradient-to-br.flex.font-bold.from-primary.h-12.items-center.justify-center.rounded-full.text-lg.text-white.to-primary-dark.w-12 {}

/* Modern value cards */
.value-card {
  transition: var(--transition);
}

.value-card .bg-primary\/10 {
  background: rgba(255, 153, 0, 0.1);
}

.value-card .text-primary {
  color: var(--primary);
}

/* Testimonial Swiper */
.testimonial-slider .swiper-slide {
  height: auto;
}

.testimonial-slider .swiper-pagination-bullet-active {
  background: var(--primary);
}

/* CTA gradient fallback */
.bg-gradient-to-br.from-kdp-dark.via-kdp-charcoal.to-kdp-black {
  background-color: var(--kdp-dark);
}

/* Upgrade existing process/feature cards on inner pages */
.bg-\[\#F2F2F2\].shadow-lg.rounded-lg,
.bg-\[\#F2F2F2\].shadow-lg.px-3.rounded-lg {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: var(--transition);
}

.bg-\[\#F2F2F2\].shadow-lg.rounded-lg:hover,
.bg-\[\#F2F2F2\].shadow-lg.px-3.rounded-lg:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.bg-\[\#F2F2F2\].shadow-lg.rounded-lg span.text-primary-100,
.bg-\[\#F2F2F2\].shadow-lg.px-3.rounded-lg span.text-primary-100 {
  color: var(--primary);
}

/* Modern footer */
.footer-modern {
  background-color: #0B0F19 !important;
  color: #ffffff !important;
}

.footer-modern a {
  text-decoration: none;
}

.footer-modern ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-modern ul li a {
  display: inline-block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-modern ul li a:hover {
  color: #FF9900;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-heading {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: #FF9900;
  border-radius: 2px;
}

.social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-circle:hover {
  background: #FF9900;
  transform: translateY(-2px);
}

.copyright-bar {
  background: #05080f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.copyright-bar p,
.copyright-bar a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.copyright-bar a:hover {
  color: #FF9900;
}