/* --- Global Styles & Variables --- */
:root {
    --primary-green: #454c36;   
    --bg-dark: #121612;
    --accent-gold: #C6A37F;    
    --button-gold: #D2B591;    
    --text-white: #FFFFFF;     
    --font-heading: 'Playfair Display', serif; 
    --font-body: 'Poppins', sans-serif;
    --h3_typography-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
}

main {
    /* The background image */
    background-image: linear-gradient(rgba(43, 54, 41, 0.8), rgba(43, 54, 41, 0.8)), 
                      url('images/09/BG-Texture-1.png');
    
    /* CRITICAL: This keeps the image from moving */
    background-attachment: fixed;
    
    /* Ensures the image covers the entire screen area */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Optional: Ensures the main area is at least the full height of the screen */
    min-height: 100vh;
    width: 100%;
}

/* ==========================================================================
   COMPONENT: NAVBAR & LOGO (LOCALIZED)
   ========================================================================== */

/* --- 1. Base Styles --- */
.navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 5% 0 5% !important; 
    width: 100% !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 10000 !important;
    background-color: transparent;
    /* This handles the background and padding transition */
    transition: background-color 0.4s ease-in-out, padding 0.4s ease-in-out; 
    box-sizing: border-box !important;
}

/* Ensure the logo has a transition even when NOT scrolled */
.main-logo {
    height: 120px;
    transition: height 0.4s ease-in-out;
}

/* Ensure the links have a transition even when NOT scrolled */
.nav-link {
    font-size: 20px; /* Your original size */
    transition: font-size 0.4s ease, color 0.4s ease-in-out;
}

/* --- SCROLLED STATE --- */

.navbar.scrolled {
    background-color: #454c36 !important;
    /* Fixed: Removed 'ease-in-out' from inside padding */
    padding: 15px 10% !important; 
    transition: 0.4s ease-in-out;
    height: 10%;
}

.navbar.scrolled .main-logo {
    height: 60px !important; 
    transition: 0.4s ease-in-out;
}

.navbar.scrolled .nav-link {
    font-size: 20px !important; 
    transition: 0.4s ease-in-out;
}

.navbar.scrolled .logo-area {
    height: 100% !important; 
    transition: 0.4s ease-in-out;
}

.logo-area {
    display: flex;
    align-items: center;
    z-index: 10001;
    transition: height 0.4s ease-in-out;
    
}

/* .main-logo {
    height: 100%;
    width: auto;
    transition: height 0.4s ease-in-out;
} */

