/* --- Global Styles --- */
:root {
    --primary-color: #919395; 
    --primary-dark: #727476;
    --navy-blue: #1e2a38; 
    --whatsapp-green: #25d366;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

a { text-decoration: none; }
ul { list-style: none; }

/* --- Animations --- */
.reveal {
    position: relative;
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.8s ease-out;
}
.reveal.active { transform: translateY(0); opacity: 1; }

/* --- Header --- */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent; 
}

header.sticky {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 10px 0;
}

.header-content { display: flex; justify-content: space-between; align-items: center; }

.header-logo { height: 60px; width: auto; transition: var(--transition); }
header.sticky .header-logo { height: 50px; }

.nav-links { display: flex; align-items: center; }
.nav-links li { margin-left: 30px; }

.nav-links a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 0; background-color: var(--primary-color);
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

header.sticky .nav-links a { color: var(--text-dark); }
.nav-links a:hover { color: var(--primary-color); }

.nav-btn {
    background: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    color: var(--white) !important;
}
.nav-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.nav-btn::after { display: none; }

/* --- Hero --- */
.hero {
    height: 100vh;
    background-image: url('https://almnsoura.com/wp-content/uploads/2025/12/background.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(44,62,80,0.7), rgba(0,0,0,0.8)); 
    display: flex; align-items: center; justify-content: center;
}

.hero-content { z-index: 2; color: var(--white); max-width: 900px; padding: 0 20px; }

.subtitle {
    text-transform: uppercase; letter-spacing: 3px; font-size: 1rem;
    display: inline-block; margin-bottom: 15px; color: var(--white); font-weight: 600;
    background: rgba(255,255,255,0.15); padding: 8px 20px; border-radius: 50px;
    backdrop-filter: blur(5px);
}

.hero-content h1 { font-size: 3.8rem; font-weight: 700; line-height: 1.2; margin-bottom: 25px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; color: #e0e0e0; }

.btn {
    display: inline-block; padding: 14px 40px; border-radius: 50px;
    font-weight: 600; transition: var(--transition); cursor: pointer;
}
.btn-primary { background: var(--primary-color); color: var(--white); border: 2px solid var(--primary-color); }
.btn-primary:hover { background: transparent; border-color: var(--white); transform: translateY(-5px); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--text-dark); transform: translateY(-5px); }

/* --- Features Bar --- */
.features-bar {
    background: var(--white); padding: 60px 0; margin-top: -80px; 
    position: relative; z-index: 10; box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-radius: 15px; width: 85%; margin-left: auto; margin-right: auto;
}
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; text-align: center; }
.feature-item i { font-size: 3.5rem; color: var(--primary-color); margin-bottom: 20px; transition: transform 0.3s; }
.feature-item:hover i { transform: scale(1.1); }

