/*
Theme Name: KwanX Theme
Theme URI: https://kwanx.com/
Author: Your Name
Author URI: https://kwanx.com/
Description: KwanX landing page WordPress theme.
Version: 1.0
*/
.mardx-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 16px; /* اختياري */
}
html, body {
  overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
        font-family: 'Ubuntu', sans-serif;
    line-height: 1.6;
    min-height: 100vh; /* ليملأ كامل ارتفاع الشاشة */
    display: flex;
    justify-content: center; /* توسيط أفقي */
    align-items: center;     /* توسيط عمودي */
    flex-direction: column;  /* محتوى عمودي */
    margin: 0;
    padding: 0;

    overflow-y: hidden;

}

/* Navigation Styles */
.navbar {
    background: #EFFCF8;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 95px;
    height: 95px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
    text-decoration: none;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-link:hover {
    color: #00d4aa;
}

.navbar {
    background: rgba(255, 255, 255, 0.1); /* خلفية شفافة */
    backdrop-filter: blur(10px); /* تأثير البلور */
    -webkit-backdrop-filter: blur(10px); /* دعم Safari */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* حدود شفافة */
    position: fixed; /* ثابت في الأعلى */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* تحسين على التمرير */
.navbar.scrolled {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.lang-switch {
    background: #2c3e50;
    color: white !important;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.lang-switch:hover {
    background: #34495e;
    color: white !important;
}

.nav-contact {
    display: flex;
    align-items: center;
}

.contact-btn {
    background-color: #0D4653;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px 50px 50px 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 185, 130, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover {
    background-color: #0D4653;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 185, 130, 0.35);
}

.mobile-controls {
    display: none;
    align-items: center;
    gap: 10px;
}

.mobile-contact-btn-header {
    background-color: #0D4653;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 185, 130, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mobile-contact-btn-header:hover {
    background-color: #0D4653;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 185, 130, 0.35);
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    background-color: #D7F6EC;
    border-radius: 10px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 15px 15px;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    max-height: 350px;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-link {
    display: block;
    padding: 15px 30px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: left;
}

.mobile-nav-link:hover {
    background: #f8f9fa;
    color: #00d4aa;
    padding-left: 40px;
}

.mobile-lang {
    background: #2c3e50;
    color: white !important;
    margin: 10px 30px;
    border-radius: 20px;
    text-align: center;
    font-weight: 600;
}

.mobile-lang:hover {
    background: #34495e !important;
    color: white !important;
    padding-left: 30px !important;
}

/* Hero Section Styles */
.hero-section {
    width: 100vw;
    background: #EFFCF8;
    margin: 0;
    padding: 0;
}



.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}


.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    padding: 40px 0;
    width: 100%;
    margin-top:120px;
}


/* Hero Text Styles */


.hero-text {
    min-width: 0;
    text-align: left;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}
@media (max-width: 991px) {
  .hero-text {
    text-align: left !important;
	  margin-left:10px;
  }
}


.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.hero-subtitle strong {
    position: relative;
    color: #2c3e50;
        font-weight: normal !important;
}

.hero-subtitle strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #00B982;
    border-radius: 2px;
}

.hero-experience {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-experience strong {
    font-weight: bold;
    color: #00B982;
    font-size: 1.3rem;
}

/* Hero Buttons Styles */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-btn {
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
    border: 2px solid transparent;
}

.hero-btn.primary {
    background-color: #00B982;
    color: white;
    border: none;
    border-radius: 50px 50px 50px 10px;
    padding: 14px 28px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 185, 130, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-btn.primary:hover {
    background: linear-gradient(135deg, #00D494 0%, #00A876 50%, #008A64 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 185, 130, 0.35);
}

.hero-btn.primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 185, 130, 0.3);
}

.hero-btn.secondary {
    background: transparent;
    color: #0D4653;
    border: 3px solid #0D4653;
    box-shadow: none;
}

.hero-btn.secondary:hover {
    background: #0D4653;
    color: white;
    transform: translateY(-1px);
}




.body {
    width: 60px;
    height: 80px;
    background: #00B982;
    border-radius: 30px 30px 10px 10px;
    margin: 5px auto;
}

.arms {
    position: absolute;
    top: 50px;
    left: -10px;
    width: 80px;
    height: 20px;
    background: #f4a261;
    border-radius: 10px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 20px;
    height: 20px;
    background: #00d4aa;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 15px;
    height: 15px;
    background: #00B982;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.element-3 {
    width: 25px;
    height: 25px;
    background: #737373;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

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

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-contact {
        display: none;
    }
    
    .mobile-controls {
        display: flex;
    }
    
.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    padding: 40px 0;
    width: 100%;
    margin-top: 120px;
}

    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-subtitle strong::after {
        height: 2px;
    }
    
    .hero-experience {
        font-size: 1rem;
    }
    
    .hero-experience strong {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: row;
        gap: 12px;
    }
    
    .hero-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        flex: 0 0 auto;
        min-width: 140px;
    }
    
    .illustration-wrapper {
        width: 300px;
        height: 300px;
    }
    
    .monitor {
        width: 200px;
        height: 130px;
    }
    
    .screen {
        width: 180px;
        height: 110px;
    }
    
    .character {
        bottom: 30px;
        right: 50px;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .mobile-contact-btn-header {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-experience strong {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .illustration-wrapper {
        width: 250px;
        height: 250px;
    }
}


/* Why Section Styles - مع أحجام متجاوبة */
.why-section {
    padding: clamp(40px, 8vw, 80px) 0; /* padding متجاوب */
    position: relative;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 20px); /* padding جانبي متجاوب */
}

.why-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.why-header {
    max-width: 800px;
    margin: 0 auto;
}

.why-title {
    font-size: clamp(1.8rem, 5vw, 3rem); /* حجم متجاوب للعنوان */
    font-weight: normal;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: clamp(1.2rem, 3vw, 2rem); /* margin متجاوب */
    text-align: center;
}

/* تنسيق كلمة "Kwan" - غامق */
.why-title .kwan-bold {
    font-weight: bold;
    color: #2c3e50;
}

/* تنسيق حرف "X" - لون أخضر */
.why-title .x-colored {
    font-weight: normal;
    color: #00B982;
}

/* توحيد النصين مع أحجام متجاوبة */
.why-subtitle,
.why-description {
    font-size: clamp(1rem, 2.5vw, 1.3rem); /* حجم متجاوب للنصوص */
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem); /* margin متجاوب */
    font-weight: 400;
    text-align: left;
    opacity: 1;
}

/* إزالة margin-bottom من النص الأخير */
.why-description {
    margin-bottom: 0;
}

/* Media Queries للتحكم الدقيق */
@media screen and (max-width: 768px) {
    .why-subtitle,
    .why-description {
        text-align: left; /* توسيط النص في الشاشات الصغيرة */
    }
}

@media screen and (max-width: 480px) {
    .why-title {
        line-height: 1.3; /* تحسين line-height للشاشات الصغيرة */
    }
    
    .why-subtitle,
    .why-description {
        line-height: 1.5; /* تحسين المسافة بين الأسطر */
    }
}

/* تحسينات إضافية للشاشات الكبيرة جداً */
@media screen and (min-width: 1400px) {
    .why-container {
        padding: 0 40px; /* padding أكبر للشاشات الكبيرة */
    }
}

/* تحسينات للشاشات الصغيرة جداً */
@media screen and (max-width: 320px) {
    .why-section {
        padding: 30px 0; /* تقليل padding للشاشات الصغيرة جداً */
    }
}

.divhr{
	padding-top:20px;
}
/* Cards Container */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(20px, 4vw, 40px);
    margin-top: clamp(40px, 6vw, 60px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* Individual Card Styles - محدث */
.card {
    border-radius: 16px;
    padding: clamp(20px, 4vw, 30px);
    transition: all 0.3s ease;
    border: 2px dashed #B8C5C9; /* حدود مخططة */
    box-shadow: none; /* إزالة الظل */
}

.card:hover {
    transform: translateY(-3px);
    border-color: #A0B0B5; /* لون أغمق للحدود عند التمرير */
    background: #DDE5E8; /* خلفية أغمق قليلاً عند التمرير */
}

/* Card Icon - محدث */
.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: clamp(16px, 3vw, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.icon-img {
    width: 403px;
    height: 65px;
    object-fit: contain;
}
.client2_logo{

      height: 65px;
    object-fit: contain;
    margin-bottom: 20px;
}

/* Card Title */
.card-title {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: clamp(12px, 2.5vw, 16px);
    line-height: 1.3;
    text-align: center;
}

.card-title .title-highlight {
    color: #00B982;
    font-weight: 700;
}

/* Card Description */
.card-description {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #2c3e50;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
    text-align: center;
}

/* Responsive Design for Cards */
@media screen and (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
         margin-left: 20px;
        margin-right: 20px;
    }
    
    .card {
        max-width: 400px;
        margin: 0 auto;
        border-width: 1.5px; /* حدود أرفع في الموبايل */
    }
}

@media screen and (max-width: 480px) {
    .cards-container {
        gap: 16px;
    }
    
    .card {
        padding: 20px;
        border-width: 1px; /* حدود أرفع أكثر للشاشات الصغيرة */
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }
    
    .icon-img {
        width: 403px;
        height: 65px;
    }
}

@media screen and (min-width: 769px) {
    .cards-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* تحسين إضافي للحدود المخططة */
@media screen and (min-width: 1200px) {
    .card {
        border-width: 2.5px; /* حدود أكثر وضوحاً في الشاشات الكبيرة */
    }
}


/* Mard.X Section Styles */
.mardx-section {
    padding: clamp(40px, 8vw, 80px) 0;
    position: relative;
}

.mardx-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 20px);
}

/* Mard.X Card with Gradient Background */
.mardx-card {
    background: linear-gradient(135deg, #10B981 0%, #5349F5 100%);
    border-radius: 24px;
    padding: clamp(30px, 6vw, 50px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

/* الشاشات الكبيرة: التصميم الأصلي (عمودين جنباً إلى جنب) */
.mardx-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 6vw, 60px);
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Text Content Styles */
.mardx-text {
    color: white;
}

.mardx-badge {
    color: white;
    font-size: clamp(0.8rem, 1.5vw, 1.9rem);
    font-weight: 500;
    display: inline-block;
    margin-bottom: clamp(16px, 3vw, 20px);
    backdrop-filter: blur(10px);
}

.mardx-title {
    font-size: clamp(1.5rem, 4vw, 2.0rem);
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: clamp(16px, 3vw, 20px);
    color: white;
}

.mardx-description {
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: clamp(24px, 4vw, 32px);
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons Styles */
.mardx-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.mardx-btn {
    padding: 12px 24px;
    border-radius: 25px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
}

.mardx-btn.primary {
    background: white;
    color: #4D44D8;
    border: 2px solid white;
    border-radius: 25px 25px 10px 25px;
}

.mardx-btn.primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.mardx-btn.secondary {
    background: transparent;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.mardx-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* الصورة على الشاشات الكبيرة */
.mardx-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* الشاشات الصغيرة: التصميم المُعدل (الصورة فوق النص) */
@media screen and (max-width: 768px) {
    .mardx-content {
        grid-template-columns: 1fr; /* عمود واحد فقط */
        gap: 30px;
    }
    
    /* ترتيب العناصر على الشاشات الصغيرة */
    .mardx-image {
        order: 1; /* الصورة أولاً */
        text-align: center;
        margin-bottom: 20px;
    }
    
    .mardx-text {
        order: 2; /* النص ثانياً */
        text-align: left;
    }
    
    .mardx-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .mardx-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .mardx-card {
        padding: 25px;
        border-radius: 16px;
    }
    
    .mardx-content {
        gap: 20px;
    }
    
    .mardx-buttons {
        gap: 12px;
    }
}


/* Animation for phones */
@keyframes float-phone {
    0%, 100% {
        transform: translateY(0px) rotate(-5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

.phone-1 {
    animation: float-phone 4s ease-in-out infinite;
}




/* Clients Title Section */
.clients-title-section {
    padding: clamp(40px, 8vw, 60px) 0;
    text-align: center;
}

.clients-title-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
	margin-bottom:20px;
}

.clients-main-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
}

.clients-sub-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #00B982;
    margin: 0 0 clamp(30px, 6vw, 50px) 0;
    line-height: 1.2;
}

.client-description {
    max-width: 600px;
    margin: 0 auto clamp(30px, 5vw, 40px) auto;
    text-align: center;
}

.client-project-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: clamp(10px, 2vw, 15px);
    line-height: 1.3;
}

.client-project-desc {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: #2c3e50;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
	margin-left: 10px;
  margin-right: 10px;
}

/* Client Image Styles */
.client-image-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.client-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .clients-main-title,
    .clients-sub-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    
    .client-project-title {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }
    
    .client-project-desc {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
    
    .client-image-container {
        max-width: 100%;
        padding: 0 10px;
    }
}


/* CTA Section Styles */
.cta-section {
    padding: clamp(40px, 8vw, 60px) 0;
    position: relative;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 20px);
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(20px, 4vw, 40px);
    background: #E8F5F0;
    border-radius: 20px;
    padding: clamp(30px, 5vw, 40px);
    border: 1px solid rgba(0, 185, 130, 0.1);
    background-color: #D6FFF3;
    border-radius: 50px;
}

/* CTA Text Styles */
.cta-text {
    flex: 1;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: bold;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: clamp(8px, 2vw, 12px);
}

.cta-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: #2c3e50;
    line-height: 1.5;
    opacity: 0.8;
    margin: 0;
}

/* CTA Button Styles */
.cta-button-wrapper {
    flex-shrink: 0;
}

.cta-button {
    background: #0D4653; /* لون داكن مطابق للصورة */
    color: #D6FFF3;
    border: none;
    padding: clamp(12px, 2.5vw, 16px) clamp(20px, 4vw, 32px);
    border-radius: 25px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.cta-button:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(44, 62, 80, 0.2);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .cta-text {
        max-width: 100%;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
    }
}

@media screen and (max-width: 480px) {
    .cta-content {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .cta-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }
    
    .cta-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
    
    .cta-button {
        font-size: 0.95rem;
        padding: 12px 20px;
    }
}

/* تحسين إضافي للشاشات الكبيرة جداً */
@media screen and (min-width: 1400px) {
    .cta-content {
        padding: 50px 60px;
    }
}

/* Contact Title Section */
.contact-title-section {
    padding: clamp(40px, 8vw, 60px) 0;
    text-align: center;
}

.contact-title-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-main-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: #000000;
    line-height: 1.3;
    margin: 0 0 clamp(25px, 4vw, 35px) 0;
}

.contact-highlight {
    color: #10B981;
    font-weight: 700;
}

/* Contact Button Styles */
.contact-button-wrapper {
    text-align: center;
    margin-bottom: clamp(30px, 5vw, 40px);
}

.contact-now-btn {
    background: #10B981;
    color: white;
    border: none;
    padding: clamp(12px, 2.5vw, 16px) clamp(24px, 4vw, 32px);
    border-radius: 25px 25px 25px 5px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(0, 185, 130, 0.25);
}

.contact-now-btn:hover {
    background: #009970;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 185, 130, 0.35);
}

/* Social Icons and Phone Styles */
.contact-social-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(20px, 3vw, 25px);
}

.social-icons {
    display: flex;
    gap: clamp(15px, 3vw, 20px);
    align-items: center;
}

.social-icon {
    width: clamp(45px, 8vw, 55px);
    height: clamp(45px, 8vw, 55px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(18px, 3vw, 22px);
    border: 2px solid;
}

.social-icon.facebook {
    background: white;
    color: #00B982;
    border-color: #00B982;
}

.social-icon.telegram {
    background: white;
    color: #00B982;
    border-color: #00B982;
}

.social-icon.linkedin {
    background: white;
    color: #00B982;
    border-color: #00B982;
}

.social-icon.email {
    background: white;
    color: #00B982;
    border-color: #00B982;
}

.social-icon:hover {
    background: #00B982;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 185, 130, 0.3);
}

/* Phone Number Styles */
.phone-number {
    margin-top: 10px;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #00B982;
    text-decoration: none;
    padding: clamp(10px, 2vw, 12px) clamp(20px, 4vw, 25px);
    border-radius: 25px;
    border: 2px solid #00B982;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-link:hover {
    background: #00B982;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 185, 130, 0.3);
}

.phone-link i {
    font-size: clamp(16px, 2.5vw, 18px);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .contact-main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: clamp(20px, 4vw, 30px);
    }
    
    .contact-now-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .contact-social-wrapper {
        gap: 20px;
    }
    
    .social-icons {
        gap: 15px;
    }
}

@media screen and (max-width: 480px) {
    .social-icons {
        gap: 12px;
    }
    
    .contact-social-wrapper {
        gap: 18px;
    }
}


/* Footer Section Styles */
.footer-section {
        background: #E7E7E7;

    padding: clamp(20px, 4vw, 30px) 0;
    border-top: 1px solid #E5E7EB;
    width:100%;
}

.footer-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 20px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(15px, 3vw, 20px);
}

