/* ==========================================================================
   GLOBAL BASE STYLES & VARIABLES
   ========================================================================== */

:root {
    /* --- Your Provided Brand Colors --- */
    --primary-green: #2e7d32;
    --light-green: #72BE44;
    --dark-green: #006838;
    
    /* --- Neutral Palette --- */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-gray: #f9f9f9;
    
    /* --- Layout & Functional Constants --- */
    --transition: 0.3s ease;
    --container-width: 1200px;
    --section-padding: 80px 5%;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.05);
    
    /* --- Added Design Variables (For Professional Polish) --- */
    --radius-lg: 24px;
    --radius-sm: 8px;
    --hover-lift: -10px;
    --shadow-heavy: 0 20px 40px rgba(0, 104, 56, 0.1);

    /* --- Ramadan 2026 Theme Variables --- */
    --ram-26-dark: #205c23;          /* Deep Green for body text */
    --ram-26-gold: #d4af37;          /* Ramadan Gold Accent */
    --ram-26-bg: #fdfefc;            /* Soft White Background */
    --ram-26-card-bg: #ffffff;
    --ram-26-border: #ececec;
    
    /* --- Dimensions & Spacing --- */
    --ram-26-radius: 20px;
    --ram-26-shadow: 0 10px 40px rgba(46, 125, 50, 0.08);
}

/* ==========================================================================
   1. GLOBAL CORE STYLES & VARIABLES
   ========================================================================== */

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    background-color: var(--bg-white);
}

/* Global Typography - Enforces bold headers site-wide */
h1, h2, h3 {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 700 !important;
    margin: 0;
}

p {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 400 !important;
	color: var(--text-dark);
    margin: 0;
}

/* Shared Professional Button */
.btn-primary {
    background-color: var(--light-green);
    color: #fff !important;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    border-radius: 6px;
    font-weight: bold;
    transition: all var(--transition);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
}

/* Container to prevent drifting on zoom */
.sect-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================

   2. GLOBAL SLIDER MODULE (Logo Carousels)

   ========================================================================== */

.logo-slider {

    overflow: hidden;
    padding: 40px 0;
    background: var(--bg-white);
    white-space: nowrap;
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
}



.slide {

    width: 250px; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}


.slide img {

    width: 100%;
    max-width: 150px;
    filter: grayscale(100%);
    transition: filter var(--transition);
    cursor: pointer;

}

.slide img:hover {

    filter: grayscale(0%);

}

@keyframes scroll-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}



/* Sector-Specific Speeds */

.export-logo-track { display: flex; width: max-content; animation: scroll-infinite 15s linear infinite; }
.seeds-logo-track { display: flex; width: max-content; animation: scroll-infinite 35s linear infinite; }
.agro-logo-track { display: flex; width: max-content; animation: scroll-infinite 55s linear infinite; }
.ab-pt-combined-track { display: flex; width: max-content; animation: scroll-infinite 75s linear infinite; }
.export-logo-track:hover, .seeds-logo-track:hover, 
.agro-logo-track:hover, .ab-pt-combined-track:hover {
    animation-play-state: paused;
}


/* ==========================================================================
   3. EXPORT SECTOR PAGE STYLES (.export-pg-)
   ========================================================================== */
.export-pg-header { 
    text-align: center; 
    padding: 80px 5% 40px; 
    max-width: var(--container-width); 
    margin: 0 auto; 
}
.export-pg-header h1 { color: var(--light-green); font-size: 3rem; }

.export-pg-section {
    padding: 60px 5%;
    background-color: var(--bg-white);
}

.export-pg-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.export-pg-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.export-pg-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    flex: 1;
    min-width: 280px;
    box-shadow: var(--card-shadow);
    border-top: 5px solid var(--light-green);
    text-align: center;
}

.export-pg-number { font-size: 3.5rem; color: var(--light-green); }

.export-pg-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.export-pg-feature-item h3 {
    color: var(--light-green);
    border-left: 4px solid var(--dark-green);
    padding-left: 15px;
    font-size: 1.5rem;
}

.export-pg-contact-wrap {
    text-align: center;
    padding: 60px 0;
}
.export-pg-contact-wrap h2 { color: var(--light-green); font-size: 2.2rem; margin-bottom: 30px; }

/* ==========================================================================
   4. SEEDS SECTOR PAGE STYLES (.seeds-pg-)
   ========================================================================== */
.seeds-pg-section { padding: var(--section-padding); text-align: center; }

.seeds-pg-container { max-width: var(--container-width); margin: 0 auto; }

.seeds-pg-header h2 { 
    font-size: 2.5rem; 
    color: var(--light-green); 
    margin-bottom: 40px; 
}

.seeds-pg-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; }

.seeds-pg-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    flex: 1;
    min-width: 280px;
    box-shadow: var(--card-shadow);
    border-top: 5px solid var(--light-green);
}

.seeds-pg-number { font-size: 3.5rem; color: var(--light-green); }

.seeds-pg-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: left;
}

.seeds-pg-feature-item h3 {
    font-size: 1.3rem; 
    color: var(--light-green);
    border-left: 4px solid var(--dark-green);
    padding-left: 15px;
}

/* ==========================================================================
   5. ABOUT US PAGE STYLES (.ab-sect-)
   ========================================================================== */
.ab-sect-hero { 
    padding: 100px 5% 60px; 
    text-align: center; 
    max-width: var(--container-width); 
    margin: 0 auto; 
}
.ab-sect-hero h1 { color: var(--light-green); font-size: 3.2rem; }
.ab-sect-hero p { color: var(--text-light); font-size: 1.25rem; max-width: 900px; margin: 0 auto; }

.ab-sect-mv-container { 
    padding: 40px 5% 80px; 
    max-width: var(--container-width); 
    margin: 0 auto; 
}
.ab-sect-mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.ab-sect-mv-card {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border-top: 6px solid var(--light-green);
    text-align: left;
}
.ab-sect-mv-card h2 { color: var(--light-green); font-size: 2rem; margin-bottom: 20px; }

