html {
    overflow-x: hidden !important;
}

.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

:root {
    --bs-breadcrumb-divider: '/';
}

/* Hide the default browser password reveal icon */
input[type="password"]::-webkit-password-reveal-button,
input[type="password"]::-ms-reveal {
    display: none;
    -webkit-appearance: none;
}

#pagination-container {
    padding: 0 20px !important;
}


/* General form styles */
.account__login--input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f9f9f9;
}

.account__login--btn {
    width: 100%;
    border-radius: .5rem;
    font-size: 1.5rem;
}

@media only screen and (min-width: 992px) {
    .primary__btn {
        font-size: 1.6rem;
        line-height: 4.5rem;
        height: 4.5rem;
    }
}

@media only screen and (min-width: 768px) {
    .primary__btn {
        font-size: 1.5rem;
        line-height: 4rem;
        height: 4rem;
        padding: 0 2rem;
    }
}

.primary__btn {
    font-size: 1.4rem;
    font-weight: 2.8rem;
    line-height: 3.5rem;
    display: inline-block;
    height: 3.5rem;
    padding: 0 1.8rem;
    letter-spacing: .2px;
    border-radius: .3rem;
    background: #ee2761;
    color: #fff;
    border: 0;
}

/* Label styles */
.form-group {
    margin-bottom: 15px;
}

.form-label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

/* Focused input field styles */
.account__login--input:focus {
    border-color: #007bff;
    background-color: #fff;
    outline: none;
}

/* Input fields when filled with valid data */
.account__login--input:valid {
    border-color: #28a745;
    /* Green border for valid inputs */
}

/* Error message styles */
.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

/* Checkbox styles */
.checkout__checkbox--input {
    margin-right: 10px;
}

.checkout__checkbox--label {
    font-size: 14px;
    color: #333;
}

/* Success message */
.success-message {
    color: green;
    font-size: 14px;
    margin-top: 10px;
}

.p-0 {
    padding: 0 !important;
}

.pb-9 {
    padding-bottom: 2.8125rem !important;
}

.pt-10 {
    padding-top: 3.125rem !important;
}


/*--------------------------------------------------------------
 6.	Header Slider
--------------------------------------------------------------*/

/*----------------------------Gallery  srection--------------------------------*/
/* --- General Section Styling --- */
.gallery-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #f8f9fa;
    overflow-x: hidden !important;
}

/* --- Grid Layout --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /* 1 column on mobile */
    gap: 1.5rem;
    /* A bit more spacing */
}

/* --- Media Card Styling --- */
.media-card {
    border: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000000;
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 0.5rem;
    /* Added for softer edges */
}

.media-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2) !important;
}

.gallery-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    loading: lazy;
}

/* --- The "Expand" Icon --- */
.open-lightbox-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    /* Hidden by default */
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.media-card:hover .open-lightbox-icon {
    opacity: 1;
    /* Show icon on hover */
    transform: scale(1);
}

.open-lightbox-icon svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

/* --- Lightbox (Modal Popup) Styling --- */
.lightbox {
    /* display: none; is now being handled by the inline style for reliability */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content-wrapper {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
}

.lightbox-content {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    margin: auto;
}

#lightbox-video {
    width: 100%;
    height: auto;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* --- Responsive Media Queries --- */
@media (min-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
    }
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns on desktop */
    }
}


/*-------------------------------------photo-gallery-section-----------------------------*/
/* Styling for the main section title */
.section-title-wrapper {
    margin-bottom: 40px;
    /* Space below the title */
}

.section-title {
    font-family: 'Playfair Display', serif;
    /* Or a similar elegant serif font */
    font-size: 2.5rem;
    /* Adjust as needed */
    font-weight: 700;
    color: #333;
    /* Darker text for good contrast */
    text-align: center;
}

/* Styling for each gallery item wrapper */
.gallery-item {
    border-radius: 12px;
    /* Slightly rounded corners for the whole item */
    overflow: hidden;
    /* Ensures image and caption stay within rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Soft shadow as seen in the image */
    background-color: #fff;
    /* White background for the card */
    display: flex;
    /* Use flexbox for image and caption layout */
    flex-direction: column;
    /* Stack image and caption vertically */
    height: 100%;
    /* Ensure all items in a row have similar height */
}

/* Styling for the image within the gallery item */
.gallery-photo-item {
    width: 100%;
    height: auto;
    /* Maintain aspect ratio */
    display: block;
    /* Remove extra space below image */
    object-fit: cover;
    /* Ensures images cover the area without distortion */
    border-top-left-radius: 12px;
    /* Match parent's border-radius */
    border-top-right-radius: 12px;
    /* Match parent's border-radius */
    transition: transform 0.3s ease-in-out;
    /* Smooth hover effect for image */
}

