* {
    font-family: 'Cairo', sans-serif;
}
html {
    scroll-behavior: smooth;
}
body {
    background: #FAF8F7;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
/* Header */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}
.navbar-brand {
    background: #28a745;
    color: white !important;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
}
.navbar-nav .nav-link {
    color: #537536 !important;
    font-weight: 500;
    margin: 0 15px;
    font-size: 1rem;
}
.navbar-nav .nav-link:hover {
    color: #975725 !important;
}
.logo {
    height: 40px;
}
.whatsapp-icon {
    margin-left: 8px;
    font-size: 1.1rem;
}


/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 0 40px;
    min-height: 80vh;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-content h1 .highlight {
    color: #28a745;
}

.hero-content h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #22160C;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: #22160C;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.app-downloads {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
    /*justify-content: center; !* Center the buttons *!*/
}

.app-btn {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.app-store-img,
.google-play-img {
    width: 150px; /* Adjust based on your design */
    height: auto;
    object-fit: contain;
}

.app-btn:hover {
    transform: translateY(-2px); /* Retain the hover effect */
}

/* Remove old styles for the icon and text */
.app-btn i,
.app-btn div {
    display: none; /* Hides the old icon and text */
}

@media (max-width: 768px) {
    .app-store-img,
    .google-play-img {
        width: 120px; /* Smaller size for mobile */
    }
}

.hero-illustration {
    /*text-align: center;*/
    position: relative;
    padding: 20px 0;
}

.illustration-img {
    max-width: 100%;
    height: auto;
    max-height: 400px; /* Adjust based on your design needs */
    object-fit: contain;
    animation: float 3s ease-in-out infinite; /* Retain the float animation */
}

@media (max-width: 768px) {
    .illustration-img {
        max-height: 300px; /* Smaller height for mobile */
    }
}


/* Features Section */
/* Features Section */
.features-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.features-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.features-title .highlight {
    color: #975725;
}

.features-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 3rem;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
    line-height: 1.6;
}

.feature-item {
    background: #F5F5F4;
    padding: 30px 35px;
    border-radius: 10px;
    margin-bottom: 20px;
    /*height: 100%;*/
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    object-fit: contain;
}

.feature-title {
    position: relative;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.feature-title::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 3px;
    height: 100%;
    background: #975725;
    border-radius: 2px;
}

.feature-item p {
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: right;
}

@media (max-width: 768px) {
    .features-title {
        font-size: 1.8rem;
    }

    .features-subtitle {
        font-size: 1rem;
        max-width: 90%;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .feature-item p {
        font-size: 0.85rem;
    }
}



/* App Sections */
.phone-mockup {
    position: relative;
    max-width: 400px; /* زيادة العرض إلى 400px */
    margin: 0 auto;
    height: 100%; /* يمتد ليشمل طول القسم */
}

.phone-mockup-img {
    /*width: 100%;*/
    height: auto;
    max-height: 650px; /* زيادة الارتفاع إلى 650px */
    object-fit: contain;
}

@media (max-width: 768px) {
    .phone-mockup {
        max-width: 300px; /* زيادة العرض في الشاشات الصغيرة إلى 300px */
        height: 100%;
    }

    .phone-mockup-img {
        width: 100%;
        max-height: 550px; /* زيادة الارتفاع في الشاشات الصغيرة إلى 550px */
    }
}

.app-section {
    height: 810px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}



/* Large bold title */
.app-section-title {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 850;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.02em;
}



.app-description {
    font-size: 1rem;
    color: #000000;
    font-weight: 700;
    line-height: 1.8;
    text-align: right;
}

.app-features {
    list-style: none;
    padding: 0;
    margin: 0;
    direction: ltr;
}

.app-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: #000000;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
}


.app-features li i {
    color: #975725;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .app-section {
        background-image: none !important;
        background-color: #f8f6f2 !important;
        padding: 50px 0;
        height: auto;
    }
    .app-section-title { font-size: 1.8rem; }
    .app-description { text-align: center; }
}



