:root{
    --font-latin-primary: 'Poppins', sans-serif;
    --font-latin-heading: 'Poppins', sans-serif;
    --font-latin-body: 'Poppins', sans-serif;
    --font-latin-ui: 'Poppins', sans-serif;
    --font-arabic-primary: 'Cairo', sans-serif;
    --font-arabic-heading: 'Cairo', sans-serif;
    --font-arabic-body: 'Cairo', sans-serif;
    --font-arabic-ui: 'Cairo', sans-serif;
    --font-cyrillic-primary: 'Roboto', sans-serif;
    --font-cyrillic-heading: 'Roboto', sans-serif;
    --font-cyrillic-body: 'Roboto', sans-serif;
    --font-cyrillic-ui: 'Roboto', sans-serif;
    --text-scale-00: 0.75rem;      
    --text-scale-01: 0.875rem;     
    --text-scale-02: 1rem;         
    --text-scale-03: 1.125rem;     
    --text-scale-04: 1.25rem;      
    --text-scale-05: 1.5rem;       
    --text-scale-06: 1.875rem;     
    --text-scale-07: 2.25rem;      
    --text-scale-08: 3rem;         
    --text-scale-09: 3.75rem;      
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --line-height-solid: 1;
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    --line-height-loose: 2;
    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.05em;
    --letter-spacing-wider: 0.1em;
}
[data-language-group="latin"] {
    --font-family-primary: var(--font-latin-primary);
    --font-family-heading: var(--font-latin-heading);
    --font-family-body: var(--font-latin-body);
    --font-family-ui: var(--font-latin-ui);
}
[data-language-group="arabic"] {
    --font-family-primary: var(--font-arabic-primary);
    --font-family-heading: var(--font-arabic-heading);
    --font-family-body: var(--font-arabic-body);
    --font-family-ui: var(--font-arabic-ui);
}
[data-language-group="cyrillic"] {
    --font-family-primary: var(--font-cyrillic-primary);
    --font-family-heading: var(--font-cyrillic-heading);
    --font-family-body: var(--font-cyrillic-body);
    --font-family-ui: var(--font-cyrillic-ui);
}
:root {
    --primary-bg: rgba(0, 0, 51, 1);
    --secondary-bg: rgba(0, 0, 34, 1);
    --transparent-header: rgba(0, 0, 34, 0.445);
    --card-bg: rgba(0, 0, 60, 0.99);
    --overlay-bg: rgba(10, 10, 20, 0.92);
    --accent-primary: rgba(0, 255, 255, 1);
    --accent-secondary: rgba(51, 255, 255, 1);
    --accent-turquoise: rgba(0, 188, 212, 1);
    --glow-effect: rgba(0, 255, 255, 0.3);
    --text-primary: rgba(255, 255, 255, 1);
    --text-secondary: rgba(204, 204, 204, 1);
    --text-tertiary: rgba(170, 170, 170, 1);
    --border-primary: rgba(2, 255, 255, 0.377);
    --border-light: rgba(0, 255, 255, 0.1);
    --success: rgba(76, 175, 80, 1);
    --error: rgba(255, 85, 85, 1);
    --cta-bg: rgba(255, 215, 0, 1);
    --cta-text: rgba(0, 0, 51, 1);
    --cta-hover: rgba(255, 196, 0, 1);
    --gradient-start: rgba(0, 255, 255, 1);
    --gradient-end: rgba(51, 255, 255, 1);
    --gradient-hover-start: rgba(51, 255, 255, 1);
    --gradient-hover-end: rgba(0, 255, 255, 1);
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.3);
    --shadow-strong: rgba(0, 0, 0, 0.4);
    --cta-shadow: rgba(102, 126, 234, 0.4);
    --avatar-shadow: rgba(0, 0, 0, 0.25);
    --avatar-hover-shadow: rgba(0, 0, 0, 0.15);
    --card-shadow: rgba(0, 0, 0, 0.08);
    --card-hover-shadow: rgba(0, 0, 0, 0.15);
    --social-bg: rgba(255, 255, 255, 0.1);
    --social-border: rgba(255, 255, 255, 0.2);
    --toggle-bg: rgba(255, 255, 255, 0.08);
    --toggle-hover-bg: rgba(255, 255, 255, 0.15);
    --service-icon-shadow: rgba(0, 255, 255, 0.2);
    --service-icon-hover-shadow: rgba(0, 255, 255, 0.3);
    --form-shadow: rgba(0, 0, 0, 0.1);
    --form-hover-shadow: rgba(0, 0, 0, 0.15);
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-focus-bg: rgba(255, 255, 255, 0.08);
    --error-shadow: rgba(255, 85, 85, 0.2);
    --success-shadow: rgba(76, 175, 80, 0.2);
    --language-switcher-shadow: rgba(0, 0, 0, 0.25);
    --language-switcher-hover-shadow: rgba(0, 0, 0, 0.3);
    --feature-tag-bg: rgba(0, 255, 255, 0.1);
    --feature-tag-hover-bg: rgba(0, 255, 255, 0.2);
    --active-language-bg: rgba(0, 255, 255, 0.08);
}
[data-theme="light"] {
    --primary-bg: rgba(245, 247, 255, 1);
    --secondary-bg: rgba(255, 255, 255, 1);
    --transparent-header: rgba(255, 255, 255, 0.8);
    --card-bg: rgba(255, 255, 255, 0.95);
    --overlay-bg: rgba(240, 243, 255, 0.9);
    --accent-primary: rgba(0, 188, 212, 1);
    --accent-secondary: rgba(0, 224, 255, 1);
    --accent-turquoise: rgba(0, 150, 180, 1);
    --glow-effect: rgba(0, 188, 212, 0.25);
    --text-primary: rgba(17, 17, 34, 1);
    --text-secondary: rgba(68, 68, 85, 1);
    --text-tertiary: rgba(102, 102, 119, 1);
    --border-primary: rgba(0, 188, 212, 0.2);
    --border-light: rgba(0, 188, 212, 0.1);
    --success: rgba(76, 175, 80, 1);
    --error: rgba(244, 67, 54, 1);
    --cta-bg: rgba(0, 188, 212, 1);
    --cta-text: rgba(255, 255, 255, 1);
    --cta-hover: rgba(0, 160, 190, 1);
    --gradient-start: rgba(0, 188, 212, 1);
    --gradient-end: rgba(0, 224, 255, 1);
    --gradient-hover-start: rgba(0, 224, 255, 1);
    --gradient-hover-end: rgba(0, 188, 212, 1);
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.2);
    --cta-shadow: rgba(0, 188, 212, 0.25);
    --avatar-shadow: rgba(0, 0, 0, 0.1);
    --avatar-hover-shadow: rgba(0, 0, 0, 0.15);
    --card-shadow: rgba(0, 0, 0, 0.05);
    --card-hover-shadow: rgba(0, 0, 0, 0.1);
    --social-bg: rgba(0, 0, 0, 0.05);
    --social-border: rgba(0, 0, 0, 0.1);
    --toggle-bg: rgba(0, 0, 0, 0.04);
    --toggle-hover-bg: rgba(0, 0, 0, 0.08);
    --service-icon-shadow: rgba(0, 188, 212, 0.15);
    --service-icon-hover-shadow: rgba(0, 188, 212, 0.25);
    --form-shadow: rgba(0, 0, 0, 0.05);
    --form-hover-shadow: rgba(0, 0, 0, 0.1);
    --input-bg: rgba(0, 0, 0, 0.04);
    --input-focus-bg: rgba(0, 0, 0, 0.08);
    --error-shadow: rgba(244, 67, 54, 0.15);
    --success-shadow: rgba(76, 175, 80, 0.15);
    --language-switcher-shadow: rgba(0, 0, 0, 0.1);
    --language-switcher-hover-shadow: rgba(0, 0, 0, 0.15);
    --feature-tag-bg: rgba(0, 188, 212, 0.1);
    --feature-tag-hover-bg: rgba(0, 188, 212, 0.2);
    --active-language-bg: rgba(0, 188, 212, 0.08);
}  
* {
    transition: all 0.25s ease-in-out;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none;
        transition: none;
    }
}
img {
    max-width: 100%;
    height: auto;
}
body{
    background: var(--primary-bg);
}
a {text-decoration: none;}
[hidden] {
    display: none !important;
}
.section-title {
    color: var(--accent-turquoise);
    text-align: center;
    font-family: var(--font-family-heading);
    font-size: var(--text-scale-06);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: 20px;
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto !important;
}
.section-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background-color: var(--accent-turquoise);
    margin: 10px auto 0;
    border-radius: 4px;
    transition: width 0.3s ease;
}
.section-title:hover::after {
    width: 100px;
}
@media (max-width: 768px) {
    .section {
        padding: 80px 15px;
    }
    .container {
        gap: 30px;
    }
    .section-title {
        font-size: 1.8rem;
    }
}
.btn {
    font-family: var(--font-family-ui);
    font-size: var(--text-scale-02);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    line-height: var(--line-height-solid);
}
.btn-primary,
.btn-secondary,
.btn-order,
.btn-email,
.btn-whatsapp {
    font-family: var(--font-family-ui);
    font-size: var(--text-scale-02);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
}
.card-st h3,
.service-card h3 {
    font-family: var(--font-family-heading);
    font-size: var(--text-scale-04);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
}
.card-st p,
.service-card p {
    font-family: var(--font-family-body);
    font-size: var(--text-scale-01);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
}
.main_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow-light);
    z-index: 1000;
    padding: 0 5%;
    background-color: var(--transparent-header);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.main_header.scrolled{
    background: var(--transparent-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-medium);
}
.header_logo {
    flex: 0 0 auto;
}
.header_logo img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-color: var(--social-border);
}
.header_logo img:hover {
    transform: scale(1.15) rotate(8deg);
}
.main_nav {
    flex: 1; 
    display: flex;
    justify-content: center;
}
.nav_list {
    color: var(--text-primary);
    display: flex;
    gap: 1.5rem ; 
    list-style: none;
    font-family: var(--font-family-ui);
}
.nav_link{
    font-family: var(--font-family-ui);
    font-size: var(--text-scale-02);
    font-weight: var(--font-weight-medium);
    letter-spacing: var(--letter-spacing-normal);
    position: relative;
    color: var(--text-primary);
    padding: 10px 15px;
    transition: all 0.3s ease;
}
.nav_link::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav_link:hover::after{ width: 80%;}
.nav_link:hover { color: var(--accent-primary);}
.nav_link.active-link {
    color: var(--accent-primary);
}
.nav_link.active-link::after {
    width: 80%;
}
.header_actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.btn-order {
    background: var(--cta-bg);
    color: var(--cta-text);
    padding: 10px 22px;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.btn-order:hover {
    background: var(--cta-hover);
    color: rgb(0, 0, 0);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}
.theme-toggle-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--toggle-bg);
    outline: none;
    border-radius: 50%;
    background: var(--toggle-bg);
    backdrop-filter: blur(6px); 
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.theme-toggle-btn:hover {
    transform: scale(1.07);
    background: var(--toggle-hover-bg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.theme-toggle-btn i {
    font-size: 1.3rem;
    color: var(--text-primary);
    transition: color 0.3s ease, transform 0.3s ease;
}
.hero-section{
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}
.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 40px;
    position: relative;
    z-index: 2;
}
.hero-text {
    flex: 1;
    max-width: 600px;
}
.hero-text h1{
    font-family: var(--font-family-heading);
    font-size: var(--text-scale-09);
    font-weight: var(--font-weight-extrabold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
}
.highlight{
    position: relative;
    display: inline-block;
    color: var(--accent-turquoise);
    z-index: 1;
}
.highlight::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 100%;
    height: 15px;
    background-color: var(--accent-turquoise);
    border-radius: 10px;
    opacity: 0.3; 
    filter: blur(1px); 
    -webkit-backdrop-filter: blur(6px);
    z-index: -1;
    animation: subtlePulse 3s infinite ease-in-out;
}
@keyframes subtlePulse {
    0%, 100% {
        transform: scaleX(1);
        opacity: 0.25;
        filter: blur(3px);
    }
    50% {
        transform: scaleX(1.01);
        opacity: 0.30;
        filter: blur(1px);
    }
}
#hero-name{
    color: var(--accent-turquoise);
}
.hero-subtitle {
    font-family: var(--font-family-heading);
    font-size: var(--text-scale-07);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);  
    letter-spacing: var(--letter-spacing-normal);
    color: var(--accent-turquoise);
}
.typing-text {
    color: var(--accent-turquoise);    
    font-weight: var(--font-weight-bold);
    border-right: 3px solid var(--accent-turquoise);
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: blink 0.7s infinite;
}
.hero-paragraph{
    font-family: var(--font-family-heading);
    font-size: var(--text-scale-03);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--accent-primary);
    color: var(--primary-bg);
    box-shadow: var(--cta-shadow);
    margin-bottom: 2rem;
    width: auto; 
    height: auto;
}
.btn-primary:hover {
    background: transparent;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.btn-secondary{
    width: 200px ;
    height: 60px;
}
.social-icons-home {
    display: flex;
    gap: 15px;
}
.social-icons-home a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--social-bg);
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: var(--social-border);
}
.social-icons-home a:hover {
    background: var(--accent-primary);
    color: var(--primary-bg);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.hero-avatar {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    position: relative;
}   
.avatar-wrapper {
    position: relative;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}
.avatar-wrapper:hover {
    transform: scale(1.05);
}
.avatar-img {
    display: block;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border: 4px solid var(--primary-bg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}
.avatar-wrapper:hover .avatar-img {
    transform: scale(1.03);
}
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}
.about-section {
    min-height: 100vh;
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: flex-start; 
    background-color: var(--secondary-bg);
}
.about-text,
.about-text-2, 
.about-text-3 {
    text-align: start;
    font-family: var(--font-family-body);
    font-size: var(--text-scale-02); 
    font-weight: var(--font-weight-regular); 
    line-height: var(--line-height-relaxed); 
    letter-spacing: var(--letter-spacing-normal);
    text-align: justify; 
}
.about-content{
    color: var(--text-primary);
}
.about-text,
.about-text-2{
    margin-bottom: 3rem;
}
.skills_tools-section {
    min-height: 100vh;
    padding: 100px 10%;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    text-align: center;
}
.container-card-st {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}
.card-st {
    background-color: var(--card-bg);
    border: 1px solid var(--border-primary);
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 180px;
    justify-content: center;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.card-st:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}
.card-st h3 {
    margin-bottom: 15px;
    color: var(--accent-secondary);
}
.card-st p {
    color: var(--text-secondary);
    margin: 0;
}
.container-card-st .hr {
    grid-column: 1 / -1;
    margin: 40px 0;
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    width: 80%;
    justify-self: center;
}
.services-section{
    min-height: 100vh;
    padding: 100px 10%;
    background-color: var(--secondary-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    text-align: start;
}
.container-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}
.services-description{
    margin-top: 0.5rem;
    color: var(--text-secondary);
    text-align: center;
    font-family: var(--font-latin-body);
    font-size: var(--text-scale-03);
    font-weight: var(--font-weight-medium); 
    line-height: var(--line-height-normal); 
    letter-spacing: var(--letter-spacing-normal); 
    text-align: center; 
    color: var(--text-secondary); 
    max-width: 600px;
    opacity: 0.9;
}
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    min-height: 320px;
    justify-content: flex-start;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-primary);
}
.service-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-glow), transparent 70%);
    opacity: 0.6;
    z-index: -1;
}
.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--primary-bg);
    font-size: var(--text-scale-05);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--border-light);
}
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 18px var(--border-light);
}
.service-card h3 {
    font-family: var(--font-family-heading);
    font-size: var(--text-scale-04);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--accent-secondary);
    margin: 0;
}
.service-card p {
    font-family: var(--font-family-body);
    font-size: var(--text-scale-02);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    color: var(--text-secondary);
    margin: 0;
    flex-grow: 1;
}
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    width: 100%;
}
.feature-tag {
    font-family: var(--font-family-ui);
    font-size: var(--text-scale-00);
    font-weight: var(--font-weight-medium);
    letter-spacing: var(--letter-spacing-wide);
    line-height: var(--line-height-solid);
    padding: 6px 12px;
    background: var(--border-light);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}