.gallery-item:hover .gallery-photo-item {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

/* Styling for the caption below each photo */
.photo-caption {
    font-family: Arial, sans-serif;
    /* Or your preferred sans-serif font */
    font-size: 1.1rem;
    /* Adjust text size */
    font-weight: 500;
    color: #333;
    /* Dark text */
    text-align: center;
    padding: 15px 10px;
    /* Padding above and around text */
    margin-bottom: 0;
    /* Remove default paragraph margin */
    line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .section-title {
        font-size: 2rem;
        /* Smaller title on small screens */
    }
}

/*---------------------------------------------choose-us-content--------------------------------------------*/
.choose-us-content .section-title h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.choose-us-content>p {
    margin-bottom: 30px;
}

.choose-us-content .icon-items {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.choose-us-content .icon-items .icon {
    flex-shrink: 0;
}

.choose-us-content .icon-items .content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.choose-us-content .icon-items .content p {
    font-size: 15px;
    margin-bottom: 0;
    line-height: 1.4;
}

/*------------------------------------contact-section-------------------------------------*/
.contact-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.contact-form-box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.input-group-text {
    background-color: transparent;
    border-right: 0;
}


#captcha {
    border-left: 1px solid #ced4da;
}

.input-group .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.btn-submit {
    background-color: #ff6565;
    color: white;
    font-weight: bold;
    border-radius: 0.5rem;
    width: 100%;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #0056b3;
    color: white;
}

.captcha-question {
    font-weight: bold;
    color: #555;
}

/*--------------------------------------contact-info-----------------------------------------*/
.contact-info {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-box {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.contact-description {
    color: #6c757d;
    font-size: 16px;
}

/* Contact Item Styling (Address, Email, Phone) */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 24px;
    color: #ff6565;
}

.contact-info-text h5 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.contact-info-text p {
    font-size: 18px;
    color: #555;
}

.contact-item a {
    color: #231942;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #0056b3;
}

/* Social Media Links */
.social-links {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-link {
    font-size: 24px;
    color: #333;
    padding: 12px;
    border-radius: 50%;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #ff6565;
    color: #fff;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-title {
        font-size: 28px;
    }

    .contact-info {
        margin-bottom: 20px;
    }

    .contact-description {
        font-size: 14px;
    }

    .contact-item i {
        font-size: 20px;
    }

    .contact-info-text h5 {
        font-size: 16px;
    }

    .contact-info-text p {
        font-size: 13px;
    }

    .social-link {
        font-size: 20px;
        padding: 10px;
    }
}

/*----------------------------modal------------------*/

.lovely-booking-modal {
    z-index: 9999 !important;
    /* Forces the modal to the very top layer */
}

/* --- Scoped Modal Styling (Only affects this modal) --- */
.lovely-booking-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.lovely-booking-modal .modal-header {
    background: linear-gradient(110deg, #fdf0f5, #f8e4e9);
    color: #c72c63;
    border: none;
    padding: 1.5rem 2rem;
}


.lovely-booking-modal .modal-title {
    font-weight: 700;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    /* min, preferred, max */
    display: flex;
    align-items: center;
}

.lovely-booking-modal .modal-title i {
    font-size: 1.6rem;
    margin-right: 12px;
    opacity: 0.8;
}

/* --- Corrected and Improved Close Button --- */
.lovely-booking-modal .btn-close {
    /* This ensures the Bootstrap "X" icon is visible. */
    filter: invert(20%) grayscale(100%);
    /* Makes the icon a dark grey */
    opacity: 0.7;
    border-radius: 50%;
    padding: 0.5em;
    transition: all 0.2s ease-in-out;
}

.lovely-booking-modal .btn-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
    /* Adds a subtle, professional background on hover */
    transform: none;
    /* Removed the distracting rotate effect */
}


/* ---
   RESPONSIVE FIX: Scrollable Modal Body
   Prevents the form from being cut off on smaller screens.
--- */
.lovely-booking-modal .modal-body {
    padding: 1.5rem 2rem 2rem 2rem;
    background-color: #ffffff;
    max-height: 70vh;
    /* Sets a maximum height relative to the viewport */
    overflow-y: auto;
    /* Adds a scrollbar ONLY if the content is too long */
}

/* --- Scoped Form Elements --- */
.lovely-booking-modal .form-label {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.lovely-booking-modal .form-control,
.lovely-booking-modal .form-select {
    border-radius: 10px;
    border: 1px solid #dfe6e9;
    padding: 12px 15px;
    background-color: #f9fafb;
    transition: all 0.3s ease-in-out;
    font-size: 1rem;
}

.lovely-booking-modal .form-control:focus {
    border-color: #c72c63;
    box-shadow: 0 0 0 3px rgba(199, 44, 99, 0.1);
    background-color: #fff;
}

/* --- Scoped Checkboxes and Radios --- */
.lovely-booking-modal .services-container {
    background-color: transparent;
    border: none;
    padding: 0;
}

.lovely-booking-modal .form-check-input {
    border-color: #b2bec3;
    transition: all 0.2s ease;
}

.lovely-booking-modal .form-check-input:checked {
    background-color: #c72c63;
    border-color: #c72c63;
}

.lovely-booking-modal .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(199, 44, 99, 0.15);
}

.lovely-booking-modal .form-check-label {
    padding-left: 0.5em;
    font-weight: 500;
    cursor: pointer;
}

/* --- Scoped Footer and Buttons --- */
.lovely-booking-modal .modal-footer {
    border: none;
    background-color: #f8f9fa;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
}

.lovely-booking-modal .btn-secondary {
    background-color: #e9ecef;
    border-color: #e9ecef;
    color: #495057;
    font-weight: 600;
    border-radius: 10px;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.lovely-booking-modal .btn-secondary:hover {
    background-color: #d3d9df;
    border-color: #d3d9df;
}

.lovely-booking-modal .btn-primary {
    background: linear-gradient(110deg, #d13a69, #b32e56);
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 4px 15px rgba(209, 58, 105, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lovely-booking-modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(209, 58, 105, 0.3);
}

.lovely-booking-modal .btn-primary:active {
    transform: translateY(0);
}


/*----------------------blog------------*/

.blog-section .blog-sidebar .widget {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.blog-section .blog-sidebar .widget-title {
    background-color: #f8f9fa;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.blog-section .blog-sidebar .widget-body {
    max-height: 27rem;
    overflow-y: auto;
}



.blog-section .blog-content-area {
    margin-top: 3rem;
}

.blog-section .blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.blog-section .blog-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

.blog-section .blog-content {
    margin-top: 2rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

.blog-section .blog-content p {
    margin-bottom: 1rem;
}

.blog-section .blog-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-section .blog-content a {
    color: #007bff;
    text-decoration: none;
    border-bottom: 1px dotted #007bff;
}

.blog-section .list-group-flush>.list-group-item {
    padding: 1rem;
}

/* Apply styles when the item is active OR when it is hovered */
.list-group-item.active,
.list-group-item:hover {
    z-index: 2;
    color: var(--bs-list-group-active-color);
    background-color: #7000fe;
    border-color: var(--bs-list-group-active-border-color);
}

.blog-section .blog-content a:hover {
    color: #0056b3;
    border-bottom-style: solid;
}

.blog-section .blog-content figure.table {
    display: block;
    overflow-x: auto;
}

/*
=========================================
BLOG CONTENT STYLING
=========================================
*/

/* Main container for the article content */
.blog-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #343a40;
    /* Dark gray for better readability than pure black */
    font-size: 1.1rem;
    /* Slightly larger base font size */
    line-height: 1.7;
    /* Generous line spacing for easy reading */
}

/* --- Typography --- */

/* Headings (h2, h3, h4) */
.blog-content h2,
.blog-content h3,
.blog-content h4 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    /* Less space below to connect with content */
    color: #212529;
    /* A darker shade for headings */
}

.blog-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid #e9ecef;
    /* Subtle separator for main headings */
    padding-bottom: 0.5rem;
}

.blog-content h3 {
    font-size: 1.75rem;
}

.blog-content h4 {
    font-size: 1.4rem;
}

/* Paragraphs */
.blog-content p {
    margin-bottom: 1.5rem;
}

/* Links */
.blog-content a {
    color: #007bff;
    /* A standard, accessible blue */
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(0, 123, 255, 0.2);
    transition: all 0.2s ease-in-out;
}

.blog-content a:hover {
    color: #0056b3;
    background-color: rgba(0, 123, 255, 0.1);
    border-bottom-color: #007bff;
}

/* --- Lists (Refined Version) --- */

/* General list container styling */
.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    /* Indentation for the list */
}

/* General list item styling */
.blog-content li {
    margin-bottom: 0.75rem;
    /* Slightly more space between items */
    padding-left: 0.5rem;
    /* Space between marker and text */
    line-height: 1.6;
    /* Improved readability for multi-line items */
}

/* --- Unordered Lists (ul) --- */
.blog-content ul {
    list-style-type: disc;
    /* The classic solid circle bullet • */
}

.blog-content ul ul {
    list-style-type: circle;
    /* An open circle for the second level ° */
}

.blog-content ul ul ul {
    list-style-type: square;
    /* A square for the third level ▪ */
}


/* --- Ordered Lists (ol) --- */
.blog-content ol {
    list-style-type: decimal;
    /* 1, 2, 3 */
}

.blog-content ol ol {
    list-style-type: lower-alpha;
    /* a, b, c */
}

.blog-content ol ol ol {
    list-style-type: lower-roman;
    /* i, ii, iii */
}

/* --- Media --- */

/* Images */
.blog-content img,
.blog-img {
    width: 100%;
    max-height: 32rem;
    /* Essential for responsiveness */
    height: auto;
    /* Maintain aspect ratio */
    border-radius: 8px;
    /* Soft, modern rounded corners */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* --- Tables --- */

/* Table Wrapper for Responsiveness */
.blog-content .table-responsive-wrapper {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

/* Table Styling */
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.blog-content th,
.blog-content td {
    padding: 0.8rem 1rem;
    border: 1px solid #dee2e6;
    text-align: left;
    vertical-align: top;
}

.blog-content th {
    background-color: #f8f9fa;
    font-weight: 700;
}

/* Zebra-striping for better readability */
.blog-content tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

/* --- Other Elements --- */

/* Blockquotes for highlighting text */
.blog-content blockquote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    border-left: 5px solid #007bff;
    background-color: #f8f9fa;
    font-style: italic;
    color: #6c757d;
}

/* Horizontal Rule for dividers */
.blog-content hr {
    margin: 3rem 0;
    border: 0;
    border-top: 1px solid #dee2e6;
}

/*-------------------blog cardd*/
/* General styles for the news section */
.news-section {
    background-color: #f8f9fa;
    /* A light grey background for the section */
}

/* Styling for the card */
.news-card {
    border-radius: 15px;
    /* Rounded corners for a modern look */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    /* Ensures the image respects the rounded corners */
}

.news-card:hover {
    transform: translateY(-10px);
    /* Lifts the card on hover */
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
    /* Adds a more pronounced shadow */
}

/* Card image styling */
.news-card-img {
    height: 17rem;
    object-fit: cover;
    /* Ensures the image covers the area without distortion */
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.05);
    /* Slightly zooms the image on hover */
}

/* Card body content alignment */
.card-body {
    padding: 1.5rem;
}

.card-title a {
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #0d6efd !important;
    /* Changes title color on hover */
}

/* Button styling */
.btn-primary {
    background-color: #B53773;
    border-color: #B53773;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    /* Pill-shaped button */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.sticky-top {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
}

/*----------------------------------------- === SLIDER STYLING--------------------------------------- === */

.slider-x-section {
    position: relative;
    width: 100%;
    height: 90vh;
    max-height: 800px;
    min-height: 500px;
    background-color: #111;
    overflow: hidden;
}

.swiper-button-prev,
.swiper-button-next {
    display: none;
}

.slider-content h1 {
    color: #fff;
    font-size: 3.5rem;
    /* Large font size for impact */
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    /* Adds shadow for even more readability */
}

.slider-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.swiper.hero-slider,
.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

/* 1. Image Styling: Key fix for the "black bars" */
.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This makes the image cover the area, no black bars */
    object-position: center;
    /* Ken Burns pan effect for a professional touch */
    transition: transform 8s ease-in-out;
}

.swiper-slide-active .slider-img {
    transform: scale(1.1);
}

.slider-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient looks more professional than a solid color */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

/* 3. Text Content Styling */
.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #ffffff;
    text-align: center;
    width: 90%;
    max-width: 850px;
}

/* Text animation on active slide */
.slider-heading,
.slider-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.4s;
}

.swiper-slide-active .slider-heading,
.swiper-slide-active .slider-title {
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide-active .slider-title {
    transition-delay: 0.6s;
    /* Stagger the animation */
}


:root {
    --swiper-theme-color: #fff;
    --swiper-navigation-size: 30px;
}



.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* 5. Responsive Adjustments */
@media (max-width: 992px) {
    .slider-x-section {
        height: 75vh;
        min-height: 450px;
    }

    .slider-content h1 {
        font-size: 2.8rem;
    }

    .slider-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .slider-x-section {
        height: 60vh;
        min-height: 400px;
    }

    .slider-content h1 {
        font-size: 2.2rem;
    }

    .slider-content p {
        font-size: 1rem;
    }

    .footer-widgets-wrapper .single-footer-widget .contact-list-2 li .content h3 {
        font-weight: 400;
        font-size: 15px;
    }
}