/* Statistics Section */
.ab-sect-stats { padding: 80px 5%; max-width: var(--container-width); margin: 0 auto; }
.ab-sect-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}
.ab-sect-stat-item { 
    text-align: center; 
    padding: 30px; 
    border-radius: 15px; 
    background: #fcfcfc; 
    border: 1px solid #f0f0f0; 
}
.ab-sect-stat-number { display: block; font-size: 3rem; font-weight: 800; color: var(--light-green); margin-bottom: 5px; }
.ab-sect-stat-label { font-weight: 700; text-transform: uppercase; color: var(--light-green); letter-spacing: 1px; }

/* Al-Salam Standard: Image Left, Text Right */
.ab-sect-stand-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 100px 5%;
}
.ab-sect-stand-img { flex: 1; min-width: 400px; }
.ab-sect-stand-text { flex: 1; min-width: 400px; text-align: left; }
.ab-sect-stand-text h2 { color: var(--light-green); font-size: 2.5rem; margin-bottom: 25px; }
.ab-sect-stand-img img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* About Us Partner Section Header */
.ab-partners-section { padding: 80px 5%; text-align: center; }
.ab-partners-header h2 { color: var(--light-green); font-size: 2.5rem; margin-bottom: 15px; }

/* Mobile Responsiveness for Flex Layouts */
@media (max-width: 992px) {
    .ab-sect-stand-flex { flex-direction: column; }
    .ab-sect-stand-img, .ab-sect-stand-text { min-width: 100%; }
    .ab-sect-hero h1 { font-size: 2.2rem; }
}



/* ==========================================================================
   6. NEWSLETTER & PUBLICATIONS (.news-pg-) - A4 DISPLAY SYNC
   ========================================================================== */
.news-pg-gallery {
    padding: var(--section-padding);
    background-color: var(--bg-white);
    text-align: center;
}

/* Inherits Global Bold & Light Green from h2 */
.news-pg-gallery h2 {
    color: var(--light-green); 
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.news-pg-grid {
    display: grid;
    /* Adjusted min-width to 280px to make cards wider and more 'A4' like */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 45px; 
    max-width: var(--container-width); 
    margin: 50px auto 0;
}

/* Card Style: Inherits Global Master CSS Shadow and Font Weights */
.news-pub-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: var(--card-shadow); 
    border-top: 6px solid var(--light-green);
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
}

.news-pub-card:hover { 
    transform: translateY(-12px); 
}

/* Inherits Global Bold from h3 */
.news-pub-card h3 {
    font-size: 1.3rem;
    color: var(--light-green);
    margin-top: 10px;
}

/* Fixed A4 Magazine Proportion (1:1.414) */
.news-pub-cover {
    background: #fdfdfd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 25px;
    aspect-ratio: 1 / 1.414; /* Standard A4 ratio for professional display */
    border: 1px solid #eee;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.news-pub-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Button Grouping & Global Button Sync */
.pub-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto; /* Pushes buttons to the bottom of the card */
    padding-top: 20px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-green) !important;
    padding: 12px 20px;
    text-decoration: none;
    display: inline-block;
    border: 2px solid var(--light-green);
    border-radius: 6px;
    font-weight: bold; 
    font-size: 0.95rem;
    transition: all var(--transition);
}

.btn-secondary:hover {
    background-color: var(--light-green);
    color: #fff !important;
}


/* ==========================================================================
   7.1 PRODUCT DETAIL PAGE (.prod-det-) - FINAL EXPORT LAYOUT
   ========================================================================== */
.prod-det-section {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.prod-det-container {
    display: flex;
    flex-wrap: wrap; /* Becomes 1 column on mobile */
    gap: 60px;
    align-items: flex-start;
}

/* LEFT SIDE: Square Media */
.prod-det-media {
    flex: 1;
    min-width: 400px;
}

.prod-det-image-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: #fdfdfd;
    box-shadow: var(--card-shadow);
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-det-image-box img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

/* RIGHT SIDE: Information Content */
.prod-det-content {
    flex: 1.2;
    min-width: 400px;
    text-align: left;
}

.prod-det-content h1 {
    color: var(--light-green); /* Global Bold Green */
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Technical Specification Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

/* Grey Background Header for Technical Specifications */
.spec-table th {
    background-color: #eeeeee; /* Grey Background requested */
    color: var(--text-dark);
    text-align: left;
    padding: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--light-green);
}

.spec-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.spec-label {
    font-weight: 700;
    color: var(--dark-green);
    width: 180px;
}

.spec-value {
    color: var(--text-dark);
    line-height: 1.6;
}

.m-badge {
    background: #f4f9f1;
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid var(--light-green);
    margin-right: 5px;
}

/* ==========================================================================
   7.2 PRODUCT GRID STYLES (.bb-product-item)
   ========================================================================== */

/* 1. Align Title in Center */
.bb-product-item .card-body {
    text-align: center; /* Forces the text to the center */
    padding: 20px 15px;
}

.bb-product-item .product-name a {
    color: var(--text-dark); /* Inherits Global Color */
    font-weight: 700;        /* Inherits Global Bold */
}

/* 2. Force Square Image Gallery */
.bb-product-item .image {
    width: 100%;
    aspect-ratio: 1 / 1;     /* Standard Square Ratio */
    overflow: hidden;
    background-color: #fff;  /* Keeps background clean for transparent PNGs */
    display: flex;
    align-items: center;
    justify-content: center;
}

.bb-product-item .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;     /* Ensures the full pesticide bottle is visible */
    padding: 10px;           /* Professional margin around the bottle */
    transition: transform var(--transition);
}

/* Hover Effect: Zoom image slightly */
.bb-product-item:hover .image img {
    transform: scale(1.05);  /* Subtle zoom on hover */
}
/* ==========================================================================
   UNIFORM RELATED PRODUCTS GRID
   ========================================================================== */


