/* ====================================
   MAIN.CSS - Swan Book Publishing
   Author: Mohit Kumar
   Clean | Organized | Responsive
==================================== */


/* ====================================
   GLOBAL STYLES
==================================== */
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;
}


/* ====================================
   PAGE BANNER
==================================== */
.page-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40vh;
    text-align: center;
    color: #ffffff;
}

.page-banner .page-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.page-banner .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;
}

/* Banner Backgrounds */
.page-banner-bg.home-bg {
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
                url('../images/home/hero_bg.jpeg') center/cover no-repeat;
}

.page-banner-bg.about-bg {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
                url('../images/about_banner.jpeg') center/cover no-repeat;
}

.page-banner-bg.privacy-bg {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
                url('../images/privacy_banner.jpg') center/cover no-repeat;
}

.page-banner-bg.contact-bg {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
                url('../images/contact_banner.jpg') center/cover no-repeat;
}

.page-banner-bg.packages-bg {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
                url('../images/packages_banner.jpg') center/cover no-repeat;
}


/* ====================================
   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);
}

.btn-outline-custom {
    background: transparent;
    color: #1f2b50;
    border: 2px solid #1f2b50;
}

.btn-outline-custom:hover,
.btn-outline-custom.active {
    background: #1f2b50;
    color: #ffffff;
}


/* ====================================
   CARDS (Info / Form / Package)
==================================== */
.info-card,
.form-card,
.package-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.info-title,
.form-title {
    background: linear-gradient(135deg, #1f2b50, #263a7a);
    color: #ffffff;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 30px;
}


/* ====================================
   INFO GRID
==================================== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}




.info-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #f8fafc;
    transition: all 0.2s ease-in-out;
}

.info-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.info-item h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2b50;
}

.info-item p {
    font-size: 0.9rem;
    margin: 0;
    color: #4b5563;
}


/* ====================================
   FORMS
==================================== */
.form-control {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 12px 14px;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
}

.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;
    margin-bottom: 2rem;
}

.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;
}

.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;
}


/* =========================
   HERO SECTION
========================= */

.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: url("../images/home/hero_bg.jpeg") center center / cover no-repeat;

    z-index: 1;
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.65)
    );

    z-index: 2;
}

/* Content above everything */
.hero-section .container {
    position: relative;
    z-index: 3;
}


/* ====================================
   ABOUT PAGE LAYOUT (Advanced)
==================================== */

.about-section {
    background: #ffffff;
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2b50;
}

/* Top Layout */
.about-top {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-image {
    flex: 0 0 50%;
}

.about-image img {
    width: 100%;
    border-radius: 0px;
   
}

.about-text {
    flex: 1;
}

.about-text p,
.about-bottom p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #4b5563;
    margin-bottom: 20px;
}

/* Bottom full width section */
.about-bottom {
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .about-top {
        flex-direction: column;
    }

    .about-image {
        flex: 100%;
    }
}

/* =====================
   Testimonials Section
===================== */

.testimonials-section {
    background: #f8f9fc;
}

.testimonial-wrapper {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.testimonial-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 320px;
    max-width: 350px;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
}

.stars {
    color: #f5b301;
    font-size: 18px;
}

.testimonial-text {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
}

.user-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

/* Desktop Layout */
@media (min-width: 992px) {
    .testimonial-wrapper {
        overflow: visible;
        justify-content: center;
    }
}

/* =========================
   NAVBAR LOGO
========================= */

.navbar-logo {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;          /* Makes it circular */
    border: 0px solid #ffffff;   /* Optional white border */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.brand-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1f2b50;
}
