body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.search-container {
    text-align: center;
    margin: 20px auto;
    max-width: 800px;
}

.search-container input[type="search"] {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 70%;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-container button[type="submit"] {
    padding: 12px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-left: 10px;
}

/* Styles for the product grid */
.products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 40px auto;
    max-width: 1200px;
}


.product-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 280px;
    /* A fixed width for consistent card sizes */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    text-align: center;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.product-card:hover {
    background-color: #f0f2fc;
}





.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
}



/*  pagination codes start */
.pagination-container {
    text-align: center;
    margin-top: 20px;
}

.pagination {
    list-style: none;
    /* Removes the bullet points */
    padding: 0;
    display: flex;
    /* Use flexbox to align items horizontally */
    justify-content: center;
    /* Center the buttons within the ul */
    gap: 10px;
    /* Add space between the buttons */
    margin: 0 auto;
    /* Ensures the UL itself is centered if it doesn't take full width */
}

.page_item {
    display: inline-block;
    /* Puts list items on the same line */
    margin: 0 5px;
}

.page_item a,
.page_item_active a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.page_item a:hover {
    background-color: #0056b3;
}

.page_item_active a {
    background-color: #0056b3;
    /* Darker color for the active page */
    cursor: default;
    /* Change cursor for the current page */
}

/*  pagination codes ends */

/*  detail.html codes starts */
/* General Layout for Product Detail Page */

.product-detail-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    gap: 40px;
    /* Sets the container width to 70% of the viewport */
    width: 60%;
    /* Centers the container horizontally */
    margin: 50px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
    min-height: 80vh;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Add this to your style.css if it doesn't already exist to make the body a flex container for full page centering */


.product-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-details-content {
    flex: 1;
    padding-top: 20px;
}

/* Product Image and Carousel Styling */
.main-image {
    width: 100%;
    max-width: 450px;
    height: 70%;
    border-radius: 8px;
    object-fit: contain;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    /* Enable horizontal scrolling for many thumbnails */
    padding-bottom: 10px;
}

.thumbnail-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-image:hover,
.thumbnail-image.active {
    border-color: #007bff;
}

.carousel-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.carousel-buttons button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.carousel-buttons button:hover {
    background-color: #0056b3;
}

/* Product Details Styling */
.product-details-content h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
}

.product-details-content .price,
.product-details-content .discount-price {
    font-size: 1.5em;
    color: #555;
    margin: 10px 0;
}

.product-details-content .discount-price {
    color: #d9534f;
    /* A red color for discount price */
}

.product-details-content .description {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    margin-top: 20px;
}

.add-to-cart-container {
    margin-top: 30px;
}

.btn-add-to-cart {
    display: inline-block;
    padding: 15px 30px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-add-to-cart:hover {
    background-color: #2ed252;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .product-gallery,
    .product-details-content {
        width: 100%;
    }
}

/* Product Description Styles */
.product-description {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #f9f9f9;
    /* light background to make it stand out */
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Paragraph spacing */
.product-description p {
    margin-bottom: 1em;
}

/* Bold text inside description */
.product-description strong {
    color: #1a3d7c;
    /* dark blue for emphasis */
    font-weight: 600;
}

/* Lists styling */
.product-description ul,
.product-description ol {
    padding-left: 20px;
    margin: 10px 0 15px 20px;
}

.product-description li {
    margin-bottom: 6px;
}

/* Links inside description */
.product-description a {
    color: #0073e6;
    text-decoration: none;
    border-bottom: 1px dotted #0073e6;
}

.product-description a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .product-description {
        font-size: 15px;
        padding: 15px 20px;
        border-left-width: 4px;
        margin-bottom: 25px;
    }
}

/*  detail.html codes ends */


/*  Index.html product button codes */
.product-buttons {
    margin-top: 15px;
    display: block;
    /* Change to a block element to control alignment with text-align */
    justify-content: space-around;
    gap: 10px;
}

.btn-view,
.btn-add-to-cart {
    display: inline-block;
    padding: 10px 15px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-grow: 1;
    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.2);
    /* Makes the buttons expand to fill the available space */
}

.btn-view {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
}

.btn-view:hover {
    background-color: #ddd;
}

.btn-add-to-cart {
    background-color: #28a745;
    color: white;
    border: 1px solid #28a745;
    display: inline-block;
    padding: 10px 15px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 150px;
    /* Or any other desired width */
    margin: 20px 0;
}