.engineer-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.engineer-info p {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

.rating {
    display: flex;
    gap: 2px;
    margin-top: 5px;
}

.rating i {
    color: #ffc107;
    font-size: 0.7rem;
}



/* Footer Styles */
.footer {
    background: #537536;
    color: #ffffff;
    padding: 40px 0 20px;
    /*border-top: 1px solid #e9ecef;*/
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-left {
    flex: 1;
    text-align: left;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 0.9rem;
    margin-bottom: 15px;
    max-width: 400px;
}

.footer-center {
    flex: 1;
    text-align: center;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #975725;
}

.footer-extra-links {
    flex: 1;
    text-align: right;
}

.footer-extra-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 15px;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-extra-links a:hover {
    color: #975725;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.footer-copyright {
    font-size: 0.8rem;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: unset;
    }

    .footer-right, .footer-left, .footer-extra-links {
        text-align: center;
    }

    .footer-left {
        margin-bottom: 20px; /* إضافة مسافة بين الأقسام */
    }

    .footer-left .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center; /* مركزة الأزرار عموديًا */
        padding: 0;
    }

    .footer-left .footer-links li {
        margin-bottom: 15px; /* إضافة مسافة بين الأزرار */
    }

    .footer-left .footer-links img {
        max-width: 120px; /* تقليل حجم الأزرار في الموبايل */
        height: auto;
    }

    .footer-extra-links a {
        margin-right: 10px;
        display: block;
        margin-bottom: 10px;
    }

    .footer-bottom .d-flex {
        flex-direction: column;
        gap: 10px;
    }

    .footer-copyright {
        order: 2;
    }

    .social-icons {
        order: 1;
        justify-content: center;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .character {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .character-container {
        gap: 30px;
    }

    .app-downloads {
        justify-content: center;
    }

    .phone-frame {
        width: 250px;
        height: 500px;
    }
}

.footer-copyright {
    font-size: 0.85rem; /* حجم خط أكبر قليلاً لتحسين القراءة */
    color: #ffffff;
    font-weight: 400; /* وزن خط خفيف لمظهر أنيق */
    line-height: 1.5; /* تحسين المسافة بين الأسطر */
}

.developer-link {
    color: #ffffff; /* لون أخضر للرابط ليتناسب مع الثيم */
    font-weight: 500; /* وزن خط أثقل للرابط ليبرز */
    transition: all 0.3s ease; /* انتقال سلس للتأثيرات */
    position: relative; /* لإضافة خط سفلي متحرك */
    padding-bottom: 2px; /* مسافة صغيرة للخط السفلي */
}

.developer-link:hover {
    color: #975725; /* لون أغمق عند الـ hover */
    text-decoration: none; /* الحفاظ على عدم وجود خط سفلي افتراضي */
}

.developer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    right: 0; /* البدء من اليمين (لأن الاتجاه RTL) */
    background-color: #975725;
    transition: width 0.3s ease; /* تأثير تمدد الخط */
}

.developer-link:hover::after {
    width: 100%; /* الخط يمتد عند الـ hover */
}

@media (max-width: 768px) {
    .footer-copyright {
        font-size: 0.8rem; /* تقليل حجم الخط في الشاشات الصغيرة */
        text-align: center; /* التأكد من المركزة */
    }

    .developer-link {
        display: inline-block; /* التأكد من أن الرابط يأخذ مساحته الطبيعية */
    }
}

/* Contact Section */
.contact-section {
    background: #ffffff;
    padding: 80px 0;
}

.contact-form-wrapper {
    padding: 0;
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-align: center;
}

.contact-subtitle {
    font-size: 1rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-form-wrapper .form-group {
    margin-bottom: 1.2rem;
}

.contact-form-wrapper label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.4rem;
    display: block;
    font-size: 0.95rem;
}

.contact-form-wrapper .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

.contact-form-wrapper .form-control:focus {
    border-color: #28a745;
    box-shadow: none;
    background: #ffffff;
}

.contact-form-wrapper textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.contact-form-wrapper .btn-submit {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.5rem;
}

.contact-form-wrapper .btn-submit:hover {
    background: #218838;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .contact-subtitle {
        font-size: 0.9rem;
    }
}

/* =====================
   FAQ Section
   ===================== */
.faq-section {
    background: #FAF8F7;
    padding: 70px 0 50px;
}

.faq-label {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #975725;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

/*.faq-label::before,*/
/*.faq-label::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    width: 60px;*/
/*    height: 2px;*/
/*    background: #975725;*/
/*    opacity: 0.4;*/
/*}*/

/*.faq-label::before { right: calc(50% + 80px); }*/
/*.faq-label::after  { left: calc(50% + 80px); }*/

.faq-card {
    background: #975725;
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    height: 100%;
    text-decoration: none;
    display: block;
}

.faq-card:hover {
    background: #7a4519;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(151, 87, 37, 0.25);
}

.faq-card-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    /*justify-content: space-between;*/
    width: 100%;
}

.faq-rectangle {
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
    margin-top: 5px;
    flex-shrink: 0;
}

