/* --- 1. GLOBAL STYLES & VARIABLES --- */
:root {
    --primary-blue: rgb(18, 7, 66);
    --accent-green: #04AA6D;
    --bg-beige: #f5f5dc;
    --text-dark: #333;
    --text-light: #bbb;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Fixed from border: border-box */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.main-header{
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

body {
    background-color: var(--bg-beige);
    color: var(--text-dark);
    line-height: 1.6;
}

/* --- 2. TYPOGRAPHY --- */
h1, h2, h3, h4 {
    /* color: var(--primary-blue); */
    color: #FF5C00; /* Brand orange accent */
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
}
.logo-area h1 { font-size: 2rem; margin: 0; padding-left: 1rem; line-height: 1;}
.logo-area span { font-size: 0.8rem; padding-left: 1.2rem; color: #FF5C00; }
/* h1 { font-size: 2.5rem; } */

h2 { font-size: 2rem; }
/* h4 { font-size: 1rem; font-weight: normal; } */

/* --- 3. NAVIGATION (TOP RIBBON) --- */
header {
    width: 100%;
    padding: 1rem 0;
    background-color: #120742; /* Brand colour dark blue */
}

.logo-companyname{
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    padding-left: 15px;
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text h1{
    margin: 0;
    font-size: 1.8rem;
    color: #FF5C00;
    line-height: 1.2;
    padding-left: 5px;
}

.logo-text span{
    font-size: 0.8rem;
    color: #FF5C00;
    letter-spacing: 0.5px;
    padding-left: 10px;
}

#TopRibbon {
    width: 100%;
    /* Reduced vertical padding from 10px to 4px */
    padding: 4px 5%; 
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #120742; /* Brand colour dark blue */
    /* Ensure no minimum height is interfering */
    min-height: auto; 
}

#TopRibbon a {
    /* Padding on left/right only to keep the bar slim */
    padding: 0 1rem; 
    flex-wrap: nowrap;
    text-decoration: none;
    color: #FF5C00; /* Brand orange accent */
    font-weight: 500;
    transition: 0.3s;
    /* Optional: Ensure text doesn't add extra height */
    line-height: 1.2; 
}

#TopRibbon a:hover {
    font-weight: bold;
    color: var(--bg-beige);
}

input[type="text"] {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
}

button.search-btn {
    background-color: rgb(53, 141, 141);
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
}

/* Mobile Responsive: Stack them if screen is too small */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        text-align: center;
    }
    #TopRibbon {
        flex-direction: column;
        margin-top: 10px;
    }
}

/* --- 4. HERO SLIDER --- */
.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
    height: 650px; /* Adjusted from 650px for better fit */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active { opacity: 1; }

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(18, 7, 66, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.6);
    border: none;
    font-size: 1.5rem;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
}

#prevBtn { left: 0; border-radius: 0 5px 5px 0; }
#nextBtn { right: 0; border-radius: 5px 0 0 5px; }

