/* --- Base Styles & Font --- */
:root {
    --bg-color: #0a1f1f; /* Deep teal/green like main site */
    --text-color: #e0e0e0;
    --primary-accent: #4fd1c5; /* A teal accent */
    --secondary-accent: #2d6b64; /* Darker teal */
    --card-bg: rgba(16, 40, 40, 0.6); /* Semi-transparent darker bg */
    --font-family: 'Tajawal', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden; /* Prevent horizontal scroll */
    direction: rtl; /* Right-to-left for Arabic */
}

/* --- Background 3D Models --- */
.background-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind everything */
    pointer-events: none; /* Allow clicks through */
    overflow: hidden; /* Hide parts of models outside viewport */
}

.background-3d model-viewer {
    position: absolute;
    opacity: 0.12; /* Slightly more visible than 0.05 */
    pointer-events: none; /* Ensure non-interactivity */
    --mv-interaction-prompt-display: none; /* Force hide prompt */
}

/* Adjust size and position - make them LARGE */
#bg-model-1 {
    width: 150vw;  /* Very large */
    height: 150vh;
    top: -25vh;    /* Position partially off-screen */
    left: -50vw;
    transform: rotate(15deg); /* Initial slight rotation */
}

#bg-model-2 {
    width: 160vw;
    height: 160vh;
    bottom: -40vh;
    right: -60vw;
     transform: rotate(-10deg);
}

/* --- Header --- */
.site-header {
    padding: 20px 5%;
    position: sticky; /* Keep logo visible */
    top: 0;
    background: linear-gradient(to bottom, rgba(10, 31, 31, 0.9), rgba(10, 31, 31, 0)); /* Fade out bg */
    z-index: 10;
}

.logo {
    height: 40px; /* Adjust as needed */
    width: auto;
}

/* --- Main Content Wrapper --- */
.content-wrapper {
    max-width: 900px;
    margin: 40px auto; /* Center content */
    padding: 0 20px;
    position: relative; /* Needed for z-index stacking */
    z-index: 1; /* Above background */
}

/* --- Text & Sections Styling --- */
h1, h2 {
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 1.8rem;
    color: var(--primary-accent);
    border-bottom: 2px solid var(--secondary-accent);
    padding-bottom: 5px;
    display: inline-block; /* Fit border to text */
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.address {
    font-weight: bold;
    color: #fff;
    margin-bottom: 25px;
}

strong {
    color: var(--primary-accent);
    font-weight: 700;
}

.intro-section {
    background-color: var(--card-bg);
    padding: 30px 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px); /* Frosted glass effect */
    border: 1px solid rgba(79, 209, 197, 0.1); /* Subtle border */
}

.features-list {
    list-style: none; /* Remove default bullets */
    padding-right: 0; /* Remove default padding */
    margin-top: 20px;
}

.features-list li {
    padding-right: 25px; /* Space for custom bullet */
    position: relative;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.features-list li::before {
    content: '✓'; /* Custom checkmark bullet */
    color: var(--primary-accent);
    position: absolute;
    right: 0;
    top: 0;
    font-weight: bold;
}

/* --- Brand Sections --- */
.brand-sections-container {
    display: grid;
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: 30px;
}

.brand-section {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(79, 209, 197, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover effect */
}

.brand-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* --- Button Styling --- */
.btn {
    display: inline-block;
    background-color: var(--primary-accent);
    color: var(--bg-color);
    padding: 12px 25px;
    border-radius: 25px; /* Pill shape */
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #ffffff; /* White on hover */
    color: var(--bg-color);
    transform: translateY(-2px);
}

/* --- Footer --- */
.site-footer-bottom {
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    font-size: 0.9rem;
    color: rgba(224, 224, 224, 0.7);
    border-top: 1px solid var(--secondary-accent);
}

.site-footer-bottom a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer-bottom a:hover {
    color: #ffffff;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-load {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Add class via JS when element is in view */
.animate-on-scroll {
    opacity: 0; /* Start hidden */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transform: translateY(30px); /* Start slightly lower */
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Parallax Effect (Simple CSS background-attachment for example, JS needed for true element parallax) --- */
/* Note: The fixed background models provide a sense of depth without scroll-based parallax */


/* --- Responsiveness --- */
@media (min-width: 768px) {
    .brand-sections-container {
        grid-template-columns: 1fr 1fr; /* Side-by-side on larger screens */
    }

    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .intro-section, .brand-section {
        padding: 20px;
    }
    .logo {
        height: 30px;
    }
    /* Make background models smaller/less intrusive on mobile if needed */
    #bg-model-1 {
        width: 200vw; height: 200vh; left: -80vw; top: -50vh;
    }
    #bg-model-2 {
        width: 220vw; height: 220vh; right: -100vw; bottom: -70vh;
    }
}