/* --- 2. Desktop Logic (Min-width: 769px) --- */
@media (min-width: 769px) {
    .mobile-nav-toggle { display: none !important; }

    .nav-links {
        display: flex !important;
        flex-direction: row-reverse; /* RTL: links flow right to left */
        list-style: none;
        gap: 50px;
        margin: 0;
        padding-left: 30%; /* was padding-right, flipped for RTL */
        font-size: 16px;
        direction: rtl;
    }

    .nav-link {
        color: var(--text-white) !important;
        text-decoration: none;
        font-family: var(--font-body);
        font-size: 25px;
        position: relative;
        white-space: nowrap;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        right: 0; /* RTL: underline grows from right */
        left: auto;
        width: 0;
        height: 2px;
        background-color: var(--accent-gold);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after, .nav-link.active::after {
        width: 100%;
    }
}

/* --- Mobile Logic (max-width: 768px) --- */
@media (max-width: 768px) {

    /* Base: transparent, column layout, smooth on all animated props */
    .navbar {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        padding: 10px 0 !important;
        gap: 8px !important;
        box-sizing: border-box !important;
        background-color: var(--primary-green) !important;
        transition:
            background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            padding         0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    /* Scrolled: green background fades in smoothly */
    .navbar.scrolled {
        background-color: #454c36 !important;
        padding: 6px 0 !important;
    }

    /* Logo: smooth height shrink on scroll */
    .main-logo {
        height: 90px !important;
        transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .navbar.scrolled .main-logo {
        height: 50px !important;
    }

    /* Logo area: no transform scaling, just clean alignment */
    .logo-area {
        margin: 0 !important;
        padding: 0 !important;
        transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Hamburger toggle */
    .mobile-nav-toggle {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        background-color: #FFFFFF;
        padding: 8px 14px;
        width: 80%;
        margin: 0 auto;
        border: 1px solid #ddd;
        cursor: pointer;
        border-radius: 3px;
        transition: background-color 0.25s ease;
    }

    .mobile-nav-toggle:hover {
        background-color: #f5f5f5;
    }

    .mobile-nav-toggle span {
        color: #333;
        font-size: 13px;
        font-family: sans-serif;
    }

    .mobile-nav-toggle i,
    .mobile-nav-toggle .hamburger-icon {
        font-size: 16px;
        color: #333;
    }

    /* Hamburger spans (the three lines) */
    .hamburger span {
        display: block;
        width: 18px;
        height: 2px;
        background-color: #333;
        margin: 3px 0;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity   0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Dropdown: slides down with opacity fade — smooth cubic-bezier */
    .nav-links {
        display: flex !important;
        flex-direction: column-reverse !important; /* reverses RTL-flipped order back to logical */
        position: absolute;
        top: calc(100% + 6px); /* small gap so it clears the Go To bar */
        left: 0;
        width: 100%;
        background-color: #FFFFFF !important;
        padding: 0 !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        z-index: 9999;

        /* Collapsed state */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;

        /* Smooth open: opacity leads slightly ahead of height */
        transition:
            max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            opacity    0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Open state */
    .nav-links.active {
        max-height: 420px;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        /* Each item slides in with a slight delay feel */
        transition: background-color 0.2s ease;
    }

    .nav-links li:hover {
        background-color: #fafafa;
    }

    .nav-link {
        color: #333 !important;
        font-size: 14px;
        padding: 14px 20px !important;
        display: block;
        text-align: center;
        width: 100%;
        white-space: nowrap;
        transition: color 0.2s ease, padding-right 0.2s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--accent-gold) !important;
    }
}

.main-logo:hover {
    transform: scale(1.05); /* Optional: subtle zoom when hovering */
    transition: ease-in-out 0.3s;
}

.logo-area {
    display: flex;
    align-items: center;
    margin-left: 135px;
    /* This ensures the logo stays on the far left of the flex container */
}

/* 5. The Gold Contact Button (Floating - all screens) */
.contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #C5A059;
    color: #1a1a1a;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .contact-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* --- Hero Section --- */
/* ==========================================================================
   COMPONENT: HERO SECTION & PANEL
   ========================================================================== */

.hero-container {
    width: 100%;
    min-height: 72vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),  */
                /* url('images/09/Slider-Bg.jpg') no-repeat center center; */
    background-size: cover;
    background-attachment: fixed;
    z-index: 1;
    padding-bottom: 5%;
}

/* Background layer starts completely hidden */
.hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('images/09/Slider-Bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1.2s ease-in-out; /* Smooth fade-in duration */
    z-index: 1;
}

/* Revealed state when image finishes loading */
.hero-container.loaded::before {
    opacity: 1;
}

/* Keep hero text/buttons on top of the background */
.hero-container > * {
    position: relative;
    z-index: 2;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    padding-left: 10%;
    padding-top: -10px;
}

.about-hero-panel {
    /* 1. Use the image as the background without stretching */
    background: url('images/09/1-SHAPE.png') no-repeat center center;
    background-size: auto; /* Keeps the image at its natural aspect ratio */
    
    /* 2. Remove fixed width/max-width to let the image dictate size */
    width: 815px;  /* Replace with the actual pixel width of your PNG */
    height: 874px; /* Replace with the actual pixel height of your PNG */
    
    /* 3. Layout and Text */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    text-align: center;
    padding: 40px; /* Adjust this so text stays inside the shape's "safe area" */
    color: var(--text-white);
    margin-bottom: 250px;
    direction: rtl;
    
    /* 4. Keep your curve logic if the PNG doesn't already have it */
    border-radius: 0px 0px 250px 0px; 
}

.about-hero-container {
    width: 100%;
    min-height: 72vh;
    position: left;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('images/09/ABOUT-BG-SLIDEER.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
    padding-bottom: 5%;
}

.headline {
        font-family: 'Playfair Display', serif;
        color: #C5A059; /* The brand gold */
        font-size: 4rem !important; /* Slightly smaller for mobile scaling */
        margin-bottom: 15px;
        text-align: left;
        direction: rtl;
        text-align: right;
}

.description {
    direction: rtl;
    text-align: right; /* Center alignment looks better for hero sections */
    font-size: 1.7rem;
    line-height: 1.8;
    margin-bottom: 30px;
    margin-right: 15px;
    text-align: right;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero-container {
        min-height: 72vh;
        background-attachment: scroll;
        padding-top: 140px;
        padding-bottom: 0;
        align-items: flex-start;
    }

    .about-hero-container {
        background-attachment: scroll;
        padding-top: 140px;
        align-items: flex-start;
    }

    .hero-overlay {
        width: 100%;
        height: 100%;
        padding-left: 5%; /* Center the overlay horizontally on mobile */
        padding-right: 15px;
        padding-bottom: 5%;
        /* display: flex; */
    }

    .about-hero-panel {
        /* IMPORTANT: Overriding the fixed 815px/874px dimensions */
        width: auto !important;   /* Let it breathe on the sides */
        height: auto !important; 
        min-height: 670px; 
        direction: rtl;
        
        /* Change 'auto' to '100% 100%' so the shape stretches to fit the flexible box */
        background-size: 100% 100% !important; 
        
        padding: 40px 20px !important; /* Proper padding for mobile readability */
        border-radius: 0px 0px 300px 0px; /* Scale down the curve for mobile */
    }

    .headline {
        font-family: 'Playfair Display', serif;
        color: #C5A059; /* The brand gold */
        font-size: 3rem !important; /* Slightly smaller for mobile scaling */
        margin-bottom: 15px;
        direction: rtl;
    }

    .description {
        font-size: 1.45rem !important; /* Optimized for mobile readability */
        line-height: 1.8;
        width: 100%;
    }
}

.content-panel {
    background-color: var(--primary-green);
    color: var(--text-white);
    padding: 60px 80px;
    width: 50%; 
    height: 60vh;
    border-radius: 0 0 100px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.95;
    margin-top: 100px;
    padding-left: 10%;
}
 /* .content-panel{
    margin-left: 5%;       
    margin-right: auto;
    text-align: left;
    align-items: flex-start; 
    padding-left: 60px 80px;    
} */

/* --- About Section --- */
.about-section {
    padding: 100px 5%;
    /* padding-right: %; */
    /* background-color: #3D483A; */
    position: relative;
    overflow: visible; /* Allows the leaf to peak out */
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.arched-image {
    width: 100%;
    border-radius: 250px 250px 0 0; /* Creates that perfect arch */
    display: block;
}

.about-content {
    flex: 1.2;
    position: relative;
    direction: rtl;
    text-align: right;
}

.about-content::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: url('images/gold-leaf-decor.png') no-repeat center/contain;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .about-content::after {
        display: none;
        direction: rtl;
    }
}

.section-title {
    /* display: flex; */
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: #C5A059;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    direction: rtl;
    text-align: center;
    /* text-align: right; */
}

/* index.php heading font override */
.page-index h1,
.page-index h2,
.page-index h3,
.page-index .section-title,
.page-index .headline {
    font-family: var(--h3_typography-font-family);
}

.section-text {
    color: #E0E0E0; /* Off-white for better readability on green */
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: justify;
    position: relative;
    z-index: 1;
}

.outline-btn {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid #C5A059;
    color: #C5A059;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.outline-btn:hover {
    background-color: #C5A059;
    color: #3D483A;
}

.about-image-wrapper {
    position: left;
    flex: 1;
    /* padding-right: 25%; */
    max-width: 500px;
}

.arched-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    /* This creates the arch shape */
    border-radius: 0px 120px 0 0; 
    object-fit: cover;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.circular-text {
    position: absolute;
    top: -20px;
    right: -40px;
    width: 120px;
    height: 120px;
    /* background: url('images/circular-text-gold.png') no-repeat center/contain; */
    z-index: 2;
}

/* Floating leaf decoration */
.leaf-decor {
    position: absolute;
    width: 100px;
    height: 100px;
    background: url('images/image-1.png') no-repeat center/contain;
    opacity: 0.2;
    z-index: -1;
}

.left-leaf { bottom: -20px; left: -30px; transform: rotate(-15deg); }
.right-leaf { top: 10%; right: -50px; width: 150px; height: 150px; }


/* --- Services Section Grid --- */
.services-section {
    /* background-color: var(--primary-green); */
    padding: 100px 80px;
    text-align: center;
}

.services-grid {
    display: grid;
    /* This creates columns that are at least 250px wide, but grow to fill space */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px; /* Base height for all cards */
    gap: 15px;
    width: 100%;
}

.service-card {
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    text-decoration: none;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px); /* Lift up slightly instead of scaling */
    filter: brightness(1.1);
}

a.service-card {
    text-decoration: none !important; /* Forces the blue underline to disappear */
    color: inherit;                  /* Prevents the text from turning blue */
    display: flex;                   /* Keeps your label alignment working */
}

.service-card:hover .service-label::after {
    width: 100%;
}

.service-label {
    text-decoration: none;
    color: #C5A059;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative; /* Required for the absolute line positioning */
    display: inline-block;
    padding-bottom: 5px; /* Space for the line */
}

.service-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0; /* Animation starts from the right */
    width: 0;
    height: 2px;
    background-color: #C5A059;
    transition: width 0.4s ease;
}



/* Service Grid Logic to match your image */
.tall { grid-row: span 2; }
.wide { grid-column: span 2; }
.normal { grid-column: span 2; }

/* --- Decorative Elements --- */
.leaf-decor {
    position: absolute;
    opacity: 0.2;
    pointer-events: none;
    border: 1px solid var(--accent-gold);
}

.left-leaf { bottom: -50px; left: -50px; width: 300px; height: 300px; border-radius: 50% 0 50% 0; }
.right-leaf { top: 50px; right: -50px; width: 400px; height: 400px; border-radius: 0 50% 0 50%; }

/* --- Packages CTA Section --- */
.packages-cta-section {
    position: relative;
    padding: 120px 5%;
    /* 1. Ensure the path and overlay are correct */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/09/Another-BG.jpg');
    
    /* 2. Set the background to move with the div */
    background-attachment: scroll; /* This keeps it inside the div */
    background-size: cover;        /* Ensures it fills the whole section */
    background-position: center;   /* Keeps the focus of the image in the middle */
    
    display: flex;
    /* justify-content: center; */
    align-items: right;
    min-height: 450px;
    overflow: hidden; /* Ensures nothing leaks out of the container */
    direction: rtl;
    text-align: right;
}

.packages-cta-content {
    max-width: 800px;
    /* margin-right: 15px; */
    z-index: 2; /* Ensures text stays above any decorative elements */
}

.packages-cta-content .section-title {
    color: #C5A059; /* Your gold color */
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    direction: rtl;
    text-align: right;
}

.cta-description {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
    direction: rtl;
    text-align: right;
}

/* Gold Filled Button Style */
.gold-fill-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #C5A059;
    color: #3D483A; /* Deep green text for contrast */
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid #C5A059;
}

.gold-fill-btn:hover {
    background-color: transparent;
    color: #C5A059;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- Follow Us Section Fix --- */
.follow-section {
    /* background-color: #3D483A;  */
    padding: 100px 5%;
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Gold Leaf Decorations */
.follow-section::before, .follow-section::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: url('images/gold-leaf-decor.png') no-repeat center/contain;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.follow-section::before {
    bottom: -100px;
    left: -100px;
    transform: rotate(20deg);
}

.follow-section::after {
    top: -50px;
    right: -100px;
    transform: rotate(-15deg);
}

.follow-container {
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Ensures content is above the leaves */
}

.follow-description {
    max-width: 800px; /* Limits text width for readability */
    margin: 20px auto 40px;
    color: var(--text-white);
    line-height: 1.8;
    opacity: 0.9;
}

.social-links-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.social-link {
    color: #C5A059;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-link i {
    font-size: 1.2rem;
}

.social-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* The Gallery Grid */
.social-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 4 / 3; /* Keeps images consistent in size */
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1); /* Zoom effect on hover */
}

/* Updated Leaf Placement to match Design */
.left-leaf-bottom {
    position: absolute;
    bottom: -50px;
    left: -100px;
    width: 400px;
    height: 400px;
    opacity: 0.1;
    transform: rotate(30deg);
}

.right-leaf-middle {
    position: absolute;
    top: 10%;
    right: -100px;
    width: 450px;
    height: 450px;
    opacity: 0.1;
}


/* --- Partnership Section --- */
.partnership-section {
    /* background-color: #3D483A; */
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
}

.partnership-block {
    margin-bottom: 80px;
    text-align: center;
}

.partnership-block .section-title {
    color: #C5A059;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* --- Logo Card Styling --- */
.partnership-block .logo-card {
    background: #fff; /* Keeps the logo background white for better contrast */
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 120px;
    transition: transform 0.3s ease;
}

.partnership-block .logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Removed the grayscale filter here */
    opacity: 1; 
}

.partnership-block .logo-card:hover {
    transform: scale(1.05); /* Keeps the subtle zoom effect */
}

/* Specific fix for Charity logos that were inside dark-bg */
.logo-card.dark-bg {
    background: #1a1a1a; /* Keep it dark if the logo is white */
}

/* Carousel Mechanics */
/* 1. The Outer Wrapper (Stacks Logos on top of Dots) */
.carousel-container {
    display: flex;
    flex-direction: column; /* This forces the dots UNDER the logos */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* 2. The Horizontal Row (Arrows + Logos) */
.carousel-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

/* 3. The Scrolling Track */
.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 20px 10px;
    flex: 1; /* Allows the track to take up the middle space */
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

/* 4. Navigation Buttons (Pinned to the sides of the track) */
.carousel-prev, .carousel-next {
    background: none;
    border: none;
    color: #C5A059;
    font-size: 2rem;
    cursor: pointer;
    padding: 0 15px;
    transition: 0.3s;
    z-index: 10;
    flex-shrink: 0; /* Prevents arrows from getting squished */
}

.carousel-prev:hover, .carousel-next:hover {
    color: #fff;
}

/* 5. The Dots (Now perfectly centered at the bottom) */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px; /* Space between logos and dots */
    padding-bottom: 20px;
    width: 100%;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.3);
}

/* Logo Cards */
.logo-card {
    flex: 0 0 calc(25% - 20px);
    background: #fff;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content:space-evenly ;
    padding: 0px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: fill;
    object-fit: cover; 
    display: block;
}

.logo-card.cert-card {
    background: #121612;
    padding: 5px;
    overflow: hidden;
}

.logo-card.cert-card img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    display: block;
}

