/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬Å“Ã…Â¡ BOOK BANNER (FINAL DESIGN)
================================ */

.main-banner-section {
    position: relative;
    background: url('../images/book-publication-banner.jpg') center/cover no-repeat;
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

/* DARK OVERLAY */
.banner-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(10, 37, 64, 0.9),
        rgba(10, 37, 64, 0.85)
    );
    top: 0;
    left: 0;
    z-index: 1;
}

/* CONTENT */
.banner-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: auto;
}

/* TITLE */
.banner-content h1 {
    font-family: "Playfair Display", serif;
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top:10%;
}

/* SUBTITLE */
.banner-content h3 {
    font-size: 30px;
    color: #93c5fd;
    margin-bottom: 15px;
}

/* TEXT */
.banner-content p {
    font-size: 16px;
    color: #e2e8f0;
    line-height: 1.7;
}



/* ===============================
   ðŸ”˜ 3D BUTTON STYLE MENU
================================ */

.book-menu a {
    position: relative;
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;
    color: #0f172a;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 16px;
    border-radius: 8px;

    background: #ffffff;

    /* ðŸ”¥ 3D EFFECT */
    box-shadow:
        0 2px 4px rgba(0,0,0,0.05),
        0 6px 12px rgba(0,0,0,0.08);

    transition: all 0.25s ease;
}

/* ICON */
.book-menu a i {
    font-size: 14px;
    color: #64748b;
    transition: 0.3s;
}

/* ðŸ”¥ HOVER (LIFT EFFECT) */
.book-menu a:hover {
    transform: translateY(-3px);
    color: #1d4ed8;

    box-shadow:
        0 6px 12px rgba(0,0,0,0.1),
        0 12px 20px rgba(0,0,0,0.12);
}

.book-menu a:hover i {
    color: #1d4ed8;
}

/* ðŸ”¥ CLICK (PRESS EFFECT) */
.book-menu a:active {
    transform: translateY(1px);

    box-shadow:
        0 2px 4px rgba(0,0,0,0.08);
}

/* ðŸ”¥ ACTIVE MENU */
.book-menu a.active {
    background: #1d4ed8;
    color: #fff;
}

.book-menu a.active i {
    color: #fff;
}

/* REMOVE OLD UNDERLINE */
.book-menu a::after {
    display: none;
}
/* ðŸ”¥ HOVER - TEXT + ICON WHITE */
.book-menu a:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.book-menu a:hover i {
    color: #ffffff !important;
}

/* ðŸ”¥ ACTIVE MENU FIX (already blue, ensure icon white) */
.book-menu a.active {
    background: #1d4ed8;
    color: #ffffff;
}

.book-menu a.active i {
    color: #ffffff !important;
}
/* ===============================
   ðŸ“± RESPONSIVE
================================ */

@media (max-width: 768px) {
    .book-menu-container {
        gap: 20px;
        flex-wrap: wrap;
    }

    .book-menu a {
        font-size: 14px;
    }
}

/* ===============================
   ðŸ“± RESPONSIVE
================================ */

@media (max-width: 768px) {
    .book-menu-container {
        gap: 20px;
        flex-wrap: wrap;
    }

    .book-menu a {
        font-size: 14px;
    }
}
/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬Å“Ã‚Â± RESPONSIVE
================================ */

@media(max-width:768px){

    .banner-content h1 {
        font-size: 26px;
    }

    .banner-content h3 {
        font-size: 16px;
    }

    .banner-content p {
        font-size: 14px;
    }

    .book-menu {
        overflow-x: auto;
        white-space: nowrap;
    }

    .book-menu-container {
        justify-content: flex-start;
    }

    .book-menu a {
        flex: 0 0 auto;
        font-size: 13px;
    }

    /* hide scrollbar */
    .book-menu::-webkit-scrollbar {
        display: none;
    }
}
/* ===============================
   ðŸ“š FORCE HORIZONTAL FLEX MENU
================================ */

.book-menu-container {
    display: flex;
    flex-direction: row;   /* ðŸ”¥ important */
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: rgb(243, 243, 243);
    padding: 2% 5% 2%;
}

/* EACH ITEM INLINE */
.book-menu a {
    display: inline-flex;  /* ðŸ”¥ fix */
    align-items: center;
    gap: 8px;
}

/* ===============================
   ðŸ“± RESPONSIVE
================================ */

@media (max-width: 768px) {
    .book-menu-container {
        gap: 20px;
        flex-wrap: wrap;
    }

    .book-menu a {
        font-size: 14px;
    }
}

/* ===============================
   ðŸ“± RESPONSIVE
================================ */