.service-card:hover .feature-tag {
    background: var(--border-light);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}
.service-card.selectable {
    cursor: pointer;
}
.service-card.selectable:active {
    transform: scale(0.98);
}
.projects-section {
    min-height: 100vh;
    padding: 100px 10%;
    background-color: var(--secondary-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: start;
}
.container-projects {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    width: 100%;
    margin-top: 40px;
}
.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    height: 100%;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-primary);
}
.project-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}
.project-images {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.project-card:hover .project-images {
    transform: scale(1.05);
}
.project-title {
    font-family: var(--font-family-heading);
    font-size: var(--text-scale-04);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--accent-secondary);
    margin: 20px 20px 10px;
    text-align: center;
}
.project-desc {
    font-family: var(--font-family-body);
    font-size: var(--text-scale-02);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    color: var(--text-secondary);
    margin: 0 20px 20px;
    text-align: center;
    flex-grow: 1;
}
.project-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 20px 25px;
    margin-top: auto;
}
.btn-video,
.btn-project {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--font-family-ui);
    font-size: var(--text-scale-02);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}
.btn-video {
    background: var(--accent-primary);
    color: var(--primary-bg);
}
.btn-video:hover {
    background: transparent;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}
.btn-project {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}
.btn-project:hover {
    background: var(--accent-primary);
    color: var(--primary-bg);
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .projects-section {
        padding: 80px 5%;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .project-img {
        height: 200px;
    }
    .project-title {
        font-size: var(--text-scale-03);
        margin: 15px 15px 8px;
    }
    .project-desc {
        font-size: var(--text-scale-01);
        margin: 0 15px 15px;
    }
    .project-actions {
        padding: 0 15px 20px;
    }
    .btn-video,
    .btn-project {
        padding: 10px 16px;
        font-size: var(--text-scale-01);
    }
}
.contact-section {
    background: var(--secondary-bg);
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}
.contact-form{
    background: var(--card-bg);
    backdrop-filter: blur(2px);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 600px; 
    margin: 0 auto; 
    padding: 40px;
}
.contact-section{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}
.contact-form {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.contact-form:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-primary);
}
.form-group {
    margin-bottom: 3rem;
    position: relative;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-scale-02);
    font-family: var(--font-family-ui)
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--input-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: var(--text-scale-02);
    transition: all 0.3s ease;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--input-focus-bg);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-primary);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-family-body);
}
.error-message {
    color: var(--error);
    font-size: var(--text-scale-01);
    margin-top: 5px;
    display: none;
    box-shadow: var(--error-shadow);
}
.error-message.show {
    display: block;
}
.send-options {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.btn-email,
.btn-whatsapp {
    flex: 1;
    min-width: 160px;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--accent-primary);
    color: var(--card-bg);
}
.btn-email:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}
.motivational-message {
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.motivational-message blockquote {
    font-family: var(--font-family-primary);
    color: var(--text-secondary);
    font-size: var(--text-scale-03);
    line-height: var(--line-height-relaxed);
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
}
.social-links-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    font-family: var(--font-family-ui);
    font-size: var(--text-scale-02); 
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-tight); 
    letter-spacing: var(--letter-spacing-normal);
}
.social-links-contact a {
    position: relative;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    padding-bottom: 3px;
}
.social-links-contact a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-secondary);
    transition: width 0.3s ease;
}
.social-links-contact a:hover {
    color: var(--accent-secondary);
}
.social-links-contact a:hover::after {
    width: 100%;
}
.main-footer {
    background: var(--primary-bg);
    border-top: 1px solid var(--border-light);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-tertiary);
    position: relative;
    overflow: hidden;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .footer-bottom p {
    font-family: var( --font-family-body);
    font-size: var(--text-scale-01); 
    font-weight: var(--font-weight-regular); 
    line-height: var(--line-height-normal);
    letter-spacing: var(--letter-spacing-normal);
    color: var(--color-text-secondary);
    margin: 0.25rem 0;
    margin: 5px 0;
    font-size: var(--text-scale-01);
    color: var(--text-tertiary);
  }
  .footer-bottom a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
  }