/* --- Polystyrene & Shapes --- */
.relative-section { position: relative; overflow: hidden; }
.floating-shape {
    position: absolute; background: rgba(145, 147, 149, 0.05); border-radius: 10%;
    z-index: 1; animation: floatShape 10s infinite linear;
}
.shape-1 { width: 100px; height: 100px; top: 10%; left: 5%; animation-duration: 15s; }
.shape-2 { width: 150px; height: 150px; bottom: 20%; right: 10%; animation-duration: 20s; }
.shape-3 { width: 50px; height: 50px; top: 40%; left: 50%; animation-duration: 12s; }
@keyframes floatShape {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(20deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.eps-comparison { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.eps-card {
    background: #fff; padding: 40px 30px; text-align: center; border-radius: 20px;
    transition: var(--transition); border: 1px solid #f0f0f0; box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.eps-card:hover { transform: translateY(-10px); border-color: var(--primary-color); }
.eps-icon {
    width: 90px; height: 90px; background: linear-gradient(135deg, #e0e0e0, #ffffff);
    color: var(--primary-color); border-radius: 50%; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 25px auto; font-size: 2.2rem;
}

/* --- HOLDING SECTION (New) --- */
.holding-section {
    background: var(--navy-blue);
    padding: 80px 0;
    color: #fff;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.holding-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png'); /* Texture overlay */
    opacity: 0.05;
}

.holding-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    position: relative; z-index: 2;
}

.holding-info { flex: 2; min-width: 300px; }
.holding-label {
    background: rgba(255,255,255,0.1); padding: 5px 15px; border-radius: 20px;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px;
}
.holding-info h2 { font-size: 2.5rem; margin: 15px 0; color: #fff; }
.holding-info p { color: #ccc; font-size: 1.1rem; max-width: 600px; }

.holding-logo { flex: 1; display: flex; justify-content: flex-end; }
.h-logo-box {
    text-align: center; border: 2px solid rgba(255,255,255,0.2);
    padding: 30px; border-radius: 10px; min-width: 200px;
}
.h-logo-box i { font-size: 4rem; color: var(--primary-color); margin-bottom: 15px; }
.h-logo-box h3 { color: #fff; line-height: 1.3; font-size: 1.2rem; text-transform: uppercase; }

/* --- General --- */
.section { padding: 100px 0; }
.gray-bg { background-color: var(--light-bg); }
.section-tag { color: var(--primary-color); text-transform: uppercase; font-weight: 700; letter-spacing: 2px; display: block; margin-bottom: 15px; }
.section-title { font-size: 2.8rem; margin-bottom: 20px; color: var(--text-dark); font-weight: 700; }
.center-heading { text-align: center; margin-bottom: 60px; }

.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-img img { width: 100%; border-radius: 20px; box-shadow: 20px 20px 0px rgba(145, 147, 149, 0.2); }
.about-list li { margin-bottom: 15px; display: flex; align-items: center; font-size: 1.05rem; }
.about-list i { color: var(--primary-color); margin-right: 15px; }

/* --- Products --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.service-card {
    background: var(--white); padding: 40px 30px; border-radius: 15px; text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: var(--transition);
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.icon-box { margin-bottom: 25px; font-size: 3rem; color: var(--primary-color); transition: transform 0.4s; }
.service-card:hover .icon-box { transform: rotateY(180deg); }

/* --- Stats --- */
.stats-section {
    background: url('https://almnsoura.com/wp-content/uploads/2025/12/Untitled-4-scaled.jpg') no-repeat center center/cover;
    background-attachment: fixed; padding: 120px 0; position: relative; margin-top: 50px;
}
.stats-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(20, 20, 20, 0.5); }
.stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 50px; text-align: center; color: var(--white); }
.stat-box h2 { font-size: 4rem; color: white; font-weight: 700; display: inline-block; }

/* --- Contact --- */
.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center; 
}

.contact-text,
 /* Map Styling: Grayscale & Alignment */
.contact-map { 
    flex: 1; 
    min-width: 320px;
    margin-top: 80px; /* Adjust this to push map down */
}

.contact-map iframe { 
    width: 100%; height: 550px; border: 0; border-radius: 20px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
    
    /* Make Map Grayscale */
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    transition: all 0.5s ease;
}

.contact-map iframe:hover {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}

.contact-details { margin-top: 40px; }

.contact-details { margin-top: 40px; }

.c-item {
    display: flex; align-items: center; margin-bottom: 20px;
    background: var(--white); padding: 20px 25px; border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: transform 0.3s;
    border: 1px solid transparent;
}
.c-item:hover { transform: translateX(10px); border-color: #eee; }

.c-item i {
    width: 50px; height: 50px; background: #f4f4f4; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-color); font-size: 1.2rem; margin-right: 20px; flex-shrink: 0;
}

.c-item h5 { font-size: 0.85rem; color: #999; margin-bottom: 3px; text-transform: uppercase; }
.c-item p { font-weight: 600; color: var(--text-dark); }

/* WhatsApp Item Styling */
.whatsapp-item { border: 1px solid #ffffff; background: #ffffff; }
.whatsapp-item i { background: var(--whatsapp-green); color: #fff; }
.whatsapp-item:hover { background: #ffffff; transform: translateX(10px); }

.contact-map iframe { width: 100%; height: 550px; border: 0; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

/* --- Footer --- */
footer { background: #1a1a1a; color: #999; padding: 80px 0 30px 0; }
.footer-content { border-bottom: 1px solid #333; padding-bottom: 50px; margin-bottom: 30px; display: flex; justify-content: space-between; flex-wrap: wrap; }
.footer-logo h3 { color: var(--white); font-size: 2rem; }
.footer-links a { color: #ccc; margin: 0 20px; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-color); }
.footer-social a { background: #333; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; margin-left: 10px; color: #fff; }
.footer-social a:hover { background: var(--primary-color); }
.copyright { text-align: center; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .header-content { flex-direction: column; }
    .nav-links { margin-top: 20px; flex-wrap: wrap; justify-content: center; }
    .hero-content h1 { font-size: 2.5rem; }
    .holding-content { flex-direction: column; text-align: center; }
    .holding-logo { justify-content: center; }
    .about-container { grid-template-columns: 1fr; }
}