.logo-card.dark-bg {
    background-color: #1a1a1a; /* Specific for Zahra/Dark logos */
}

/* Charity Grid (Static or Row) */
.charity-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;  /* Allow scrolling if they don't fit */
}

/* --- Footer Styles --- */
.main-footer {
    background-color: var(--primary-green);
    padding: 70px 60px 30px 60px;
    position: relative;
    overflow: hidden;
    color: var(--text-white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Decorative branch background using CSS */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 600' fill='none'%3E%3Cpath d='M200 580 C200 580 180 480 160 400 C140 320 100 280 80 200 C60 120 100 60 200 20' stroke='%23C6A37F' stroke-width='2' stroke-opacity='0.35' fill='none'/%3E%3Cpath d='M160 400 C160 400 120 380 90 350 C60 320 50 280 70 250' stroke='%23C6A37F' stroke-width='1.5' stroke-opacity='0.3' fill='none'/%3E%3Cpath d='M160 400 C160 400 200 370 220 340 C240 310 240 270 220 240' stroke='%23C6A37F' stroke-width='1.5' stroke-opacity='0.3' fill='none'/%3E%3Cpath d='M180 480 C180 480 140 460 110 430 C80 400 70 360 90 330' stroke='%23C6A37F' stroke-width='1.5' stroke-opacity='0.25' fill='none'/%3E%3Cpath d='M180 480 C180 480 220 455 245 425 C270 395 268 355 248 325' stroke='%23C6A37F' stroke-width='1.5' stroke-opacity='0.25' fill='none'/%3E%3Cpath d='M140 320 C140 320 100 300 75 265 C50 230 55 185 80 160' stroke='%23C6A37F' stroke-width='1.5' stroke-opacity='0.2' fill='none'/%3E%3Cpath d='M140 320 C140 320 178 295 198 258 C218 221 212 175 188 152' stroke='%23C6A37F' stroke-width='1.5' stroke-opacity='0.2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr; /* brand column on the right for RTL */
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    direction: rtl;
}

/* Brand column: logo + description side by side */
.footer-column.brand-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

.footer-column.brand-info .logo-area {
    flex-shrink: 0;
    margin-left: 0;
}

.footer-column h3 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.5px;
    text-align: right;
}