/* Standardize the Title Area */
.bb-product-item .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers title vertically */
    padding: 15px;
    text-align: center;
}

.bb-product-item .product-name {
    margin: 0 !important;
    font-size: 1.1rem;
    line-height: 1.3;
    /* Limit title to 2 lines to prevent infinite growth */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em; /* Fixed height for text area */
}
/* ==========================================================================
   8. GLOBAL SITE CLEANUP: HIDE CMS TITLES & E-COMMERCE
   ========================================================================== */

/* 1. Hides Product & Page Titles at the top */
.product-title,
.page-header h1,
.breadcrumb-section h1 {
    display: none !important;
}

/* 2. Hides E-commerce Actions (Add to Cart, Quantity, Stock) */
.bb-product-quantity, 
.bb-product-details-add-to-cart-btn, 
#is-out-of-stock,
.single-variation-wrap,
.product-add-cart-btn-large-wrapper {
    display: none !important;
}

/* 3. Hides Meta Information (Categories, SKU) */
.bb-product-meta,
.product-categories {
    display: none !important;
}

/* 4. Hides Description Tabs & Content Wrapper */
.product-detail-tabs,
.bb-product-content-tabs,
.bb-product-content-tabs-wrapper {
    display: none !important;
}

/* ==========================================================================
   LANDING PAGE STYLES
   ========================================================================== */

/*   SERVICES SECTION BACKGROUND COLOR */
.services-bg {
    background-color: var(--dark-green) !important;
    background-image: none !important; /* Removes the blue wave pattern image */
}

/*   TESTIMONIAL SECTION BACKGROUND */
.testimonial-bg {
    background-color: var(--dark-green) !important;
    background-image:none !important;
}

/* ==========================================================================
   AGROCHEMICAL PRODUCT PAGE STYLES (.agro-v2-)
   Target: Pesticides, Fertilizers, and PGRs (agrochemical Sectors)
   ========================================================================== */


/* 1. GLOBAL TYPOGRAPHY 
   Forces the professional 'Segoe UI' Arabic font on all technical headings */
.agro-v2-section h1, 
.agro-v2-section h2, 
.agro-v2-section h3, 
.agro-v2-section h4 {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    margin: 0;
}

/* 2. LAYOUT ENGINE
   Centering logic and container width protection for large displays */
.agro-v2-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    direction: rtl !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.agro-v2-section {
    padding: 40px 0;
    background-color: var(--bg-white);
}

/* 3. PRODUCT HEADER 
   Branding bar and color overrides for Title, Formulation, and Group */
.agro-v2-header {
    border-right: 6px solid var(--light-green) !important;
    padding-right: 20px !important;
    margin-bottom: 35px !important;
}

.agro-v2-header h1 {
    font-size: clamp(2rem, 5vw, 3rem) !important;
    color: var(--light-green) !important;
    font-weight: 900 !important;
    margin-bottom: 10px !important;
}

/* Fix for the "Blue-Gray" color conflict in descriptions */
.agro-v2-section .agro-v2-container p.chemical-group {
    color: var(--primary-green) !important;
    font-weight: 700 !important;
}

.agro-v2-section .agro-v2-container p {
    color: var(--text-dark) !important;    
    font-weight: 700 !important;
}

/* 4. TECHNICAL INFO CARD 
   Clean grouping for Product Form and Mode of Action */
.agro-v2-info-card {
    background: #fcfcfc !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    margin-bottom: 30px !important;
}

.agro-v2-info-card h4 {
    color: var(--primary-green) !important;
    font-size: 1.2rem !important;
    margin-bottom: 15px !important;
}

/* 5. ADVANTAGE LIST 
   Styled checkmarks for technical benefits */
.agro-v2-list { list-style: none; padding: 0; }
.agro-v2-list li { position: relative; padding-right: 35px; margin-bottom: 15px; font-size: 1.1rem; line-height: 1.6; }
.agro-v2-list li::before {
    content: "✔";
    position: absolute;
    right: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* 6. TECHNICAL TABLES
   Solves "Squeezed" appearance by forcing 100% width and centered headers */

.agro-v2-table-title {
    color: var(--primary-green) !important;
    font-size: clamp(1.4rem, 4vw, 1.8rem) !important;
    margin: 45px 0 15px 0 !important;
    text-align: right !important;
}

/* Wrapper forces full desktop width and removes horizontal scroll */
.agro-v2-table-wrapper {
    width: 100% !important;
    border: none !important;
    margin: 0 !important;
    overflow: visible !important; 
}

/* Overrides CKEditor/Theme figure constraints */
.ck-content figure.table {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.agro-v2-table {
    width: 100% !important;
    table-layout: auto !important; 
    border-collapse: collapse !important;
}

/* Explicitly centers table headers*/
.agro-v2-table th {
    background-color: var(--light-green) !important;
    color: #ffffff !important;
    padding: 12px 8px;
    border: 1px solid #fff;
    font-weight: 700;
    text-align: center !important; 
}

.agro-v2-table td {
    padding: 12px 8px;
    border: 1px solid #eee;
    text-align: center !important;
    background: #fff;
    color: var(--text-dark);
}

/* ==========================================================================
   GLOBAL BASE STYLES & VARIABLES
   ========================================================================== */

:root {
    /* --- Your Provided Brand Colors --- */
    --primary-green: #2e7d32;
    --light-green: #72BE44;
    --dark-green: #006838;
    
    /* --- Neutral Palette --- */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-gray: #f9f9f9;
    
    /* --- Layout & Functional Constants --- */
    --transition: 0.3s ease;
    --container-width: 1200px;
    --section-padding: 80px 5%;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.05);
    
    /* --- Added Design Variables (For Professional Polish) --- */
    --radius-lg: 24px;
    --radius-sm: 8px;
    --hover-lift: -10px;
    --shadow-heavy: 0 20px 40px rgba(0, 104, 56, 0.1);
}

/* ==========================================================================
   1. GLOBAL CORE STYLES & VARIABLES
   ========================================================================== */

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    background-color: var(--bg-white);
}