.btn-add-to-cart:hover {
    background-color: #218838;
}

/*  Index.html product button codes ends */

/*  navbarv Index.html  codes starts */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #7d7bb8;
    color: white;
    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
}

.logo a {
    color: white;
    font-size: 24px;
    text-decoration: none;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #007bff;
}

/*  navbarv Index.html  codes ends */



/* Checkout.html  codes starts */
.cart-heading .cart-icon {
    width: 25px;
    /* Adjust the size as needed */
    height: 25px;
    margin-right: 10px;
}

.checkout-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    max-lines: 100vh;
    /* This centers the h2 and any block-level content */
}

.cart-heading {
    text-align: center;
}

.cart-item {
    display: flex;
    justify-content: left;
    /* This will center the image and details horizontally */
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    /* Adds a light border */
    border-radius: 10px;
    /* Adds rounded corners */
}

.item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 4px;
}

.item-quantity-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3px;
    padding: 5px 10px;
}

.item-quantity-display p {
    margin: 0;
    font-size: 16px;
    color: #333;
    padding: 5px 10px;
}

.quantity-controls {
    display: flex;
    align-items: left;
    gap: 5px;
}

.quantity-controls button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
}

.item-quantity {
    width: 40px;
    text-align: center;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
}

.proceed-to-buy-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
}

/* Checkout.html  codes ends */

/* place_order.html  codes starts */

.personal-details-form {
    display: grid;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
}

.personal-details-form input,
.personal-details-form select {
    width: 95%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.make-payment-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
}

/* place_order.html  codes ends */


/* order_confirmation starts*/
/* Container for the confirmation page content */
.confirmation-container {
    max-width: 600px;
    margin: 80px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Heading styles */
.confirmation-container h1 {
    color: #28a745;
    /* A success green color */
    font-size: 2.5em;
    margin-bottom: 10px;
}

.confirmation-container h2 {
    color: #333;
    font-size: 1.8em;
    margin-top: 30px;
}

/* Paragraph and link styles */
.confirmation-container p {
    color: #666;
    font-size: 1em;
    line-height: 1.6;
}

.confirmation-container ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.confirmation-container ul li {
    margin-bottom: 10px;
}

.confirmation-container a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.confirmation-container a:hover {
    color: #0056b3;
}

/* "Continue Shopping" button style */
.continue-shopping-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.continue-shopping-btn:hover {
    background-color: #0056b3;
}

/* order_confirmation ends*/

/* Categories CSS codes */

/* Category Tabs - vertical layout */
.category-tabs {
    display: flex;
    flex-direction: row;
    /* stack items vertically */
    align-items: flex-start;
    /* align to left side (use center if you want centered) */
    gap: 10px;
    /* spacing between categories */
    margin: 20px 0;
    margin-left: 20px;

}

.category-tabs a {
    display: block;
    /* ensures each link takes full row */
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    transition: all 0.2s ease;
    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.3);
}

.category-tabs a:hover {
    background-color: #ececec;
    border-color: #bbb;
}

.category-tabs a.active {
    background-color: #1a3d7c;
    color: #fff;
    font-weight: bold;
}

/* Categories CSS codes ends */


/* Login form and sign up form on place_oder.html starts */
/*
|--------------------------------------------------------------------------
| CORE CHECKOUT CONTAINER STYLES (General layout)
|--------------------------------------------------------------------------
*/
.checkout-container {
    max-width: 900px;
    margin: 40px auto;

    padding: 20px 20px;
}


/* Styling for the new list section */
.order-summary-list {
    margin-bottom: 25px;
    /* Space above the Total Cart Value */

    /* Light separator line for the whole section */
    padding-bottom: 10px;
    border-radius: 10px;

}

.order-item {
    display: flex;
    justify-content: space-between;
    /* Pushes product name to left, details to right */
    align-items: center;
    padding: 8px 0;
    background-color: #d6dade;
    border-radius: 10px;

}

.item-name {
    font-weight: 500;
    margin: 0;
    color: #333;
    flex-grow: 1;
    /* Allows it to take up available space */
}

.item-details {
    display: flex;
    gap: 20px;
    /* Space between quantity and price */
    font-size: 0.95em;
    color: #555;
    padding: 10px;

}

/* Optional: Style the separator line if you included it */
.order-summary-list hr {
    border: none;
    border-top: 1px dashed #eee;
    margin: 5px 0;
}