.faq-toggle-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-right: auto;
}

.faq-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: #fff;
    margin-top: 5px;
}

.faq-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
}

.faq-card-body {
    font-size: 0.88rem;
    color: #f5e8d8;
    line-height: 1.6;
    margin: 10px 0 0 0;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .faq-section { padding: 40px 0 30px; }
    /*.faq-label::before, .faq-label::after { display: none; }*/
}

/* =====================
   Contact Section – Figma Layout
   ===================== */
.contact-section {
    background: #ffffff;
    padding: 80px 0 60px;
}

/* Soft-bordered card wrapping the form */
.contact-card {
    border: 1px solid #e8e2d9;
    border-radius: 16px;
    padding: 36px 40px;
    background: #fdfcfb;
    box-shadow: 0 2px 16px rgba(151, 87, 37, 0.06);
    margin-top: 2rem;
}

.contact-info-section-label {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    /*margin-bottom: 1.4rem;*/
    /*padding-bottom: 0.5rem;*/
    /*border-bottom: 1px solid #e8e2d9;*/
}

@media (max-width: 768px) {
    .contact-card {
        padding: 24px 18px;
        border-radius: 12px;
    }
}


.contact-section-label {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #975725;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.contact-section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #537536;
    text-align: center;
    margin-bottom: 0.5rem;
}

.contact-section-subtitle {
    font-size: 1rem;
    color: #555;
    text-align: center;
    margin-bottom: 0;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ---- Right column (fields) ---- */
.contact-right-col {
    padding-right: 30px;
}

.contact-info-section-label {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    /*border-bottom: 2px solid #e0d4c8;*/
    /*padding-bottom: 0.5rem;*/
}

.contact-field-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 6px;
    display: block;
}

.contact-input {
    width: 100%;
    border: 1px solid #F5F5F5;
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: 'Cairo', sans-serif;
    background: #ffffff;
    color: #2c3e50;
    transition: border-color 0.25s ease;
    outline: none;
    resize: none;
    box-shadow: none;
}

