@font-face {
    font-family: "Geometria";
    src: url("../fonts/Geometria.ttf") format("truetype");
}
.primary-font {
    font-family: "Geometria", sans-serif;
}

@media (min-width: 768px) {
    .w-50-pc {
        width: 50% !important;
    }
}

* {
    margin: 0;
    padding: 0;
}
body,
html {
    font-family: "Geometria", sans-serif;
    font-weight: 200;
    font-size: 12px;
}

.navbar-custom {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: transparent;
    transition: top 0.4s ease, background-color 0.3s ease;
    padding: 1rem 2rem;
}
.navbar-scrolled {
    background-color: rgba(0, 0, 0, 0.85); /* Or any solid color you want */
}

.navbar-hidden {
    top: -100px;
}

.language-switch {
    font-size: 0.9rem;
    color: white;
}

.explore-circle {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 2;
    cursor: pointer;
}

.hero-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: absolute;
    bottom: 15%;
    left: 10%;
    z-index: 2;
}

.hero-content h1 {
    font-family: "Geometria", sans-serif;
    font-weight: 200;
}

.discover-link {
    color: white;
    text-transform: uppercase;
    margin-top: 10px;
    display: inline-block;
    font-size: 0.9rem;
}
/* Add this to your CSS file or <style> tag */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .explore-circle {
        right: 20px;
        bottom: 20px;
    }
}

.discover-saudi-arabia {
    background-color: #edf1f9;
    padding-top: 60px;
}

.discover-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: "Geometria", sans-serif;
}

.discover-description {
    max-width: 960px;
    margin: 0 auto;
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    font-weight: 300;
}

.activity-icons .activity-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.activity-title {
    font-family: "Brush Script MT", cursive;
    font-size: 3.5rem;
    margin-top: 10px;
    font-weight: bold;
}

.bottom-pattern img {
    width: 100%;
}

.featured-articles {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(
        to bottom,
        rgba(255, 198, 0, 0.9),
        rgba(255, 198, 0, 0.5),
        transparent
    );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    z-index: 4;
}

.articles-wrapper {
    display: flex;
    justify-content: center;
    gap: 0;
    overflow: hidden;
}

.article-card {
    position: relative;
    flex: 1;
    height: 450px;
    overflow: hidden;
    transition: flex 0.4s ease;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.article-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1));
    z-index: 1;
    transition: 0.4s ease;
}

.article-card:hover {
    flex: 1.4;
}

.article-card:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
}

.article-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-size: 110%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    transition: transform 0.4s ease;
}

.article-card:hover::after {
    transform: scale(1.1);
}

.article-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    color: #fff;
    text-align: center;
    width: 100%;
}

.article-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.article-content p {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 200;
    font-style: regular;
}

@media (max-width: 992px) {
    .articles-wrapper {
        display: grid;
        grid-template-columns: 30% 40% 30%;
        overflow: hidden;
    }
    .article-card {
        max-width: 100%;
        height: 450px;
        overflow: hidden;
        transition: flex 0.4s ease;
        cursor: pointer;
        background-size: cover;
        background-position: center;
    }
    .article-card:hover {
        transform: scale(0.9);
        overflow: hidden;
        background-size: 110%;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 0;
        transition: transform 0.4s ease;
    }
}

@media (max-width: 768px) {
    .articles-wrapper {
        display: grid;
        grid-template-columns: 50% 50%;
        overflow: hidden;
    }
    .article-card {
        max-width: 100%;
        height: 450px;
        overflow: hidden;
        transition: flex 0.4s ease;
        cursor: pointer;
        background-size: cover;
        background-position: center;
    }
    .article-card:hover {
        transform: scale(0.9);
        overflow: hidden;
        background-size: 110%;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 0;
        transition: transform 0.4s ease;
    }
}

@media (max-width: 576px) {
    .articles-wrapper {
        display: block;
        overflow: hidden;
    }

    .article-card {
        max-width: 100%;
        height: 450px;
        overflow: hidden;
        transition: flex 0.4s ease;
        cursor: pointer;
        background-size: cover;
        background-position: center;
    }
}

