/* REFINED LIGHT LUXURY THEME */
:root {
    --bg-light: #FDFDFD;
    --primary: #1E2046;
    --secondary: #2A9D8F;
    --accent: #E9C46A;
    --text-main: #1F2937;
    --text-muted: #6B7280;

    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: 1px solid rgba(255, 255, 255, 1);
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 25px 50px rgba(30, 32, 70, 0.08);

    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Cairo', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    direction: rtl;
    line-height: 1.8;
}

body.lang-en {
    direction: ltr;
    font-family: 'Poppins', sans-serif;
}

/* Aurora */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: #ffffff;
}

.aurora-blob {
    position: absolute;
    filter: blur(90px);
    opacity: 0.5;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -20%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: rgba(196, 245, 252, 0.8);
}

.blob-2 {
    bottom: -20%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: rgba(224, 231, 255, 0.8);
    animation-delay: -5s;
}

.blob-3 {
    top: 30%;
    left: 30%;
    width: 600px;
    height: 600px;
    background: rgba(254, 243, 199, 0.6);
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -30px) scale(1.05);
    }
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    display: block;
    text-align: center;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Header - Removed border bottom */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: 0.4s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 15px 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

header .logo img {
    filter: brightness(0) invert(1);
    transition: 0.4s ease;
}

header.scrolled .logo img {
    filter: none;
}

.logo {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-desktop {
    display: flex;
    gap: 40px;
}

.nav-desktop a {
    font-weight: 700;
    color: white;
    opacity: 0.8;
    transition: 0.3s;
    text-decoration: none;
}

.nav-desktop a:hover {
    opacity: 1;
    color: var(--accent);
}

header.scrolled .nav-desktop a {
    color: var(--primary);
}

header.scrolled .nav-desktop a:hover {
    color: var(--secondary);
}

.lang-btn {
    border: 2px solid white;
    color: white;
    border-radius: 30px;
    padding: 5px 20px;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.lang-btn:hover {
    background: white;
    color: var(--primary);
}

header.scrolled .lang-btn {
    border: 2px solid var(--primary);
    color: var(--primary);
}

header.scrolled .lang-btn:hover {
    background: var(--primary);
    color: white;
}

/* Hero - Full Screen Background */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('image/hero_banner.png');
    /* Switched to png because we saved it as png */
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding-top: 100px;
    padding-bottom: 60px;
}

/* Gradient overlay to make text readable */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to left, rgba(30, 32, 70, 0.95) 0%, rgba(30, 32, 70, 0.4) 60%, transparent 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content-inner {
    max-width: 650px;
    padding: 60px 0;
}

.display-text {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    color: white;
    /* Kept white for visibility on dark background */
    margin-bottom: 30px;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.8;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(30, 32, 70, 0.25);
    transition: 0.3s;
    text-decoration: none;
}

.btn-primary:hover {
    background: white;
    color: var(--primary);
}

/* FEATURE SHOWCASE */
.feature-showcase {
    padding: 100px 0;
}

.feature-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    gap: 40px;
}

.feature-column {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.feature-icon-circle {
    width: 90px;
    height: 90px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
    transition: 0.3s;
}

.feature-icon-circle:hover {
    border-color: var(--secondary);
    transform: scale(1.1);
}

.feature-icon-circle i {
    font-size: 2rem;
    color: var(--secondary);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 250px;
}

.central-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.central-img {
    height: 500px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.25));
    transition: transform 0.5s;
}

.central-visual:hover .central-img {
    transform: scale(1.05) rotate(2deg);
}

/* Glass Box */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--glass-shadow);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: top;
}

/* VISION & MISSION */
.vis-mis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.glass-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: var(--glass-shadow);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.glass-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.box-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* FIELDS OF WORK */
.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.field-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.field-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* OUR BRANDS */
.brands-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 50px;
    opacity: 0.8;
}

.brand-item {
    text-align: center;
    width: 150px;
    transition: 0.3s;
    filter: grayscale(100%);
    opacity: 0.6;
}

.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.brand-circle {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    font-weight: 900;
    color: var(--primary);
    font-size: 1.5rem;
    border: 2px solid transparent;
}

.brand-item:hover .brand-circle {
    border-color: var(--secondary);
}

/* PRODUCTS (Free Style) */
.products-wrapper {
    position: relative;
    margin-top: 50px;
}

.products-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    padding: 20px 10px 60px;
    align-items: flex-end;
}

/* Remove old scrollbar rules for products-scroll since it's a grid now */
/* .products-scroll::-webkit-scrollbar { ... } */



/* Product Card - FREE (No Border/Shadow) */
.product-card {
    flex: 0 0 300px;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    position: relative;
    scroll-snap-align: center;
    box-shadow: none;
    border: none;
    transition: 0.4s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img-area {
    height: 300px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
    position: relative;
    margin-bottom: 20px;
}

/* Image floats freely */
.product-img-area img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    transition: 0.5s;
}

.product-card:hover .product-img-area img {
    transform: scale(1.1);
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.25));
}

.product-info {
    padding: 0;
    text-align: center;
    background: transparent;
    position: relative;
    z-index: 2;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.btn-sm {
    padding: 0;
    border: none;
    background: transparent;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
    width: auto;
    padding-bottom: 2px;
    font-family: inherit;
    /* Ensure font is inherited */
}

button {
    font-family: inherit;
}

.btn-sm:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
}


/* FUTURE PLANS */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    gap: 20px;
    flex-wrap: wrap;
}

.plan-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 20px;
}

.plan-year {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* WHY US */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.why-item {
    text-align: center;
    padding: 20px;
}

.why-icon {
    width: 70px;
    height: 70px;
    background: rgba(42, 157, 143, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary);
    font-size: 1.5rem;
}

/* CONTACT (THEMED) */
.contact-section-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

/* Info Cards: White Glass with Teal Border/Shadow match */
.info-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(42, 157, 143, 0.2);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(30, 32, 70, 0.05);
    backdrop-filter: blur(10px);
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: var(--secondary);
    box-shadow: 0 10px 25px rgba(42, 157, 143, 0.15);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(42, 157, 143, 0.1);
    color: var(--secondary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content {
    text-align: start;
    flex-grow: 1;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(42, 157, 143, 0.2);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.form-input {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 15px;
    font-family: inherit;
    background: white;
    transition: 0.3s;
}

.form-input:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}


/* FOOTER (REDESIGNED) */
footer {
    background: var(--primary);
    color: white;
    padding: 80px 0 40px;
    margin-top: 100px;
    border-radius: 60px 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    text-align: start;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--accent);
}

.footer-desc {
    opacity: 0.7;
    line-height: 1.8;
    max-width: 300px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: white;
    opacity: 0.7;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
    padding-right: 10px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-copy {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.4;
    font-size: 0.9rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
    text-decoration: none;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-5px);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .vis-mis-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links a:hover {
        padding-right: 0;
    }

    .contact-section-grid {
        grid-template-columns: 1fr;
    }

    .social-icons {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    header {
        padding: 15px 20px;
    }

    .display-text {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .central-img {
        height: auto;
        width: 100%;
        max-width: 300px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-desktop {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-desktop.active {
        display: flex;
    }

    .nav-desktop a {
        color: var(--primary);
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .glass-card {
        padding: 30px 20px;
    }

    .feature-column {
        gap: 40px;
    }
}

/* PRODUCT MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 32, 70, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(50px) scale(0.95);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.95);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 30px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.close-modal:hover {
    color: #e74c3c;
    transform: rotate(90deg);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-img-container img {
        max-height: 250px !important;
    }
}