:root {
    --primary: #0051B5;
    --primary-light: #eef4ff;
    --accent: #D90022;
    --bg: #ffffff;
    --section-alt: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-dim: #64748b;
    --border: rgba(0, 0, 0, 0.08);
    --gradient-1: linear-gradient(135deg, #0051B5 0%, #00347a 100%);
    --primary-glow: rgba(0, 81, 181, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Alexandria', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Professional Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: var(--primary-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 0; /* Sharp corners as requested */
    border: 2px solid var(--primary-light); /* Adds a nice gap effect */
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}
/* Firefox Support */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--primary-light);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Navigation - Floating Design */
.nav-wrapper {
    position: fixed; top: 20px; left: 0; width: 100%; z-index: 1000;
    display: flex; justify-content: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}
.nav-wrapper.nav-hidden {
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
}
nav {
    width: 90%; max-width: 1200px;
    padding: 1.5rem 2.5rem; background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px); border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: 0 auto;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { 
    display: flex; align-items: center; gap: 8px; font-weight: 900; 
    font-size: 1.5rem; color: var(--primary); text-decoration: none; 
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: #1e293b; text-decoration: none; font-weight: 400; font-size: 1rem; transition: 0.3s; }
.nav-links a.active { color: var(--accent); }
.btn-launch-nav {
    background: var(--primary); color: white; padding: 0.7rem 1.4rem;
    border-radius: 12px; font-weight: 700; text-decoration: none;
    display: flex; align-items: center; gap: 8px; font-size: 0.9rem;
}

/* Hero Section V2 - Full Width */
.hero { 
    padding: 14rem 0 18rem; 
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
    margin-bottom: 12rem;
    width: 100%;
    left: 0;
}
.hero-content { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; padding: 0 1.5rem; }
.hero h1 {
    font-size: clamp(2rem, 8vw, 4.5rem); font-weight: 800; line-height: 1.1;
    margin-bottom: 1.5rem; color: white;
}
.hero-separator {
    width: 100px; height: 1px; background: rgba(255,255,255,0.3); margin: 2.5rem auto;
}
.hero p {
    font-size: clamp(1.1rem, 3vw, 1.45rem); color: rgba(255,255,255,0.85); margin-bottom: 4rem;
    max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.7;
}
.showcase-image-container {
    position: absolute; bottom: -180px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 1000px; z-index: 10;
}
.showcase-image-container img {
    width: 100%; border-radius: 40px; 
    box-shadow: 0 60px 120px rgba(0,0,0,0.6);
    border: 2px solid rgba(255,255,255,0.15);
    transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.showcase-image-container:hover img { transform: translateY(-15px) scale(1.03); }

.btn-main {
    padding: 1.4rem 3.5rem; border-radius: 24px; font-weight: 800;
    font-size: 1.25rem; cursor: pointer; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none; text-decoration: none; display: inline-flex; align-items: center; gap: 14px;
}
.btn-primary { background: var(--gradient-1); color: white; box-shadow: 0 20px 40px rgba(0, 81, 181, 0.3); }
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 25px 50px rgba(0, 81, 181, 0.45); }
.btn-secondary { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); border-color: white; }

/* Stats Grid */
.stat-item h2 { font-size: 3rem; font-weight: 900; color: var(--primary); margin-bottom: 0.5rem; }
.stat-item p { color: var(--text-dim); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* Services Section */
.section-tag { color: var(--primary); font-weight: 800; font-size: 1rem; text-transform: uppercase; margin-bottom: 1rem; display: block; }
.section-title { font-size: 3rem; font-weight: 900; margin-bottom: 4rem; text-align: center; }

/* Pain Points Section */
.pain-points { padding: 4rem 0 8rem; }
.pain-container { 
    background: #fcfcfc; 
    border-radius: 50px; 
    padding: 5rem; 
    display: flex; 
    align-items: center; 
    gap: 5rem;
    border: 1px solid var(--border);
    box-shadow: 0 15px 40px rgba(0,0,0,0.02);
}
.pain-image { flex: 1; position: relative; }
.pain-image img { width: 100%; border-radius: 40px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); }
.pain-content { flex: 1.2; }
.pain-title { font-size: 3.2rem; font-weight: 900; margin-bottom: 1rem; line-height: 1.2; color: #0f172a; }
.pain-subtitle { font-size: 1.4rem; color: var(--text-dim); margin-bottom: 3.5rem; font-weight: 500; }
.pain-list { list-style: none; }
.pain-list li { 
    display: flex; 
    align-items: center; 
    gap: 18px; 
    margin-bottom: 1.5rem; 
    font-weight: 600; 
    font-size: 1.15rem; 
    color: var(--text-main);
}
.pain-list li .icon-box { 
    width: 30px; 
    height: 30px; 
    background: var(--accent); 
    color: white; 
    display: grid; 
    place-items: center; 
    border-radius: 50%; 
    font-size: 0.9rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(217, 0, 34, 0.3);
}
.pain-footer { 
    text-align: center; 
    margin-top: 5rem; 
    font-size: 1.6rem; 
    font-weight: 800; 
    color: #0f172a;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
.pain-footer span { color: var(--accent); position: relative; display: inline-block; }
.pain-footer span::after {
    content: ''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 8px;
    background: rgba(217, 0, 34, 0.1); z-index: -1;
}

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 2.5rem; 
    max-width: 1200px; 
    margin: 0 auto; 
}
.services-container-ui {
    padding: 6rem 0; 
    text-align: center;
}
.services-container-ui h2 { color: #0f172a; font-size: 3.5rem; font-weight: 900; margin-bottom: 1.5rem; }
.services-container-ui p.subtitle { color: var(--text-dim); font-size: 1.3rem; margin-bottom: 5rem; max-width: 850px; margin-left: auto; margin-right: auto; line-height: 1.7; font-weight: 500; }

.service-card-ui {
    background: white;
    border-radius: 40px;
    padding: 4rem 3rem;
    text-align: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.service-card-ui:hover { 
    transform: translateY(-12px); 
    border-color: var(--primary); 
    box-shadow: 0 25px 50px -12px rgba(0, 81, 181, 0.12); 
}
.service-icon-ui { 
    width: 90px; height: 90px; 
    background: var(--primary-light); 
    border-radius: 25px; 
    display: grid; place-items: center; 
    margin-bottom: 2.5rem; 
    color: var(--primary);
    transition: 0.3s;
}
.service-card-ui:hover .service-icon-ui {
    background: var(--primary);
    color: white;
    transform: rotate(10deg);
}
.service-card-ui h3 { color: #0f172a; font-size: 1.7rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.4; }
.service-card-ui p { color: var(--text-dim); font-size: 1.05rem; line-height: 1.8; font-weight: 500; }
.service-icon-ui svg { width: 45px; height: 45px; }

/* Comparison Table - Professional UI */
.pricing-section { padding: 8rem 0; background: var(--section-alt); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; max-width: 1100px; margin: 0 auto; }
.pricing-card {
    background: var(--card-bg); border-radius: 40px; padding: 4rem 3rem;
    border: 1px solid var(--border); position: relative; overflow: hidden;
    transition: 0.4s; box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.pricing-card.popular { border: 2px solid var(--primary); box-shadow: 0 25px 60px rgba(0, 86, 179, 0.08); }
.pricing-card.popular::after {
    content: 'الأكثر طلباً'; position: absolute; top: 30px; left: -40px;
    background: var(--accent); color: white; padding: 10px 50px;
    transform: rotate(-45deg); font-weight: 800; font-size: 0.8rem;
}
.price-header { margin-bottom: 3rem; text-align: center; }
.price-header h4 { color: var(--text-dim); font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.price-val { font-size: 4.5rem; font-weight: 900; color: var(--primary); }
.price-val span { font-size: 1.8rem; opacity: 0.6; vertical-align: top; margin-left: 5px; }

.feature-list { list-style: none; margin-bottom: 3.5rem; }
.feature-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--text-main); font-weight: 600; font-size: 1rem; }
.feature-list li svg { color: var(--accent); flex-shrink: 0; }

/* Trust Banner */
.trust-banner {
    padding: 6rem; background: var(--gradient-1); border-radius: 60px;
    text-align: center; position: relative; margin-bottom: 10rem;
}
.trust-banner h2 { font-size: 3.5rem; font-weight: 900; margin-bottom: 1.5rem; }
.trust-banner p { font-size: 1.5rem; opacity: 0.8; margin-bottom: 3.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Footer */
footer { padding: 8rem 0 4rem; border-top: 1px solid var(--border); }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 5rem; }
.footer-logo-part { max-width: 350px; }
.footer-logo-part p { color: var(--text-dim); margin-top: 1.5rem; font-size: 1rem; }
.footer-links-part { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; }
.footer-col h5 { font-size: 1.1rem; font-weight: 800; margin-bottom: 2rem; color: #0f172a; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul li a { color: var(--text-dim); text-decoration: none; transition: 0.3s; font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--primary); }

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    margin: 4rem 0;
}
.testimonials-container {
    background: #0f172a url('https://www.transparenttextures.com/patterns/dark-matter.png');
    border-radius: 40px;
    padding: 5rem 3rem;
    text-align: center;
    color: white;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}
.testimonials-container h2 { font-size: 3rem; font-weight: 900; margin-bottom: 1rem; color: white; }
.testimonials-container p.subtitle { font-size: 1.2rem; opacity: 0.8; margin-bottom: 2rem; }
.stars { color: #ffb700; font-size: 1.5rem; margin-bottom: 4rem; display: flex; justify-content: center; gap: 5px; }

.reviews-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
    text-align: center;
}
.review-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 30px;
    color: var(--text-main);
    position: relative;
    transition: 0.3s;
}
.review-card:hover { transform: translateY(-10px); }
.client-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 4px solid #f1f5f9;
}
.client-img img { width: 100%; height: 100%; object-fit: cover; }
.quote-icon { color: var(--primary); font-size: 2rem; margin-bottom: 1rem; }
.review-text { font-size: 1.1rem; font-weight: 500; min-height: 100px; margin-bottom: 2rem; line-height: 1.7; }
.client-name { font-weight: 800; font-size: 1.3rem; color: #0f172a; }

/* FAQ Section */
.faq-section { padding: 8rem 0; background: white; }
.faq-header { text-align: center; margin-bottom: 5rem; }
.faq-header h2 { font-size: 3.5rem; font-weight: 900; margin-bottom: 1rem; }
.faq-header p { font-size: 1.2rem; color: var(--text-dim); }

.faq-container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { 
    border: 1px solid var(--border); 
    border-radius: 16px; 
    overflow: hidden; 
    transition: 0.3s;
    background: white;
}
.faq-item:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.faq-question { 
    padding: 1.5rem 2rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    cursor: pointer;
    font-weight: 700;
    font-size: 1.15rem;
    color: #1e293b;
    user-select: none;
}
.faq-question .plus { 
    font-size: 1.5rem; 
    color: var(--text-dim); 
    transition: 0.3s; 
    width: 24px;
    text-align: center;
}
.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background: #fafafa;
}
.faq-answer-inner { padding: 2rem; color: var(--text-dim); border-top: 1px solid var(--border); line-height: 1.8; }
.faq-item.active .faq-answer { max-height: 1000px; transition: max-height 0.4s ease-in; }
.faq-item.active .plus { transform: rotate(45deg); color: var(--accent); }

/* Bouncing Arrow */
.scroll-arrow-container {
    margin: 2rem auto 0;
    display: flex; justify-content: center;
}
.scroll-arrow {
    animation: bounceArrow 1.6s ease-in-out infinite;
    filter: drop-shadow(0 6px 16px rgba(217,0,34,0.25));
}
@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50%        { transform: translateY(12px); }
}

/* Footer */
footer { background: #0f172a; color: white; padding: 6rem 0 3rem; position: relative; z-index: 1; }
.footer-cta-banner { 
    background: linear-gradient(135deg, #002d7a 0%, #0051B5 60%, #0066cc 100%);
    border-radius: 40px; padding: 5rem 6rem; margin-bottom: 6rem;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 40px 100px rgba(0, 81, 181, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
}
.footer-cta-text h2 { font-size: 3.5rem; font-weight: 900; margin: 0; color: white; }
.footer-logo-center { text-align: center; margin-bottom: 4rem; }
.footer-logo-center .logo { 
    font-size: 2.5rem; color: white; justify-content: center; 
    background: white; color: var(--primary); width: 100px; height: 100px;
    border-radius: 50%; margin: 0 auto 2rem; display: grid; place-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.footer-socials { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 5rem; }
.footer-socials a { 
    width: 45px; height: 45px; background: rgba(255,255,255,0.05);
    border-radius: 50%; display: grid; place-items: center; color: white;
    font-size: 1.2rem; transition: 0.3s; text-decoration: none; border: 1px solid rgba(255,255,255,0.1);
}
.footer-socials a:hover { background: var(--primary); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 81, 181, 0.4); }

.footer-grid-ui { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4rem; text-align: center; }
.footer-col-ui h5 { font-size: 1.3rem; font-weight: 800; margin-bottom: 2rem; color: white; }
.footer-col-ui ul { list-style: none; padding: 0; }
.footer-col-ui ul li { margin-bottom: 1.2rem; }
.footer-col-ui ul li a { 
    color: rgba(255,255,255,0.6); text-decoration: none; transition: 0.3s; font-size: 1.05rem; 
}
.footer-col-ui ul li a:hover { color: white; padding-right: 5px; }

.footer-bottom-ui { 
    margin-top: 6rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.95rem; color: rgba(255,255,255,0.4);
}
.footer-bottom-ui a { color: rgba(255,255,255,0.5); text-decoration: none; margin-right: 2rem; transition: 0.3s; }
.footer-bottom-ui a:hover { color: white; }

/* Order Modal */
.modal {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99999;
    display: none;
    overflow-y: auto;
    padding: 5rem 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.modal::-webkit-scrollbar { display: none; }
.modal.active { display: flex; align-items: flex-start; justify-content: center; } 
.modal-body-ui {
    background: white; width: 100%; max-width: 1100px; border-radius: 40px;
    padding: 5rem 4rem 4rem; position: relative; box-shadow: 0 50px 100px rgba(0,0,0,0.6);
    text-align: center; margin-bottom: 5rem;
}
.modal-close {
    position: absolute; top: 25px; left: 25px; background: #f1f5f9;
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    cursor: pointer; font-size: 1.5rem; transition: 0.3s; color: #64748b; border: none;
}
.modal-close:hover { background: #e2e8f0; color: #0f172a; }

.modal-title-ui { font-size: 1.8rem; font-weight: 800; color: var(--primary); margin-bottom: 2.5rem; }
.form-grid-ui { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 2rem; }
.form-full-ui { grid-column: span 3; }
.input-ui {
    width: 100%; padding: 1.1rem 1.5rem; border: 1.5px solid #edf2f7; border-radius: 18px;
    font-size: 1rem; color: #1e293b; background: #fafafa; transition: 0.3s; text-align: right;
    outline: none; font-family: 'Alexandria', sans-serif;
}
.input-ui:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 4px var(--primary-light); }
.input-ui::placeholder { color: #94a3b8; }

.upload-area-ui {
    border: 2px dashed #e2e8f0; border-radius: 20px; padding: 2.5rem 1.5rem;
    background: #fafafa; cursor: pointer; transition: 0.3s; position: relative;
}
.upload-area-ui:hover { border-color: var(--primary); background: white; }
.upload-area-ui svg { color: #94a3b8; margin-bottom: 10px; }
.upload-area-ui p { font-size: 0.85rem; color: #94a3b8; font-weight: 600; }

.warning-box-ui {
    background: #D90022; color: white; padding: 1.5rem; border-radius: 12px;
    font-size: 0.85rem; font-weight: 600; text-align: center; line-height: 1.6;
    margin: 1.5rem 0; box-shadow: 0 10px 20px rgba(217, 0, 34, 0.2);
}

.submit-btn-ui {
    width: 100%; padding: 1.25rem; background: var(--primary); color: white;
    border: none; border-radius: 18px; font-weight: 800; font-size: 1.2rem;
    cursor: pointer; transition: 0.3s; margin-top: 1rem;
}
.submit-btn-ui:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0, 81, 181, 0.25); }
.submit-btn-ui:disabled { opacity: 0.7; cursor: not-allowed; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .pain-container { flex-direction: column !important; padding: 3rem 2rem; gap: 3rem; text-align: center; }
    .pain-content, .pain-image { flex: none; width: 100%; }
    .pain-title { font-size: 2.8rem; }
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 600px; }
    .showcase-image-container { bottom: -120px; }
    .hero { margin-bottom: 8rem; padding: 12rem 0 14rem; }
    .modal-body-ui { padding: 3.5rem 2rem; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; line-height: 1.3; }
    .hero p { font-size: 1rem; padding: 0 1rem; }
    .section-title { font-size: 2rem; margin-bottom: 2rem; }
    .pain-container { padding: 3rem 1.5rem; gap: 2rem; border-radius: 30px; }
    .pain-title { font-size: 1.8rem !important; margin-bottom: 1rem; }
    .pain-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .pain-list li { font-size: 1rem; gap: 12px; }
    .pain-footer { font-size: 1.2rem; margin-top: 3rem; }
    .footer-grid-ui { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .footer-cta-banner { padding: 2.5rem 1.5rem; border-radius: 30px; }
    .footer-cta-text h2 { font-size: 1.8rem; }
    .footer-bottom-ui { flex-direction: column; gap: 1rem; text-align: center; font-size: 0.85rem; }
    .footer-bottom-ui a { margin: 0 0.5rem; }
    #how-to-start .pain-title { font-size: 1.8rem !important; }
    #how-to-start .pain-subtitle { font-size: 1rem; }
    #company-types h2 { font-size: 1.8rem !important; }
    #why-us .pain-title { font-size: 1.8rem !important; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.9rem; line-height: 1.5; }
    .hero { padding: 8rem 0 10rem; margin-bottom: 4rem; }
    .showcase-image-container { bottom: -60px; max-width: 85%; margin: 0 auto; }
    .btn-main { padding: 1rem 1.5rem; font-size: 1rem; }
    .pain-title { font-size: 1.6rem !important; }
    .pain-list li { font-size: 0.95rem; line-height: 1.4; }
    .section-title { font-size: 1.6rem !important; }
    .footer-grid-ui { grid-template-columns: 1fr; gap: 1.5rem; text-align: right; }
    .footer-logo-center .logo { width: 80px; height: 80px; font-size: 2rem; }
    .footer-socials { gap: 1rem; margin-bottom: 3rem; }
    .footer-socials a { width: 40px; height: 40px; }
}

/* Main carousel container */
.logo-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 40px 0;
    background: white;
    margin-bottom: 2rem;
}

/* Shadows at the edges */
.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px; /* Shadow size */
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Left shadow */
.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, white, rgba(255, 255, 255, 0));
}

/* Right shadow */
.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, white, rgba(255, 255, 255, 0));
}

/* Internal container with animation */
.logo-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    animation: scrollAnimation 30s linear infinite;
}

/* Style for each logo */
.logo-item {
    height: 45px;
    margin: 0 45px;
    filter: grayscale(100%) opacity(0.6);
    transition: 0.3s ease-in-out;
}

/* Infinite animation without cuts */
@keyframes scrollAnimation {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Pause animation on hover */
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

/* Hover effect on logos */
.logo-item:hover {
    transform: scale(1.1);
    filter: grayscale(0%) opacity(1);
}

@media (max-width: 800px) {
    .logo-item { height: 35px; margin: 0 25px; }
    .logo-slider { padding: 25px 0; }
}

/* Fix footer always visible after page content */
html, body { height: auto; min-height: 100%; }
