/*
Theme Name: AdsDrop
Description: قالب وكالة تسويق بصفحة واحدة كاملة
Version: 1.0
Author: AdsDrop
*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #FF5A24;
    --accent-color: #4A90E2;
    --dark-color: #1a1a1a;
    --light-color: #F8F9FA;
    --text-color: #4a4a4a;
    --white: #ffffff;
    --border-color: #e8e8e8;
    --orange: #FF5A24;
    --light-blue: #E8F4F8;
    --gray-light: #f5f5f5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: pan-y pinch-zoom;
    -ms-touch-action: pan-y pinch-zoom;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

body input,
body textarea,
body [contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

body[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

input, textarea, select {
    font-size: 16px !important;
}

/* Scroll Progress Indicator */
.scroll-progress-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #f2f2f2;
    z-index: 10001;
    overflow: hidden;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--orange) 0%, var(--secondary-color) 100%);
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(255, 90, 36, 0.5);
}

body[dir="rtl"] .scroll-progress-bar {
    background: linear-gradient(270deg, var(--orange) 0%, var(--secondary-color) 100%);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 4px;
    width: 100%;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.language-switcher .lang-btn {
    padding: 0.4rem 0.8rem;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.language-switcher .lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.language-switcher .lang-btn.active {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
}

.logo-link:hover {
    color: inherit;
    text-decoration: none;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo img {
    max-height: 45px !important;
    height: auto;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--white);
    color: var(--dark-color);
    padding: 120px 2rem 80px;
    position: relative;
    direction: rtl;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-wrapper.hero-image-right {
    grid-template-columns: 1fr 1fr;
}

.hero-wrapper.hero-image-left {
    grid-template-columns: 1fr 1fr;
    direction: ltr;
}

.hero-wrapper.hero-image-left .hero-content {
    direction: rtl;
    text-align: right;
    order: 2;
}

.hero-wrapper.hero-image-left .hero-image-wrapper {
    order: 1;
}

.hero-content {
    z-index: 2;
    position: relative;
}

body[dir="rtl"] .hero-content {
    text-align: right;
}

body[dir="ltr"] .hero-content {
    text-align: left;
}

.hero-cta {
    text-align: center;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--dark-color);
    line-height: 1.3;
    letter-spacing: -0.5px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Hero Slider */
.hero-image-slider {
    position: relative;
    width: 100%;
}

.hero-slide {
    display: none;
}

.hero-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-slide.active {
    display: block;
}

.hero-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.hero-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--light-color);
    border: 1px solid var(--border-color);
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-slider-dot.active {
    width: 18px;
    background: var(--orange);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn:hover {
    background: #e04a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 90, 36, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin-right: 1rem;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styles */
section {
    padding: 80px 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    line-height: 1.3;
    direction: rtl;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    direction: rtl;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.btn-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: #e04a1a;
    text-decoration: underline;
}

.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Integration System Section */
.integration {
    background: radial-gradient(circle at top left, #f9fafb 0%, #eeeeee 35%, #f5f5f5 100%);
}

.integration-desc {
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.integration-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step-card {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(255, 90, 36, 0.3);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.step-card p {
    color: var(--text-color);
    line-height: 1.8;
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Services Grid Columns */
.services-columns-1 {
    grid-template-columns: 1fr;
}

.services-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.services-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.services-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.services-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.services-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--border-color);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.service-image {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    line-height: 1.3;
}

.service-card p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-link:hover {
    color: #e04a1a;
    text-decoration: underline;
}

/* About Section */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Portfolio Section */
.portfolio {
    background: var(--light-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.portfolio-content p {
    color: var(--text-color);
}

/* Clients */
.clients {
    background: radial-gradient(circle at top left, #f9fafb 0%, #eeeeee 35%, #f5f5f5 100%);
    position: relative;
    overflow: hidden;
}

.clients::before,
.clients::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 90, 36, 0.18), transparent 60%);
    opacity: 0.6;
    pointer-events: none;
}

.clients::before {
    top: -60px;
    right: -60px;
}

.clients::after {
    bottom: -80px;
    left: -40px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

/* Clients Grid Columns */
.clients-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.clients-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.clients-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.clients-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.clients-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.client-logo {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    padding: 1.4rem 1.2rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.4rem;
    min-height: 120px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 14px 30px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(16px);
}

.client-logo.client-card {
    cursor: pointer;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
}

.client-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 1.25rem 1rem;
    gap: 0;
}

.client-logo-view {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    flex-grow: 1;
    width: 100%;
}

.client-logo-view img {
    max-width: 90%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.18));
}

.client-name-fallback,
.client-logo span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.4;
    word-break: break-word;
}

.client-detail-view {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    width: 100%;
    text-align: center;
}

.client-logo.is-expanded .client-detail-view {
    max-height: 420px;
    opacity: 1;
}

.client-logo.is-expanded .client-card-inner {
    padding-bottom: 1.25rem;
}

.client-logo.is-expanded {
    border-color: rgba(255, 90, 36, 0.7);
    box-shadow: 0 20px 45px rgba(255, 90, 36, 0.28);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 248, 244, 1));
}

.client-logo.is-expanded .client-logo-view img {
    max-width: 75%;
    max-height: 65px;
}

.client-logo.is-expanded .client-name-fallback,
.client-logo.is-expanded span.client-name-fallback,
.client-logo.is-expanded .client-logo span {
    font-size: 0.95rem;
}

.client-logo.is-expanded .client-logo-view {
    flex-grow: 0;
    margin-bottom: 0.75rem;
}

.client-company-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.client-services-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.client-services-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1rem;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.6;
}

.client-services-list li {
    position: relative;
    padding: 0.2rem 0;
}

.client-services-list li::before {
    content: '';
    position: absolute;
    left: -0.75rem;
    top: 0.55em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--orange);
}