/* Global Typography - Enforces bold headers site-wide */
h1, h2, h3 {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 700 !important;
    margin: 0;
}

/* Shared Professional Button */
.btn-primary {
    background-color: var(--light-green);
    color: #fff !important;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    border-radius: 6px;
    font-weight: bold;
    transition: all var(--transition);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
}

/* Container to prevent drifting on zoom */
.sect-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================

   2. GLOBAL SLIDER MODULE (Logo Carousels)

   ========================================================================== */

.logo-slider {

    overflow: hidden;
    padding: 40px 0;
    background: var(--bg-white);
    white-space: nowrap;
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
}



.slide {

    width: 250px; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}


.slide img {

    width: 100%;
    max-width: 150px;
    filter: grayscale(100%);
    transition: filter var(--transition);
    cursor: pointer;

}

.slide img:hover {

    filter: grayscale(0%);

}

@keyframes scroll-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}



/* Sector-Specific Speeds */

.export-logo-track { display: flex; width: max-content; animation: scroll-infinite 15s linear infinite; }
.seeds-logo-track { display: flex; width: max-content; animation: scroll-infinite 35s linear infinite; }
.agro-logo-track { display: flex; width: max-content; animation: scroll-infinite 55s linear infinite; }
.ab-pt-combined-track { display: flex; width: max-content; animation: scroll-infinite 75s linear infinite; }
.export-logo-track:hover, .seeds-logo-track:hover, 
.agro-logo-track:hover, .ab-pt-combined-track:hover {
    animation-play-state: paused;
}


/* ==========================================================================
   3. EXPORT SECTOR PAGE STYLES (.export-pg-)
   ========================================================================== */
.export-pg-header { 
    text-align: center; 
    padding: 80px 5% 40px; 
    max-width: var(--container-width); 
    margin: 0 auto; 
}
.export-pg-header h1 { color: var(--light-green); font-size: 3rem; }

.export-pg-section {
    padding: 60px 5%;
    background-color: var(--bg-white);
}

.export-pg-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.export-pg-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.export-pg-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    flex: 1;
    min-width: 280px;
    box-shadow: var(--card-shadow);
    border-top: 5px solid var(--light-green);
    text-align: center;
}

.export-pg-number { font-size: 3.5rem; color: var(--light-green); }

.export-pg-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.export-pg-feature-item h3 {
    color: var(--light-green);
    border-left: 4px solid var(--dark-green);
    padding-left: 15px;
    font-size: 1.5rem;
}

.export-pg-contact-wrap {
    text-align: center;
    padding: 60px 0;
}
.export-pg-contact-wrap h2 { color: var(--light-green); font-size: 2.2rem; margin-bottom: 30px; }

/* ==========================================================================
   4. SEEDS SECTOR PAGE STYLES (.seeds-pg-)
   ========================================================================== */
.seeds-pg-section { padding: var(--section-padding); text-align: center; }

.seeds-pg-container { max-width: var(--container-width); margin: 0 auto; }

.seeds-pg-header h2 { 
    font-size: 2.5rem; 
    color: var(--light-green); 
    margin-bottom: 40px; 
}

.seeds-pg-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; }

.seeds-pg-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    flex: 1;
    min-width: 280px;
    box-shadow: var(--card-shadow);
    border-top: 5px solid var(--light-green);
}

.seeds-pg-number { font-size: 3.5rem; color: var(--light-green); }

.seeds-pg-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: left;
}

.seeds-pg-feature-item h3 {
    font-size: 1.3rem; 
    color: var(--light-green);
    border-left: 4px solid var(--dark-green);
    padding-left: 15px;
}

/* ==========================================================================
   5. ABOUT US PAGE STYLES (.ab-sect-)
   ========================================================================== */
.ab-sect-hero { 
    padding: 100px 5% 60px; 
    text-align: center; 
    max-width: var(--container-width); 
    margin: 0 auto; 
}
.ab-sect-hero h1 { color: var(--light-green); font-size: 3.2rem; }
.ab-sect-hero p { color: var(--text-light); font-size: 1.25rem; max-width: 900px; margin: 0 auto; }

.ab-sect-mv-container { 
    padding: 40px 5% 80px; 
    max-width: var(--container-width); 
    margin: 0 auto; 
}
.ab-sect-mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.ab-sect-mv-card {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border-top: 6px solid var(--light-green);
    text-align: left;
}
.ab-sect-mv-card h2 { color: var(--dark-green); font-size: 2rem; margin-bottom: 20px; }

/* Statistics Section */
.ab-sect-stats { padding: 80px 5%; max-width: var(--container-width); margin: 0 auto; }
.ab-sect-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}
.ab-sect-stat-item { 
    text-align: center; 
    padding: 30px; 
    border-radius: 15px; 
    background: #fcfcfc; 
    border: 1px solid #f0f0f0; 
}
.ab-sect-stat-number { display: block; font-size: 3rem; font-weight: 800; color: var(--light-green); margin-bottom: 5px; }
.ab-sect-stat-label { font-weight: 700; text-transform: uppercase; color: var(--dark-green); letter-spacing: 1px; }

/* Al-Salam Standard: Image Left, Text Right */
.ab-sect-stand-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 100px 5%;
}
.ab-sect-stand-img { flex: 1; min-width: 400px; }
.ab-sect-stand-text { flex: 1; min-width: 400px; text-align: left; }
.ab-sect-stand-text h2 { color: var(--light-green); font-size: 2.5rem; margin-bottom: 25px; }
.ab-sect-stand-img img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* About Us Partner Section Header */
.ab-partners-section { padding: 80px 5%; text-align: center; }
.ab-partners-header h2 { color: var(--light-green); font-size: 2.5rem; margin-bottom: 15px; }