/* Section Styling */
/* Section Styling */
.reflections-section {
    /* Using a simple background color for this demo, you can restore your image */
    /* background-image: url('../images/vector/home-4.png'); */
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0; /* Adjusted padding */
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Prevent overflow issues with slider */
}

.reflections-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.reflections-section h2 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 40px;
}

/* --- Swiper Slider and Image Styling (Updated) --- */
.reflections-slider {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease;
}

.person-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffcccb;
    cursor: pointer;
    transition: transform 0.5s ease, opacity 0.5s ease, border-color 0.5s ease;
    transform: scale(0.8); /* Default size for non-active images */
    opacity: 0.6; /* Default opacity for non-active images */
}

/* Style for the active (center) slide */
.swiper-slide-active .person-image {
    transform: scale(1.2); /* Make the center image bigger */
    opacity: 1;
    border-color: #ff6b6b; /* Highlight border for active image */
}

/* --- Testimonial Styling (from your original) --- */
.testimonial {
    max-width: 700px;
    margin: 40px 20px 0 20px; /* Added horizontal margin for small screens */
    min-height: 150px; /* Set a min-height to prevent layout jumps */
}

.testimonial p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.testimonial .author {
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.testimonial .highlight {
    font-weight: 700;
    color: #333;
    margin-top: 20px;
    display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .reflections-section h1 {
        font-size: 2rem;
    }
    .reflections-section h2 {
        font-size: 1rem;
    }
    .testimonial p {
        font-size: 0.9rem;
    }

    .person-image {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 576px) {
    .reflections-section h1 {
        font-size: 1.8rem;
    }
    .reflections-section h2 {
        font-size: 0.9rem;
    }
    .testimonial p {
        font-size: 0.85rem;
    }

    .person-image {
        width: 70px;
        height: 70px;
    }
}

footer {
    background-image: url("../images/footer/footer-1.png");
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 40px 20px;
    color: #fff;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Vector Art Overlay */
footer::after {
    content: "";
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    height: 80px; /* Adjusted to match the vector art height in the image */
    background-image: url("../images/vector/home-5.png");
    background-size: cover; /* Ensure it spans the full width */
    background-repeat: no-repeat;
    background-position: bottom center;
    z-index: 1;
}

/* Logo Section */
.footer-logo {
    position: absolute;
    bottom: 200px;
    left: 370px;
}

.footer-logo img {
    width: 250px;
    margin-bottom: 10px;
}

/* Navigation Links */
.footer-nav {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    margin-bottom: 20px;
    z-index: 2;
    position: absolute;
    top: 150px;
    right: 150px;
}

.footer-nav h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-nav ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.footer-nav ul li a:hover {
    color: #fff;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 10px;
    z-index: 2;
    position: relative;
}

.social-icons a {
    color: #ccc;
    font-size: 1.2rem;
}

.social-icons a:hover {
    color: #fff;
}

/* Footer Text */
.footer-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #ccc;
    z-index: 2;
    position: relative;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-logo {
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .footer-logo h1 {
        font-size: 1.5rem;
    }

    .footer-logo h1 span {
        font-size: 2rem;
    }

    footer::after {
        height: 60px; /* Adjust vector art height for smaller screens */
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-text {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    footer {
        background-image: url("../images/footer/footer-1.png");
        background-size: cover;
        background-position: left;
        position: relative;
        padding: 40px 20px;
        color: #fff;
        min-height: 500px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .footer-logo {
        position: absolute;
        top: 40px;
        left: 40px;
    }
    .footer-logo img {
        width: 150px;
    }
    .footer-nav {
        display: flex;
        justify-content: flex-start;
        gap: 20px;
        margin-bottom: 20px;
        z-index: 2;
        position: absolute;
        top: 50px;
        right: 50px;
    }
    .footer-nav .nav-column {
        display: flex;
        justify-content: flex-start;
        position: absolute;
        top: 50px;
        right: 50px;
    }

    footer::after {
        height: 50px; /* Further adjust vector art height */
    }

    .footer-nav h3 {
        font-size: 1rem;
    }

    .footer-nav ul li a {
        font-size: 0.8rem;
    }
}

/* Provinces Page  */

.hero-breadcrumb {
    position: relative;
    height: 50vh;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    color: white;
}

.hero-breadcrumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-breadcrumb-content {
    position: absolute;
    bottom: 15%;
    left: 10%;
    z-index: 2;
}

.hero-breadcrumb-content h1 {
    font-family: "Geometria", sans-serif;
    font-weight: 200;
}

.provinces-section {
    background-image: url("../images/vector/home-4.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    background-color: #fff; /* your vector background will come here */
    position: relative;
}

.container {
    width: 90%;
    margin: 0 auto;
}

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

/* Slider container */
.provinces-slider {
    padding: 40px 60px;
    position: relative;
}

/* Slide item */
.province-item {
    width: auto !important;
}

/* Box layout: Image + Text */
.province-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
}

/* Circular image */
.image-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* Text styles */
.text-wrapper h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    color: #000;
}

.text-wrapper span {
    font-size: 14px;
    color: #555;
}

/* Hover zoom effect */
.province-box:hover img {
    transform: scale(1.05);
}

/* Navigation arrows */
.swiper-button-prev,
.swiper-button-next {
    color: #407bff;
    background: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-prev {
    left: -40px;
}

.swiper-button-next {
    right: -40px;
}

.destination-card-wrapper {
    width: 25%; /* 4 columns by default */
    padding: 0 !important;
    margin: 0 !important;
    float: left; /* Fallback */
    display: block;
}
.destination-card {
    height: 220px;
}

.col-6,
.col-md-4,
.col-lg-3 {
    padding-right: 0;
    padding-left: 0;
}
.destination-card {
    position: relative;
    overflow: hidden;
}

.destination-card img {
    transition: transform 0.3s ease;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.155); /* optional dark overlay */
    opacity: 1;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.destination-card:hover .overlay {
    opacity: 1;
}

.destination-card .overlay .btn {
    opacity: 0;
    transform: translateY(40px) scale(1);
    transition: all 0.4s ease;
    background-color: transparent;
    color: white;
    font-family: "Geometria", sans-serif;
    border: none;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 200;
    cursor: pointer;
}

.destination-card:hover .overlay .btn {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.destination-card .overlay .btn:hover {
    background-color: #da6626;
    border-radius: 0;
    transform: scale(1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .destination-card-wrapper {
        width: 33.333%; /* 3 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        margin: 0 auto;
    }
    .provinces-section {
        padding: 60px 10px;
    }
    .destination-card-wrapper {
        width: 50%; /* 2 columns on small screens */
    }
}

.provinces-slider {
    padding: 20px 0 40px;
}

.destination-section {
    padding: 80px 20px;
    background-color: #fff; /* your vector background will come here */
    position: relative;
    width: 100%;
}

.swiper-button-prev,
.swiper-button-next {
    color: #1442d8;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0px -200px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 2.2rem;
}

/* Discover Text */
.discover-text {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .image-wrapper {
        height: 100px;
        width: 100px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

.principal-facts-section {
    background-color: #f8f9fa; /* Light grey background like the image */
}

.principal-facts-title {
    margin-left: 110px;
    font-weight: bold;
    color: #212529; /* Dark text color */
    text-align: left; /* Aligned to the start of its container */
}

.image-triptych {
    display: flex;
    height: 500px; /* Adjust as needed, or make it responsive */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
}

.image-panel {
    flex-grow: 1; /* Initially, panels try to take equal space */
    flex-shrink: 1;
    flex-basis: 30%; /* Initial small width for non-active panels */
    overflow: hidden;
    position: relative; /* For potential future absolute positioned elements */
    transition: flex-basis 0.7s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smooth transition */
    cursor: pointer;
}

.image-panel.active {
    flex-basis: 60%; /* Active panel takes more space */
}

.image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the panel without distortion */
    display: block;
}

.content-text {
    color: #495057; /* Slightly lighter text color for paragraph */
}

.content-title {
    font-weight: bold;
    color: #212529;
}

/* Responsive adjustments if needed */
@media (max-width: 991.98px) {
    /* Below lg breakpoint */
    .image-triptych {
        height: 400px; /* Adjust height for smaller screens */
    }
    .principal-facts-title {
        text-align: center;
    }
    .content-text {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    /* Below md breakpoint */
    .image-triptych {
        height: 300px; /* Further adjust height */
    }
    .image-panel {
        flex-basis: 33.333%; /* On small screens, maybe show them more equally initially */
    }
    .image-panel.active {
        flex-basis: 50%; /* Active panel on small screens */
    }
    .image-panel:not(.active) {
        flex-basis: 25%;
    }
}

/* In your style.css */

.provincial-cuisine-section {
    background: linear-gradient(to right, #5487c61a 50%, #ffffff 50%);
    /* This provides the light greyish-blue background */
    padding-top: 5rem; /* Bootstrap's py-5 gives 3rem, image looks slightly more, adjust if needed */
    padding-bottom: 5rem; /* Bootstrap's py-5 gives 3rem, image looks slightly more, adjust if needed */
}

.text-content-area .section-title {
    /* Using Bootstrap classes: display-5 fw-bold */
    color: #212529; /* Default Bootstrap dark */
}

.text-content-area .sub-title {
    /* Using Bootstrap classes: h4 fw-semibold */
    color: #343a40; /* Slightly lighter dark */
}

.text-content-area p {
    /* Using Bootstrap class: text-muted */
    font-size: 0.95rem;
    line-height: 1.6;
}

.image-carousel-container {
    position: relative;
    background-color: white;
}

.image-carousel-wrapper {
    overflow: hidden;
    height: 450px; /* Adjust this based on desired image height and aspect ratio */
}

.image-carousel-track {
    display: flex;
    align-items: stretch; /* Make items take full height of track */
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    will-change: transform;
}

.carousel-image-item {
    flex-shrink: 0; /* Prevent items from shrinking */
    margin-right: 2px;
    height: 100%;

    overflow: hidden; /* To ensure img corners are rounded if img itself isn't */
    cursor: pointer; /* Indicate users can click them to focus */

    /* Default style for smaller, preview images */
    width: 180px;
    opacity: 1;
    transform: scale(0.9);
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
        opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.carousel-image-item.active {
    /* Style for the main, larger, active image */
    width: 450px;
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-image-item:last-child {
    margin-right: 0;
}

.carousel-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the panel without distortion */
    display: block;
}

.carousel-navigation {
    text-align: right;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;

    position: absolute;
    left: 70.6%;
    right: 20.84%;
    top: 100%;
    bottom: 0.18%;
}

.carousel-btn {
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #0d6efd; /* Bootstrap primary blue */
    border-radius: 25px;
    width: 50px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    padding: 10px;
    transition: background-color 0.2s ease, color 0.2s ease,
        border-color 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.carousel-btn svg {
    width: 18px;
    height: 18px;
}

.carousel-btn:hover {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #6c757d;
}
.carousel-btn:disabled:hover {
    background-color: #e9ecef; /* Keep hover consistent for disabled */
    color: #6c757d;
    border-color: #dee2e6;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    /* Below lg */
    .text-content-area {
        text-align: center; /* Center text on smaller screens */
    }
    .image-carousel-wrapper {
        height: 300px;
    }
    .carousel-image-item.active {
        width: 350px; /* Adjust active image width */
    }
    .carousel-image-item {
        width: 150px; /* Adjust preview image width */
    }
    .carousel-navigation {
        text-align: center; /* Center navigation buttons */
    }
}

@media (max-width: 767.98px) {
    /* Below md */
    .image-carousel-wrapper {
        height: 250px;
    }
    .carousel-image-item.active {
        width: 280px;
    }
    .carousel-image-item {
        width: 100px;
        margin-right: 10px;
    }
}

@media (max-width: 575.98px) {
    /* Below sm */
    .image-carousel-wrapper {
        height: 200px;
    }
    .carousel-image-item.active {
        /* Active image takes most of the space, leaving a little for one preview */
        width: calc(100% - 90px); /* Example: 100% - (preview_width + margin) */
    }
    .carousel-image-item {
        width: 80px; /* Smaller preview */
        margin-right: 10px;
    }
}

.culture-tradition-section {
    background-color: #f0f2f5;
}

/* Ensuring the text column's inner content doesn't stretch if it's shorter */
.culture-tradition-section .text-content-area > div {
    width: 100%;
}

.text-content-area .section-title {
    color: #212529;
}

.text-content-area .sub-title {
    color: #343a40;
}

.text-content-area .description {
    font-size: 0.95rem;
    line-height: 1.6;
}

.carousel-arrow-btn {
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #0d6efd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease,
        border-color 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.carousel-arrow-btn:last-child {
    margin-right: 0;
}

.carousel-arrow-btn svg {
    width: 18px;
    height: 18px;
}

.carousel-arrow-btn:hover {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.image-display-area {
    /* The ps-lg-0 pe-lg-0 in HTML handles padding.
     This column will stretch vertically due to align-items-stretch on the row. */
    display: flex; /* Allow image-slider-container to grow */
}

.image-slider-container {
    width: 100%;
    height: 500px; /* Fill the height of image-display-area */
    display: flex; /* Allow slides-wrapper to grow */
}

.slides-wrapper {
    position: relative; /* Crucial for absolute positioning of dots and images */
    width: 100%;
    height: 100%; /* Fill the height of image-slider-container */
    overflow: hidden;
    /* If you want rounded corners on the image area: */

    /* background-color: #343a40; /* Dark placeholder, or remove if images cover it */
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Image fills the slides-wrapper */
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.6s ease-in-out;
    visibility: hidden;
}

.slider-image.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.carousel-indicators-dots {
    position: absolute; /* Positioned relative to slides-wrapper */
    bottom: 15px; /* Adjust spacing from bottom */
    left: 0; /* Span full width for centering */
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0; /* Padding for the dot area itself */
    z-index: 2; /* Ensure dots are above images */
    /* Removed margin-top as it's now absolutely positioned */
}

.indicator-dot {
    background-color: rgba(
        173,
        181,
        189,
        0.8
    ); /* Inactive dot, slightly transparent */
    border: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.indicator-dot.active {
    background-color: #fff; /* Active dot color (white as in image) */
    width: 24px;
    border-radius: 4px;
}

/* Responsive: For smaller screens, image column might not need ps/pe override,
 Bootstrap default padding is fine. */
@media (max-width: 991.98px) {
    .text-content-area,
    .carousel-navigation-arrows {
        text-align: center;
    }
    .image-display-area {
        /* Reset padding for smaller screens if ps-lg-0 pe-lg-0 was too aggressive
         or rely on Bootstrap's default column padding.
         If you want it truly edge-to-edge on smaller screens too, keep it without padding.
         For now, we'll assume default BS padding is fine below lg. */
    }
    .slides-wrapper {
        /* Give a specific aspect ratio or min-height on smaller screens if 100% height becomes too small */
        min-height: 300px; /* Example: ensure it doesn't collapse too much */
    }
}

@media (max-width: 767.98px) {
    .slides-wrapper {
        min-height: 250px;
    }
    .indicator-dot.active {
        width: 20px;
    }
    .indicator-dot {
        margin: 0 4px;
    }
}

.provincial-architecture-section {
    margin-bottom: 40px;
}
.provincial-architecture-title {
    text-align: left;
    margin-bottom: 20px;
    font-size: 2rem;
}
.provincial-architecture-slider-wrapper {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.provincial-architecture-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
}
.provincial-architecture-slide {
    width: 200px;
    height: 300px;
    position: absolute;
    transition: all 0.3s ease;
    opacity: 1;
}
.provincial-architecture-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.provincial-architecture-slide.center-position {
    transform: translateX(0);
    opacity: 1;
    z-index: 4;
    height: 360px;
    width: 650px;
}
.provincial-architecture-slide.right-position {
    transform: translateX(420px);
    opacity: 1;
    z-index: 3;
    height: 320px;
    width: 180px;
}
.provincial-architecture-slide.left-position {
    transform: translateX(-420px);
    opacity: 1;
    z-index: 3;
    height: 320px;
    width: 180px;
}
.provincial-architecture-slide.far-right-position {
    transform: translateX(605px);
    opacity: 1;
    z-index: 2;
    height: 320px;
    width: 180px;
}
.provincial-architecture-slide.far-left-position {
    transform: translateX(-605px);
    opacity: 1;
    z-index: 2;
    height: 320px;
    width: 180px;
}
.provincial-architecture-slide.offscreen-position {
    transform: translateX(910px);
    opacity: 0;
    z-index: 1;
    height: 320px;
    width: 180px;
}
.provincial-architecture-description {
    padding: 10px 10px;
    width: 100%;
    max-width: 650px;
    font-size: 14px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 83%; /* adjust to match your center image's bottom edge */
    z-index: 100;
    background: #ffffff;
    text-align: center;
    line-height: 1.1;
    border-bottom: 2px solid #da6626;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .provincial-architecture-slide {
        width: 180px;
        height: 270px;
    }
    .provincial-architecture-slide.center-position {
        scale: 2.8;
    }
    .provincial-architecture-slide.right-position {
        transform: translateX(360px);
    }
    .provincial-architecture-slide.left-position {
        transform: translateX(-360px);
    }
    .provincial-architecture-slide.far-right-position {
        transform: translateX(540px);
    }
    .provincial-architecture-slide.far-left-position {
        transform: translateX(-540px);
    }
    .provincial-architecture-slide.offscreen-position {
        transform: translateX(720px);
    }
}

@media (max-width: 992px) {
    .provincial-architecture-slide {
        width: 150px;
        height: 225px;
    }
    .provincial-architecture-slide.center-position {
        scale: 2.2;
    }
    .provincial-architecture-slide.right-position {
        transform: translateX(300px);
    }
    .provincial-architecture-slide.left-position {
        transform: translateX(-300px);
    }
    .provincial-architecture-slide.far-right-position {
        transform: translateX(450px);
    }
    .provincial-architecture-slide.far-left-position {
        transform: translateX(-450px);
    }
    .provincial-architecture-slide.offscreen-position {
        transform: translateX(600px);
    }
    .provincial-architecture-slider-wrapper {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .provincial-architecture-slide {
        width: 120px;
        height: 180px;
    }
    .provincial-architecture-slide.center-position {
        scale: 1.8;
    }
    .provincial-architecture-slide.right-position {
        transform: translateX(240px);
    }
    .provincial-architecture-slide.left-position {
        transform: translateX(-240px);
    }
    .provincial-architecture-slide.far-right-position {
        transform: translateX(360px);
    }
    .provincial-architecture-slide.far-left-position {
        transform: translateX(-360px);
    }
    .provincial-architecture-slide.offscreen-position {
        transform: translateX(480px);
    }
    .provincial-architecture-slider-wrapper {
        height: 300px;
    }
    .provincial-architecture-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .provincial-architecture-slide {
        width: 100px;
        height: 150px;
    }
    .provincial-architecture-slide.center-position {
        scale: 2.5;
    }
    .provincial-architecture-slide.right-position {
        transform: translateX(200px);
    }
    .provincial-architecture-slide.left-position {
        transform: translateX(-200px);
    }
    .provincial-architecture-slide.far-right-position {
        transform: translateX(300px);
    }
    .provincial-architecture-slide.far-left-position {
        transform: translateX(-300px);
    }
    .provincial-architecture-slide.offscreen-position {
        transform: translateX(400px);
    }
    .provincial-architecture-slider-wrapper {
        height: 250px;
    }
    .provincial-architecture-title {
        font-size: 1.2rem;
    }
    .provincial-architecture-description {
        font-size: 12px;
        max-width: 90%;
    }
}

.custom-section-padding {
    padding: 20px; /* Match original section padding */
}

.sidebar-content-wrapper {
    /* Base styles for the wrapper of sidebar text and icons */
}

.vertical-text-md {
    color: #6c757d; /* Original color */
    font-size: 14px; /* Original font-size */
    white-space: nowrap;
}

@media (min-width: 768px) {
    /* Bootstrap md breakpoint */
    .sidebar-column-md {
        margin-right: 40px; /* Original margin-right */
    }
    .sidebar-content-wrapper {
        /* Simulates original `position: relative; top: 150px;` for the content block */
        padding-top: 150px;
    }
    .vertical-text-md {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
    }
}

.icon-btn {
    width: 50px;
    height: 50px;
    background-color: #6495ed; /* Original background */
    border-color: #6495ed; /* Match background */
    color: white; /* For potential text/icon fallback, though SVGs have fill */
}
.icon-btn:hover,
.icon-btn:focus {
    background-color: #507fc3; /* Slightly darker for hover/focus */
    border-color: #507fc3;
    color: white;
}
.icon-btn svg {
    pointer-events: none; /* Ensures clicks go to the button */
}

.image-container-custom {
    padding: 10px;
    border: 1px solid #e0e0e0;
    background-color: #f8f9fa; /* Original styles for image container */
}

.main-title-custom {
    font-family: "Geometria" sans-serif;
    font-size: 28px; /* Original h1 font-size */
    font-weight: bold; /* Original h1 font-weight */
    color: #333; /* Original h1 color */
}

.paragraph-custom {
    font-size: 14px; /* Original p font-size */
    line-height: 1.6; /* Original p line-height */
    color: #555; /* Original p color */
}

/* --- Bottom Content Section Styles --- */
.content-section-bg {
    background-color: #e9f1f7; /* Approximate light blue/gray from image */
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (min-width: 768px) {
    /* md breakpoint and up */
    .vertical-text-md {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        color: #6c757d;
        font-size: 14px;
        white-space: nowrap;
    }
    .sidebar-icons-group {
        margin-top: 1.5rem; /* Space between vertical text and icons */
    }
}

@media (max-width: 767.98px) {
    /* Below md breakpoint */
    .sidebar-wrapper {
        text-align: center; /* Center "Back to Provinces" text on mobile */
    }
    .sidebar-icons-group {
        justify-content: center; /* Center icons on mobile */
    }
    .vertical-text-placeholder-mobile {
        color: #6c757d;
        font-size: 14px;
    }
}

.icon-btn {
    width: 50px;
    height: 50px;
    background-color: #6495ed; /* From previous image */
    border-color: #6495ed;
    color: white; /* Fallback, SVG fill is primary */
}
.icon-btn:hover,
.icon-btn:focus {
    background-color: #507fc3; /* Darker shade for hover/focus */
    border-color: #507fc3;
    color: white;
}
.icon-btn svg {
    pointer-events: none; /* Ensures click goes to the button */
}

.main-content-area .content-title {
    font-weight: bold;
    font-size: 2.5rem; /* Adjust size to match "Off Roading" title */
    color: #000000; /* Black title */
    margin-bottom: 1rem;
}

.main-content-area .content-paragraph {
    font-size: 0.95rem; /* Adjust size as needed */
    line-height: 1.6;
    color: #333333; /* Dark gray text */
}

.province-info-card {
    position: absolute;
    z-index: 10;
    top: 100px;
    right: 100px;
    width: 520px;
    height: auto;
}
.province-wrapper {
    overflow: hidden;
}

.province-info-card img {
    width: 100%;
}

.province-info-card img:hover {
    transform: scale(1.1);
    object-fit: cover;

    transition: transform 0.4s ease-in-out;
}