/* Contact Information */
.footer-contact {
    display: flex;
    gap: clamp(20px, 4vw, 40px);
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 8px;
    color: #6B7280;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
}

.contact-item i {
    font-size: clamp(14px, 2.5vw, 16px);
    color: #00B982;
    width: 16px;
    text-align: center;
}

.contact-item span {
    white-space: nowrap;
}

/* Copyright */
.footer-copyright {
    color: #6B7280;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    text-align: right;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-copyright {
        text-align: center;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .footer-section {
        padding: 20px 0;
    }
    
    .footer-contact {
        gap: 10px;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
    
    .contact-item i {
        font-size: 14px;
    }
}

/* تحسين للشاشات الصغيرة جداً */
@media screen and (max-width: 320px) {
    .contact-item span {
        font-size: 0.8rem;
    }
}


/*prof*/

.made-by-section {
    text-align: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.made-by-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}
.made-by-text {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Arial', sans-serif;
    margin: 0;
}
.kwanx-logo {
    color: white;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Arial', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
	padding-left: 15px;
}
.kwanx-logo-img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
}
.made-by-description {
    font-size: 18px;
    line-height: 1.6;
    color: #666666;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
}
@media (max-width: 768px) {
    .made-by-section {
        padding: 40px 15px;
    }
    .made-by-text {
        font-size: 36px;
    }
    .kwanx-logo {
        font-size: 20px;
        padding: 6px 12px;
    }
    .kwanx-logo-img {
        height: 58px;
    }
    .made-by-description {
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    .made-by-section {
        padding: 30px 10px;
    }
    .made-by-text {
        font-size: 28px;
    }
    .kwanx-logo {
        font-size: 18px;
    }
    .kwanx-logo-img {
        width: 84px;
        height: 84px;
    }
    .made-by-description {
        font-size: 14px;
    }
}
.project-cards-container {
    display: grid;
    gap: 24px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    direction: ltr;
}
@media (min-width: 768px) {
    .project-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        padding: 40px 20px;
    }
}
@media (min-width: 481px) and (max-width: 767px) {
    .project-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 15px;
    }
}
@media (max-width: 480px) {
    .project-cards-container {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 10px;
    }
}
.project-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    direction: ltr;
    text-align: left;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}