@media (max-width: 768px) {
    .book-menu-container {
        gap: 20px;
        flex-wrap: wrap;
    }

    .book-menu a {
        font-size: 14px;
    }
}
/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬Å“Ã‚Â± RESPONSIVE
================================ */

@media(max-width:768px){

    .banner-content h1 {
        font-size: 26px;
    }

    .banner-content h3 {
        font-size: 16px;
    }

    .banner-content p {
        font-size: 14px;
    }

    .book-menu {
        overflow-x: auto;
        white-space: nowrap;
    }

    .book-menu-container {
        justify-content: flex-start;
    }

    .book-menu a {
        flex: 0 0 auto;
        font-size: 13px;
    }

    /* hide scrollbar */
    .book-menu::-webkit-scrollbar {
        display: none;
    }
}


/* ===============================
   ðŸ“š OVERVIEW SECTION
================================ */

/* ===============================
   ðŸ”¥ FULL SECTION BACKGROUND
================================ */

.overview-section {
    position: relative;
    padding: 80px 20px;

    /* ðŸ”¥ FULL BACKGROUND */
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    overflow: hidden;
    margin-bottom:-5%;
}

/* ðŸ”¥ DOT PATTERN FULL WIDTH */
.overview-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;

    background-image: radial-gradient(#c7d2fe 1px, transparent 1px);
    background-size: 18px 18px;

    opacity: 0.4;
    top: 0;
    left: 0;
    z-index: 0;
}

.overview-container {
    max-width: 1100px;
    margin: auto;
}

/* ===============================
   ðŸ”¥ TOP SECTION (PREMIUM DESIGN)
================================ */

.overview-top {
    position: relative;
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 50px;
    align-items: center;
    padding: 0px 20px;
    margin-bottom: 60px;
    margin-top:-2%;
    
    border-radius: 16px;
    overflow: hidden;
}

/* ðŸ”¥ DOT PATTERN OVERLAY */
.overview-top::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#c7d2fe 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.4;
    top: 0;
    left: 0;
    z-index: 0;
}

/* KEEP CONTENT ABOVE DOTS */
.overview-left,
.overview-right {
    position: relative;
    z-index: 1;
}

/* ===============================
   LEFT (HEADING)
================================ */

/* ===============================
   ðŸ”¥ PREMIUM HEADING STYLE
================================ */

.overview-left h2 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.5px;

    /* ðŸ”¥ GRADIENT TEXT */
    background: linear-gradient(135deg, #1d4ed8, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    position: relative;
    display: inline-block;
}

/* ðŸ”¥ UNDERLINE ACCENT */
.overview-left h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 70px;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    border-radius: 10px;
}

/* OPTIONAL ICON STYLE (if using emoji/icon) */
.overview-left h2 span {
    font-size: 40px;
    margin-right: 10px;
}.overview-left h2 {
    animation: fadeSlide 0.8s ease forwards;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   RIGHT (CONTENT)
================================ */

.overview-right p {
    font-size: 18px;   /* ðŸ”¥ increased */
    color: #334155;    /* ðŸ”¥ better contrast */
    line-height: 1.9;
}

/* ===============================
   ðŸ“± RESPONSIVE
================================ */

@media (max-width: 768px) {
    .overview-top {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .overview-left h2 {
        font-size: 28px;
    }

    .overview-right p {
        font-size: 15px;
    }
}

/* ===============================
   â­ SALIENT FEATURES
================================ */

.features-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #0f172a;
    position: relative;
}

.features-heading::after {
    content: "";
    width: 70px;
    height: 4px;
    background: #2563eb;
    display: block;
    margin: 10px auto 0;
    border-radius: 10px;
}

/* GRID */
.overview-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

/* CARD */
/* CARD */
.feature-box {
    background: #ffffff;
    padding: 11px 3px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.35s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* ICON */
.feature-box i {
    font-size: 22px;
    color: #2563eb;
    margin-bottom: 12px;
    transition: 0.35s ease;
}

/* TEXT */
.feature-box span {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    transition: 0.35s ease;
}

/* ðŸ”¥ SLIDING BACKGROUND EFFECT */
.feature-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transition: 0.4s ease;
    z-index: 0;
}

/* HOVER EFFECT */
.feature-box:hover::before {
    left: 0;
}

/* KEEP CONTENT ABOVE BACKGROUND */
.feature-box i,
.feature-box span {
    position: relative;
    z-index: 1;
}

/* CHANGE COLORS ON HOVER */
.feature-box:hover i,
.feature-box:hover span {
    color: #ffffff;
}

/* LIFT EFFECT */
.feature-box:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
}