.contact-input::placeholder { color: #c0c5cc; }

.contact-input:focus {
    border-color: #537536;
    background: #fff;
    box-shadow: none;
    outline: none;
}

/* ---- intl-tel-input: match .contact-input style ---- */
.contact-iti-input {
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    color: #2c3e50;
}

/* Make the generated wrapper fill full width */
.intl-tel-input {
    width: 100%;
    display: block;
}

/* Style the wrapper's outer border like .contact-input */
.intl-tel-input .flag-container + input,
.intl-tel-input input[type=tel],
.intl-tel-input input[type=text] {
    width: 100%;
    border: 1px solid #F5F5F5;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: 'Cairo', sans-serif;
    background: #ffffff;
    color: #2c3e50;
    outline: none;
    transition: border-color 0.25s ease;
    height: auto;
    box-shadow: none;
}

.intl-tel-input input[type=tel]:focus,
.intl-tel-input input[type=text]:focus {
    border-color: #537536 !important;
    background: #fff;
    box-shadow: none !important;
    outline: none;
}

.intl-tel-input input[type=tel]::placeholder {
    color: #c0c5cc;
    font-family: 'Cairo', sans-serif;
}

/* Flag button — RTL: move to RIGHT side */
.intl-tel-input {
    position: relative;
    direction: ltr; /* keeps the plugin internals LTR */
}

.intl-tel-input .flag-container {
    position: absolute;
    right: 0;
    left: auto;
    top: 0;
    bottom: 0;
    border-radius: 0 10px 10px 0;
}

.intl-tel-input .selected-flag {
    background: transparent !important;
    border-left: 1px solid #E4E7EC;
    border-right: none;
    border-radius: 0 10px 10px 0;
    padding: 0 10px 0 8px;
}

.intl-tel-input .selected-flag:hover,
.intl-tel-input .selected-flag:focus {
    background: #f7f7f7 !important;
    border-radius: 0 10px 10px 0;
}

/* Dial code text — keep LTR so +966 reads correctly */
.intl-tel-input.separate-dial-code .selected-dial-code {
    direction: ltr;
    unicode-bidi: embed;
    margin-left: 4px;
    font-size: 0.88rem;
    color: #555;
}

/* Push input text away from the flag on the right */
.intl-tel-input.separate-dial-code input[type=tel] {
    padding-right: 90px !important; /* space for flag + dial code */
    padding-left: 16px !important;
    text-align: right;
    direction: ltr; /* phone numbers always LTR */
}

/* Dropdown list — align to right edge */
.intl-tel-input .country-list {
    right: 0;
    left: auto;
    text-align: right;
}



/* ---- Left column (phone + recaptcha + button) ---- */
.contact-left-col {
    padding-left: 0;
    padding-top: 2.1rem; /* visually aligns with right col content after label */
}

/* Phone row */
.contact-phone-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-phone-row .contact-input {
    flex: 1;
    min-width: 0; /* prevents flex overflow */
}


.contact-phone-select {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 14px;
    background: #fafafa;
    flex: 1;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.contact-phone-select:hover { border-color: #975725; }

.contact-phone-code {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
    letter-spacing: 0.02em;
}

.contact-phone-arrow {
    color: #888;
    font-size: 0.75rem;
}

.contact-wa-btn {
    width: 42px;
    height: 42px;
    background: #25D366;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.contact-wa-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

/* reCAPTCHA placeholder */
.contact-recaptcha-wrap {
    margin-top: 16px;
}

.g-recaptcha-placeholder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    padding: 14px 16px;
    background: #f9f9f9;
    max-width: 300px;
}

.recaptcha-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.recaptcha-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #537536;
}

.recaptcha-checkbox label {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
}

.recaptcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.recaptcha-logo-text {
    font-size: 0.65rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.04em;
}

.recaptcha-logo-sub {
    font-size: 0.55rem;
    color: #aaa;
}

/* Submit Button */
.contact-submit-btn {
    background: #537536;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px 0;
    width: 100%;
    max-width: 300px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 16px;
    letter-spacing: 0.03em;
}

.contact-submit-btn:hover {
    background: #3f5a28;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(83, 117, 54, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-section { padding: 40px 0 30px; }
    .contact-section-title { font-size: 1.8rem; }
    .contact-right-col { padding-right: 0; margin-top: 24px; order: 1; }
    .contact-left-col { order: 2; padding-top: 0; }
    .contact-submit-btn,
    .g-recaptcha-placeholder { max-width: 100%; }
}

/* ============================================================
   Partners / Clients – System Architecture Style
   ============================================================ */

/* ── Section shell ── */
.partners-arch-section {
    position: relative;
    overflow: hidden;
    padding: 90px 0 70px;
    background: #f5f8f2;
}

/* ── Decorative background ── */
.partners-arch-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Dot-grid pattern */
.partners-arch-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(83,117,54,0.18) 1.2px, transparent 1.2px);
    background-size: 32px 32px;
    opacity: 0.55;
}

/* Soft glowing orbs */
.partners-arch-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.28;
    animation: partners-orb-float 8s ease-in-out infinite;
}
.partners-arch-orb--1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #537536 0%, transparent 70%);
    top: -120px; right: -80px;
    animation-delay: 0s;
}
.partners-arch-orb--2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, #975725 0%, transparent 70%);
    bottom: -80px; left: -60px;
    animation-delay: 3s;
    opacity: 0.18;
}
.partners-arch-orb--3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, #537536 0%, transparent 70%);
    top: 40%; left: 45%;
    animation-delay: 5s;
    opacity: 0.14;
}
@keyframes partners-orb-float {
    0%, 100% { transform: translateY(0px) scale(1);   }
    50%       { transform: translateY(-18px) scale(1.04); }
}

/* ── Container ── */
.partners-arch-container {
    position: relative;
    z-index: 1;
}

/* ── Header ── */
.partners-arch-header {
    text-align: center;
    margin-bottom: 52px;
}

/* Pill badge */
.partners-arch-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(83, 117, 54, 0.1);
    border: 1px solid rgba(83, 117, 54, 0.22);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #537536;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
    backdrop-filter: blur(4px);
}
.partners-arch-badge__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #537536;
    display: inline-block;
    animation: partners-dot-pulse 2.2s ease-in-out infinite;
}
.partners-arch-badge__dot:last-child {
    animation-delay: 1.1s;
    background: #975725;
}
@keyframes partners-dot-pulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%       { transform: scale(1.5); opacity: 0.6; }
}

.partners-arch-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #1c2e12;
    margin-bottom: 14px;
    line-height: 1.25;
}

.partners-arch-subtitle {
    font-size: 1rem;
    color: #5a6b4d;
    max-width: 580px;
    margin: 0 auto 28px;
    line-height: 1.75;
}