.cart-total {
    text-align: center;
    margin: 20px 0 40px;
    padding: 15px;
    border: 1px dashed #ccc;
    background-color: #f9f9f9;
    border-radius: 10px;
}

/* Container for the overall list */
.order-summary-list {
    margin-top: 15px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-radius: 12px;
    background-color: #f9f9f9;


    /* Optional: Add a light line to separate the list from the total */
    /* border-bottom: 1px solid #ddd; */
}

/* Individual Item Row Layout (The main flex container) */
.order-item {
    display: flex;
    justify-content: space-between;
    /* Pushes item name to left, details to right */
    align-items: center;
    /* Vertically center the content */
    padding: 10px 0;
    margin: 0;
    background-color: #f9f9f9;
}

/* Product Name Styling */
.item-name {
    font-size: 1em;
    font-weight: 500;
    color: #333;
    /* Dark text for good readability */
    margin: 0;
    /* Remove default margin from the <p> tag */
    flex-grow: 1;
    /* Allows the name to take up available horizontal space */
    padding-right: 10px;
    /* Space between the name and the details */
}

/* Container for Quantity and Price details (Right side) */
.item-details {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Space between the unit price, quantity, and total */
    font-size: 0.9em;
    color: #666;
    min-width: 150px;
    /* Ensures a consistent minimum width for alignment */
    justify-content: flex-end;
    /* Aligns all details to the far right */
    border-radius: 12px;
}

/* Unit Price (e.g., $10.00 x) */
.item-price-unit {
    color: #888;
}

/* Quantity (e.g., 2) */
.item-qty {
    font-weight: 500;
    color: #444;
}

/* Item Total Price Styling (e.g., $20.00) */
.item-total {
    font-weight: bold;
    color: #000;
    min-width: 50px;
    /* Ensures prices align vertically */
    text-align: right;
}

/* Separator Line (The <hr> tag inside the loop) */
.order-summary-list hr {
    border: none;
    border-top: 1px solid #f0f0f0;
    /* Very light gray line */
    margin: 5px 0 5px 0;
}

/*
|--------------------------------------------------------------------------
| LOGIN/SIGNUP BOXES (The two main boxes that trigger the popups)
|--------------------------------------------------------------------------
*/
.account-boxes {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0 60px;
    flex-wrap: wrap;
}

.account-box {
    background: #f4f8fc;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    width: 280px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    cursor: pointer;
}

.account-box:hover {
    transform: translateY(-5px);
}

.account-box h3 {
    color: #003366;
    margin-bottom: 10px;
}

.account-box p {
    color: #555;
    margin-bottom: 15px;
}

.account-box button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.account-box button:hover {
    background-color: #0056b3;
}

/*
|--------------------------------------------------------------------------
| POPUP OVERLAY & CENTERING LOGIC
|--------------------------------------------------------------------------
*/

/* Popup overlay - This covers the whole screen */
/* POPUP OVERLAY STYLES */
.popup-overlay {
    /* --- CRITICAL: MUST BE HIDDEN BY DEFAULT --- */
    display: none;

    /* When JavaScript shows it, it uses 'flex', enabling these: */
    justify-content: center;
    align-items: center;

    /* Positioning and Background (keep these) */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

/* Popup Content - The actual white box */
.popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    /* Make it take 100% of available space */
    max-width: 450px;
    /* Limit the size on large screens */
    position: relative;
    animation: fadeIn 0.3s ease;

    /* Ensure the content is scrollable if it gets too long */
    max-height: 90vh;
    /* Don't let it exceed 90% of viewport height */
    overflow-y: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    line-height: 1;
    /* Fixes alignment for the X symbol */
}

/*
|--------------------------------------------------------------------------
| FORM STYLES INSIDE POPUPS (Login/Signup forms)
|--------------------------------------------------------------------------
*/
.account-form h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #003366;
}

.account-form input {
    width: 100%;
    padding: 12px 15px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

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

.account-form button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.account-form button:hover {
    background-color: #0056b3;
}

/*
|--------------------------------------------------------------------------
| SPECIFIC ELEMENTS (OTP / Payment)
|--------------------------------------------------------------------------
*/

/* Style the OTP button next to the email field on signup */
.signup-form #signupSendOtpBtn {
    width: auto;
    /* Override the full width */
    padding: 8px 15px;
    margin-left: 10px;
    margin-top: 0;
    font-size: 14px;
    vertical-align: top;
}