@media (min-width: 768px) {
    .project-card {
        padding: 28px;
        border-radius: 20px;
    }
    .project-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
    }
}
@media (max-width: 767px) {
    .project-card {
        padding: 20px;
        border-radius: 12px;
    }
    .project-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    }
}
@media (max-width: 480px) {
    .project-card {
        padding: 16px;
        border-radius: 10px;
    }
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}
@media (max-width: 480px) {
    .card-header {
        margin-bottom: 16px;
    }
}
.logo-section {
    order: 1;
}

.card-logo {
    width: 95px;
    height: 40px;
    object-fit: contain;
}
@media (max-width: 480px) {
    .card-logo {
        width: 32px;
        height: 32px;
    }
}
.project-title {
    order: 2;
    flex: 1;
    margin-right: 16px;
    text-align: right;
}
.project-title h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #707070;
    line-height: 1.3;
}
@media (max-width: 480px) {
    .project-title h3 {
        font-size: 16px;
    }
}
.card-description {
    margin-bottom: 24px;
}
.card-description p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #000000;
    text-align: left;
	max-height: 5em;
	overflow: hidden;
	display: block;
}
@media (min-width: 768px) {
    .card-description p {
        font-size: 15px;
        line-height: 1.7;
    }
}
@media (max-width: 480px) {
    .card-description p {
        font-size: 13px;
        line-height: 1.5;
    }
}
.card-image {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
@media (min-width: 768px) {
    .card-image {
        height: 320px;
        border-radius: 16px;
    }
}
@media (max-width: 480px) {
    .card-image {
        height: 180px;
        border-radius: 8px;
    }
}
.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.project-card:hover .project-img {
    transform: scale(1.05);
}
.project-card.loading {
    pointer-events: none;
    opacity: 0.7;
}
.project-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}
@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
a {
text-decoration: none;
color:unset;
}