.footer-desc {
    margin-top: 0;
    line-height: 1.8;
    font-weight: 300;
    opacity: 0.85;
    font-size: 1.15rem;
    text-align: right;
    direction: rtl;
}

.footer-links {
    list-style: none;
    text-align: right;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 300;
    opacity: 0.85;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* RTL: align to right */
    gap: 10px;
    flex-direction: row-reverse; /* icon after text in RTL */
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
    padding-right: 4px; /* RTL: slide right */
}

/* Icons for Downloads */
.download-links i {
    color: var(--accent-gold);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Bottom Bar and Line */
.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    position: relative;
    z-index: 5;
}

.footer-bottom p {
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.6;
    letter-spacing: 1px;
}

/* Decorative Footer Leaf */
.left-leaf-footer {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    opacity: 0.1;
    pointer-events: none;
}

/* Footer responsive */
@media (max-width: 768px) {
    .main-footer {
        padding: 50px 25px 20px 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-column.brand-info {
        flex-direction: column;
        gap: 15px;
    }

    .main-footer::before {
        width: 100%;
        opacity: 0.5;
        background-position: bottom right;
    }
}

/* --- Desktop & Global Panel Styles --- */
.gold-btn-outline {
    display: inline-block;
    /* Use fixed pixels for padding to keep the button shape consistent */
    padding: 12px 35px; 
    border: 3px solid var(--accent-gold); /* Adjust this number for thickness */
    color: var(--accent-gold);
    background-color: transparent;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border-radius: 5px;
    transition: 0.3s;
    
    /* Center it within the panel */
    margin: 20px auto 0; 
    text-align: center;
}

.gold-btn-outline:hover {
    background-color: var(--accent-gold);
    color: var(--primary-green);
    transform: translateY(-3px);
}

/* --- History Section --- */
.history-section {
    background-color: var(--primary-green);
    padding: 120px 80px;
    position: relative;
}

.history-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    /* This creates the arch effect from your design */
    border-radius: 200px 200px 0 0; 
}