/* --- 5. SOCIAL MEDIA --- */
.social-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.social-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.social-icon {
    text-decoration: none;
    color: white;
    background-color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.social-icon:hover { transform: translateY(-5px); }
.fb:hover { background-color: #1877F2; }
.tt:hover { background-color: #000000; }
.ig:hover { background-color: #E4405F; }
.ln:hover { background-color: #0A66C2; }

/* --- 6. PRODUCT GRID & SLIDERS --- */

/* Container for the overall section */
.products-grid-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
}

/* The Grid itself */
.product-grid {
    display: grid;
    /* auto-fill: adds as many columns as will fit */
    /* minmax: items won't get smaller than 280px, but will grow to fill space */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px; /* Space between tiles */
}

/* Individual Tile Styling */
.product-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.product-card h3 {
    margin-bottom: 15px;
    color: #120742; /* Your brand blue */
}

.product-card img {
    width: 100%;
    height: 250px; /* Standardized height for a clean look */
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

/* Remove any leftover slider button styling from display */
.slide-btn {
    display: none;
}

/*Product page */

/* Lightbox Overlay */
.lightbox {
    display: none; /* Controlled by JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    
    /* Center the image */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* The Image inside the Lightbox */
#lightboxImg {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    
    /* Smooth pop-in animation */
    transform: scale(0.8);
    transition: transform 0.3s ease-out;
}

/* Show state for animation */
.lightbox.active #lightboxImg {
    transform: scale(1);
}

/* Close Button */
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-lightbox:hover {
    color: #FF5C00; /* Wenberbet Brand Orange */
}

/* Container for the Sofa Tiles */
.sofa-grid {
    /* Set a max-width so the grid doesn't stretch too far on wide monitors */
    max-width: 1400px; 
    
    /* Center the grid on the page */
    margin: 0 auto; 
    
    /* Increase side padding for more 'breathing room' */
    padding: 40px 10%; 

    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; /* Increased gap to match the larger margins */
}

/* Individual Sofa Cards */
.sofa-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sofa-card:hover {
    transform: translateY(-8px); /* Slightly higher lift */
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.sofa-card img {
    width: 100%;
    /* Increased height for 'bigger' image effect */
    height: 350px; 
    object-fit: cover;
    cursor: pointer;
    display: block;
}

/* Responsive Fix: On tablets, show 2 tiles, on mobile show 1 */
@media (max-width: 1200px) {
    .sofa-grid {
        padding: 30px 5%; /* Reduce margins slightly for smaller laptops */
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .sofa-grid {
        padding: 20px 15px; /* Standard small margins for mobile */
        grid-template-columns: 1fr;
    }
}

/* Title Styling */
#PSofa {
    font-size: 2rem;
    color: #120742;
    margin-bottom: 10px;
    border-bottom: 2px solid #FF5C00;
    display: inline-block;
}

/* Container for the Dining Set Tiles */
.dining-grid {
    /* Set a max-width so the grid doesn't stretch too far on wide monitors */
    max-width: 1400px; 
    
    /* Center the grid on the page */
    margin: 0 auto; 
    
    /* Increase side padding for more 'breathing room' */
    padding: 40px 10%; 

    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; /* Increased gap to match the larger margins */
}

/* Individual Sofa Cards */
.dining-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dining-card:hover {
    transform: translateY(-8px); /* Slightly higher lift */
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.dining-card img {
    width: 100%;
    /* Increased height for 'bigger' image effect */
    height: 350px; 
    object-fit: cover;
    cursor: pointer;
    display: block;
}

/* Responsive Fix: On tablets, show 2 tiles, on mobile show 1 */
@media (max-width: 1200px) {
    .dining-grid {
        padding: 30px 5%; /* Reduce margins slightly for smaller laptops */
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .dining-grid {
        padding: 20px 15px; /* Standard small margins for mobile */
        grid-template-columns: 1fr;
    }
}

/* Title Styling */
#PDS {
    font-size: 2rem;
    color: #120742;
    margin-bottom: 10px;
    border-bottom: 2px solid #FF5C00;
    display: inline-block;
}

/* Container for the Bed Room Tiles */
.bedroom-grid {
    /* Set a max-width so the grid doesn't stretch too far on wide monitors */
    max-width: 1400px; 
    
    /* Center the grid on the page */
    margin: 0 auto; 
    
    /* Increase side padding for more 'breathing room' */
    padding: 40px 10%; 

    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; /* Increased gap to match the larger margins */
}

/* Individual Sofa Cards */
.bedroom-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bedroom-card:hover {
    transform: translateY(-8px); /* Slightly higher lift */
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.bedroom-card img {
    width: 100%;
    /* Increased height for 'bigger' image effect */
    height: 350px; 
    object-fit: cover;
    cursor: pointer;
    display: block;
}

/* Responsive Fix: On tablets, show 2 tiles, on mobile show 1 */
@media (max-width: 1200px) {
    .bedroom-grid {
        padding: 30px 5%; /* Reduce margins slightly for smaller laptops */
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .bedroom-grid {
        padding: 20px 15px; /* Standard small margins for mobile */
        grid-template-columns: 1fr;
    }
}

/* Title Styling */
#PBR {
    font-size: 2rem;
    color: #120742;
    margin-bottom: 10px;
    border-bottom: 2px solid #FF5C00;
    display: inline-block;
}

/* Container for the Center Table Tiles */
.centertable-grid {
    /* Set a max-width so the grid doesn't stretch too far on wide monitors */
    max-width: 1400px; 
    
    /* Center the grid on the page */
    margin: 0 auto; 
    
    /* Increase side padding for more 'breathing room' */
    padding: 40px 10%; 

    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; /* Increased gap to match the larger margins */
}

/* Individual Sofa Cards */
.centertable-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.centertable-card:hover {
    transform: translateY(-8px); /* Slightly higher lift */
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.centertable-card img {
    width: 100%;
    /* Increased height for 'bigger' image effect */
    height: 350px; 
    object-fit: cover;
    cursor: pointer;
    display: block;
}

/* Responsive Fix: On tablets, show 2 tiles, on mobile show 1 */
@media (max-width: 1200px) {
    .centertable-grid {
        padding: 30px 5%; /* Reduce margins slightly for smaller laptops */
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .centertable-grid {
        padding: 20px 15px; /* Standard small margins for mobile */
        grid-template-columns: 1fr;
    }
}

/* Title Styling */
#PCT {
    font-size: 2rem;
    color: #120742;
    margin-bottom: 10px;
    border-bottom: 2px solid #FF5C00;
    display: inline-block;
}

/* Container for the Center Table Tiles */
.cafechair-grid {
    /* Set a max-width so the grid doesn't stretch too far on wide monitors */
    max-width: 1400px; 
    
    /* Center the grid on the page */
    margin: 0 auto; 
    
    /* Increase side padding for more 'breathing room' */
    padding: 40px 10%; 

    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; /* Increased gap to match the larger margins */
}

/* Individual Cafe Chair Cards */
.cafechair-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cafechair-card:hover {
    transform: translateY(-8px); /* Slightly higher lift */
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.cafechair-card img {
    width: 100%;
    /* Increased height for 'bigger' image effect */
    height: 450px; 
    object-fit: cover;
    cursor: pointer;
    display: block;
}

/* Responsive Fix: On tablets, show 2 tiles, on mobile show 1 */
@media (max-width: 1200px) {
    .cafechair-grid {
        padding: 30px 5%; /* Reduce margins slightly for smaller laptops */
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .cafechair-grid {
        padding: 20px 15px; /* Standard small margins for mobile */
        grid-template-columns: 1fr;
    }
}

/* Title Styling */
#PCC {
    font-size: 2rem;
    color: #120742;
    margin-bottom: 10px;
    border-bottom: 2px solid #FF5C00;
    display: inline-block;
}

/* Container for the Center Table Tiles */
.accentchair-grid {
    /* Set a max-width so the grid doesn't stretch too far on wide monitors */
    max-width: 1400px; 
    
    /* Center the grid on the page */
    margin: 0 auto; 
    
    /* Increase side padding for more 'breathing room' */
    padding: 40px 10%; 

    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; /* Increased gap to match the larger margins */
}

/* Individual Accent Chair Cards */
.accentchair-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accentchair-card:hover {
    transform: translateY(-8px); /* Slightly higher lift */
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.accentchair-card img {
    width: 100%;
    /* Increased height for 'bigger' image effect */
    height: 350px; 
    object-fit: cover;
    cursor: pointer;
    display: block;
}

/* Responsive Fix: On tablets, show 2 tiles, on mobile show 1 */
@media (max-width: 1200px) {
    .accentchair-grid {
        padding: 30px 5%; /* Reduce margins slightly for smaller laptops */
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .accentchair-grid {
        padding: 20px 15px; /* Standard small margins for mobile */
        grid-template-columns: 1fr;
    }
}

/* Title Styling */
#PAC {
    font-size: 2rem;
    color: #120742;
    margin-bottom: 10px;
    border-bottom: 2px solid #FF5C00;
    display: inline-block;
}

/* Container for the Center Table Tiles */
.swivelchair-grid {
    /* Set a max-width so the grid doesn't stretch too far on wide monitors */
    max-width: 1400px; 
    
    /* Center the grid on the page */
    margin: 0 auto; 
    
    /* Increase side padding for more 'breathing room' */
    padding: 40px 10%; 

    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; /* Increased gap to match the larger margins */
}

/* Individual Swivel Chair Cards */
.swivelchair-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swivelchair-card:hover {
    transform: translateY(-8px); /* Slightly higher lift */
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.swivelchair-card img {
    width: 100%;
    /* Increased height for 'bigger' image effect */
    height: 500px; 
    object-fit: cover;
    cursor: pointer;
    display: block;
}

/* Responsive Fix: On tablets, show 2 tiles, on mobile show 1 */
@media (max-width: 1200px) {
    .swivelchair-grid {
        padding: 30px 5%; /* Reduce margins slightly for smaller laptops */
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .swivelchair-grid {
        padding: 20px 15px; /* Standard small margins for mobile */
        grid-template-columns: 1fr;
    }
}

/* Title Styling */
#PSC {
    font-size: 2rem;
    color: #120742;
    margin-bottom: 10px;
    border-bottom: 2px solid #FF5C00;
    display: inline-block;
}

/* Container for the Center Table Tiles */
.highchair-grid {
    /* Set a max-width so the grid doesn't stretch too far on wide monitors */
    max-width: 1400px; 
    
    /* Center the grid on the page */
    margin: 0 auto; 
    
    /* Increase side padding for more 'breathing room' */
    padding: 40px 10%; 

    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; /* Increased gap to match the larger margins */
}

/* Individual High Chair Cards */
.highchair-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highchair-card:hover {
    transform: translateY(-8px); /* Slightly higher lift */
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.highchair-card img {
    width: 100%;
    /* Increased height for 'bigger' image effect */
    height: 500px; 
    object-fit: cover;
    cursor: pointer;
    display: block;
}

/* Responsive Fix: On tablets, show 2 tiles, on mobile show 1 */
@media (max-width: 1200px) {
    .highchair-grid {
        padding: 30px 5%; /* Reduce margins slightly for smaller laptops */
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .highchair-grid {
        padding: 20px 15px; /* Standard small margins for mobile */
        grid-template-columns: 1fr;
    }
}

/* Title Styling */
#PHC {
    font-size: 2rem;
    color: #120742;
    margin-bottom: 10px;
    border-bottom: 2px solid #FF5C00;
    display: inline-block;
}

/* Container for the Salon & Spa Tiles */
.salspa-grid {
    /* Set a max-width so the grid doesn't stretch too far on wide monitors */
    max-width: 1400px; 
    
    /* Center the grid on the page */
    margin: 0 auto; 
    
    /* Increase side padding for more 'breathing room' */
    padding: 40px 10%; 

    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; /* Increased gap to match the larger margins */
}

/* Individual Salspa Cards */
.salspa-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.salspa-card:hover {
    transform: translateY(-8px); /* Slightly higher lift */
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.salspa-card img {
    width: 100%;
    /* Increased height for 'bigger' image effect */
    height: 350px; 
    object-fit: cover;
    cursor: pointer;
    display: block;
}

/* Responsive Fix: On tablets, show 2 tiles, on mobile show 1 */
@media (max-width: 1200px) {
    .salspa-grid {
        padding: 30px 5%; /* Reduce margins slightly for smaller laptops */
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .salspa-grid {
        padding: 20px 15px; /* Standard small margins for mobile */
        grid-template-columns: 1fr;
    }
}

/* Title Styling */
#PSS {
    font-size: 2rem;
    color: #120742;
    margin-bottom: 10px;
    border-bottom: 2px solid #FF5C00;
    display: inline-block;
}

/* --- 7. ABOUT & CONTACT PAGES --- */
/* Container for the side-by-side layout */
.aboutUsContent {
    margin-top: 20px;
}

/* Text takes up 60% of the space */
.aboutUsText {
    border: 10px;
    padding-left: 20px;
}

.aboutUsPage{
    margin: 5px;
    padding: 5px;
}

.aboutuscontainer{
    width: 100%;
    height: auto;
    display: flex;
    /* flex-direction:row; */
    /* align-items: flex-start; */
    min-width: calc(33.333% - 17px);
    justify-content: space-evenly;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.about-section1, .about-section2, .about-section3{
    margin: 0px; 
    padding: 0px;
    width: 80%;
    flex: 1.8;
    text-align: center;
}

.resspace, .comspace, .prospace{
    width: 22rem;
    height: 18rem;
    border-radius: 15px;
}

.aboutUsText h2 p{
    font-size: 1.2rem;
}

.resspacetext, .comspacetext, .prospacetext{
    font-size: 1rem;
}

.back-link {
    text-decoration: none;
    color: #120742;
    font-weight: bold;
}

.ContactUsheading {
    text-align: start;
    margin-left: 10px;
    margin-top: 30px;
    padding-left: 20px;
}

.intro-text{
    text-align: start;
    font-size: 1.1rem;
    margin-left: 20px;
    padding-left: 20px;
}

.contact-list{
    text-align: start;
    padding-left: 20px;
    font-size: 1.1rem;
}

.location {
    background-color: var(--white);
    color: black;
    border: 2px solid var(--accent-green);
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.4s;
}

.location:hover {
    background-color: var(--accent-green);
    color: white;
}

.ContactUsPage {
    display: flex;
    align-items: center; /* Vertically centers text with the image */
    justify-content: space-between;
    gap: 50px; /* Space between text and image */
    max-width: 1200px;
    margin: 0px auto;
    padding-top: 20px;
    padding-left: 0%;
}

.ContactUsdetails {
    flex: 1; /* Takes up 50% of the space */
}

.contact-image-wrapper {
    flex: 1; /* Takes up the other 50% */
    text-align: right;
}

.contactUsPic {
    width: 100%;
    max-width: 450px; /* Prevents the image from getting too huge */
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.contactUsPic:hover {
    transform: translateY(-5px);
}

/* --- Responsive Layout (Mobile) --- */
@media (max-width: 768px) {
    .ContactUsPage {
        flex-direction: column-reverse; /* Image moves to TOP on mobile, text below */
        text-align: center;
    }
    
    .contact-image-wrapper {
        text-align: center;
    }
}

/* --- 8. FOOTER --- */
.site-footer {
    background-color: #120742; /* Brand colour dark blue */
    color: #ffffff;
    padding: 40px 0 20px;
    font-family: sans-serif;
}

.site-footer2 {
    background-color: #120742; /* Brand colour dark blue */
    color: #ffffff;
    padding: 20px 0 10px;
    font-family: sans-serif;
}

.footer-bottom2 {
    text-align: center;
    margin-top: 0px;
    padding-top: 0px;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    font-size: 0.9rem;
    color: #7f8c8d;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Stacks columns on mobile */
    gap: 30px;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 15px;
    color: #FF5C00; /* Brand orange accent */
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section address{
    color: #bdc3c7;
    text-decoration: none;
    font-family: sans-serif;
    list-style: none;
    padding: 0;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* --- 9. RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .aboutUsPage, .contactUsPage {
        flex-direction: column;
    }
    
    .aboutUsPic, .contactUsPic {
        width: 100%;
        height: auto;
    }

    #TopRibbon {
        justify-content: center;
        flex-wrap: wrap;
    }
}