body[dir="rtl"] .client-services-list {
    padding: 0 1rem 0 0;
    text-align: right;
}

body[dir="rtl"] .client-services-list li::before {
    left: auto;
    right: -0.75rem;
}

.client-logo:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.client-logo img {
    max-width: 80%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.18));
}

/* Clients legacy markup (non-card) */
.client-services-text {
    font-size: 0.85rem;
    color: var(--text-color);
    text-align: center;
    line-height: 1.5;
    display: none;
}

.client-logo.show-services .client-services-text {
    display: block;
}

/* Contact Section */
.contact {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 12px;
    margin: 50px auto;
    padding: 60px 2rem;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: var(--light-blue);
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.contact .section-title,
.contact .section-subtitle {
    color: var(--white);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--white);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

body[dir="rtl"] .form-group input,
body[dir="rtl"] .form-group textarea {
    direction: rtl;
    text-align: right;
}

body[dir="ltr"] .form-group input,
body[dir="ltr"] .form-group textarea {
    direction: ltr;
    text-align: left;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 90, 36, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
    background: rgba(255, 255, 255, 0.98);
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-error {
    display: block;
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.btn-submit {
    position: relative;
    min-width: 150px;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #e04a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 90, 36, 0.4);
}

/* Stats Section */
.stats {
    background: var(--gray-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--border-color);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.stat-desc {
    color: var(--text-color);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card-modern {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--orange) 0%, var(--primary-color) 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.testimonial-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 159, 67, 0.3);
}

.testimonial-card-modern:hover::before {
    transform: scaleX(1);
}

.testimonial-stars {
    margin-bottom: 1.25rem;
}

.testimonial-stars span {
    color: #FFD700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-content {
    margin-bottom: 1.75rem;
}

.testimonial-content p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
    position: relative;
    padding-right: 1.5rem;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    right: 0;
    top: -5px;
    font-size: 3rem;
    color: var(--orange);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 159, 67, 0.3);
}

.testimonial-company-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.testimonial-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.testimonial-author-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author-details strong {
    color: var(--dark-color);
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-author-details strong a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.testimonial-author-details strong a:hover {
    color: var(--orange);
}

.testimonial-company-logo a {
    display: block;
    transition: transform 0.3s ease;
}

.testimonial-company-logo a:hover {
    transform: scale(1.05);
}

.testimonial-author-details span {
    color: var(--text-color);
    font-size: 0.875rem;
    opacity: 0.7;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--border-color);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    color: var(--text-color);
    line-height: 1.8;
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--text-color);
    opacity: 0.8;
}