/*single-project*/

.project-details-container {
    max-width: 900px;
    margin: 100px auto 0 auto;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
  }
  .project-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
  }
  .project-logo {
    width: 95px;
    height: 48px;
    object-fit: contain;
  }
  .project-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #222;
  }
  .project-desc {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 32px;
    margin-top: 0;
    line-height: 1.7;
  }
  .screenshots-section {
    margin-bottom: 18px;
  }
  .screenshots-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1a1a1a;
  }
  .slideshow-container {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    border-radius: 18px;
    padding: 24px 0 32px 0;
  }
  .slide-imgs-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    overflow: hidden;
  }
  .slide-img {
    width: 100%;
    height: 100%;
    background: #e9e9e9;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s, transform 0.4s;
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 1;
  }
  .slide-img.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    left: 0;
    transform: scale(1);
    z-index: 2;
  }
  .slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid #00B982;
    color: #00B982;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,185,130,0.08);
  }
  .slideshow-btn:hover {
    background: #00B982;
    color: #fff;
  }
  .slideshow-btn.prev {
    left: 14px;
  }
  .slideshow-btn.next {
    right: 14px;
  }
  .slideshow-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
  }
  .dot {
    width: 12px;
    height: 12px;
    background: #e0e0e0;
    border-radius: 50%;
    transition: background 0.25s, width 0.25s;
    cursor: pointer;
  }
  .dot.active {
    background: #00B982;
    width: 22px;
    border-radius: 8px;
  }
  @media (max-width: 900px) {
    .project-details-container {
      max-width: 100%;
      padding: 10px;
    }
    .slideshow-container {
      max-width: 100%;
      padding: 12px 0 24px 0;
    }
    .slide-img {
      width: 100%;
      height: 100%;
    }
  }
  @media (max-width: 600px) {
    .project-details-container {
      margin: 0;
      border-radius: 0;
    }
    .slide-img {
      width: 100%;
      height: 100%;
    }
    .slideshow-btn {
      width: 32px;
      height: 32px;
      font-size: 1.1rem;
    }
    .slideshow-dots {
      margin-top: 14px;
    }
  }
  .four-images-section {
    margin: 40px auto 0 auto;
    max-width: 950px;
    padding: 0 12px;
  }
  .four-images-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
  }
  .four-img {
    width: 210px;
    height: 50px;
    object-fit: cover;
    border-radius: 16px;
    background: #f3f3f3;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.22s;
  }
  .four-img:hover {
    transform: scale(1.04) translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,185,130,0.13);
  }
  @media (max-width: 900px) {
    .four-img {
      width: 150px;
      height: 50px;
    }
    .four-images-row {
      gap: 10px;
    }
  }
  @media (max-width: 600px) {
    .four-images-row {
      flex-wrap: wrap;
      justify-content: center;
    }
    .four-img {
      width: 45vw;
      max-width: 140px;
      height: 70px;
      min-width: 70px;
      min-height: 40px;
    }
  }
  @media (max-width: 480px) {
    .four-images-row {
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }
    .four-img {
      width: 90vw;
      max-width: 210px;
      height: 60px;
    }
    .project-header{
      margin-top: 80px;
    }
  }
  


/* إخفاء الزر على الشاشات الكبيرة */
.floating-lang-btn {
    display: none; /* مخفي بشكل افتراضي */
    position: fixed;
    top: 90%;
    right: 20px;
    z-index: 1000;
    transform: translateY(-50%);
}

.floating-link {
    display: block;
    background: #2c3e50;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.floating-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: #2c3e50;
    
}

/* إظهار الزر فقط على الشاشات الصغيرة */
@media screen and (max-width: 768px) {
    .floating-lang-btn {
        display: block; /* يظهر على الهواتف فقط */
    }
}

/* تحسينات للشاشات الصغيرة جداً */
@media screen and (max-width: 480px) {
    .floating-lang-btn {
        right: 15px;
        top: 90%;
    }
    
    .floating-link {
        padding: 10px 18px;
        font-size: 13px;
    }
}