/* Mobile Responsiveness for Flex Layouts */
@media (max-width: 992px) {
    .ab-sect-stand-flex { flex-direction: column; }
    .ab-sect-stand-img, .ab-sect-stand-text { min-width: 100%; }
    .ab-sect-hero h1 { font-size: 2.2rem; }
}



/* ==========================================================================
   6. NEWSLETTER & PUBLICATIONS (.news-pg-) - A4 DISPLAY SYNC
   ========================================================================== */
.news-pg-gallery {
    padding: var(--section-padding);
    background-color: var(--bg-white);
    text-align: center;
}

/* Inherits Global Bold & Light Green from h2 */
.news-pg-gallery h2 {
    color: var(--light-green); 
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.news-pg-grid {
    display: grid;
    /* Adjusted min-width to 280px to make cards wider and more 'A4' like */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 45px; 
    max-width: var(--container-width); 
    margin: 50px auto 0;
}

/* Card Style: Inherits Global Master CSS Shadow and Font Weights */
.news-pub-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: var(--card-shadow); 
    border-top: 6px solid var(--light-green);
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
}

.news-pub-card:hover { 
    transform: translateY(-12px); 
}

/* Inherits Global Bold from h3 */
.news-pub-card h3 {
    font-size: 1.3rem;
    color: var(--light-green);
    margin-top: 10px;
}

/* Fixed A4 Magazine Proportion (1:1.414) */
.news-pub-cover {
    background: #fdfdfd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 25px;
    aspect-ratio: 1 / 1.414; /* Standard A4 ratio for professional display */
    border: 1px solid #eee;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.news-pub-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Button Grouping & Global Button Sync */
.pub-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto; /* Pushes buttons to the bottom of the card */
    padding-top: 20px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-green) !important;
    padding: 12px 20px;
    text-decoration: none;
    display: inline-block;
    border: 2px solid var(--light-green);
    border-radius: 6px;
    font-weight: bold; 
    font-size: 0.95rem;
    transition: all var(--transition);
}

.btn-secondary:hover {
    background-color: var(--light-green);
    color: #fff !important;
}


/* ==========================================================================
   7.1 PRODUCT DETAIL PAGE (.prod-det-) - FINAL EXPORT LAYOUT
   ========================================================================== */
.prod-det-section {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.prod-det-container {
    display: flex;
    flex-wrap: wrap; /* Becomes 1 column on mobile */
    gap: 60px;
    align-items: flex-start;
}

/* LEFT SIDE: Square Media */
.prod-det-media {
    flex: 1;
    min-width: 400px;
}

.prod-det-image-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: #fdfdfd;
    box-shadow: var(--card-shadow);
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-det-image-box img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

/* RIGHT SIDE: Information Content */
.prod-det-content {
    flex: 1.2;
    min-width: 400px;
    text-align: left;
}

.prod-det-content h1 {
    color: var(--light-green); /* Global Bold Green */
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Technical Specification Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

/* Grey Background Header for Technical Specifications */
.spec-table th {
    background-color: #eeeeee; /* Grey Background requested */
    color: var(--text-dark);
    text-align: left;
    padding: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--light-green);
}

.spec-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.spec-label {
    font-weight: 700;
    color: var(--dark-green);
    width: 180px;
}

.spec-value {
    color: var(--text-dark);
    line-height: 1.6;
}

.m-badge {
    background: #f4f9f1;
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid var(--light-green);
    margin-right: 5px;
}

/* ==========================================================================
   7.2 PRODUCT GRID STYLES (.bb-product-item)
   ========================================================================== */

/* 1. Align Title in Center */
.bb-product-item .card-body {
    text-align: center; /* Forces the text to the center */
    padding: 20px 15px;
}

.bb-product-item .product-name a {
    color: var(--text-dark); /* Inherits Global Color */
    font-weight: 700;        /* Inherits Global Bold */
}

/* 2. Force Square Image Gallery */
.bb-product-item .image {
    width: 100%;
    aspect-ratio: 1 / 1;     /* Standard Square Ratio */
    overflow: hidden;
    background-color: #fff;  /* Keeps background clean for transparent PNGs */
    display: flex;
    align-items: center;
    justify-content: center;
}

.bb-product-item .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;     /* Ensures the full pesticide bottle is visible */
    padding: 10px;           /* Professional margin around the bottle */
    transition: transform var(--transition);
}

/* Hover Effect: Zoom image slightly */
.bb-product-item:hover .image img {
    transform: scale(1.05);  /* Subtle zoom on hover */
}
/* ==========================================================================
   UNIFORM RELATED PRODUCTS GRID
   ========================================================================== */


/* Standardize the Title Area */
.bb-product-item .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers title vertically */
    padding: 15px;
    text-align: center;
}

.bb-product-item .product-name {
    margin: 0 !important;
    font-size: 1.1rem;
    line-height: 1.3;
    /* Limit title to 2 lines to prevent infinite growth */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em; /* Fixed height for text area */
}
/* ==========================================================================
   8. GLOBAL SITE CLEANUP: HIDE CMS TITLES & E-COMMERCE
   ========================================================================== */

/* 1. Hides Product & Page Titles at the top */
.product-title,
.page-header h1,
.breadcrumb-section h1 {
    display: none !important;
}

/* 2. Hides E-commerce Actions (Add to Cart, Quantity, Stock) */
.bb-product-quantity, 
.bb-product-details-add-to-cart-btn, 
#is-out-of-stock,
.single-variation-wrap,
.product-add-cart-btn-large-wrapper {
    display: none !important;
}

/* 3. Hides Meta Information (Categories, SKU) */
.bb-product-meta,
.product-categories {
    display: none !important;
}

/* 4. Hides Description Tabs & Content Wrapper */
.product-detail-tabs,
.bb-product-content-tabs,
.bb-product-content-tabs-wrapper {
    display: none !important;
}

/* ==========================================================================
   LANDING PAGE STYLES
   ========================================================================== */

