/* ====================================
   MAIN.CSS - Swan Book Publishing
   Static Cloudflare Version
==================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f4f7fb;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    color: #1f2937;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 60px 0;
}

.bg-light {
    background-color: #f9fafb !important;
}

.text-muted {
    color: #6b7280 !important;
}


/* ====================================
   NAVBAR
==================================== */

.navbar {
    z-index: 1000;
}

.navbar-logo {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.brand-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1f2b50;
}

.navbar .nav-link {
    font-weight: 500;
    color: #374151;
    transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #1f2b50;
}


/* ====================================
   PAGE BANNER
==================================== */

.page-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40vh;
    min-height: 300px;
    text-align: center;
    color: #ffffff;
    margin-top: 56px;
    overflow: hidden;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 0;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}


/* ====================================
   HERO
==================================== */

.hero-section {
    position: relative;
    min-height: 90vh;
    margin-top: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("images/home/hero_bg.jpeg")
        center center / cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.65)
    );
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.home-page .hero-section {
    min-height: min(90vh, 860px);
}

.home-page .hero-overlay {
    background:
        linear-gradient(115deg, rgba(255, 63, 121, 0.48), rgba(38, 58, 122, 0.76)),
        linear-gradient(rgba(13, 20, 42, 0.25), rgba(13, 20, 42, 0.4));
}

.home-page .hero-section h1 {
    max-width: 850px;
    margin: 0 auto;
    letter-spacing: -0.035em;
    text-shadow: 0 4px 24px rgba(20, 25, 50, 0.25);
}

.home-page .hero-section .lead {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.92);
}

.home-page .navbar {
    border-bottom: 1px solid rgba(31, 43, 80, 0.06);
    box-shadow: 0 8px 26px rgba(31, 43, 80, 0.08) !important;
}

.home-page .navbar .nav-link {
    border-radius: 999px;
    padding: 8px 14px;
}

.home-page .navbar .nav-link:hover,
.home-page .navbar .nav-link.active {
    background: linear-gradient(120deg, rgba(255, 63, 121, 0.12), rgba(49, 136, 245, 0.12));
}

