:root {
    --brand-green: #39b54a;
    /* Vibrant Green */
    --brand-orange: #f7941d;
    --brand-purple: #92278f;
    --brand-yellow: #fff200;
    --brand-pink: #ec008c;
    --brand-black: #000000;

    --primary-green: var(--brand-green);
    --accent-yellow: var(--brand-yellow);

    --light-bg: #F9F9F9;
    --text-color: #333333;
    --heading-color: #000000;
    --white: #FFFFFF;

    --font-heading: 'Alexandria', sans-serif;
    --font-body: 'Alexandria', sans-serif;
    --font-arabic: 'Alexandria', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Page fade-in animation */
body {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body {
    font-family: var(--font-arabic), var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    direction: rtl;
    /* Arabic support */
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-arabic), var(--font-heading);
    color: var(--heading-color);
    font-weight: 800;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--primary-green);
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 44px;
}

.btn-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(57, 181, 74, 0.3);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--white);
    margin-right: 15px;
    /* RTL margin */
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-green);
}

/* Floating Register Button */
.floating-register-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, var(--brand-green) 0%, #2d8f3a 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 6px 25px rgba(57, 181, 74, 0.4);
    z-index: 1000;
    text-decoration: none;
    display: none;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-height: 44px;
}

.floating-register-btn.show {
    display: flex;
    animation: slideInUp 0.4s ease;
}