.signup-form input[type="email"]#signupEmail {
    width: calc(100% - 130px);
    /* Leave room for the button */
    display: inline-block;
}

/* OTP verification section */
#signupOtpSection {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    align-items: center;
}

#signupOtpSection input {
    flex-grow: 1;
    /* Takes up available space */
    margin: 0;
}

#signupOtpSection button {
    width: auto;
    /* Override the full width */
    padding: 8px 15px;
    margin: 0;
    background-color: #28a745;
    /* Success color for verify */
}

#signupOtpSection button:hover {
    background-color: #1e7e34;
}

.make-payment-btn {
    width: 100%;
    padding: 15px;
    margin-top: 30px;
    background-color: #ff6f00;
    /* Distinct payment button color */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.make-payment-btn:hover {
    background-color: #e65100;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE DESIGN
|--------------------------------------------------------------------------
*/
@media (max-width: 600px) {

    /* Stack the login/signup boxes vertically on small screens */
    .account-boxes {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .account-box {
        width: 90%;
        max-width: 300px;
    }

    /* Make signup inputs/buttons stack vertically for better mobile view */
    .signup-form input[type="email"]#signupEmail {
        width: 100%;
        margin-bottom: 5px;
    }

    .signup-form #signupSendOtpBtn {
        width: 100%;
        margin-left: 0;
    }

    #signupOtpSection {
        flex-direction: column;
        gap: 5px;
    }

    #signupOtpSection input,
    #signupOtpSection button {
        width: 100%;
    }
}

/* Login form and sign up form on place_oder.html ends */


/* Footer section css */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #272e8a;
    color: #fff;
    padding: 20px 40px;
    margin-top: 30px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #f1c40f;
}

.footer-logo img {
    height: 40px;
}

/* Footer section css ends */


/* policy document CSS */