/*   SERVICES SECTION BACKGROUND COLOR */
.services-bg {
    background-color: var(--dark-green) !important;
    background-image: none !important; /* Removes the blue wave pattern image */
}

/*   TESTIMONIAL SECTION BACKGROUND */
.testimonial-bg {
    background-color: var(--dark-green) !important;
    background-image:none !important;
}

/* ==========================================================================
   AGROCHEMICAL PRODUCT PAGE STYLES (.agro-v2-)
   Target: Pesticides, Fertilizers, and PGRs (agrochemical Sectors)
   ========================================================================== */


/* 1. GLOBAL TYPOGRAPHY 
   Forces the professional 'Segoe UI' Arabic font on all technical headings */
.agro-v2-section h1, 
.agro-v2-section h2, 
.agro-v2-section h3, 
.agro-v2-section h4 {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    margin: 0;
}

/* 2. LAYOUT ENGINE
   Centering logic and container width protection for large displays */
.agro-v2-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    direction: rtl !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.agro-v2-section {
    padding: 40px 0;
    background-color: var(--bg-white);
}

/* 3. PRODUCT HEADER 
   Branding bar and color overrides for Title, Formulation, and Group */
.agro-v2-header {
    border-right: 6px solid var(--light-green) !important;
    padding-right: 20px !important;
    margin-bottom: 35px !important;
}

.agro-v2-header h1 {
    font-size: clamp(2rem, 5vw, 3rem) !important;
    color: var(--light-green) !important;
    font-weight: 900 !important;
    margin-bottom: 10px !important;
}

/* Fix for the "Blue-Gray" color conflict in descriptions */
.agro-v2-section .agro-v2-container p.chemical-group {
    color: var(--primary-green) !important;
    font-weight: 700 !important;
}

.agro-v2-section .agro-v2-container p {
    color: var(--text-dark) !important;    
    font-weight: 700 !important;
}

/* 4. TECHNICAL INFO CARD 
   Clean grouping for Product Form and Mode of Action */
.agro-v2-info-card {
    background: #fcfcfc !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    margin-bottom: 30px !important;
}

.agro-v2-info-card h4 {
    color: var(--primary-green) !important;
    font-size: 1.2rem !important;
    margin-bottom: 15px !important;
}

/* 5. ADVANTAGE LIST 
   Styled checkmarks for technical benefits */
.agro-v2-list { list-style: none; padding: 0; }
.agro-v2-list li { position: relative; padding-right: 35px; margin-bottom: 15px; font-size: 1.1rem; line-height: 1.6; }
.agro-v2-list li::before {
    content: "✔";
    position: absolute;
    right: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* 6. TECHNICAL TABLES
   Solves "Squeezed" appearance by forcing 100% width and centered headers */

.agro-v2-table-title {
    color: var(--primary-green) !important;
    font-size: clamp(1.4rem, 4vw, 1.8rem) !important;
    margin: 45px 0 15px 0 !important;
    text-align: right !important;
}

/* Wrapper forces full desktop width and removes horizontal scroll */
.agro-v2-table-wrapper {
    width: 100% !important;
    border: none !important;
    margin: 0 !important;
    overflow: visible !important; 
}

/* Overrides CKEditor/Theme figure constraints */
.ck-content figure.table {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.agro-v2-table {
    width: 100% !important;
    table-layout: auto !important; 
    border-collapse: collapse !important;
}

/* Explicitly centers table headers*/
.agro-v2-table th {
    background-color: var(--light-green) !important;
    color: #ffffff !important;
    padding: 12px 8px;
    border: 1px solid #fff;
    font-weight: 700;
    text-align: center !important; 
}

.agro-v2-table td {
    padding: 12px 8px;
    border: 1px solid #eee;
    text-align: center !important;
    background: #fff;
    color: var(--text-dark);
}

/* ==========================================================================
   AL-SALAM ACTIVITIES - CLEAN & CONSOLIDATED
   ========================================================================== */

/* --- 1. CORE LAYOUT & CONTAINER --- */
.act-wrapper {
    max-width: var(--container-width); /* Prevents content stretch on zoom-out */
    margin: 0 auto;
    width: 100%;
    direction: ltr; /* English alignment */
}

.act-main-section {
    background-color: var(--bg-gray);
    padding: var(--section-padding);
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* --- 2. TYPOGRAPHY (CONFLICT-FREE) --- */
.act-section-title {
    color: var(--light-green) !important;
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    text-align: center;
    margin-bottom: 10px;
}

.act-section-desc {
    color: var(--text-light) !important;
    font-size: 1.15rem;
    text-align: center;
    max-width: 850px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* --- 3. FEATURED HIGHLIGHT (DR. EHAB TRAINING) --- */
.act-featured-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    display: flex;
    gap: 40px;
    padding: 40px;
    margin-bottom: 80px;
    box-shadow: var(--card-shadow);
    border-left: 10px solid var(--light-green);
    align-items: center;
    text-align: left;
}

/* Video Aspect Ratio & Image Loading */
.act-video-container {
    flex: 1;
    min-width: 450px;
    aspect-ratio: 16 / 9; /* Maintains original video dimensions */
    background-color: #a5a5a5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.act-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills container without distortion */
    display: block;
}

/* Play Button Interaction */
.act-play-btn {
    position: absolute;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.act-video-container:hover .act-play-btn {
    transform: scale(1.15);
    color: var(--light-green); /* Changes color to brand green on hover */
    filter: drop-shadow(0 0 15px rgba(114, 190, 68, 0.5));
}

/* High-Visibility Badge */
.act-badge-highlight {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--light-green) !important;
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.act-featured-heading {
    color: var(--light-green) !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 15px;
}

.act-list {
    margin: 20px 0;
    padding-left: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

/* --- 4. ACTIVITY GRID & INTERACTIVE CARDS --- */
.act-grid-heading {
    color: var(--light-green) !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    margin-bottom: 40px;
    text-align: left;
}

.act-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.act-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid #edf2f7;
    text-align: left;
}

/* Card Interaction: Lift & Shadow */
.act-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 104, 56, 0.15);
    cursor: pointer;
}

.act-card-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--light-green);
    color: var(--bg-white);
    padding: 5px 15px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 10;
}