/* ==========================================================================
                (About Us Section)
   ========================================================================== */

.brief-section {
    padding: 60px 10%;
    background-color: #454c36; /* لون الخلفية الأخضر الخاص بالعلامة التجارية */
    display: flex;
    justify-content: center;
    align-items: center;
}

.brief-container {
    display: flex;
    flex-direction: row-reverse; /* لعرض الصورة على اليسار والنص على اليمين */
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
}

/* تنسيق غلاف الصورة وانحناءاتها */
.brief-image-wrapper {
    flex: 2;
}

.brief-img {
    width: 100%;
    height: auto;
    border-radius: 80px 0 80px 0; /* انحناءات مشابهة للتصميم في الصورة */
    box-shadow: 10px 10px 30px rgba(0,0,0,0.3);
}

/* تنسيق المحتوى النصي */
.brief-content {
    flex: 1;
    direction: rtl; /* اتجاه من اليمين لليسار */
    text-align: right;
}

.brief-title {
    color: #c5a059; /* اللون الذهبي الخاص بالعنوان */
    font-size: 4.5rem;
    margin-bottom: 25px;
    font-family: 'Your-Arabic-Title-Font', serif; /* تأكد من استخدام خط عربي عريض */
    text-align: right;
}

.brief-text {
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1.8; /* تباعد الأسطر لراحة العين في القراءة العربية */
    font-family: 'Your-Arabic-Body-Font', sans-serif;
}

/* --- الاستجابة للهواتف (Responsive) --- */
@media (max-width: 768px) {
    .brief-container {
        flex-direction: column; /* جعل الصورة فوق النص في الجوال */
        text-align: center;
        gap: 30px;
    }

    .brief-content {
        text-align: center;
    }

    .brief-title {
        font-size: 1.8rem;
    }

    .brief-img {
        border-radius: 40px 0 40px 0; /* تقليل الانحناء في الشاشات الصغيرة */
    }
}



/* --- Mission & Vision Styles --- */
.mission-vision-section {
    background-color: var(--accent-gold); /* Using your gold variable */
    padding: 50px 80px;
    color: var(--primary-green); /* Dark green text on gold bg */
}

.mv-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    margin-top: 0%;
}

.mv-title-side {
    flex: 1;
    text-align: right;
}

.mv-main-title {
    font-family: var(--font-heading);
    font-size: 4.8rem;
    line-height: 0.9;
    font-weight: 500;
    text-align: right;
}

/* Vertical Divider */
.mv-divider {
    width: 7px;
    height: 250px;
    background-color: var(--primary-green);
    opacity: 0.8;
}

.mv-content-side {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mv-block h3 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.mv-block p {
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    font-weight: 400;
    text-transform: uppercase; /* Matching the style in the image */
}

/* --- Detailed Partner Spotlight --- */
.partner-detail-section {
    background-color: var(--primary-green);
    padding: 100px 80px;
    color: var(--text-white);
}

.partner-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.partner-badge {
    background-color: var(--accent-gold);
    color: var(--primary-green);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    direction: rtl;
    text-align: right;
}

.partner-main-title {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 3.5rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
    direction: rtl;
}

.partner-description-block p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
    text-align: justify; /* Matches the clean block look in image */
}

.discover-btn {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--primary-green);
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 20px;
    transition: transform 0.3s ease-in-out;
}

.discover-btn:hover {
    transform: translateY(-3px);
}


/* --- Events & Recognition --- */
.events-section {
    background-color: var(--primary-green);
    padding: 100px 80px;
    text-align: center;
}