.floating-register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(57, 181, 74, 0.5);
    color: white;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Styling */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    width: auto;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo .highlight {
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-links .btn-primary {
    padding: 8px 25px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Decorative Shapes */
.decorative-shape {
    position: absolute;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    object-fit: contain;
}

/* Specific positioning adjustments if needed, but sizes are inline now */
.shape-flower {
    transform: rotate(15deg);
}

.shape-star {
    transform: rotate(-10deg);
}

/* Hero Section */
.hero {
    height: 90vh;
    background-color: var(--brand-green);
    color: var(--white);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Add subtle gradient */
    background: linear-gradient(135deg, var(--brand-green) 0%, #2e9e3e 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-size: 6rem;
    line-height: 0.9;
    margin: 20px 0;
    font-family: var(--font-heading);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.outline-text {
    -webkit-text-stroke: 3px var(--white);
    color: transparent;
}

.subtitle {
    font-family: var(--font-heading);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 700;
}

.cta-group {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
    color: var(--white);
    transition: transform 0.2s;
}

.btn-primary:hover {
    background-color: #e68a1b;
    border-color: #e68a1b;
    transform: scale(1.05);
}

.btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--brand-green);
}

/* About Section */
.row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.col-text,
.col-image {
    flex: 1;
}

/* Removed .section-tag, .image-wrapper::before, .placeholder-img */

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: none;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card:nth-child(1) h3 {
    color: var(--brand-purple);
}

.stat-card:nth-child(2) h3 {
    color: var(--brand-green);
}

.stat-card:nth-child(3) h3 {
    color: var(--brand-orange);
}

.stat-card:nth-child(4) h3 {
    color: var(--brand-pink);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    /* Increased from 30px */
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    /* Increased from 15px */
    text-align: center;
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary-green);
}

/* Features - Clean Style */
.features-section {
    background-color: var(--light-bg);
}

.features-section h2 {
    color: var(--brand-black);
}

.col-half {
    flex: 1;
    padding: 40px;
    border-radius: 30px;
    margin: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.col-half h3 {
    color: var(--brand-green);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.feature-list i {
    margin-left: 15px;
    color: var(--brand-yellow);
    background: var(--brand-green);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cat-item {
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.cat-item:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2rem;
    color: var(--white);
}

/* Coloring odd/various items */
.cat-item:nth-child(1) .icon-circle {
    background-color: var(--brand-green);
}

.cat-item:nth-child(2) .icon-circle {
    background-color: var(--brand-orange);
}

.cat-item:nth-child(3) .icon-circle {
    background-color: var(--brand-purple);
}

.cat-item:nth-child(4) .icon-circle {
    background-color: var(--brand-pink);
}

.cat-item:nth-child(5) .icon-circle {
    background-color: var(--brand-yellow);
    color: var(--brand-black);
}

.cat-item:nth-child(6) .icon-circle {
    background-color: var(--brand-black);
}

.cat-item p {
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Footer */
.footer {
    background-color: var(--brand-black);
    color: #fff;
    padding: 60px 0 20px;
}

.footer h2 {
    color: #fff;
}

.footer p {
    opacity: 0.8;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
/* ============================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ============================================ */

/* Large Desktops (1200px and up) - Default styles apply */

/* Medium Desktops and Tablets Landscape (992px to 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    .hero h1 {
        font-size: 5rem;
    }

    .section {
        padding: 60px 0;
    }
}

/* Tablets Portrait (768px to 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .row {
        flex-direction: column;
    }

    .col-half {
        width: 100%;
    }

    .stats-grid,
    .categories-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section {
        padding: 50px 0;
    }

    /* Navbar adjustments */
    .navbar .container {
        flex-direction: row-reverse;
    }
}

/* Mobile Landscape and Small Tablets (576px to 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }

    /* Navigation */
    .navbar .container {
        flex-direction: row-reverse;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    /* Hero Section */
    .hero {
        min-height: 70vh;
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .hero .arabic-tagline {
        font-size: 1rem;
    }

    .cta-group {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .cta-group a {
        width: 100%;
        text-align: center;
    }

    /* Decorative shapes - scale down on mobile */
    .decorative-shape {
        transform: scale(0.3);
        opacity: 0.1;
    }

    .shape-flower {
        top: -30px !important;
        left: -100px !important;
    }

    .shape-star {
        bottom: 10px !important;
        right: -80px !important;
    }

    /* Sections */
    .section {
        padding: 40px 0;
    }

    .row {
        flex-direction: column;
    }

    .reverse-mobile {
        flex-direction: column-reverse;
    }

    /* Reduce image sizes on mobile */
    .col-image img {
        max-width: 70%;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    /* Vision artwork specific sizing */
    .vision-artwork {
        max-width: 250px !important;
    }

    /* Grids */
    .stats-grid,
    .categories-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Connect Section */
    .connect-section .col-half:first-child {
        border-left: none;
        border-bottom: 2px solid var(--white);
        margin-bottom: 20px;
        padding-bottom: 30px;
    }

    .padding-col {
        padding: 15px 20px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    /* Typography */
    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    /* Venue Image */
    .venue-img {
        width: 100%;
        max-height: 250px;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 10px;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .outline-text {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 0.9rem;
    }

    .hero .arabic-tagline {
        font-size: 0.9rem;
    }

    .hero .presenter {
        font-size: 0.85rem;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Typography */
    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.95rem;
    }

    /* Sections */
    .section {
        padding: 30px 0;
    }

    /* Stats, Categories, Benefits */
    .stat-item,
    .category-item,
    .benefit-item {
        padding: 20px 15px;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        padding: 30px 20px;
        margin: 20% auto;
    }

    /* Forms */
    .form-input,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    textarea,
    select {
        font-size: 0.95rem;
        padding: 10px;
    }

    /* Navbar Logo */
    .navbar-brand img {
        height: 35px;
    }

    /* Connect Section */
    .connect-section {
        padding: 40px 0;
    }

    .padding-col {
        padding: 15px;
    }
}

/* Extra Small Devices (up to 400px) */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .outline-text {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .navbar-brand img {
        height: 30px;
    }
}

/* Forms */
.form-section-title {
    color: var(--brand-green);
    margin-bottom: 20px;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--accent-yellow);
    display: inline-block;
    padding-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
    text-align: right;
}

/* Newsletter in Footer & Connect Section inputs */
.footer-newsletter input,
.newsletter-form input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 2px solid var(--brand-black);
    background-color: transparent;
    color: var(--brand-black);
}

.newsletter-form input {
    border: none;
    background-color: var(--white);
    color: var(--brand-black);
}

.footer-newsletter input::placeholder,
.newsletter-form input::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-color);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s;
}

/* Venue Image */
.venue-img {
    width: 85%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    max-height: 350px;
    display: block;
    margin: 0 auto;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    left: 20px;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--brand-black);
    text-decoration: none;
    cursor: pointer;
}

/* Connect Section (Newsletter & B2B) */
.connect-section {
    background-color: var(--brand-yellow);
    color: var(--brand-black);
    padding: 60px 0;
}

.connect-section h3,
.connect-section p {
    color: var(--brand-black) !important;
}

.padding-col {
    padding: 20px 40px;
}

/* White separator line in the middle */
.connect-section .col-half:first-child {
    border-left: 2px solid var(--white);
}