.act-img-box {
    height: 240px;
    background-color: #eee;
    overflow: hidden;
}

.act-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.act-card:hover .act-img-box img {
    transform: scale(1.1); /* Zoom effect on hover */
}

.act-card-body {
    padding: 30px;
}

.act-card-title {
    color: var(--light-green) !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin: 10px 0;
}

/* --- 5. RESPONSIVE FIXES --- */
@media (max-width: 1024px) {
    .act-featured-card { flex-direction: column; padding: 25px; }
    .act-video-container { min-width: 100%; }
    .act-section-title { font-size: 2.2rem !important; }
}

/* ==========================================================================
   AL-SALAM ACTIVITIES - CLEAN & CONSOLIDATED
   ========================================================================== */

/* --- 1. CORE LAYOUT & CONTAINER --- */
.act-wrapper {
    max-width: var(--container-width); /* Prevents content stretch on zoom-out */
    margin: 0 auto;
    width: 100%;
    direction: ltr; /* English alignment */
}

.act-main-section {
    background-color: var(--bg-gray);
    padding: var(--section-padding);
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* --- 2. TYPOGRAPHY (CONFLICT-FREE) --- */
.act-section-title {
    color: var(--light-green) !important;
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    text-align: center;
    margin-bottom: 10px;
}

.act-section-desc {
    color: var(--text-light) !important;
    font-size: 1.15rem;
    text-align: center;
    max-width: 850px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* --- 3. FEATURED HIGHLIGHT (DR. EHAB TRAINING) --- */
.act-featured-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    display: flex;
    gap: 40px;
    padding: 40px;
    margin-bottom: 80px;
    box-shadow: var(--card-shadow);
    border-left: 10px solid var(--light-green);
    align-items: center;
    text-align: left;
}

/* Video Aspect Ratio & Image Loading */
.act-video-container {
    flex: 1;
    min-width: 450px;
    aspect-ratio: 16 / 9; /* Maintains original video dimensions */
    background-color: #a5a5a5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.act-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills container without distortion */
    display: block;
}

/* Play Button Interaction */
.act-play-btn {
    position: absolute;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.act-video-container:hover .act-play-btn {
    transform: scale(1.15);
    color: var(--light-green); /* Changes color to brand green on hover */
    filter: drop-shadow(0 0 15px rgba(114, 190, 68, 0.5));
}

/* High-Visibility Badge */
.act-badge-highlight {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--light-green) !important;
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.act-featured-heading {
    color: var(--light-green) !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 15px;
}

.act-list {
    margin: 20px 0;
    padding-left: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

/* --- 4. ACTIVITY GRID & INTERACTIVE CARDS --- */
.act-grid-heading {
    color: var(--light-green) !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    margin-bottom: 40px;
    text-align: left;
}

.act-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.act-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid #edf2f7;
    text-align: left;
}

/* Card Interaction: Lift & Shadow */
.act-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 104, 56, 0.15);
    cursor: pointer;
}

.act-card-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--light-green);
    color: var(--bg-white);
    padding: 5px 15px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 10;
}

.act-img-box {
    height: 240px;
    background-color: #eee;
    overflow: hidden;
}

.act-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.act-card:hover .act-img-box img {
    transform: scale(1.1); /* Zoom effect on hover */
}

.act-card-body {
    padding: 30px;
}

.act-card-title {
    color: var(--light-green) !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin: 10px 0;
}

/* --- 5. RESPONSIVE FIXES --- */
@media (max-width: 1024px) {
    .act-featured-card { flex-direction: column; padding: 25px; }
    .act-video-container { min-width: 100%; }
    .act-section-title { font-size: 2.2rem !important; }
}

/* Modal Background */
.act-modal-overlay {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
}

/* Modal Content Box */
.act-modal-content {
    position: relative;
    margin: 5% auto;
    width: 80%;
    max-width: 900px;
}

/* Close Button */
.act-close-modal {
    position: absolute;
    right: -30px; top: -30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Maintain 16:9 in Modal */
.act-video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0; overflow: hidden;
}

.act-video-responsive iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* ==========================================================================
   AL-SALAM TRAINING JOURNEY - NO-SCROLL VERSION
   ========================================================================== */

.als-timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 60px auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    
    /* THE FIX: Removes horizontal scrollbar and hides vertical scroll track appearance */
    overflow-x: hidden; 
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.als-timeline-wrapper::-webkit-scrollbar {
    display: none;
}

/* Central Decorative Line */
.als-timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #72BE44, #f5f5f5); /* Al-Salam Green */
    border-radius: 2px;
}

/* Timeline Item Block */
.als-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box; /* Ensures padding doesn't cause overflow */
}

/* Staggering Logic (Left/Right) */
.als-left { left: 0; text-align: right; }
.als-right { left: 50%; text-align: left; }

/* The Professional Content Card */
.als-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #f1f1f1;
}

.als-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(114, 190, 68, 0.12); /* Branded shadow */
}

/* Media Box */
.als-media-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    background: #000;
}

.als-media-box iframe, 
.als-media-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* Typography */
.als-card h2 { color: #72BE44; font-size: 1.8rem; margin: 10px 0; font-weight: 800; }
.als-date { color: #999; font-weight: 700; font-size: 0.9rem; letter-spacing: 1px; }

/* --- THE FIX: CLEAN ARROW LISTS --- */
.als-clean-list {
    list-style: none !important; 
    padding: 0 !important;
    margin: 20px 0;
    display: inline-block;
    text-align: left; 
}

.als-clean-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #555;
    line-height: 1.6;
}

/* Custom Green Arrow Indicator */
.als-clean-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #72BE44;
    font-weight: 900;
}