.home-page .btn-primary-custom {
    background: linear-gradient(120deg, #ff3f79, #f56d83 48%, #3188f5);
    box-shadow: 0 10px 26px rgba(75, 79, 170, 0.28);
}

.home-page .btn-primary-custom:hover,
.home-page .btn-primary-custom.active {
    background: linear-gradient(120deg, #ed326c, #e85c80 48%, #2679e4);
    box-shadow: 0 13px 30px rgba(75, 79, 170, 0.35);
}

.home-page .btn-outline-custom {
    border-color: transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(120deg, #ff3f79, #3188f5) border-box;
    border: 2px solid transparent;
}

.home-page .btn-outline-custom:hover,
.home-page .btn-outline-custom.active {
    background: linear-gradient(120deg, #ff3f79, #3188f5);
    color: #ffffff;
}


/* ====================================
   BUTTONS
==================================== */

.btn {
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 18px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.btn-primary-custom {
    background: linear-gradient(
        135deg,
        #1f2b50,
        #263a7a
    );
    color: #ffffff;
    border: none;
}

.btn-primary-custom:hover,
.btn-primary-custom.active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(31, 43, 80, 0.3);
    color: #ffffff;
}

.btn-outline-custom {
    background: transparent;
    color: #1f2b50;
    border: 2px solid #1f2b50;
}

.btn-outline-custom:hover,
.btn-outline-custom.active {
    background: #1f2b50;
    color: #ffffff;
}


/* ====================================
   SERVICES
==================================== */

.services-section .card {
    border: 1px solid #edf0f6 !important;
    border-radius: 18px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.services-section .card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 38px rgba(31, 43, 80, 0.12) !important;
}

.home-page .services-section {
    background:
        radial-gradient(ellipse at 10% 15%, rgba(255, 63, 121, 0.06), transparent 35%),
        #f8f9fc;
}

.home-page .services-section h2,
.home-page .about-section h2,
.home-page .contact-cta-section h2 {
    color: #1f2b50;
    letter-spacing: -0.025em;
}

.home-page .services-section .card-body {
    padding: 12px 6px;
}

.home-page .services-section .card-body > i {
    display: inline-flex;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff3f79, #ff9671 55%, #3188f5);
    color: #ffffff !important;
    font-size: 1.8rem;
    margin-bottom: 22px !important;
}

.home-page .services-section .card h5 {
    color: #1f2b50;
    font-weight: 700;
    line-height: 1.4;
}

.home-page .services-section .card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 0;
}


/* ====================================
   ABOUT
==================================== */

.about-section {
    background: #ffffff;
    padding: 80px 0;
}

.home-page .about-section {
    background: #ffffff !important;
}

.home-page .about-section img {
    border-radius: 22px !important;
    box-shadow: 0 20px 46px rgba(31, 43, 80, 0.16) !important;
}

.home-page .about-section p {
    line-height: 1.85;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2b50;
}

.about-top {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-image {
    flex: 0 0 50%;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

.about-text {
    flex: 1;
}

.about-text p,
.about-bottom p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #4b5563;
    margin-bottom: 20px;
}

.about-bottom {
    margin-top: 20px;
}

.about-img {
    width: 100%;
    border-radius: 12px;
}


/* ====================================
   ABOUT CARDS
==================================== */

.about-light-section {
    background: #f8f9fc;
}

.about-card {
    background: #ffffff;
    padding: 30px 25px;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.09);
}

.about-card h5 {
    color: #1f2b50;
    font-weight: 600;
    margin-bottom: 15px;
}

.about-card p {
    color: #6b7280;
    font-size: 0.95rem;
}


/* ====================================
   ABOUT CTA
==================================== */

.about-cta {
    background: #f8f9fc;
}

.about-cta h2 {
    color: #1f2b50;
    font-weight: 700;
}

.home-page .contact-cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(125deg, #ff3f79 0%, #ff9671 47%, #3188f5 100%);
    color: #ffffff;
}

.home-page .contact-cta-section::before,
.home-page .contact-cta-section::after {
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-page .contact-cta-section::before {
    top: -180px;
    left: 8%;
}

.home-page .contact-cta-section::after {
    right: 7%;
    bottom: -195px;
}

.home-page .contact-cta-section .container {
    position: relative;
    z-index: 1;
}

.home-page .contact-cta-section h2 {
    color: #ffffff;
}

.home-page .contact-cta-section .lead {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9) !important;
}

.home-page .contact-cta-section .btn-primary-custom {
    background: #ffffff;
    color: #1f2b50;
    box-shadow: 0 10px 24px rgba(27, 32, 71, 0.2);
}

.home-page .contact-cta-section .btn-primary-custom:hover {
    background: #f8f9fc;
    color: #1f2b50;
}

.home-page .footer {
    padding: 24px 0 !important;
    background: #ffffff !important;
    border-top: 1px solid #edf0f6 !important;
}

.home-page .footer a {
    transition: color 0.2s ease;
}

/* Shared visual theme for interior pages */

.interior-page .navbar {
    border-bottom: 1px solid rgba(31, 43, 80, 0.06);
    box-shadow: 0 8px 26px rgba(31, 43, 80, 0.08) !important;
}

.interior-page .navbar .nav-link {
    border-radius: 999px;
    padding: 8px 14px;
}

.interior-page .navbar .nav-link:hover,
.interior-page .navbar .nav-link.active {
    background: linear-gradient(120deg, rgba(255, 63, 121, 0.12), rgba(49, 136, 245, 0.12));
}

.interior-page .page-banner {
    min-height: 340px;
}

.interior-page .page-banner-overlay {
    background:
        linear-gradient(110deg, rgba(255, 63, 121, 0.55), rgba(38, 58, 122, 0.7)),
        rgba(14, 22, 48, 0.2);
}

.interior-page .page-banner h1 {
    font-weight: 750;
    letter-spacing: -0.035em;
    text-shadow: 0 4px 22px rgba(20, 25, 50, 0.25);
}

.interior-page .page-banner p {
    color: rgba(255, 255, 255, 0.92);
}

.interior-page .btn-primary-custom {
    background: linear-gradient(120deg, #ff3f79, #f56d83 48%, #3188f5);
    box-shadow: 0 10px 26px rgba(75, 79, 170, 0.22);
}

.interior-page .btn-primary-custom:hover,
.interior-page .btn-primary-custom.active {
    background: linear-gradient(120deg, #ed326c, #e85c80 48%, #2679e4);
}

.interior-page .btn-outline-custom {
    border: 2px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(120deg, #ff3f79, #3188f5) border-box;
}

.interior-page .btn-outline-custom:hover,
.interior-page .btn-outline-custom.active {
    background: linear-gradient(120deg, #ff3f79, #3188f5);
    color: #ffffff;
}

.interior-page .footer {
    padding: 24px 0 !important;
    background: #ffffff !important;
    border-top: 1px solid #edf0f6 !important;
}

.about-page .about-section,
.about-page .about-section.bg-light {
    background: #ffffff !important;
}

.about-page .about-section img {
    border-radius: 22px;
    box-shadow: 0 20px 46px rgba(31, 43, 80, 0.14);
}

.about-page .about-light-section {
    background:
        radial-gradient(ellipse at 10% 10%, rgba(255, 63, 121, 0.07), transparent 36%),
        #f8f9fc;
}

.about-page .about-card {
    border: 1px solid #edf0f6;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(31, 43, 80, 0.07);
}

.about-page .about-card:hover {
    box-shadow: 0 18px 38px rgba(31, 43, 80, 0.13);
}

.about-page .about-cta {
    background: linear-gradient(125deg, #ff3f79 0%, #ff9671 47%, #3188f5 100%);
    color: #ffffff;
}

.about-page .about-cta h2,
.about-page .about-cta p {
    color: #ffffff;
}

.packages-page .packages-wrapper,
.contact-page .contact-wrapper,
.policy-page .privacy-policy {
    background:
        radial-gradient(ellipse at 8% 8%, rgba(255, 63, 121, 0.055), transparent 34%),
        #f8fafc;
}

.packages-page .packages-wrapper h2 {
    color: #1f2b50;
    letter-spacing: -0.025em;
}

.packages-page .package-card {
    border: 1px solid #edf0f6;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(31, 43, 80, 0.07);
}

.packages-page .package-card:hover {
    box-shadow: 0 20px 42px rgba(31, 43, 80, 0.14);
}

.packages-page .package-card.popular {
    border: 2px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #ff3f79, #3188f5) border-box;
}

.packages-page .package-badge {
    background: linear-gradient(120deg, #ff3f79, #3188f5);
}

.contact-page .info-card {
    border: 1px solid #edf0f6;
    box-shadow: 0 14px 34px rgba(31, 43, 80, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-page .info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(31, 43, 80, 0.13);
}

.contact-page .contact-icon {
    background: linear-gradient(135deg, #ff3f79, #ff9671 55%, #3188f5);
    box-shadow: 0 10px 24px rgba(75, 79, 170, 0.2);
}

.policy-page .policy-wrapper {
    border: 1px solid #edf0f6;
    box-shadow: 0 18px 42px rgba(31, 43, 80, 0.08);
}

.policy-page .policy-kicker {
    background: linear-gradient(120deg, rgba(255, 63, 121, 0.13), rgba(49, 136, 245, 0.13));
}

.policy-page .policy-card {
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(31, 43, 80, 0.035);
}

.bookstore-section {
    background:
        radial-gradient(ellipse at 8% 8%, rgba(255, 63, 121, 0.06), transparent 34%),
        #f8fafc;
}

.bookstore-heading h2 {
    color: #1f2b50;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    letter-spacing: -0.025em;
    margin: 8px 0;
}

.bookstore-heading > p {
    margin-bottom: 0;
}

.bookstore-kicker {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(255, 63, 121, 0.13), rgba(49, 136, 245, 0.13));
    color: #1f2b50;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bookstore-note {
    max-width: 650px;
    margin: 14px auto 0 !important;
    color: #6b7280;
    font-size: 0.88rem;
}

.home-bookstore-highlight {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 56px);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 22px;
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.2), transparent 34%),
        linear-gradient(120deg, #f43f79 0%, #fa7b83 42%, #5686eb 100%);
    box-shadow: 0 22px 52px rgba(74, 70, 151, 0.24);
}

.home-bookstore-highlight::before,
.home-bookstore-highlight::after {
    position: absolute;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-bookstore-highlight::before {
    top: -205px;
    right: 12%;
}

.home-bookstore-highlight::after {
    right: -165px;
    bottom: -225px;
}

.home-bookstore-art {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 280px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 16px 32px rgba(45, 44, 114, 0.12);
    backdrop-filter: blur(6px);
}

.home-bookstore-art::before,
.home-bookstore-art::after {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    content: "";
}

.home-bookstore-art::before {
    top: -110px;
    right: -55px;
}

.home-bookstore-art::after {
    bottom: -145px;
    left: -60px;
}

.home-bookstore-art i,
.home-bookstore-art span {
    z-index: 1;
}

.home-bookstore-art i {
    font-size: 5rem;
    line-height: 1;
}

.home-bookstore-art span {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-bookstore-copy .bookstore-kicker {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    margin-bottom: 14px;
}

.home-bookstore-copy {
    position: relative;
    z-index: 1;
}

.home-bookstore-copy h2 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.03em;
}

.home-bookstore-copy p {
    max-width: 500px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.91) !important;
    font-size: 1rem;
    line-height: 1.8;
}

.home-bookstore-copy .btn-primary-custom {
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: #ffffff;
    color: #263a7a;
    box-shadow: 0 12px 26px rgba(49, 42, 112, 0.2);
}

.home-bookstore-copy .btn-primary-custom:hover {
    transform: translateY(-2px);
    background: #fff7fa;
    color: #1f2b50;
}

.bookstore-section .row.g-4 {
    display: flex;
    flex-direction: column;
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
}

.bookstore-section .row.g-4 > [class*="col-"] {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding-bottom: 24px;
    border-bottom: 1px solid #e7e1df;
}

.bookstore-section .row.g-4 > [class*="col-"]:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.book-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: stretch;
    gap: 28px;
    padding: 4px;
    border-radius: 14px;
    transition: background-color 0.25s ease;
}

.book-card:hover {
    background: rgba(255, 255, 255, 0.72);
}

.book-cover {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(31, 43, 80, 0.14);
    background: linear-gradient(125deg, #ff3f79, #ff9671 47%, #3188f5);
}

.book-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    min-height: 280px;
    padding: 10px 12px 10px 0;
}

.book-sample-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #8b5264;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.book-card h3 {
    color: #1f2b50;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.book-author {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0 0 12px;
}

.book-summary {
    color: #4b5563;
    font-size: 0.94rem;
    line-height: 1.7;
    margin: 0 0 20px;
}

.book-links {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: auto;
    width: 100%;
}

.book-links .btn {
    width: auto;
}

.book-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1f2b50;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.book-social-link:hover {
    color: #e9487b;
}

.bookstore-cta {
    padding: 34px 24px;
    border: 1px solid #edf0f6;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(31, 43, 80, 0.06);
}

.bookstore-cta h2 {
    color: #1f2b50;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
}

.bookstore-cta p {
    margin-bottom: 18px;
}

.bookstore-page .bookstore-page-section {
    min-height: 55vh;
}


/* ====================================
   TESTIMONIALS
==================================== */

.testimonials-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(125deg, #ff3f79 0%, #ff9671 47%, #3188f5 100%);
}

.testimonial-stage {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 42px 0;
}

.testimonial-panel {
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    padding: 44px 92px 54px;
    box-shadow: 0 18px 45px rgba(30, 35, 80, 0.16);
}

.testimonial-wrapper {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.testimonial-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonial-wrapper:focus-visible {
    outline: 2px solid #263a7a;
    outline-offset: 4px;
}

.testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
    gap: 42px;
    padding: 0 8px 40px;
    scroll-snap-align: start;
}

.user-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    justify-self: center;
}

.testimonial-text {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.75;
    margin: 0 0 20px;
}

.testimonial-user h3 {
    color: #1f2937;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.testimonial-user span {
    color: #6b7280;
    font-size: 0.95rem;
}

.testimonial-arrow {
    position: absolute;
    top: 43%;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #6b7280;
    font-size: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.testimonial-arrow:hover,
.testimonial-arrow:focus-visible {
    color: #1f2b50;
    background: #f1f3f8;
}

.testimonial-prev {
    left: 20px;
}

.testimonial-next {
    right: 20px;
}

.testimonial-dots {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #a5a5a5;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.testimonial-dot.is-active {
    background: #171717;
    transform: scale(1.12);
}

.testimonial-quote {
    position: absolute;
    left: 50%;
    z-index: 1;
    color: #ffffff;
    font-family: Georgia, serif;
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1;
    transform: translateX(-50%);
}

.testimonial-quote-top {
    top: -3px;
}

.testimonial-quote-bottom {
    bottom: -8px;
}

.testimonial-swipe-hint {
    display: none;
    color: #ffffff;
    font-size: 0.85rem;
    margin: 12px 0 -30px;
    text-align: center;
}


/* ====================================
   CONTACT CARDS
==================================== */

.contact-wrapper {
    background: #f8fafc;
}

.contact-layout {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-kicker {
    display: inline-block;
    background: rgba(31, 43, 80, 0.08);
    color: #1f2b50;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.contact-intro h2 {
    color: #1f2b50;
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 12px;
}

.contact-intro p {
    max-width: 640px;
    margin: 0 auto;
}

.info-card,
.form-card,
.package-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #1f2b50, #263a7a);
    color: #ffffff;
    font-size: 1.75rem;
}

.info-card h5 {
    color: #1f2b50;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-card p,
.info-card a {
    color: #4b5563;
    margin: 0;
    text-decoration: none;
    line-height: 1.8;
}

.info-card a:hover {
    color: #1f2b50;
}


/* ====================================
   FORMS
==================================== */

.form-control {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 12px 14px;
    font-size: 0.95rem;
    width: 100%;
}

.form-control:focus {
    border-color: #1f2b50;
    box-shadow: 0 0 0 0.2rem rgba(31, 43, 80, 0.15);
}

textarea.form-control {
    resize: none;
}

#formAlert {
    margin-bottom: 20px;
    font-size: 0.9rem;
}


/* ====================================
   PACKAGES
==================================== */

.packages-wrapper h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2b50;
}

.package-card {
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    justify-content: space-between;
    position: relative;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.package-card.popular {
    border: 2px solid #1f2b50;
}

.package-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #1f2b50;
    color: #fff;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
}

.package-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2b50;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: #263a7a;
    margin-bottom: 20px;
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
}

.package-features li {
    padding: 6px 0;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 0.95rem;
}

.package-features li:last-child {
    border-bottom: none;
}


/* ====================================
   PRIVACY POLICY
==================================== */

.privacy-policy {
    background: #f8fafc;
}

.policy-wrapper {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
    padding: 30px;
}

.policy-kicker {
    display: inline-block;
    background: rgba(31, 43, 80, 0.08);
    color: #1f2b50;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.policy-header h2 {
    color: #1f2b50;
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.policy-card {
    background: #f9fbfd;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 24px 22px;
}

.privacy-policy h4,
.privacy-policy h5,
.privacy-policy h6 {
    color: #1f2b50;
}

.privacy-policy p,
.privacy-policy li {
    line-height: 1.8;
}

.policy-list {
    margin: 0;
    padding-left: 1.1rem;
}

.policy-list li + li {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .policy-wrapper {
        padding: 20px 15px;
    }

    .policy-card {
        padding: 18px 16px;
    }
}


/* ====================================
   FOOTER
==================================== */

.footer {
    margin-top: 0;
}

.footer a {
    color: #6b7280;
    text-decoration: none;
}

.footer a:hover {
    color: #1f2b50;
}


/* ====================================
   RESPONSIVE
==================================== */

@media (max-width: 992px) {

    .navbar {
        padding: 8px 0;
    }

    .navbar .container {
        max-width: 100%;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .navbar-nav {
        padding-top: 12px;
        gap: 8px;
    }

    .navbar .nav-link {
        padding: 8px 10px;
    }

    .about-top {
        flex-direction: column;
    }

    .about-image {
        flex: 100%;
    }

    .packages-wrapper .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-section {
        min-height: 80vh;
    }

    .page-banner {
        height: 35vh;
        min-height: 260px;
    }

}

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar {
        min-height: 72px;
    }

    .navbar-brand {
        gap: 10px;
    }

    .brand-text {
        font-size: 0.9rem;
    }

    .navbar-logo {
        width: 40px;
        height: 40px;
    }

    .navbar-toggler {
        border: 1px solid rgba(31, 43, 80, 0.2);
        border-radius: 10px;
        width: 44px;
        height: 44px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-toggler-icon {
        width: 18px;
        height: 18px;
    }

    .hero-section {
        min-height: 68vh;
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section .lead,
    .page-banner .lead {
        font-size: 1rem;
    }

    .page-banner {
        height: 30vh;
        min-height: 220px;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .about-card,
    .info-card,
    .form-card,
    .package-card {
        padding: 24px 18px;
    }

    .packages-wrapper .col-lg-3,
    .contact-wrapper .col-lg-4,
    .contact-wrapper .col-md-6,
    .about-light-section .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .policy-wrapper {
        padding: 18px 14px;
    }

    .policy-card {
        padding: 18px 16px;
    }

    .book-card {
        grid-template-columns: 170px minmax(0, 1fr);
        gap: 22px;
    }

    .home-bookstore-highlight {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .home-bookstore-art {
        min-height: 220px;
    }

    .book-cover {
        height: 230px;
    }

    .book-card-body {
        min-height: 230px;
    }

    .contact-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .testimonial-swipe-hint {
        display: block;
    }

    .testimonial-stage {
        padding: 32px 0;
    }

    .testimonial-panel {
        padding: 32px 42px 50px;
    }

    .testimonial-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 4px 30px;
        text-align: center;
    }

    .user-img {
        width: 100px;
        height: 100px;
    }

    .testimonial-text {
        font-size: 0.93rem;
        line-height: 1.65;
    }

    .testimonial-arrow {
        top: 38%;
        width: 34px;
        height: 34px;
        font-size: 1.35rem;
    }

    .testimonial-prev {
        left: 4px;
    }

    .testimonial-next {
        right: 4px;
    }

    .testimonial-dots {
        bottom: 20px;
    }

    .testimonial-quote {
        font-size: 4rem;
    }

}

@media (max-width: 480px) {

    .brand-text {
        font-size: 0.78rem;
        letter-spacing: 0.02em;
    }

    .navbar-logo {
        width: 34px;
        height: 34px;
    }

    .hero-section h1 {
        font-size: 1.9rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .page-banner h1 {
        font-size: 1.7rem;
    }

    .page-banner p {
        font-size: 0.95rem;
    }

    .btn {
        width: 100%;
    }

    .contact-intro h2 {
        font-size: 1.8rem;
    }

    .home-bookstore-highlight {
        gap: 22px;
        padding: 20px;
        border-radius: 18px;
    }

    .home-bookstore-art {
        min-height: 180px;
        border-radius: 14px;
    }

    .home-bookstore-art i {
        font-size: 3.8rem;
    }

    .home-bookstore-copy .btn {
        width: 100%;
    }

    .bookstore-section .row.g-4 > [class*="col-"] {
        padding-bottom: 18px;
    }

    .book-card {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 14px;
        padding: 0;
    }

    .book-cover {
        height: 158px;
    }

    .book-card-body {
        min-height: 158px;
        padding: 2px 0;
    }

    .book-sample-label {
        font-size: 0.62rem;
        margin-bottom: 5px;
    }

    .book-card h3 {
        font-size: 1rem;
    }

    .book-author,
    .book-summary {
        font-size: 0.82rem;
    }

    .book-summary {
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .book-links {
        gap: 10px;
    }

    .book-links .btn {
        width: 100%;
        padding: 9px 10px;
        font-size: 0.82rem;
    }

    .book-social-link {
        font-size: 0.82rem;
    }

    .footer {
        font-size: 0.8rem;
    }

    .package-features li {
        font-size: 0.82rem;
    }

}