/* ===============================
   ðŸ“± RESPONSIVE
================================ */

@media (max-width: 768px) {

    .overview-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .overview-left h2 {
        font-size: 26px;
    }

    .overview-right p {
        font-size: 15px;
    }
}









/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬Å“Ã…Â¡ FORM SECTION (FINAL)
================================ */

.book-invite-section {
    padding: 70px 20px;
    background: #f8fafc;
}

.book-container {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* TITLE */
.book-title {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    color: #0a2540;
    margin-bottom: 10px;
}

/* DESC */
.book-desc {
    color: #475569;
    margin-bottom: 25px;
}

/* FORM */
.book-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.book-form input,
.book-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
}

.book-form input:focus,
.book-form textarea:focus {
    border-color: #3b82f6;
    outline: none;
}

/* BUTTON */
.submit-btn {
    width: 100%;
    padding: 14px;
    background: #0a2540;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #123e66;
}

/* MESSAGE */
.response-message {
    display: none;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
}

.response-message.success {
    background: #ecfdf5;
    color: #065f46;
}

.response-message.error {
    background: #fef2f2;
    color: #991b1b;
}


/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬Å“Ã…Â¡ FEATURED BOOK SECTION
================================ */

.featured-book-section {
    padding: 70px 20px;
    background: #ffffff;
}

.featured-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CARD */
.featured-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: 0.3s;
}

.featured-card:hover {
    transform: translateY(-6px);
}

/* IMAGE */
.featured-img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: #f1f5f9;
    padding: 10px;
    border-radius: 8px;
}

/* TITLE */
.book-title {
    font-size: 16px;
    font-weight: 600;
    margin: 12px 0;
}

/* TEXT */
.book-author,
.book-isbn {
    font-size: 13px;
    color: #64748b;
}

/* PRICE */
.price-box {
    font-weight: 600;
    margin: 10px 0;
    color: #0a2540;
}

.price-box .soft {
    color: #3b82f6;
    margin-left: 8px;
}

/* BUTTON */
.btn-view {
    display: inline-block;
    padding: 10px 16px;
    background: #0a2540;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.btn-view:hover {
    background: #123e66;
}


/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬Å“Ã‚Â± RESPONSIVE
================================ */

@media(max-width:992px){

    .overview-container {
        flex-direction: column;
        text-align: center;
        
    }

    .featured-container {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width:600px){

    .featured-container {
        grid-template-columns: 1fr;
    }

    .book-form .form-row {
        flex-direction: column;
    }

    .overview-header{
            width: 84%;
    }

}

/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬Å“Ã…Â¡ LATEST BOOKS SECTION
================================ */

.latest-books-section {
    padding: 70px 20px;
    background: #f4f7fb;
}

/* TITLE */
.section-title {
    text-align: center;
    font-size: 30px;
    /* font-family: "Playfair Display", serif; */
    color: #0a2540;
    margin-bottom: 40px;
}

/* UNDERLINE */
.section-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: #3b82f6;
    margin: 10px auto 0;
    border-radius: 10px;
}
/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬Å“Ã…Â¡ LATEST BOOKS SECTION
================================ */

.latest-books-section {
    padding: 80px 20px;
    background: #f4f7fb;
}

/* CONTAINER */
.latest-books-section .container {
    max-width: 1200px;
    margin: auto;
}

/* ===============================
   ÃƒÂ°Ã…Â¸Ã‚ÂÃ‚Â·ÃƒÂ¯Ã‚Â¸Ã‚Â SECTION TITLE
================================ */

.section-title {
    text-align: center;
    font-size: 32px;
    /* font-family: "Playfair Display", serif; */
    color: #0a2540;
    margin-bottom: 50px;
    position: relative;
}

/* UNDERLINE */
.section-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #3b82f6;
    display: block;
    margin: 10px auto 0;
    border-radius: 10px;
}

/* ===============================
   ÃƒÂ°Ã…Â¸Ã…Â½Ã…Â¾ÃƒÂ¯Ã‚Â¸Ã‚Â SLIDER CONTAINER
================================ */



/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬Å“Ã‚Â¦ BOOK CARD DESIGN
================================ */

.book-card {
    width: 315px;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* HOVER EFFECT */
.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬â€œÃ‚Â¼ÃƒÂ¯Ã‚Â¸Ã‚Â BOOK IMAGE
================================ */

.book-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f1f5f9;
    padding: 10px;
    border-radius: 8px;
}

/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬Å“Ã¢â‚¬â€œ BOOK TEXT
================================ */