.footer-bottom a:hover {
    color: var(--accent-secondary);
  }
 .main-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    border-radius: 3px;
    opacity: 0.7;
}
.main-footer {
    animation: fadeInFooter 0.8s ease-in-out;
}
@keyframes fadeInFooter {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.language-switcher {
    position: fixed;
    bottom: 25px;
    right: 25px; 
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--toggle-bg);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--language-switcher-shadow);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 9999;
  }
  .language-switcher:hover {
    transform: scale(1.08);
    background:var(--active-language-bg);
    box-shadow: var(--language-switcher-hover-shadow);
  }
  .language-switcher i {
    font-size: 1.3rem;
    color: var(--accent-primary);
    transition: color 0.3s ease;
  }
  .language-switcher:hover i {
    color: var(--accent-secondary);
  }
  .language-menu {
    position: absolute;
    bottom: 65px;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 160px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: var(--font-family-body);
    font-size: bar()
  }
  .language-switcher.active .language-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .language-menu li {
    padding: 10px 16px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: var(--text-scale-02);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .language-menu li:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--accent-primary);
  }
  .language-menu li.active {
    color: var(--accent-primary);
    font-weight: var(--font-weight-semibold);
    background: rgba(0, 255, 255, 0.08);
    position: relative;
  }
  .language-menu li.active::after {
    content: "✔";
    font-size: 0.85rem;
    color: var(--accent-secondary);
    margin-left: 8px;
  }