.events-main-title {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 4rem;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr; /* Matches the staggered widths in the image */
    gap: 30px;
    align-items: start;
    max-width: 1300px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-img-wrapper img, .stack-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

/* Specific height for the tall award image */
.tall-event img {
    height: 600px;
}

/* Middle column stack effect */
.event-img-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-caption {
    color: var(--text-white);
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 300;
    line-height: 1.4;
    text-align: right;
}

.footer-logo img {
    width: 120px;
    margin-bottom: 20px;
}

.footer-summary {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 350px;
    opacity: 0.9;
    font-weight: 300;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.footer-nav, .footer-downloads {
    list-style: none;
    padding: 0;
}

.footer-nav li, .footer-downloads li {
    margin-bottom: 15px;
}

.footer-nav a, .footer-downloads a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
}

.footer-nav a:hover, .footer-downloads a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.copyright-line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

/* --- Desktop Helpers --- */
.mobile-only { display: none; }

/* ============================================================
   RESPONSIVE DESIGN SECTION (Organized by Christian)
   ============================================================ */

/* Paste the cleaned @media code here */


/* ==========================================
   1. GLOBAL & GRID RESPONSIVENESS
   ========================================== */

/* Tablet & Desktop Grid Tweaks */
@media (min-width: 992px) {
    .service-card.tall { grid-row: span 2; }
    .service-card.wide { grid-column: span 2; }
}

@media (max-width: 992px) {
    .social-gallery { grid-template-columns: repeat(2, 1fr); }
    .logo-card { flex: 0 0 calc(50% - 20px); } /* 2 per view */
    .desktop-only { display: none !important; }
    .contact-btn { display: inline-block !important; } /* Always show floating button */
}

/* Small Phone Tweaks */
@media (max-width: 600px) {
    .social-gallery { grid-template-columns: 1fr; }
    .social-links-container { flex-direction: column; gap: 15px; }
    .logo-card { flex: 0 0 calc(100% - 20px); } /* 1 per view */
}

@media (max-width: 768px) {
    .logo-card {
        min-width: calc(50% - 20px); /* Forces 2 items per view on mobile */
        flex: 0 0 calc(50% - 20px);
    }

    /* Mission & Vision: stacked layout for mobile */
    .mission-vision-section {
        padding: 50px 20px;
    }

    .mv-container {
        flex-direction: column-reverse;
        align-items: center;
        gap: 30px;
    }

    .mv-title-side {
        flex: unset;
        width: 100%;
        text-align: center;
    }

    .mv-main-title {
        font-size: 2.8rem;
    }

    /* Switch from vertical to horizontal divider */
    .mv-divider {
        width: 80%;
        height: 4px;
    }

    .mv-content-side {
        flex: unset;
        width: 100%;
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: right;
    }

    .mv-block p {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
}

@media (min-width: 769px) {
    .logo-card {
        min-width: calc(25% - 20px); /* Forces 4 items per view on desktop */
        flex: 0 0 calc(25% - 20px);
    }
}

/* ==========================================
   2. CONSOLIDATED MOBILE BLOCK (768px and below)
   ========================================== */
@media (max-width: 768px) {
 
     /* --- HERO & CONTENT SECTIONS --- */
    /* --- GRID & IMAGE FIXES --- */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 140px;
        gap: 8px;
    }

    /* Restore span classes — keep the tall/wide/normal layout intact */
    .service-card.tall {
        grid-row: span 2;
        grid-column: auto;
    }

    .service-card.wide {
        grid-column: span 2;
        grid-row: auto;
    }

    .service-card.normal {
        grid-column: span 2;
        grid-row: auto;
    }

    /* Scale down the label text to fit smaller cards */
    .service-label {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .about-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .arched-image {
        width: 100%;
        max-width: 400px;
        border-radius: 0px 80px 0 0;
    }

    .packages-cta-section {
        padding: 60px 20px;
    }

    /* --- EVENTS SECTION --- */
    .events-section {
        padding: 60px 20px;
    }

    /* Two-column layout: tall card left, stacked cards right */
    .events-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    /* Tall card spans full height of both rows on the left */
    .event-card:first-child {
        grid-row: span 2;
    }

    /* Make the tall image fill its card without cropping */
    .tall-event img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .event-card:first-child .event-img-wrapper {
        height: 100%;
    }

    /* Stack images inside the middle card fit without cropping */
    .stack-img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* ==========================================================================
   PAGE: SERVICES (services.php)
   ========================================================================== */

/* ── Hero ── */
.services-hero {
    width: 100%;
    min-height: 72vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
                url('images/09/Services-1.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 0 5%;
}

.hero-btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-book {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.btn-book:hover {
    background-color: var(--accent-gold);
    color: var(--primary-green);
}

.btn-brochure {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.btn-brochure:hover {
    border-color: #fff;
    background-color: rgba(255,255,255,0.1);
}

/* ── Services Cards Section ── */
.services-page-section {
    background-color: var(--primary-green);
    padding: 100px 5%;
}

.services-page-header {
    text-align: center;
    margin-bottom: 70px;
}

.services-page-header .section-title {
    font-size: 3rem;
    margin-bottom: 15px;
    direction: rtl;
    text-align: right;
}

.services-page-header p {
    color: rgba(255,255,255,0.75);
    font-size: 1.2rem;
    /* max-width: 600px; */
    margin: 0 auto;
    line-height: 1.8;
    direction: rtl;
    text-align: right;
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-feature-card {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(197,160,89,0.25);
    border-radius: 8px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    direction: rtl;
}

.service-feature-card:hover {
    background-color: rgba(197,160,89,0.1);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.service-feature-card .svc-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    display: block;
}

.service-feature-card h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-feature-card p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    line-height: 1.7;
    direction: rtl;
    text-align: right;
}

/* ── Specialists Section ── */
.specialists-section {
    background-color: #2b3629;
    padding: 100px 5%;
    text-align: right;
    direction: rtl;
}

.specialists-section .section-title {
    margin-bottom: 15px;
}

.specialists-section .section-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    /* max-width: 550px; */
    margin: 0 auto 60px;
    line-height: 1.8;
    direction: rtl;
    text-align: right;
}

.specialists-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.specialist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.specialist-icon-wrap {
    width: 120px;
    height: 120px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 3rem;
    transition: all 0.3s ease;
}

.specialist-card:hover .specialist-icon-wrap {
    background-color: var(--accent-gold);
    color: var(--primary-green);
}

.specialist-card h4 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.specialist-card p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    direction: rtl;
}

/* ── Services CTA Banner ── */
.services-cta-section {
    background-image: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                      url('images/09/Another-BG.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 5%;
    text-align: right;
}

.services-cta-section .section-title {
    margin-bottom: 20px;
}

.services-cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    /* max-width: 600px; */
    margin: 0 auto 40px;
    line-height: 1.8;
    direction: rtl;
    text-align: right;
}

/* ── Services Responsive ── */
@media (max-width: 992px) and (min-width: 769px) {
    .services-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-hero {
        background-attachment: scroll;
        padding: 140px 20px 50px;
        min-height: 80vh;
        align-items: flex-start;
    }

    .services-cards-grid {
        grid-template-columns: 1fr;
    }

    .specialists-grid {
        gap: 30px;
    }
}

/* ==========================================================================
   PAGE: PACKAGES (packages.php)
   ========================================================================== */

/* ── Hero ── */
.packages-hero {
    width: 100%;
    min-height: 65vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.50), rgba(0,0,0,0.50)),
                url('images/09/PACKAGES-BG-SLIDEER.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 0 5%;
    /* direction: rtl;
    text-align: right; */
    
}

/* ── Packages Cards Section ── */
.packages-page-section {
    background-color: var(--primary-green);
    padding: 100px 5%;
}

.packages-page-header {
    text-align: center;
    margin-bottom: 70px;
}

.packages-page-header .section-title {
    font-size: 3rem;
    margin-bottom: 15px;
    direction: rtl;
    text-align: right;
}

.packages-page-header p {
    color: rgba(255,255,255,0.75);
    font-size: 1.2rem;
    /* max-width: 600px; */
    margin: 0 auto;
    line-height: 1.8;
    direction: rtl;
    text-align: right;
}

.packages-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.package-card {
    background-color: rgba(255,255,255,0.04);
    border: 1px solid rgba(197,160,89,0.25);
    border-radius: 10px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    transition: all 0.3s ease;
    direction: rtl;
    position: relative;
}

.package-card:hover {
    background-color: rgba(197,160,89,0.08);
    border-color: var(--accent-gold);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.pkg-tag {
    background-color: var(--accent-gold);
    color: var(--primary-green);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.pkg-name {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: 1.5rem;
    margin: 0;
}

.pkg-duration {
    color: var(--accent-gold);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.pkg-features {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    width: 100%;
    border-top: 1px solid rgba(197,160,89,0.2);
    border-bottom: 1px solid rgba(197,160,89,0.2);
    padding: 15px 0;
    direction: rtl;
    text-align: right;
}

.pkg-features li {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    padding: 6px 0;
    display: flex;
    /* align-items: center; */
    /* justify-content: center; */
    gap: 8px;
    direction: rtl;
    text-align: right;
}

.pkg-features li i {
    color: var(--accent-gold);
    font-size: 0.75rem;
    direction: rtl;
    text-align: right;
}

.pkg-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 5px;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-gold);
    line-height: 1;
}

.price-currency {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.pkg-btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 12px 20px;
}

/* ── Note / Disclaimer ── */
.packages-note-section {
    background-color: #2b3629;
    padding: 30px 5%;
}

.packages-note-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    direction: rtl;
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    line-height: 1.7;
}

.packages-note-inner i {
    color: var(--accent-gold);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Packages CTA Banner ── */
.packages-cta-banner {
    background-image: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                      url('images/09/Slider-Bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 5%;
    text-align: center;
}

.packages-cta-banner .section-title {
    margin-bottom: 20px;
}

.packages-cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
    direction: ltr;
}

/* ── Packages Responsive ── */
@media (max-width: 992px) and (min-width: 769px) {
    .packages-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .packages-hero {
        background-attachment: scroll;
        padding: 140px 20px 50px;
        min-height: 80vh;
        align-items: flex-start;
    }

    .packages-cards-grid {
        grid-template-columns: 1fr;
    }

    .packages-note-inner {
        flex-direction: column;
    }
}

/* ==========================================================================
   PAGE: PARTNERSHIP (partnership.php)
   ========================================================================== */

/* ── Hero ── */
.partnership-hero {
    width: 100%;
    min-height: 72vh;
    display: flex;
    align-items: center;
    background-color: var(--primary-green);
    padding: 0 5%;
}

/* ── Main Content Section ── */
.partnership-content-section {
    background-color: var(--primary-green);
    padding: 80px 5%;
}

.partnership-content-inner {
    max-width: 900px;
    margin: 0 auto;
    direction: rtl;
    text-align: right;
}

.partnership-main-title {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 35px;
}

.partnership-question {
    color: var(--accent-gold);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.6;
}

.partnership-body {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    line-height: 1.9rem;
    margin-bottom: 25px;
    font-weight: 300;
}

.partnership-body strong {
    color: var(--accent-gold);
    font-weight: 600;
}

.partnership-sub-title {
    color: var(--accent-gold);
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 10px;
}

.partnership-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.partnership-list li {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 6px 0 6px 20px;
    position: relative;
    font-weight: 300;
    direction: rtl;
    text-align: right;
}

.partnership-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 1.2rem;
    line-height: 1.5;
    direction: rtl;
    text-align: right;
}

.partnership-list li strong {
    color: var(--accent-gold);
    font-weight: 600;
    direction: rtl;
    text-align: right;
}

.partnership-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(197,160,89,0.25);
    margin: 40px 0;
}

.partnership-link {
    color: var(--accent-gold);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.partnership-link:hover {
    opacity: 0.75;
    text-decoration: underline;
}

.partnership-cta-row {
    margin-top: 40px;
    display: flex;
    justify-content: flex-start;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .partnership-hero {
        border-left: none;
        padding: 140px 20px 50px;
        min-height: 60vh;
        align-items: flex-start;
    }
}
    .partnership-hero-content {
        border-left: none;
        border-top: 3px solid rgba(197,160,89,0.4);
        padding-left: 0;
        padding-top: 25px;
    }

    .partnership-hero-content h1 {
        font-size: 2.4rem;
    }

    .partnership-content-section {
        padding: 60px 20px;
    }

    .partnership-main-title {
        font-size: 1.5rem;
    }

    .partnership-cta-row {
        justify-content: center;
    }
}

/* ==========================================================================
   PAGE: CONTACT US (contact-us.php)
   ========================================================================== */

/* ── Hero ── */
.contact-hero {
    width: 100%;
    min-height: 55vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
                url('images/09/Services-iamge-3.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 0 5%;
}

/* ── Get In Touch Section ── */
.contact-section {
    background-color: var(--primary-green);
    padding: 80px 5%;
}

.contact-inner {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

/* ── Left: Info ── */
.contact-info {
    flex: 1;
}

.contact-main-title {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 2px;
    direction: rtl;
    text-align: right;
}

.contact-intro {
    color: rgba(255,255,255,0.8);
    font-size: 1.95rem;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
    /* max-width: 420px; */
    direction: rtl;
    text-align: right;
}

.contact-details {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    direction: rtl;
    text-align: right;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-details li > i {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.contact-details li > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    color: var(--accent-gold);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.detail-value {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    font-weight: 300;
}

.detail-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-link:hover {
    color: var(--accent-gold);
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.contact-socials a {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-socials a:hover {
    color: var(--accent-gold);
}

/* ── Right: Form ── */
.contact-form-wrap {
    flex: 1.2;
}

.contact-form {
    background-color: var(--accent-gold);
    border-radius: 8px;
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    direction: rtl;
    text-align: right;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-green);
    text-transform: uppercase;
}

.form-group label .required {
    color: #8b0000;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    background-color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 15px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #333;
    outline: none;
    transition: box-shadow 0.3s ease;
    width: 100%;
    direction: rtl;
    text-align: right;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 2px var(--primary-green);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.char-count {
    font-size: 0.75rem;
    color: var(--primary-green);
    opacity: 0.7;
    text-align: right;
}

.contact-submit-btn {
    background-color: var(--primary-green);
    color: var(--text-white);
    border: none;
    padding: 14px 30px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.contact-submit-btn:hover {
    background-color: #2b3629;
    transform: translateY(-2px);
}

/* ── SEO Tagline ── */
.contact-tagline {
    max-width: 1200px;
    margin: 40px auto 0;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

/* ── Branches Section ── */
.branches-section {
    background-color: var(--primary-green);
    padding: 60px 5% 80px;
    text-align: center;
}

.branches-title {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 40px;
}

.branches-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.branch-item {
    background-color: var(--accent-gold);
    color: var(--primary-green);
    padding: 18px 30px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: default;
}

.branch-item:hover {
    background-color: #b8924f;
    transform: translateY(-2px);
}

.branch-soon {
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: none;
    font-size: 0.85rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .contact-hero {
        background-attachment: scroll;
        padding: 140px 20px 50px;
        min-height: 60vh;
        align-items: flex-start;
    }

    .contact-hero-content h1 {
        font-size: 2.4rem;
    }

    .contact-section {
        padding: 60px 20px;
    }

    .contact-inner {
        flex-direction: row;
        gap: 20px;
        align-items: flex-start;
    }

    .contact-info {
        flex: 1;
        min-width: 0;
    }

    .contact-form-wrap {
        flex: 1.1;
        min-width: 0;
    }

    .contact-main-title {
        font-size: 3.5rem;
        line-height: 0.95;
        margin-bottom: 15px;
    }

    .contact-intro {
        font-size: 1.3rem;
        max-width: 100%;
    }

    .contact-details li {
        gap: 10px;
    }

    .detail-label {
        font-size: 1.35rem;
    }

    .detail-value {
        font-size: 1.1rem;
    }

    /* Circular gold social icon buttons */
    .contact-socials {
        gap: 8px;
        flex-wrap: wrap;
    }

    .contact-socials a {
        width: 36px;
        height: 36px;
        background-color: var(--accent-gold);
        color: var(--primary-green);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        transition: background-color 0.3s ease;
    }

    .contact-socials a:hover {
        background-color: #b8924f;
        color: var(--primary-green);
    }

    .contact-form {
        padding: 20px 15px;
        gap: 14px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.8rem;
        padding: 10px 12px;
    }

    .form-group label {
        font-size: 0.7rem;
    }

    .contact-submit-btn {
        font-size: 0.75rem;
        padding: 12px 20px;
    }

    .branches-section {
        padding: 50px 20px 60px;
    }

    .branches-title {
        font-size: 2rem;
    }

    .branch-item {
        font-size: 0.8rem;
        padding: 16px 20px;
    }
}

/* --- Social Media Pages Section --- */
.social-pages-section {
    padding: 80px 5%;
    background-color: #1a1a1a;
    direction: rtl;
}

.social-pages-container {
    max-width: 1200px;
    margin: 0 auto;
}

.social-pages-container .section-title {
    color: #C5A059;
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 10px;
}

.social-pages-container > p {
    text-align: center;
    color: #aaa;
    margin-bottom: 50px;
}

.social-pages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.social-page-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-page-title {
    color: #C5A059;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 12px;
}

.social-page-title i {
    font-size: 1.4rem;
}

.social-page-embed {
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
}

.social-page-embed iframe {
    display: block;
    min-height: 480px;
}

@media (max-width: 768px) {
    .social-pages-grid {
        grid-template-columns: 1fr;
    }
}