/* Final CTA Section */
.final-cta {
    background: var(--gray-light);
    padding: 60px 2rem;
}

.cta-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    direction: rtl;
}

.cta-visual-section {
    position: relative;
}

.stats-badges {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    gap: 1rem;
    justify-content: space-around;
}

.stat-badge {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
}

.badge-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

.cta-image-placeholder {
    margin-top: 100px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    color: var(--text-color);
    font-size: 1.2rem;
    opacity: 0.5;
}

.final-cta-team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-text-section {
    text-align: right;
    direction: rtl;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cta-btn {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.partners-section {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-top: 3rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.partner-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 120px;
}

.partner-logo-wrapper {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

.partner-logo-wrapper svg {
    width: 100%;
    height: 100%;
    max-width: 50px;
    max-height: 50px;
    display: block;
}

.partner-logo-wrapper img {
    width: 100%;
    height: 100%;
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
    display: block;
}

.partner-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.1rem;
    line-height: 1.2;
    word-break: break-word;
}

.partner-label {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    font-weight: 400;
    line-height: 1.2;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    direction: rtl;
}

.floating-whatsapp-btn {
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.floating-call-btn {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-call-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.5);
    background: var(--orange);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    direction: rtl;
    text-align: right;
}

.newsletter-form button {
    padding: 12px 24px;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #e04a1a;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.footer-social-links .social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-links .social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-social-links .social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu */
.nav-menu {
    transition: all 0.3s ease;
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--orange);
    z-index: 1001;
    touch-action: manipulation;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-menu-toggle:hover {
    color: #e04a1a;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

.mobile-menu-toggle-icon {
    width: 32px;
    height: 20px;
    display: block;
}

/* Body scroll lock when mobile menu open */
html.mobile-menu-open,
body.mobile-menu-open {
    overflow: hidden !important;
    overflow-x: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    height: 100dvh;
    min-height: 100vh;
    background: #000000;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-overlay::before {
    content: '';
    position: absolute;
    inset-inline-end: 0;
    bottom: 0;
    width: min(300px, 70vw);
    height: min(300px, 70vw);
    background: var(--orange);
    border-radius: 50%;
    transform: translate(35%, 35%);
    z-index: 0;
    opacity: 0.22;
    pointer-events: none;
}

body[dir="rtl"] .mobile-menu-overlay::before {
    transform: translate(-35%, 35%);
}

.mobile-menu-content {
    position: relative;
    z-index: 1;
    padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
    padding-top: env(safe-area-inset-top, 0);
    padding-inline-end: max(1rem, env(safe-area-inset-right, 0));
    padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0));
    padding-inline-start: max(1rem, env(safe-area-inset-left, 0));
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
    direction: inherit;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
    padding: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
    flex-shrink: 0;
    touch-action: manipulation;
}

body[dir="rtl"] .mobile-menu-close {
    align-self: flex-start;
}

body[dir="ltr"] .mobile-menu-close {
    align-self: flex-end;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    direction: inherit;
    display: flex;
    flex-direction: column;
}

.mobile-menu-list li {
    margin-bottom: 0.5rem;
}

.mobile-menu-list > li.mobile-lang-switcher {
    margin-top: auto;
    margin-bottom: 0;
    flex-shrink: 0;
    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-list a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 1rem 0;
    min-height: 48px;
    direction: inherit;
    text-align: start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-list a::after {
    display: none;
}

body[dir="rtl"] .mobile-menu-list a:hover {
    color: var(--orange);
    transform: translateX(6px);
}

body[dir="ltr"] .mobile-menu-list a:hover {
    color: var(--orange);
    transform: translateX(-6px);
}

.mobile-lang-switcher {
    display: flex;
    gap: 1rem;
    padding: 1rem 0 0;
    flex-wrap: wrap;
}

.mobile-lang-switcher a {
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--white);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    font-weight: 500;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-lang-switcher a:hover,
.mobile-lang-switcher a.active {
    background: var(--orange);
    color: var(--white);
}

.mobile-menu-dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-menu-list li.has-dropdown.active .mobile-menu-dropdown-icon {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 60px 1rem;
    }

    nav {
        padding: 0.75rem 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo img {
        max-height: 36px !important;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        color: var(--orange);
    }

    .language-switcher {
        display: none;
    }

    .hero {
        padding: 90px 1rem 50px;
        min-height: auto;
    }

    .hero-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .hero-wrapper.hero-image-left {
        grid-template-columns: 1fr !important;
        direction: rtl;
    }

    .hero-wrapper.hero-image-left .hero-content {
        order: 1;
    }

    .hero-wrapper.hero-image-left .hero-image-wrapper {
        order: 2;
    }

    .hero-content {
        text-align: center;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-image {
        max-height: 300px;
        overflow: hidden;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    section {
        padding: 50px 1rem;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .services-columns-1,
    .services-columns-2,
    .services-columns-3,
    .services-columns-4,
    .services-columns-5,
    .services-columns-6 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }

    .service-card p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .service-image {
        height: 120px;
        margin-bottom: 1rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .clients-grid,
    .clients-columns-2,
    .clients-columns-3,
    .clients-columns-4,
    .clients-columns-5,
    .clients-columns-6 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.9rem;
    }

    .client-logo {
        padding: 1rem 0.8rem;
        min-height: 130px;
    }

    .client-logo img {
        max-width: 85%;
        max-height: 70px;
    }

    .client-logo span {
        font-size: 1.1rem;
        word-break: break-word;
        text-align: center;
    }

    .integration-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-card {
        padding: 1.5rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-card h3 {
        font-size: 1.3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1.1rem;
    }

    .testimonials-slider-wrapper {
        margin-top: 2rem;
        padding: 0;
        width: 100%;
        position: relative;
    }

    .testimonials-slider {
        gap: 0;
        width: 100%;
        display: flex !important;
    }

    .testimonial-card {
        min-width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem;
        margin: 0 !important;
        flex-shrink: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        flex-direction: column;
        position: relative;
    }

    .testimonial-content p {
        font-size: 1rem;
    }

    .slider-controls {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .slider-btn {
        background: var(--primary-color);
        color: var(--white);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 1.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .slider-btn:hover {
        background: var(--orange);
        transform: scale(1.1);
    }

    .slider-dots {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--border-color);
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .slider-dot.active {
        background: var(--orange);
        width: 25px;
        border-radius: 5px;
    }

    .contact {
        padding: 50px 1rem;
        margin: 40px auto;
        border-radius: 12px;
    }

    .contact-form {
        max-width: 100%;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
    }

    .btn-submit {
        padding: 12px;
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-social-links {
        gap: 0.75rem;
    }

    .footer-social-links .social-icon {
        width: 36px;
        height: 36px;
    }

    .footer-social-links .social-icon svg {
        width: 18px;
        height: 18px;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        margin-bottom: 0.5rem;
    }

    .final-cta {
        padding: 50px 1rem;
    }

    .cta-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-badges {
        position: relative;
        margin-bottom: 2rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .stat-badge {
        padding: 0.75rem 1.25rem;
    }

    .badge-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .badge-number {
        font-size: 1.1rem;
    }

    .badge-label {
        font-size: 0.85rem;
    }

    .cta-image-placeholder {
        margin-top: 0;
        min-height: 250px;
    }

    .cta-text-section {
        text-align: center;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-btn {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .partners-section {
        padding: 2rem 1rem;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem;
        justify-items: center;
    }

    .partner-item {
        gap: 0.35rem;
        max-width: 100px;
    }

    .partner-logo-wrapper {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
        margin-bottom: 0.2rem;
    }

    .partner-logo-wrapper svg {
        max-width: 45px;
        max-height: 45px;
    }

    .partner-name {
        font-size: 0.8rem;
        margin-bottom: 0.05rem;
    }

    .partner-label {
        font-size: 0.7rem;
    }

    .floating-buttons {
        bottom: 15px;
        right: 15px;
        left: auto;
        gap: 0.75rem;
    }

    .floating-whatsapp-btn,
    .floating-call-btn {
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp-btn svg,
    .floating-call-btn svg {
        width: 22px;
        height: 22px;
    }

    .text-center {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    section {
        padding: 50px 0.75rem;
    }

    .hero {
        padding: 90px 0.75rem 50px;
    }

    .hero-wrapper {
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .hero-image {
        max-height: 250px;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .testimonials-carousel-wrapper {
        margin-top: 1.75rem;
    }

    .testimonial-card {
        padding: 1.75rem 1.5rem;
    }

    section {
        padding: 40px 0.75rem;
    }

    .clients-grid,
    .clients-columns-2,
    .clients-columns-3,
    .clients-columns-4,
    .clients-columns-5,
    .clients-columns-6 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem;
    }

    .client-logo {
        padding: 0.85rem 0.7rem;
        min-height: 120px;
    }

    .client-logo img {
        max-width: 80%;
        max-height: 65px;
    }

    .client-logo span {
        font-size: 1rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
        justify-items: center;
    }

    .partner-item {
        max-width: 90px;
        gap: 0.3rem;
    }

    .partner-logo-wrapper {
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
        margin-bottom: 0.15rem;
    }

    .partner-logo-wrapper svg {
        max-width: 40px;
        max-height: 40px;
    }

    .partner-name {
        font-size: 0.75rem;
        margin-bottom: 0.05rem;
    }

    .partner-label {
        font-size: 0.65rem;
    }

    .service-card,
    .testimonial-card,
    .stat-card {
        padding: 1.25rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .testimonials {
        padding: 50px 0.75rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }

    .testimonial-card-modern {
        padding: 1.5rem;
    }

    .testimonial-content p {
        font-size: 0.9rem;
        padding-right: 1rem;
    }

    .testimonial-content p::before {
        font-size: 2.5rem;
        top: -3px;
    }

    .testimonial-avatar {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .testimonial-author-details strong {
        font-size: 0.9rem;
    }

    .testimonial-author-details span {
        font-size: 0.75rem;
    }

    .testimonial-stars span {
        font-size: 1rem;
    }

    .step-card {
        padding: 1.25rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .floating-buttons {
        bottom: 10px;
        right: 10px;
        gap: 0.65rem;
    }

    .floating-whatsapp-btn,
    .floating-call-btn {
        width: 48px;
        height: 48px;
    }

    .floating-whatsapp-btn svg,
    .floating-call-btn svg {
        width: 20px;
        height: 20px;
    }

    nav {
        padding: 0.5rem 0.75rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo img {
        max-height: 45px !important;
    }

    .contact {
        padding: 40px 0.75rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-columns-3,
    .services-columns-4,
    .services-columns-5,
    .services-columns-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid,
    .clients-columns-2,
    .clients-columns-3,
    .clients-columns-4,
    .clients-columns-5,
    .clients-columns-6 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem;
    }

    .client-logo {
        padding: 1.5rem;
        min-height: 120px;
    }

    .partners-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1.25rem;
    }

    .partner-item {
        max-width: 110px;
    }

    .partner-logo-wrapper {
        width: 55px;
        height: 55px;
        min-width: 55px;
        min-height: 55px;
    }

    .partner-logo-wrapper svg {
        max-width: 48px;
        max-height: 48px;
    }

    .partner-name {
        font-size: 0.9rem;
    }

    .partner-label {
        font-size: 0.75rem;
    }

    .testimonials-carousel-wrapper {
        margin-top: 2rem;
    }

    .testimonial-card {
        padding: 2rem 2rem;
    }
}