.toast {
    font-family: var(--font-family-ui);
    font-size: var(--text-scale-01);
    font-weight: var(--font-weight-medium);
}
.alert {
    position: fixed;
    top: 25px;
    right: 25px;
    background: var(--accent-secondary);
    border: 1px solid var(--status-error);
    color: var(--primary-bg);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: var(--text-scale-02);
    box-shadow: 0 4px 14px rgba(255, 85, 85, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.4s ease;
  }
  .alert.show {
    opacity: 1;
    transform: translateY(0);
  }
  .alert.success {
    background: rgba(76, 175, 80, 0.1);
    border-color: var(--status-success);
    color: var(--status-success);
    box-shadow: 0 4px 14px rgba(76, 175, 80, 0.2);
  }
  .error-message {
    color: var(--status-error);
    font-size: var(--text-scale-01);
    margin-top: 6px;
    display: none;
    animation: fadeInError 0.3s ease;
  }
  .error-message.show {
    display: block;
  }
  @keyframes fadeInError {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @media (max-width: 768px) {
    .order-serv{
        display: none;
    }
    .header_logo{
        display: none;
    }
    .main_nav {
        display: block;
        width: 100%; 
        min-width: 0;
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px 0;
        scrollbar-width: thin; 
        scrollbar-color: var(--accent-primary) transparent; 
        -webkit-overflow-scrolling: touch;
    }
    .nav_list {
        display: flex;
        flex-wrap: nowrap;
        gap: 1.5rem;
        padding: 0 1rem;
        min-width: max-content;
        list-style: none;
    }
    .nav_item {
        flex: 0 0 auto;
    }
    .nav_link {
        white-space: nowrap;
        padding: 0.5rem 1rem;
        display: inline-block; 
    }
    .main_nav::-webkit-scrollbar {
        display: block; /* ⬅️ أظهر السكرول بار */
        height: 6px; /* ⬅️ ارتفاع السكرول بار */
    }
    .main_nav::-webkit-scrollbar-track {
        background: transparent; /* ⬅️ خلفية شفافة */
        border-radius: 3px;
    }
    .main_nav::-webkit-scrollbar-thumb {
        background: var(--accent-primary); /* ⬅️ لون السكرول بار */
        border-radius: 3px;
        transition: background 0.3s ease;
    }
    .main_nav::-webkit-scrollbar-thumb:hover {
        background: var(--accent-secondary); /* ⬅️ لون عند الهوفر */
    }
}
@media (max-width: 768px) {
    .hero-section {
      height: 100vh;
      padding-top: 80px;
      min-height: auto;
      padding: 80px 20px 40px;
      padding-top: 80px !important;
    }
    .hero-content-wrapper {
      flex-direction: column;
      text-align: center;
      gap: 30px;
    }
    .hero-text {
      order: 2; /* سيظهر النص بعد الصورة */
      max-width: 100%;
    }
    .hero-avatar {
      order: 1; /* سيظهر الأفاتار أولاً */
      max-width: 100%;
      width: 360px !important;
      height: 360px !important;
    }
    .avatar-wrapper {
      width: 300px !important;
      height: 300px !important;
      margin: 0 auto;
    }
    .avatar-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .hero-text h1 {
      font-size: var(--text-scale-07);
    }
    .hero-subtitle {
      font-size: var(--text-scale-05);
    }
    .hero-paragraph {
      font-size: var(--text-scale-02);
    }
    .btn-primary {
      width: auto;
      height: auto;
      margin-bottom: 1.5rem;
    }
    .social-icons-home {
      justify-content: center;
    }
  }
  @media (max-width: 480px) {
    .hero-section {
      padding: 60px 15px 30px;
    }
    .hero-text h1 {
      font-size: var(--text-scale-06);
    }
    .hero-subtitle {
      font-size: var(--text-scale-04);
    }
    .avatar-wrapper {
      width: 250px;
      height: 250px;
    }
    .btn-primary {
      width: 180px;
      height: 50px;
    }
  }