/* TITLE */
.book-card h5 {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 12px 0 6px;
}

/* DETAILS */
.book-card p {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0;
}

/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬ÂÃ‹Å“ BUTTON
================================ */

.book-card .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    background: #0a2540;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s;
}

.book-card .btn:hover {
    background: #123e66;
    color:white;
}
/* ===============================
   Ã°Å¸â€œÅ¡ LATEST BOOKS SECTION
================================ */

.latest-books-section {
    padding: 27px 20px;
    background: #f4f7fb;
}

/* CONTAINER */
.latest-books-section .container {
    max-width: 1287px;
    margin: auto;
}

/* TITLE */
.section-title {
    text-align: center;
    font-size: 32px;
    
    color: #0a2540;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #3b82f6;
    display: block;
    margin: 10px auto 0;
    border-radius: 10px;
}

/* ===============================
   Ã¢Å“â€¦ GRID (MAIN FIX)
================================ */

.book-slider {
    display: grid;                         /* Ã¢Å“â€¦ CHANGE */
    grid-template-columns: repeat(4, 1fr); /* Ã¢Å“â€¦ 4 cards per row */
    gap: 25px;
}

/* ===============================
   Ã°Å¸â€œÂ¦ BOOK CARD
================================ */

.book-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

/* HOVER */
.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

/* IMAGE */
.book-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f1f5f9;
    padding: 10px;
    border-radius: 8px;
}

/* TEXT */
.book-card h5 {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 12px 0 6px;
}

.book-card p {
    font-size: 13px;
    color: #64748b;
}

/* BUTTON */
.book-card .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    background: #0a2540;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
}

.book-card .btn:hover {
    background: #123e66;
}

/* ===============================
   Ã°Å¸â€œÂ± RESPONSIVE
================================ */

@media (max-width: 992px) {
    .book-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .book-slider {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   ÃƒÂ¢Ã…â€œÃ‚Â¨ OPTIONAL: GRADIENT FADE EDGES
================================ */

.book-slider::before {
    left: 0;
    background: linear-gradient(to right, #f4f7fb, transparent);
}

.book-slider::after {
    right: 0;
    background: linear-gradient(to left, #f4f7fb, transparent);
}

/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬Å“Ã‚Â± RESPONSIVE
================================ */

@media (max-width: 992px) {
    .book-card {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }

    .book-card {
        width: 180px;
    }

    .book-card img {
        height: 180px;
    }
}

/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬ËœÃ‚Â¨ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ°Ã…Â¸Ã‚ÂÃ‚Â« AUTHORS SECTION (PREMIUM)
================================ */

/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬ËœÃ‚Â¨ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ°Ã…Â¸Ã‚ÂÃ‚Â« AUTHORS SECTION
================================ */

.top-authors-section {
    padding: 20px 20px;
    background: linear-gradient(to bottom, #f4f7fb, #ffffff);
}

/* ===============================
   ÃƒÂ°Ã…Â¸Ã‚ÂÃ‚Â·ÃƒÂ¯Ã‚Â¸Ã‚Â TITLE
================================ */

.section-title {
    text-align: center;
    font-size: 32px;
    /* font-family: "Playfair Display", serif; */
    color: #0a2540;
    margin-bottom: 50px;
}

/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬Å“Ã‚Â¦ AUTHOR CARD
================================ */

.author-card {
    width: 320px;
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

/* HOVER */
.author-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* IMAGE */
.author-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #3b82f6;
    padding: 3px;
    margin-bottom: 12px;
}

/* NAME */
.author-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0a2540;
    margin-bottom: 5px;
}

/* ROLE */
.author-card p {
    font-size: 13px;
    color: #64748b;
}

/* BADGE */
.author-card::after {
    content: "Top Author";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #3b82f6;
    color: #fff;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 20px;
}

/* ===============================
   ÃƒÂ°Ã…Â¸Ã…Â½Ã‚Â¯ CAROUSEL FIX
================================ */

.carousel-item {
    padding: 20px 0;
}

.carousel-item .d-flex {
    justify-content: center !important;
}

/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬ÂÃ‹Å“ ARROWS (FIXED)
================================ */

.carousel-control-prev,
.carousel-control-next {
    width: auto;
}

/* POSITION */
.carousel-control-prev {
    left: -10px;
}

.carousel-control-next {
    right: -10px;
}

/* ICON */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #0a2540;
    border-radius: 50%;
    padding: 18px;
    background-size: 60%;
}

/* HOVER */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #3b82f6;
}

/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬Å“Ã‚Â± RESPONSIVE
================================ */

/* TABLET */
@media(max-width: 992px){
    .author-card {
        width: 180px;
    }
}

/* MOBILE */
@media(max-width: 768px){

    .author-card {
        width: 85%;
        max-width: 260px;
        margin: auto;
    }

    .author-card img {
        width: 70px;
        height: 70px;
    }

    .author-card h4 {
        font-size: 15px;
    }

    .author-card p {
        font-size: 12px;
    }

    /* FIX ARROWS */
    .carousel-control-prev {
        left: 0;
    }

    .carousel-control-next {
        right: 0;
    }
}

/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬ÂÃ‹Å“ CUSTOM PREV / NEXT BUTTONS
================================ */

#previous,
#next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    width: 50px;
    height: 50px;

    background: #0a2540;   /* theme color */
    border-radius: 50%;
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;

    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* POSITION */
#previous {
    left: -25px;
}

#next {
    right: -25px;
}