/* Node connector row */
.partners-arch-nodes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 4px;
}
.partners-arch-node {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(83, 117, 54, 0.4);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(83, 117, 54, 0.08);
    flex-shrink: 0;
    animation: partners-node-glow 3s ease-in-out infinite;
}
.partners-arch-node--accent {
    border-color: rgba(151, 87, 37, 0.5);
    box-shadow: 0 0 0 3px rgba(151, 87, 37, 0.08);
    animation-delay: 1.5s;
}
@keyframes partners-node-glow {
    0%, 100% { box-shadow: 0 0 0 3px rgba(83, 117, 54, 0.08); }
    50%       { box-shadow: 0 0 0 6px rgba(83, 117, 54, 0.18); }
}
.partners-arch-line {
    flex: 1;
    height: 1.5px;
    max-width: 60px;
    background: linear-gradient(90deg, rgba(83,117,54,0.2), rgba(83,117,54,0.5), rgba(83,117,54,0.2));
    position: relative;
    overflow: hidden;
}
.partners-arch-line::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(83,117,54,0.8), transparent);
    animation: partners-line-sweep 2.5s linear infinite;
}
@keyframes partners-line-sweep {
    0%   { left: -80%; }
    100% { left: 180%; }
}

/* ── Marquee track wrapper ── */
.partners-arch-track-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 44px;
}

/* Edge fade overlays */
.partners-arch-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}
.partners-arch-fade--right {
    right: 0;
    background: linear-gradient(to left, #f5f8f2 0%, transparent 100%);
}
.partners-arch-fade--left {
    left: 0;
    background: linear-gradient(to right, #f5f8f2 0%, transparent 100%);
}

/* Scrolling strip */
.partners-arch-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: partners-marquee 28s linear infinite;
    padding: 16px 0;
}
.partners-arch-track:hover {
    animation-play-state: paused;
}
@keyframes partners-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Individual item wrapper */
.partners-arch-item {
    flex-shrink: 0;
}

/* Glass card */
.partners-arch-card {
    position: relative;
    width: 150px;
    height: 110px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(83, 117, 54, 0.14);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.35s ease,
                border-color 0.3s ease;
    box-shadow: 0 4px 18px rgba(83, 117, 54, 0.06),
                0 1px 4px rgba(0,0,0,0.04);
    overflow: hidden;
}
.partners-arch-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
}
.partners-arch-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 20px 44px rgba(83, 117, 54, 0.16),
                0 4px 10px rgba(0,0,0,0.06);
    border-color: rgba(83, 117, 54, 0.36);
}

/* Corner bracket decorations */
.partners-arch-card__corner {
    position: absolute;
    width: 12px;
    height: 12px;
    opacity: 0.45;
    transition: opacity 0.3s ease;
}
.partners-arch-card__corner--tl {
    top: 8px; right: 8px;
    border-top: 2px solid #537536;
    border-right: 2px solid #537536;
    border-radius: 0 3px 0 0;
}
.partners-arch-card__corner--br {
    bottom: 8px; left: 8px;
    border-bottom: 2px solid #975725;
    border-left: 2px solid #975725;
    border-radius: 0 0 0 3px;
}
.partners-arch-card:hover .partners-arch-card__corner {
    opacity: 1;
}

/* Link / wrapper inside card */
.partners-arch-card__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Logo image */
.partners-arch-logo {
    max-width: 100px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(25%) brightness(0.96);
    opacity: 0.85;
    transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}
.partners-arch-card:hover .partners-arch-logo {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.08);
}

/* ── Stats / trust bar ── */
.partners-arch-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    padding: 18px 28px;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(83, 117, 54, 0.12);
    border-radius: 999px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(83,117,54,0.07);
}

.partners-arch-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #3a5025;
    padding: 0 20px;
    white-space: nowrap;
}
.partners-arch-stat__icon {
    color: #537536;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.partners-arch-stat__divider {
    width: 1px;
    height: 28px;
    background: rgba(83, 117, 54, 0.2);
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .partners-arch-section { padding: 60px 0 50px; }
    .partners-arch-title   { font-size: 1.7rem; }
    .partners-arch-subtitle{ font-size: 0.9rem; }
    .partners-arch-card    { width: 126px; height: 94px; }
    .partners-arch-logo    { max-width: 82px; max-height: 56px; }
    .partners-arch-fade    { width: 60px; }
    .partners-arch-stats   { gap: 0; padding: 14px 16px; border-radius: 16px; }
    .partners-arch-stat    { padding: 6px 12px; font-size: 0.8rem; }
    .partners-arch-line    { max-width: 30px; }
    .partners-arch-nodes   { display: none; }
}

