/* --- START OF FILE home.css --- */
/* Styles specific to the index.html (Homepage) */

/* ==================== Hero Section (Modern Energy & Automation Style) ==================== */
.-sectheroion { 
    position: relative; 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    background: linear-gradient(179deg, #5D50C6 0%, #4F6EDB 50%, #3656C4 100%);
    overflow: hidden; 
    color: #fff; 
    z-index: 1; 
}
.hero-particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.08) 0%, transparent 8%), radial-gradient(circle at 80% 70%, rgba(138, 129, 242, 0.08) 0%, transparent 8%), radial-gradient(circle at 50% 90%, rgba(14, 165, 233, 0.06) 0%, transparent 6%), radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 5%), radial-gradient(circle at 90% 20%, rgba(123, 156, 248, 0.07) 0%, transparent 7%); opacity: 0.9; z-index: -2; animation: particles-float-subtle 80s linear infinite alternate; }
.hero-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 30px 30px; z-index: -3; }
@keyframes particles-float-subtle { 0% { transform: translateY(0) translateX(0); } 100% { transform: translateY(-40px) translateX(20px); } }
.hero-gradient-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%); z-index: -1; }
/* Animated Shapes (Optional visual flair) */
.animated-shapes { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(5px); animation: shape-float 20s infinite ease-in-out alternate; }
.shape-1 { width: 80px; height: 80px; top: 10%; left: 5%; animation-duration: 22s; }
.shape-2 { width: 50px; height: 50px; top: 80%; left: 15%; animation-duration: 18s; background: rgba(0, 200, 255, 0.06); }
.shape-3 { width: 120px; height: 120px; top: 40%; right: 10%; animation-duration: 25s; }
.shape-4 { width: 60px; height: 60px; bottom: 15%; right: 25%; animation-duration: 16s; background: rgba(255, 215, 0, 0.05); }
.shape-5 { width: 90px; height: 90px; top: 25%; left: 40%; animation-duration: 20s; }
.shape-6 { width: 70px; height: 70px; bottom: 5%; left: 50%; animation-duration: 23s; background: rgba(0, 255, 150, 0.04); }
@keyframes shape-float { 0% { transform: translateY(0) rotate(0deg) scale(1); } 100% { transform: translateY(-30px) rotate(45deg) scale(1.1); } }
/* Floating Icons */
.floating-icons { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.floating-icon { position: absolute; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(8px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), inset 0 0 15px rgba(255, 255, 255, 0.1); color: #fff; font-size: 24px; animation-duration: var(--duration); animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-direction: alternate; opacity: 0.85; border: 1px solid rgba(255, 255, 255, 0.1); }
.icon-1 { top: 20%; left: 15%; --duration: 12s; animation-name: float-icon-1; background: linear-gradient(135deg, rgba(0, 200, 255, 0.2), rgba(0, 100, 200, 0.2)); }
.icon-2 { top: 70%; left: 25%; --duration: 15s; animation-name: float-icon-2; background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 150, 0, 0.2)); }
.icon-3 { top: 30%; right: 20%; --duration: 18s; animation-name: float-icon-3; background: linear-gradient(135deg, rgba(0, 255, 150, 0.2), rgba(0, 200, 100, 0.2)); }
.icon-4 { top: 60%; right: 15%; --duration: 14s; animation-name: float-icon-4; background: linear-gradient(135deg, rgba(255, 100, 100, 0.2), rgba(200, 50, 50, 0.2)); }
.icon-5 { top: 45%; left: 50%; --duration: 20s; animation-name: float-icon-5; background: linear-gradient(135deg, rgba(150, 100, 255, 0.2), rgba(100, 50, 200, 0.2)); }
.floating-icon::after { content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%; background: transparent; border: 2px solid rgba(255, 255, 255, 0.1); animation: pulse-ring 3s ease-out infinite; z-index: -1; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.8; } 50% { opacity: 0.4; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes float-icon-1 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(20px, 15px) scale(1.05); } }
@keyframes float-icon-2 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-15px, -20px) scale(1.1); } }
@keyframes float-icon-3 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-20px, 18px) scale(1.03); } }
@keyframes float-icon-4 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(18px, -15px) scale(1.08); } }
@keyframes float-icon-5 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(10px, 10px) scale(1.15); } }
/* Hero Content Structure */
.hero-content { position: relative; z-index: 2; padding: 2rem 0; width: 100%; }
.hero-text-wrapper { max-width: 800px; margin: 0 auto; text-align: center; padding: 2.5rem; background: rgba(10, 20, 40, 0.6); backdrop-filter: blur(10px); border-radius: 20px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.hero-text-wrapper::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.1) 50%, transparent 100%); animation: light-sweep 8s ease-in-out infinite; pointer-events: none; }
@keyframes light-sweep { 0% { transform: translateX(-100%); } 50% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.hero-badge { display: inline-block; padding: 0.5rem 1.2rem; background: linear-gradient(45deg, var(--accent-color) 0%, var(--accent-light) 100%); color: #fff; border-radius: 30px; font-weight: 700; font-size: 0.9rem; margin-bottom: 1.8rem; box-shadow: 0 8px 15px rgba(14, 165, 233, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.2); letter-spacing: 0.5px; position: relative; overflow: hidden; }
.hero-badge::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(transparent, rgba(255, 255, 255, 0.3), transparent); transform: rotate(30deg); animation: badge-shine 4s ease-in-out infinite; }
@keyframes badge-shine { 0% { transform: translateX(-100%) rotate(30deg); } 100% { transform: translateX(100%) rotate(30deg); } }
.glowing-text { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 1.5rem; text-shadow: 0 0 10px rgba(0, 200, 255, 0.5), 0 0 20px rgba(0, 150, 255, 0.3); animation: text-glow-energy 4s ease-in-out infinite alternate; letter-spacing: -0.02em; background: linear-gradient(90deg, #ffffff, #a0e9ff, #ffffff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; position: relative; }
@keyframes text-glow-energy { 0% { text-shadow: 0 0 10px rgba(0, 200, 255, 0.5), 0 0 20px rgba(0, 150, 255, 0.3); } 50% { text-shadow: 0 0 15px rgba(0, 255, 200, 0.6), 0 0 30px rgba(0, 200, 150, 0.4); } 100% { text-shadow: 0 0 10px rgba(100, 200, 255, 0.5), 0 0 20px rgba(50, 150, 255, 0.3); } }
.hero-subtitle { color: rgba(255, 255, 255, 0.95); font-size: clamp(1.05rem, 2.5vw, 1.2rem); line-height: 1.7; margin-bottom: 2.5rem; max-width: 650px; margin-left: auto; margin-right: auto; font-weight: 400; }
.cta-wrapper { display: flex; justify-content: center; gap: 1.2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.btn-hero { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2.2rem; background: linear-gradient(45deg, var(--accent-color) 0%, var(--accent-light) 100%); color: #fff; font-weight: 700; font-size: 1.05rem; border-radius: 50px; text-decoration: none; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.2); position: relative; overflow: hidden; z-index: 1; letter-spacing: 0.5px; }
.btn-hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, #ff9800 0%, var(--accent-color, #ffc107) 100%); z-index: -1; transition: opacity 0.4s ease; opacity: 0; }
.btn-hero::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(transparent, rgba(255, 255, 255, 0.2), transparent); transform: rotate(30deg); transition: all 0.6s ease; opacity: 0; }
.btn-hero:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 15px 30px rgba(255, 152, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.btn-hero:hover::before { opacity: 1; }
.btn-hero:hover::after { opacity: 1; animation: btn-shine 1.5s ease-in-out; }
@keyframes btn-shine { 0% { transform: translateX(-100%) rotate(30deg); } 100% { transform: translateX(100%) rotate(30deg); } }
.btn-hero-content { display: flex; align-items: center; gap: 0.9rem; }
.btn-hero i { font-size: 1.2rem; animation: energy-pulse 2s infinite; filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)); }
@keyframes energy-pulse { 0% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.3); filter: brightness(1.3); } 100% { transform: scale(1); filter: brightness(1); } }
.btn-hero-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2.2rem; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); color: #fff; font-weight: 700; font-size: 1.05rem; border-radius: 50px; text-decoration: none; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.12); letter-spacing: 0.5px; position: relative; overflow: hidden; }
.btn-hero-secondary::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)); opacity: 0; transition: opacity 0.4s ease; }
.btn-hero-secondary:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-5px) scale(1.02); box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.15); }
.btn-hero-secondary:hover::before { opacity: 1; }
.pulse-effect { animation: pulse-energy 2s infinite; position: relative; }
.pulse-effect::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50px; z-index: -1; animation: pulse-ring-energy 2s infinite; box-shadow: 0 0 0 rgba(14, 165, 233, 0.7); }
@keyframes pulse-energy { 0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(14, 165, 233, 0); } 100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); } }
@keyframes pulse-ring-energy { 0% { transform: scale(1); opacity: 0.8; } 70% { transform: scale(1.1); opacity: 0.2; } 100% { transform: scale(1.2); opacity: 0; } }
.trust-indicators { display: flex; justify-content: center; gap: 1.2rem; margin-top: 2rem; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 1.2rem; background: rgba(0, 0, 0, 0.25); backdrop-filter: blur(8px); border-radius: 30px; color: rgba(255, 255, 255, 0.9); font-size: 0.9rem; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
.trust-badge:hover { background: rgba(0, 0, 0, 0.35); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }
.trust-badge i { color: var(--accent-color); filter: drop-shadow(0 0 3px rgba(14, 165, 233, 0.3)); font-size: 1.1em; }
/* Responsive Adjustments for Hero */
@media (max-width: 992px) { .glowing-text { font-size: 2.8rem; } .hero-text-wrapper { padding: 2rem; } .floating-icon { width: 50px; height: 50px; font-size: 20px; } }
@media (max-width: 768px) { .hero-section { min-height: 80vh; } .glowing-text { font-size: 2.2rem; } .hero-subtitle { font-size: 1.05rem; } .cta-wrapper { flex-direction: column; align-items: center; } .btn-hero, .btn-hero-secondary { width: 100%; max-width: 320px; } .trust-indicators { gap: 0.8rem; } .floating-icon { display: none; } }
@media (max-width: 576px) { .glowing-text { font-size: 2rem; } .hero-badge { font-size: 0.8rem; } .hero-subtitle { font-size: 1rem; } .trust-badge { font-size: 0.8rem; padding: 0.4rem 0.8rem; } }

/* ==================== Problem/Opportunity Section Styles ==================== */
.problem-section { background-color: var(--bg-light); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
:root.dark-mode .problem-section { background-color: var(--bg-light-dark); border-color: var(--border-color-dark); }
.problem-section h2 { color: var(--primary-dark); font-weight: 900; margin-bottom: 1rem; line-height: 1.4; text-align: center; }
.problem-section h2::after { display: none; } /* Remove default underline */
:root.dark-mode .problem-section h2 { color: var(--primary-light-dark); }
.problem-section p { max-width: 850px; margin: 0 auto; font-size: 1.2rem; line-height: 1.8; color: var(--text-color); padding: 0 1rem; text-align: center; }
.problem-section p strong { color: var(--accent-color); font-weight: var(--heading-font-weight); }
:root.dark-mode .problem-section p { color: var(--text-color-dark); }
:root.dark-mode .problem-section p strong { color: var(--accent-color-dark); }

/* ==================== Products & Solutions Grid (Homepage Layout) ==================== */
#products-solutions .section-title { margin-bottom: 0.5rem; }
#products-solutions .section-title::after { width: 70px; height: 4px; margin-top: 0.5rem; }
#products-solutions .section-subtitle { margin-top: 0; margin-bottom: 3.5rem; }
.prod-sol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--grid-gap); margin-top: 2rem; }
.prod-sol-category { background-color: var(--card-bg); border-radius: var(--border-radius); box-shadow: var(--box-shadow); overflow: hidden; border: 1px solid var(--border-color); transition: var(--transition-base); display: flex; flex-direction: column; }
:root.dark-mode .prod-sol-category { background-color: var(--card-bg-dark); border-color: var(--border-color-dark); box-shadow: var(--box-shadow-dark); }
.prod-sol-category:hover { transform: translateY(-5px); box-shadow: var(--box-shadow-hover); }
:root.dark-mode .prod-sol-category:hover { box-shadow: var(--box-shadow-hover-dark); }
.category-header { display: flex; align-items: center; padding: 1.5rem var(--card-padding); color: #fff; gap: 1rem; transition: var(--transition-base); }
.category-header i { font-size: 2.5rem; opacity: 0.9; transition: transform 0.4s ease; }
.prod-sol-category:hover .category-header i { transform: rotate(8deg) scale(1.1); }
.category-header h3 { color: #fff; margin-bottom: 0; font-size: 1.5rem; line-height: 1.2; }
.solar-header { background: linear-gradient(135deg, var(--accent-light), var(--accent-color)); }
.automation-header { background: var(--primary-gradient); }
:root.dark-mode .solar-header { background: linear-gradient(135deg, var(--accent-light-dark), var(--accent-color-dark)); }
:root.dark-mode .automation-header { background: var(--primary-gradient-dark); }
:root.dark-mode .category-header h3, :root.dark-mode .category-header i { color: #111; }
.category-content { padding: var(--card-padding); flex-grow: 1; display: flex; flex-direction: column; }
.category-content h4 { font-size: 1.1rem; color: var(--primary-color); margin-bottom: 0.8rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border-color); display: inline-block; }
:root.dark-mode .category-content h4 { color: var(--primary-color-dark); border-bottom-color: var(--border-color-dark); }
.solutions-list, .products-list { margin-bottom: 1.5rem; padding-inline-start: 0.5rem; }
.solutions-list li, .products-list li { display: flex; align-items: flex-start; margin-bottom: 0.7rem; font-size: 0.95rem; color: var(--text-muted-color); transition: color 0.2s ease, transform 0.2s ease; }
.prod-sol-category:hover .solutions-list li,
.prod-sol-category:hover .products-list li { color: var(--text-color); transform: translateX(-3px); }
html[lang="en"] .prod-sol-category:hover .solutions-list li,
html[lang="en"] .prod-sol-category:hover .products-list li { transform: translateX(3px); }
:root.dark-mode .prod-sol-category:hover .solutions-list li,
:root.dark-mode .prod-sol-category:hover .products-list li { color: var(--text-color-dark); }
.solutions-list i, .products-list i { margin-inline-end: 0.8em; color: var(--secondary-color); width: 1.2em; text-align: center; flex-shrink: 0; padding-top: 0.2em; transition: color 0.2s ease; }
.prod-sol-category:hover .solutions-list i,
.prod-sol-category:hover .products-list i { color: var(--secondary-dark); }
:root.dark-mode .solutions-list li, :root.dark-mode .products-list li { color: var(--text-muted-color-dark); }
:root.dark-mode .solutions-list i, :root.dark-mode .products-list i { color: var(--secondary-color-dark); }
:root.dark-mode .prod-sol-category:hover .solutions-list i,
:root.dark-mode .prod-sol-category:hover .products-list i { color: var(--secondary-light-dark); }
.category-content .btn { margin-top: auto; align-self: flex-start; }
html[lang="ar"] .category-content .btn { align-self: flex-end; }


/* ==================== Logo Scroller Styles ==================== */
.client-logos-scroll-container { width: 100%; overflow: hidden; position: relative; margin-top: 2rem; padding: 1.5rem 0; background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: var(--border-radius); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), inset 0 0 0 1px rgba(255, 255, 255, 0.7); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%); }
:root.dark-mode .client-logos-scroll-container { background: rgba(30, 30, 35, 0.5); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.client-logos-scroll-container::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 0%, transparent 20%, transparent 80%, rgba(var(--primary-rgb), 0.03) 100%); z-index: 1; pointer-events: none; }
:root.dark-mode .client-logos-scroll-container::before { background: linear-gradient(90deg, rgba(var(--primary-rgb-dark), 0.05) 0%, transparent 20%, transparent 80%, rgba(var(--primary-rgb-dark), 0.05) 100%); }
.client-logos-scroll-wrapper { display: flex; width: max-content; padding: 0.5rem 0; animation: scrollLogos 35s linear infinite; will-change: transform; }
.client-logos-scroll-container:hover .client-logos-scroll-wrapper { animation-play-state: paused; }
@keyframes scrollLogos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.client-logos-set { display: flex; align-items: center; gap: 5rem; padding: 0 2.5rem; flex-shrink: 0; }
.client-logos-set a { flex-shrink: 0; line-height: 0; transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); padding: 1rem; border-radius: 12px; position: relative; overflow: hidden; }
.client-logos-set a::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%); opacity: 0; transition: opacity 0.5s ease; z-index: -1; }
:root.dark-mode .client-logos-set a::before { background: radial-gradient(circle at center, rgba(var(--primary-rgb-dark), 0.1) 0%, transparent 70%); }
.client-logos-set a:hover { transform: translateY(-8px) scale(1.05); }
.client-logos-set a:hover::before { opacity: 1; }
.client-logos-set img { max-height: 50px; width: auto; max-width: 150px; opacity: 0.75; transition: all 0.5s ease; transform-origin: center; object-fit: contain; }
:root.dark-mode .client-logos-set img { opacity: 0.75; filter: none; }
.client-logos-set a:hover img { opacity: 1; filter: drop-shadow(0 5px 10px rgba(var(--primary-rgb), 0.2)); transform: scale(1.1); }
:root.dark-mode .client-logos-set a:hover img { opacity: 1; filter: drop-shadow(0 5px 10px rgba(var(--primary-rgb-dark), 0.25)); }


/* Responsive Adjustments Specific to Homepage Layouts */
@media (max-width: 992px) {
    .prod-sol-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .stats-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; }
}
@media (max-width: 768px) {
    .prod-sol-grid, .why-us-grid, .stats-grid, .blogs-grid { grid-template-columns: 1fr; }
    .problem-section p { font-size: 1.1rem; }
}
/* --- END OF FILE home.css --- */
a {
 color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));
 text-decoration: none !important;
}