/* ICON (ARROW) */
#previous::before,
#next::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    display: block;
}

/* LEFT ARROW */
#previous::before {
    transform: rotate(-135deg);
}

/* RIGHT ARROW */
#next::before {
    transform: rotate(45deg);
}

/* HOVER EFFECT */
#previous:hover,
#next:hover {
    background: linear-gradient(135deg, #1d4ed8, #0a2540);
    transform: translateY(-50%) scale(1.1);
}

/* ===============================
   ÃƒÂ°Ã…Â¸Ã¢â‚¬Å“Ã‚Â± MOBILE FIX
================================ */

@media(max-width:768px){

    #previous,
    #next {
        width: 40px;
        height: 40px;
    }

    #previous {
        left: 5px;
    }

    #next {
        right: 5px;
    }
}

/******************************************/

/* ===== book invitation.html form  ===== */



/* ===============================
   ðŸ“š TITLE
================================ */
.section-title-book {
    text-align: center;
    font-size: 34px;
    font-weight: 600;
    color: #0f172a;
    margin-top: 50px;
    margin-bottom: 30px;
    
}

.section-title-book::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #2563eb;
    margin: 10px auto 0;
    border-radius: 10px;
}

/* ===============================
   ðŸ“š SECTION
================================ */
.book-invite-section {
    padding: 40px 15px 70px;
}

/* CONTAINER */
.book-container {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ===============================
   ðŸ“š DESCRIPTION BOX
================================ */
.book-desc-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 25px;
}

/* HEADING */
.desc-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2563eb;
}

/* TEXT */
.book-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
    font-weight: 600;
    text-align: justify;
}

/* ===============================
   ðŸ“š FORM
================================ */
.book-form {
    margin-top: 10px;
}

.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.book-form input,
.book-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    outline: none;
    transition: 0.25s;
}

/* FOCUS */
.book-form input:focus,
.book-form textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

/* ===============================
   ðŸš€ BUTTON
================================ */
.submit-btn {
    width: 100%;
    padding: 13px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #1d4ed8;
}

/* ===============================
   ðŸ“© MESSAGE
================================ */
.response-message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
    display: none;
}

.response-message.success {
    background: #dcfce7;
    color: #166534;
}

.response-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* ===============================
   ðŸ“± RESPONSIVE
================================ */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

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

    .book-container {
        padding: 20px;
    }
}



/***********************************
 ðŸ“ž CONTACT SECTION (CLEAN + MODERN)
************************************/

/* SECTION */
.contact-section {
    padding: 70px 15px;
    background: #f8fafc;
}

/* CONTAINER (CENTERED SINGLE CARD) */
.contact-container {
    max-width: 700px;
    margin: auto;
}

/* FORM CARD */
.contact-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* HEADING */
.contact-form h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 15px;
    color: #0f172a;
}

/* DESCRIPTION */
.contact-form .book-desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 20px;
    text-align: justify;
    font-weight: 600; /* ðŸ”¥ slightly bold */
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;

    border-radius: 8px;
    border: 1px solid #d1d5db;

    font-size: 14px;
    background: #f9fafb;

    transition: 0.25s;
}

/* FOCUS */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2563eb;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

/* TEXTAREA */
.contact-form textarea {
    resize: none;
}

/* BUTTON */
.btn-primary {
    width: 100%;
    padding: 13px;

    background: #2563eb;
    color: #fff;

    border: none;
    border-radius: 8px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.3s;
}

/* HOVER */
.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* FORM MESSAGE */
.form-message {
    display: none;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}

/* SUCCESS */
.form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

/* ERROR */
.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* RESPONSIVE */
@media(max-width:768px){
    .contact-form {
        padding: 25px;
    }

    .contact-form h2 {
        font-size: 20px;
    }
}