/* Mobile Responsive Adjustments */
@media (max-width: 850px) {
    .als-timeline-wrapper::before { left: 20px; }
    .als-item { width: 100%; left: 0 !important; padding-left: 50px; text-align: left; }
}


/* ==========================================================================
   AL-SALAM RAMADAN COMPETITION - ENGLISH VERSION
   ========================================================================== */

.ram-wrapper {
    background-color: #f9fbf7;
    padding: 80px 20px;
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scroll */
    direction: ltr;
}

.ram-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Design */
.ram-hero {
    text-align: center;
    margin-bottom: 70px;
}

.ram-hero h1 {
    color: #72BE44 !important; /* Al-Salam Light Green */
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.ram-hero p {
    color: #555;
    font-size: 1.25rem;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Winners Gallery */
.ram-winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.ram-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0,0,0,0.04);
    border: 1px solid #eee;
    transition: all 0.4s ease;
}

.ram-card:hover {
    transform: translateY(-10px);
    border-color: #72BE44;
    box-shadow: 0 20px 50px rgba(114, 190, 68, 0.1);
}

.ram-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: block;
}

.ram-name {
    color: #333;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
}

/* Call to Action: Next Ramadan */
.ram-cta {
    background: linear-gradient(135deg, #72BE44, #5a9b34);
    color: #fff;
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 80px;
    box-shadow: 0 15px 40px rgba(114, 190, 68, 0.2);
}

.ram-cta h2 { color: #fff !important; font-size: 2.4rem; margin-bottom: 20px; }

/* Custom Arrow Lists */
.ram-arrow-list {
    list-style: none !important;
    padding: 0 !important;
    display: inline-block;
    text-align: left;
}

.ram-arrow-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #444;
}

.ram-arrow-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #72BE44;
    font-weight: 900;
}

@media (max-width: 768px) {
    .ram-hero h1 { font-size: 2.4rem; }
    .ram-winners-grid { grid-template-columns: 1fr; }
}
/* ==========================================================================
   AL-SALAM RAMADAN COMPETITION - winners Page
   ========================================================================== */


/* Base Wrapper - Removes Scroll Issues */
.ram-page-container {
    padding: var(--section-padding);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden; /* THE FIX: Removes unintended horizontal scroll */
    box-sizing: border-box;
}

/* Header Section */
.ram-header-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 70px;
}

.ram-pre-title {
    color: var(--primary-green);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.ram-main-h1 {
    color: var(--light-green) !important; /* Brand visibility */
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin: 0 0 25px;
    line-height: 1.1;
}

.ram-intro-lead {
    color: var(--text-light);
    font-size: 1.25rem;
    line-height: 1.8;
}

/* Winners Layout Grid */
.ram-winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: var(--container-width);
    margin: 0 auto;
}



.ram-winner-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ram-winner-card:hover {
    transform: translateY(var(--hover-lift));
    box-shadow: var(--shadow-heavy);
    border-color: var(--light-green);
}

.ram-badge-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.ram-winner-name-h3 {
    color: var(--text-dark) !important;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

/* Quote/Fairness Block */
.ram-review-note {
    text-align: center;
    max-width: 800px;
    margin: 60px auto;
    padding: 30px;
    border-top: 1px solid #ddd;
}

.ram-review-note p {
    color: var(--text-light);
    font-style: italic;
    font-size: 1.1rem;
}

/* Preparation Footer Block */
.ram-future-box {
    background: var(--light-green);
    border-radius: var(--radius-lg);
    padding: 70px 50px;
    text-align: center;
    margin-top: 80px;
    color: var(--bg-white);
    box-shadow: var(--shadow-heavy);
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

.ram-future-h2 {
    color: var(--bg-white) !important;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.ram-future-p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* --- THE FIX: ARROW LIST (No Built-in Bullets) --- */
.ram-custom-list {
    list-style: none !important;
    padding: 0 !important;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.ram-custom-list li {
    position: relative;
    padding-left: 35px;
    font-size: 1.15rem;
    font-weight: 600;
}

.ram-custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--bg-white); /* Contrast on green background */
    font-weight: 900;
}

@media (max-width: 768px) {
    .ram-main-h1 { font-size: 2.5rem; }
    .ram-winners-grid { grid-template-columns: 1fr; }
    .ram-custom-list { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   AL-SALAM RAMADAN COMPETITION 2026
   ========================================================================== */


/* Page Container */
.ram-26-container {
    background-color: var(--ram-26-bg);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    padding: 40px 15px;
    color: var(--ram-26-dark);
    line-height: 1.6;
}

/* Content Wrapper (The Main Card) */
.ram-26-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--ram-26-card-bg);
    border-radius: var(--ram-26-radius);
    box-shadow: var(--ram-26-shadow);
    overflow: hidden;
    border: 1px solid var(--ram-26-border);
}

/* Header Section */
.ram-26-header {
    text-align: center;
    padding: 0 0 40px 0;
}

.ram-26-banner {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/5;
    object-fit: cover;
    margin-bottom: 30px;
    border-bottom: 5px solid var(--ram-26-gold);
}

.ram-26-pre-title {
    color: var(--primary-green); /* New green color */
    font-size: 0.95rem; /* Font size kept same */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.ram-26-title {
    color: var(--light-green); /* New green color */
    font-size: clamp(2rem, 5vw, 2.8rem); /* Font size kept same */
    font-weight: 800;
    margin: 0 0 20px 0;
}

.ram-26-intro {
    font-size: 1.15rem;
    color: #555;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

.ram-26-highlight {
    color: var(--ram-26-gold);
    font-weight: 800;
    white-space: nowrap;
}

/* Form Container */
.ram-26-form-box {
    background: #fff;
    margin-top: 20px;
    position: relative;
    padding-bottom: 20px;
}

.ram-26-iframe {
    width: 100%;
    border: none;
    display: block;
}