/* =========================================
    VARIABLES / PALETTE / SHADOWS
========================================= */
:root {
    /* Colors */
    --cream: #fdf8f6;
    --soft-cream: #faf6f2;
    --gold: #d4af37;
    --dark: #1a1a1a;
    --text: #444;

    /* Radius */
    --radius: 14px;

    /* Shadows */
    --soft-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

/* =========================================
    GLOBAL / BASE ELEMENTS
========================================= */
html {
    background-color: #fff;
    width: 100%;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--soft-cream);
    color: var(--text);
    font-family: 'Raleway', 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
    UTILITY CLASSES
========================================= */
.hidden {
    display: none !important;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.content {
    flex: 1;
}

.content > .container,
.content > .container-fluid {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* =========================================
    HERO / BANNERS
========================================= */
.hero-banner {
    background: url('/static/images/wedding-cake-cat1.jpg') center/cover no-repeat;
    height: 75vh; /* takes 75% of the screen height */
    position: relative; /* allows overlay positioning */
}
/* Makes text readable over the image
Uses flexbox to vertically center content */
.banner-overlay {
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.35)); /* Adds a dark gradient overlay */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
}

.banner-overlay h1 {
    font-size: 3.2rem; /* Big, elegant heading */
    font-weight: 600;
    letter-spacing: 1px; /* Slight spacing → more “luxury” feel */
}

.banner-overlay p {
    font-size: 1.1rem;
    opacity: 0.9; /* Slight transparency = softer look  - 0 completely transparent (invisible), 1 = no transparency*/
}

.hero-banner h2,
.occasion-banner h2 {
    font-size: 2.4rem;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.hero-banner p,
.occasion-banner p {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
}

.occasion-banner {
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 70px 20px;
    margin: 80px 0;
}

.occasion-banner h2 {
    font-weight: 500;
    letter-spacing: 1px;
}

/* =========================================
    NAVBAR / TOP-BAR
========================================= */
.navbar {
    width: 100%;
    padding: 10px 20px;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.navbar-left .logo {
    height: 45px;
}

.navbar-nav {
    gap: 45px;
}

.navbar-center ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.navbar-center li a {
    font-family: 'Montserrat', sans-serif;
    color: #2f2d2d;
    font-size: 14px;
    text-decoration: none;
    padding: 10px;
}

.navbar-center li a:hover {
    color: #dd5771;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-nav .nav-item {
    position: relative;
}

.top-bar {
    height: 30px;
    background: rgba(0,0,0,0.5);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    color: white;
    font-size: 0.85rem;
}

/* Dropdowns */
.navbar-nav .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: row;
    background: #fff;
    padding: 20px 30px;
    gap: 40px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar-nav .nav-item:hover > .dropdown-content,
.navbar-nav .nav-item:focus-within > .dropdown-content {
    display: flex;
    border-radius: 20px;
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    min-width: 180px;
    
}

.dropdown-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.dropdown-column a {
    text-decoration: none;
    color: #444;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.dropdown-column a:hover {
    color: #b60736;
}

@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column;
        gap: 0;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .dropdown-content {
        position: relative;
        flex-direction: column;
        padding: 10px 0;
        display: none;
    }

    .nav-item.show-dropdown > .dropdown-content {
        display: flex;
    }

    .hero-banner {
        padding: 50px 15px;
    }

    .hero-banner h2 {
        font-size: 1.8rem;
    }

    .hero-banner p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .top-bar {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

/* =========================================
    WHY-BOX / SMALL TEXT SECTIONS
========================================= */
.why-box h5 {
    margin-top: 15px;
    font-weight: 600;
}

.why-box p {
    color: #666;
    font-size: 0.95rem;
}
/* =========================================
    Cake Card Container (extends Bootstrap .card)
    Grouped logically: container -> image -> text -> button
========================================= */
.cake-card {
    padding: 15px;                    /* Inner spacing */
    box-shadow: var(--soft-shadow);   /* Soft shadow */
    transition: all 0.3s ease;        /* Smooth hover */
    display: flex;
    flex-direction: column;           /* Stack content vertically */
    border-radius: 12px;              /* Rounded corners */
}

/* Hover effect for the card */
.cake-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* =========================================
    Cake Image Wrapper
========================================= */
.cake-img-wrapper {
    width: 100%;
    height: 200px;          /* Fixed height for grid consistency */
    overflow: hidden;       /* Hide overflow for zoom effect */
    border-radius: 12px;    /* Matches card corners */
    position: relative;
}

/* =========================================
    Cake Image
========================================= */
.cake-img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* Fill wrapper nicely */
    display: block;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

/* Slight zoom on hover */
.cake-img:hover {
    transform: scale(1.05);
}

/* =========================================
    Cake Title & Price
========================================= */
.cake-card h6 {
    font-size: 14px;
    margin: 8px 0;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.cake-card .price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.cake-card .price-container p {
    font-size: 10px;
    margin: 0;
}

/* =========================================
    Buy Button
========================================= */
.cake-card .buy-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

/* =========================================
    Responsive Adjustments
========================================= */
@media (max-width: 576px) {
    .col {
        justify-content: center;
    }

    .cake-card {
        max-width: 320px;
        width: 100%;
    }

    .cake-img {
        height: auto;  /* Scale naturally on small screens */
    }
}

/* 
.wrapper → controls size + shape + clipping
.image   → fills wrapper + animates
*/


/* =========================================
    BUTTONS
========================================= */
/* =========================================
    BASE BUTTON (extend Bootstrap safely)
========================================= */
.btn {
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* =========================================
    CUSTOM BUTTON TYPES
========================================= */
.btn.buy-now,
.btn.add-enquiry,
.btn.add-to-cart,
.btn.cart-continue-shopping,
.btn.cart-checkout,
.btn.empty-cart,
.btn.back-to-cart,
.btn.explore-wedding-cakes {
    padding: 6px 12px;
    font-size: 13px;
    background-color: #c5c5c5;
    border-radius: 50px;
    color: #000;
}

.btn.buy-now:hover, .btn.add-enquiry:hover,
.add-to-cart:hover, .btn.cart-continue-shopping:hover,
.btn.cart-checkout:hover {
    background-color: #b60736;
    color: #fff;
}

/* =========================================
    DARK BUTTON (optional override)
========================================= */
.btn-dark {
    border-radius: 30px;
    padding: 10px 25px;
}

/* =========================================
    SPECIALITY BUTTON
========================================= */
.btn-speciality {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    background: linear-gradient(45deg, #b60736, #ff8a00);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-speciality.active {
    background: #b60736;
    box-shadow: 0 4px 15px rgba(182, 7, 54, 0.4);
}

.btn-speciality:hover {
    background: #ff8a00;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ==========================
    Build your cakes
============================*/
.build-your-cake-img {
    width: 70%;
    border-radius: 20px;
    margin: 10px;
}
.build-your-cake-box {
    width:100%; 
    margin: 0;
    /*margin:50px auto 100px auto;*/
    border-radius:20px; 
    padding:25px;
    background-color: #fff;
}
.form-select {
    font-size: 0.85rem;
}
.form-control {
    font-size: 0.85rem;
}
.mytabs {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 2px auto;
    padding: 10px;
    border-radius: 10px;
}

.mytabs input[type="radio"] {
    display: none;
}

.mytabs label {
    flex: 1;
    text-align: center;
    padding: 5px;
    background: #e2e2e2;
    cursor: pointer;
    border: 1px solid #ccc;
    transition: background 0.3s ease;
}

.mytabs label:hover {
    background: #d1d1d1;
}

.mytabs .tab {
    width: 100%;
    padding: 5px;
    background: #fff;
    display: none;
    order: 1;
    border: 1px solid #9E9E9E;
    border-top: none;
    max-height: 180px;
    overflow-y: auto;
}

.mytabs .tab p {
    font-size: 15px;
}

.mytabs input[type="radio"]:checked + label {
    background: #fff;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}

.mytabs input[type="radio"]:checked + label + .tab {
    display: block;
}

/* Qty input */
/* Quantity Controls Wrapper */
.qty-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buttons (+ / -) */
.qty-btn {
    width: 38px;
    height: 38px;
    font-size: 18px;
    font-weight: 600;
    border: 1px solid #ccc;
    background: #f8f8f8;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.qty-btn:hover {
    background: #eaeaea;
}

/* Input */
.qty-input {
    width: 55px;
    height: 38px;
    text-align: center;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/*=======================================
    Cart Styling - Cart template
======================================== */
.cart-card {   /* No need for display:flex because Bottstrap's row has one */
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #fff;
    border-radius: 15px;

}

.cart-img-wrapper {
    width: 100%;
    height: 100%;          /* Fixed height for grid consistency */
    overflow: hidden;       /* Hide overflow for zoom effect */
    border-radius: 12px;    /* Matches card corners */
    position: relative;

}
.cart-img{
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;      /* Fill wrapper nicely */
    display: block;
    transition: transform 0.3s ease;
    
}


/* =========================================
    CART STYLING - Navbar - main template
========================================= */
.cart-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-wrapper:hover {
    background-color: #e9e9e9;
    border-color: #ccc;
}

#cart-icon {
    width: 22px;
}

#cart-total {
    position: absolute;
    top: -6px;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: red;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
    Checkout Page
=========================================== */
/* wrapper for checkout page */
.checkout-container {
    padding: 50px 15px; /* Adds 50px on top and bottom, 15px left and right */
    background: var(--soft-cream);
}
/* This section contains the main checkout columns (left for the form and right for the summary). */
/* Center the entire checkout row and limit max width */
.checkout-container .row {
    max-width: 1000px;    /* Slightly wider than before */
    margin: 0 auto;       /* Centers the row horizontally within the container.*/
    /*gap: 15px;            /* Reduced gap between columns (left and right sections*/
}

/* Left and right columns
    .col-lg-6 (Bootstrap) divides the checkout page into two equal columns 
*/
.checkout-container .row > .col-lg-6:first-child,
.checkout-container .row > .col-lg-6:last-child {
    /* Flex: 49% width for both columns (first-child and last-child), making them slightly 
    smaller than half the width of the parent container to leave space between them.*/
    /*flex: 0 0 49%;       /* Slightly wider columns */
    /*max-width: 49%; /* Restricts the columns' width to a maximum of 49%.*/
    padding: 0 10px;
}

#paypal-button-container {
    min-height: 45px;
    width: 100%;
}

#paypal-button-container iframe {
    position: relative !important;
    z-index: 1;
}

/* Responsive: stack on tablets & mobile */
@media (max-width: 992px) {
    .checkout-container .row > .col-lg-6:first-child,
    .checkout-container .row > .col-lg-6:last-child {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Three sections of the checkout */
.form-card,
.payment-card,
.summary-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--soft-shadow);
    margin-bottom: 20px;
}
/* Input fields and buttons */
/* The CSS selector .form-card input.form-control targets <input> 
    elements with the class form-control that are inside an element 
    with the class form-card.
    <input required class="form-control" type="text" name="name" placeholder="Full Name">
*/
.form-card input.form-control,
.payment-card input.form-control {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Targets <button> elements (or any other element with the class btn) that are 
inside an element with the form-card or payment-card class.

<div class="form-card" id="form-wrapper">
    <button id="form-button" class="btn btn-primary btn-block" type="button">
        Continue to Payment
    </button>
</div>
*/

.form-card .btn,
.summary-card .btn {
    width: 100%;
    background-color: var(--gold);
    margin-top: 15px;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px;
}

/* display: block

A block element behaves very simply:

Takes up 100% width of its parent by default
Starts on a new line
Stacks vertically


display: flex

A flex container is much more powerful. It allows you to control layout of children.
Children are placed in a row (horizontal) by default
You can control:
spacing
alignment
direction
wrapping

*/

.summary-card .cart-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}


.cart-image img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-name {
    flex: 1;
    padding-left: 15px;
}

.cart-price,
.cart-qty {
    width: 60px;
    text-align: right;
}

.summary-total {
    margin-top: 20px;
    font-weight: 600;
    text-align: right;
}

.secure-note {
    font-size: 0.85rem;
    color: #555;
    margin-top: 10px;
}

.processing-overlay {
    display: none;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.processing-overlay .spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #ccc;
    border-top: 6px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Delivery section */
.delivery-section {
    margin-top: 15px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .checkout-container .row {
        flex-direction: column;
    }

    .summary-card {
        margin-top: 30px;
    }

    .cart-image img {
        width: 50px;
        height: 50px;
    }
}


/* =========================================
    ABOUT US
========================================= */
.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 25px 15px;
    background: #fff;
    border-radius: 20px;
}

.about-title {
    font-weight: 700;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.about-image-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

@media (max-width: 992px) {
    .about-images {
        margin-top: 30px;
    }

    .about-image-stack {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }

    .about-img {
        flex: 1 1 48%;
    }
}

@media (max-width: 576px) {
    .about-title {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-img {
        flex: 1 1 100%;
    }
}


/* =========================================
    RESPONSIVE / MEDIA QUERIES
========================================= */
@media (max-width: 768px) {
    .prod {
        padding: 10px;
    }

    .cake-item h6 {
        font-size: 12px;
    }

    .buy-btn-container {
        justify-content: center;
        margin-top: 6px;
    }

    .product-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .form-container {
        flex-direction: column;
        width: 100%;
    }

    .contact-form {
        width: 80%;
    }
}

.contact-container {
    margin-top: 30px; /* adjust until it looks right */
}

/* =========================================
    GALLERY
========================================= */
.gallery-container {
    padding: 40px 15px;
}

.gallery-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 30px;
}

.gallery-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    display: flex;
    justify-content: center;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.gallery-card:hover .gallery-caption {
    opacity: 1;
}

@media (max-width: 576px) {
    .gallery-card {
        width: 100%;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .gallery-card {
        width: 90%;
    }
}

@media (min-width: 769px) {
    .gallery-card {
        width: 100%;
    }
}

/* =========================================
    TESTIMONIALS
========================================= */
#testimonials .container {
    max-width: 800px;
}

#testimonials .card-img-top {
    width: 120px;
    height: 120px;
    object-fit: cover;
    display: block;
    margin: 25px auto 15px auto;
}

/* =========================================
    CONTACT
========================================= */
.contact-container {
    padding: 5px 15px;
    background: #f9f9f9;
}

.contact-title {
    font-weight: 700;
    font-size: 2.0rem;
    color: #333;
}

.contact-card {
    background: #fff;
    border-radius: 15px;
    /*box-shadow: 0 6px 20px rgba(0,0,0,0.1);*/
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.form-label {
    font-size: 0.85rem;
}

.contact-input {
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.2);
}

.contact-card .btn {
    padding: 10px 0;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

@media (max-width: 576px) {
    .contact-title {
        font-size: 2rem;
    }
}

/* =========================================
    RECEIPT / PRINT STYLES
========================================= */
@media print {
    body * {
        visibility: hidden !important;
    }

    #print-area,
    #print-area * {
        visibility: visible !important;
    }

    #print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    #print-area .btn,
    button {
        display: none !important;
    }

    .card {
        box-shadow: none !important;
        border: none !important;
    }

    body {
        background: white !important;
    }

    #print-area .col-md-6 {
        width: 50% !important;
        float: left !important;
    }

    #print-area .row {
        display: flex !important;
    }
}

/* =========================================
    LEGAL PAGES
========================================= */
.legal-page {
    background-color: #fdf8f3;
    padding-top: 60px;
    padding-bottom: 60px;
}

.legal-card {
    max-width: 820px;
    margin: auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.legal-card h2 {
    color: #b60736;
}

.legal-card p,
.legal-card li {
    line-height: 1.7;
    color: #555;
}

.legal-card hr {
    width: 60px;
    border: 2px solid #b60736;
    opacity: 1;
    margin: 20px auto;
}

/* =========================================
    CTA / FEATURED SECTIONS
========================================= */
.featured-section {
    margin: 80px 0;
}

.featured-box {
    background: var(--cream);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.featured-box img {
    border-radius: 12px;
}

.featured-box h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-box p {
    color: #555;
    line-height: 1.6;
}

.cta-section {
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 80px 20px 120px;
    border-radius: 20px 20px 0 0;
    margin-top: 80px;
    position: relative;
}

.cta-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.6));
}

.cta-section h3 {
    font-weight: 500;
    margin-bottom: 10px;
}

.cta-section .btn {
    border-radius: 30px;
    padding: 12px 30px;
}

/* =========================================
    FOOTER
========================================= */
footer {
    background: rgba(0,0,0,0.5);
    color: #eaeaea;
    margin-top: 0;
    padding-top: 100px;
    width: 100%;
    box-sizing: border-box;
}

footer.footer-custom {
    color: #fff;
    padding-top: 80px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
}

footer .footer-link {
    color: #fff;
    text-decoration: none;
    transition: all 0.25s ease;
}

footer .footer-address {
    color: #fff;
    text-decoration: none;
    transition: all 0.25s ease;
}

footer .footer-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

footer h5 {
    font-weight: 600;
    letter-spacing: 0.5px;
}

footer h6 {
    letter-spacing: 1px;
    font-size: 0.75rem;
    color: #f8d7df;
}

footer p {
    color: #f3c9d3;
    line-height: 1.6;
}

footer ul li {
    margin-bottom: 8px;
}

footer hr {
    border-color: rgba(255,255,255,0.1);
}

footer a {
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

footer a:hover {
    opacity: 0.8;
    color: rgb(0, 255, 162);
}

.footer-right ul li:not(:last-child)::after {
    content: "|";
    margin-left: 10px;
    color: #fff;
}

@media (max-width: 768px) {
    footer {
        text-align: center;
    }
}

/* =========================================
    IMAGE HOVER EFFECT
========================================= */
.img-hover {
    overflow: hidden;
    border-radius: 12px;
}

.img-hover img {
    transition: transform 0.6s ease;
}

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


/* =========================================
   Inbox Container (Left + Right)
=========================================== */
.inbox-container {
    display: flex;
    gap: 20px;                 /* space between panels */
    height: 500px;             /* fixed height or adjust as needed */
    background: var(--soft-cream); /* page background */
    border-radius: var(--radius);
    overflow: hidden;
}

/* =========================================
   LEFT PANEL: Message List
=========================================== */
.inbox-list {
    display: flex;
    flex-direction: column;
    gap: 15px;                    /* space between cards */
    padding: 20px;
    background: var(--soft-cream); /* matches page background */
    border-radius: var(--radius);
    overflow-y: auto;
}

/* ============================================
    PAYPAL BUTTON CONTAINER
=============================================== */
#paypal-button-container {
    min-height: 50px; /* ensures iframe has space */
    width: 100%;
}

/* =========================================
    PAYPAL FIXES (SAFE VERSION)
========================================= */

/* =========================================
   PAYPAL FIXES (STABLE RENDER VERSION)
========================================= */

#paypal-button-container {
    position: relative;
    width: 100%;
    min-height: 50px;

    /* IMPORTANT */
    overflow: visible;

    /* Chromium iframe rendering fixes */
    /*transform: translateZ(0);*/
    will-change: transform;
    /*backface-visibility: hidden;*/
}

/* PayPal iframe rendering fix */
/*#paypal-button-container iframe {
    transform: translateZ(0);
    backface-visibility: hidden;
}*/

/* Prevent transition/compositor bugs */
/*.payment-card {
    transform: none !important;
    transition: none !important;
    backface-visibility: hidden;
    
}*/

/* =========================================
   PAYPAL VISIBILITY STATES
   DO NOT USE display:none
========================================= */

.paypal-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.paypal-visible {
    visibility: visible;
    opacity: 1;
    height: auto;
    overflow: visible;
}

/* Mobile spacing only */
@media (max-width: 768px) {
    #paypal-button-container {
        min-height: 70px;
    }
}