/* --- Base Policy Styles --- */
.policy-document {
    /* Set a comfortable maximum width for readability on large screens */
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.policy-title {
    /* Main Policy Title (H2) */
    text-align: center;
    color: #1a4d8c;
    /* Dark Blue */
    margin-bottom: 10px;
}

.policy-date {
    /* Effective Date */
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 30px;
}

/* --- Headings --- */
.policy-heading {
    /* Section Headings (H3) */
    font-size: 1.5em;
    color: #1a4d8c;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.policy-subheading {
    /* Sub-Section Headings (H4) */
    font-size: 1.2em;
    color: #333;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* --- Content and Paragraphs --- */
.policy-content,
.data-details,
.auto-collected-data,
.usage-purposes,
.sharing-practices,
.cookie-types,
.contact-details,
.right-details {
    /* Standard paragraph and list spacing */
    margin-bottom: 15px;
    padding-left: 0;
}

.policy-content strong {
    font-weight: bold;
}

/* --- Data and Rights Sections (for tables/lists) --- */
.data-collection-section,
.rights-section {
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
}

.data-category,
.right-title {
    font-weight: bold;
    color: #000;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.data-details li,
.right-details li {
    margin-bottom: 5px;
    list-style-type: disc;
    margin-left: 20px;
}

.security-note {
    font-style: italic;
    color: #cc0000;
    /* Red for emphasis on security */
    list-style-type: none !important;
    margin-left: 0 !important;
}

/* --- Utility Classes --- */
.policy-divider {
    border: 0;
    height: 1px;
    background-color: #eee;
    margin: 30px 0;
}

/* --- Contact Details --- */
.contact-details {
    list-style: none;
    padding-left: 0;
}

/* Policy CSS ends  */


/* --- Base Styling for About Page --- */
.about-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.about-header {
    text-align: center;
    margin-bottom: 30px;
}

.about-title {
    font-size: 2.5em;
    color: #333;
    /* border-bottom: 3px solid #093d74; */
    /* Primary brand color */
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.about-subtitle,
.about-content {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 15px;
}

.about-divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 30px 0;
}

.about-heading {
    font-size: 1.8em;
    color: #234972;
    /* Primary brand color */
    margin-top: 0;
    margin-bottom: 15px;
}

/* --- Designer Profile Section Styling --- */
.designer-section {
    padding: 20px;
    background-color: #f9f9f9;
    /* Light background to make it stand out */
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3), 0 1px 5px rgba(0, 0, 0, 0.1);
}

.designer-profile {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    /* Aligns content to the top */
}

.designer-photo-box {
    flex-shrink: 0;
    /* Prevents the photo box from shrinking */
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
    /* Circular photo for a professional look */
    border: 5px solid #09488b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.designer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image fills the circle */
}

.designer-details {
    flex-grow: 1;
}

.designer-stats {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.designer-stats li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: #333;
}

.designer-stats li::before {
    content: '⭐';
    /* Use a star or checkmark emoji */
    position: absolute;
    left: 0;
    margin-lef: 5px;
}

.stat-highlight {
    color: #333;
    /* Darker text for labels */
}

/* --- What We Offer Section --- */
.offer-list {
    list-style: none;
    padding-left: 0;
}

.offer-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.offer-list li::before {
    content: '📚';
    /* Book emoji for educational content */
    position: absolute;
    left: 0;
    top: 0;
}

/* --- Blockquote/Note Styling --- */
.about-note {
    margin: 20px 0;
    padding: 15px;
    border-left: 5px solid #ffc107;
    /* Yellow highlight for notes */
    background-color: #fffbe6;
    color: #6d5b00;
    font-style: italic;
}

.note-title {
    color: #333;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* --- Final Section/Motto --- */
.motto {
    font-style: italic;
    text-align: center;
    font-size: 1.2em;
    padding: 15px;
    background-color: #e6f7ff;
    border-radius: 4px;
}

/* --- Responsive Adjustments (for smaller screens) --- */
@media (max-width: 768px) {
    .designer-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* --- Base Styling for About Page  ends--- */


/* contact us css  */

.contact-container {
    /* max-width: 500px;
    margin: 40px auto 20px auto;
    padding: 30px 25px 25px 25px;
    background: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
} */

    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.contact-title {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 0.8em;
}

.contact-welcome {
    text-align: center;
    color: #333;
    margin-bottom: 1.6em;
}

.contact-success {
    background: #e8ffe5;
    color: #185c23;
    padding: 10px 18px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1em;
    border: 1px solid #b3e6b3;
}

.contact-form {
    margin-bottom: 24px;
}

.form-table {
    width: 100%;
    margin-bottom: 1em;
}

.form-table td {
    padding: 0.3em 0.6em;
    vertical-align: middle;
}

.btn-contact-submit {
    display: block;
    width: 60%;
    /* Button width */
    margin: 10px auto 0 auto;
    /* Top margin + auto centering horizontally */
    padding: 0.75em 0;
    background: #2b84e0;
    color: #fff;
    font-size: 1.08em;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}


.btn-contact-submit:hover {
    background: #236bb2;
}

.contact-info-title {
    margin-top: 30px;
    font-size: 1.3em;
    color: #222;
    text-align: left;
    margin-left: 10px;
}

.contact-info-list {
    padding-left: 10px;
    list-style: none;
    margin-top: 10px;
}

.contact-info-list li {
    margin-bottom: 8px;
    font-size: 1em;
    color: #333;
}

.contact-info-list a {
    color: #2b84e0;
    text-decoration: underline;
}

/* contact us css ends */

/* forms.py css style  */

.contact-input {
    width: 98%;
    padding: 10px;
    border: 1px solid #b7c6d4;
    border-radius: 7px;
    background: #fff;
    font-size: 1em;
    margin-bottom: 8px;
    transition: border 0.2s;
}

.contact-input:focus {
    border-color: #2b84e0;
    outline: none;
    background: #f0f8ff;
}

.contact-textarea {
    width: 98%;
    padding: 10px;
    border: 1px solid #b7c6d4;
    border-radius: 7px;
    background: #fff;
    font-size: 1em;
    margin-bottom: 8px;
    resize: vertical;
    transition: border 0.2s;
}

.contact-textarea:focus {
    border-color: #2b84e0;
    outline: none;
    background: #f0f8ff;
}

.contact-form label {
    font-weight: 600;
    color: #0e2b4c;
    margin-top: 10px;
    display: block;
    padding-bottom: 20%;
}

.contact-form td {
    vertical-align: top;
}

/* For validation error messages, if any */
ul.errorlist {
    color: #e74c3c;
    margin: 0 0 7px 0;
    list-style-type: none;
    font-size: 0.99em;
    padding: 0;
}

/* forms.py css ends */