/* author: https://codepen.io/RAFA3L/pen/RwOMEEa

Rafa */

@import url('https://fonts.cdnfonts.com/css/hubot-sans');
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap');
*{ box-sizing: border-box; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth;}
html, body { height: 100%; }

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: #05060f; }
html::-webkit-scrollbar-thumb { background: #98c0ef33; border-radius: 4px; }
html::-webkit-scrollbar-thumb:hover { background: #98c0ef66; }

body {
    margin: 0;
    font-family: 'Tajawal', Untitled Sans, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
    background: #05060f linear-gradient(0deg,rgba(216,236,248,.06),rgba(152,192,239,.06));

    font-size: max(calc(var(--_size) * 0.03), 10px);
    --_factor: min(600px, 80vh);
    --_size: min(var(--_factor), 80vw);
    
    /* Custom Variables */
    --primary-color: #98c0ef;
    --primary-light: #d8ecf8;
    --primary-dark: #9dc3f7;
    --accent-color: #c2ccff;
    --bg-color: #05060f;
    --bg-dark: #121521;
    --text-color: #d8ecf8;
    --section-spacing: 8rem;
    
    /* تأثير انتقالي سلس عند تغيير الثيم */
    transition: background 0.5s ease, color 0.5s ease;
    
    /* تحسين عرض النصوص */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
    /* تحسين التمرير */
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ===== الثيم الذهبي ===== */
body.gold {
    --primary-color: #d8bd10;
    --primary-light: #f0d568;
    --primary-dark: #c4a80e;
    --accent-color: #f0d568;
}

/* تأثيرات انتقالية للعناصر عند تغيير الثيم */
.section-header h2,
.content-section h3,
.service-card h3,
.feature-content h3,
.workflow-step h3,
.project-info h3,
.author-info h4,
.footer-logo h2,
.link-group h3,
.service-icon,
.feature-icon,
.step-number,
.project-tech span,
.testimonial-content i,
.info-item i,
.social-icon,
.contact-btn-content,
.btn-content,
p {
    transition: color 0.5s ease, background 0.5s ease, filter 0.5s ease, text-shadow 0.5s ease;
}

/* تأكيد عرض بطاقات المشاريع - تحديثات موسعة */
.project-card {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ضمان عرض جميع المشاريع على جميع أحجام الشاشات - تحديثات شاملة */
@media (max-width: 1200px), (max-width: 992px), (max-width: 768px), (max-width: 576px) {
    .projects-container {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
        grid-template-rows: auto !important;
        gap: 3rem !important;
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    .project-card {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-height: none !important;
        min-height: auto !important;
        height: auto !important;
        position: relative !important;
        z-index: 1 !important;
        transform: translateY(0) !important;
    }
}

/* تعديلات إضافية لضمان ظهور جميع المشاريع العشرة */
.projects-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    grid-template-rows: auto !important;
    gap: 3rem !important;
    max-height: none !important;
    height: auto !important;
    min-height: auto !important;
    padding-bottom: 5rem !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    margin: 4rem auto !important;
}

.project-card {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
    min-height: 400px !important;
    height: auto !important;
    position: relative !important;
    z-index: 1 !important;
    transform: translateY(0) !important;
    background-color: rgba(5, 6, 15, 0.8) !important;
    border: 1px solid rgba(152, 192, 239, 0.3) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* تعريفات خاصة لكل مشروع للتأكد من ظهورها */
.project-1, .project-2, .project-3, .project-4, .project-5,
.project-6, .project-7, .project-8, .project-9, .project-10 {
    display: block !important;
    height: 240px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* تعريفات إضافية لضمان ظهور جميع المشاريع */
.projects-section {
    position: relative !important;
    z-index: 50 !important;
    padding: var(--section-spacing) 2rem !important;
    background: linear-gradient(0deg, rgba(18, 21, 33, 0.9), rgba(5, 6, 15, 0.9)) !important;
    overflow: visible !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* تطبيق تأثير الثيم الذهبي على العناصر الأساسية */
body.gold .section-header p,
body.gold .content-section p.subp,
body.gold .service-card p,
body.gold .feature-content p,
body.gold .workflow-step p,
body.gold .project-info p,
body.gold .testimonial-content p,
body.gold .info-item p,
body.gold .footer-logo p,
body.gold .footer-bottom p {
    color: rgba(240, 213, 104, 0.9);
}

body.gold .header h2,
body.gold .heroT h2,
body.gold .heroP,
body.gold .heroSubP p,
body.gold .section-header h2,
body.gold .content-section h3,
body.gold .service-card h3,
body.gold .feature-content h3,
body.gold .workflow-step h3,
body.gold .project-info h3,
body.gold .author-info h4,
body.gold .footer-logo h2,
body.gold .link-group h3 {
    background: linear-gradient(0deg, #f0d568 0, #d8bd10 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

body.gold .service-icon,
body.gold .feature-icon,
body.gold .step-number,
body.gold .project-tech span,
body.gold .testimonial-content i,
body.gold .info-item i,
body.gold .social-icon {
    color: var(--primary-color);
}

body.gold .contact-btn-content,
body.gold .btn-content {
    background: linear-gradient(0deg, #f0d568, #d8bd10);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.gold canvas {
    filter: drop-shadow(2em 4em 0px #d8bd10) drop-shadow(-8em -14em 0px #d8bd10);
}

body.gold .header .spotlight {
    filter: invert(1) brightness(4.7) opacity(0.5);
}

body.gold .mountains > div {
    box-shadow: 
    -1em -0.2em 0.4em -1.1em #c2ccff,
    inset 0em 0em 0em 2px #d8a910,
    inset 0.2em 0.3em 0.2em -0.2em #c2ccff,
    inset 10.2em 10.3em 2em -10em #d4e6ff2f;
}

body.gold .content-section .content-acc div,
body.gold .service-card,
body.gold .feature,
body.gold .workflow-step,
body.gold .project-card,
body.gold .testimonial-card,
body.gold .form-group input,
body.gold .form-group textarea,
body.gold .submit-btn,
body.gold .social-icon {
    border-color: rgba(216, 189, 16, 0.3);
}

body.gold .service-card:hover,
body.gold .feature:hover,
body.gold .workflow-step:hover,
body.gold .project-card:hover,
body.gold .testimonial-card:hover,
body.gold .social-icon:hover,
body.gold .form-group input:focus,
body.gold .form-group textarea:focus {
    border-color: rgba(216, 189, 16, 0.6);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

body.gold .step-number {
    background: linear-gradient(135deg, #d8bd10, #f0d568);
    color: #05060f;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 15px rgba(216, 189, 16, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(5, 6, 15, 0.2);
}

body.gold .contact-btn .glow::after, 
body.gold .contact-btn .glow::before,
body.gold .submit-btn .glow::after,
body.gold .submit-btn .glow::before {
    background: radial-gradient(circle at 50% 50%, hsla(0, 0%, 100%, 0.75), transparent 50%), radial-gradient(circle at 50% 50%, #d8bd10 50%, transparent);
}

body.gold .header > div.mid-spot {
    box-shadow: 0 0 1em 0 #d8bd10;
}

body.gold .header > div.mid-spot:hover {
    box-shadow: -0.3em 0.1em 0.2em 0 #98c0ef;
}

h2 {
    font-family: 'Hubot-Sans', sans-serif;
}
h2, p {
    margin: 0; padding: 0;
}
h2 a {
    text-decoration: none;
    color: unset;
    
}

.header {
    display: flex; width: 100%;
    justify-content: center;
    color: #bad6f7;
    padding: 2em;
    position: absolute;
    top: 0; left: 0; right: 0; margin: 0 auto;

    opacity: 0;
    translate: 0 -1em;
    animation: load 2s ease-in 2s forwards, up 1.4s ease-out 2s forwards;
}
.header > :nth-child(1) {
    font-size: 1em;
    position: absolute; left: 0; right: 29em; margin: 0.2em auto;
    width: fit-content;
}

.header > div.mid-spot {
    position: absolute; left: 0; right: 0; margin: 0 auto;
    width: 1.8em; height: 1.8em;
    border-radius: 50%;
    background: black;
    box-shadow: 0 0 1em 0 #98c0ef;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    position: relative;
    overflow: hidden;
}



.header > div.mid-spot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #98c0ef 0%, transparent 70%);
    opacity: 0.3;
    transition: all 0.5s ease;
}

.header > div.mid-spot:hover {
    box-shadow: -0.3em 0.1em 0.2em 0 #d8bd10;
    transform: scale(1.1);
}

.header > div.mid-spot:active,
.header > div.mid-spot.clicked {
    transform: scale(0.95);
}

@keyframes pulse-theme {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.header > div.mid-spot.clicked::before {
    animation: pulse-theme 0.3s ease-in-out;
    opacity: 0.6;
}

body.gold .header > div.mid-spot {
    box-shadow: 0 0 1em 0 #d8bd10;
}

body.gold .header > div.mid-spot::before {
    background: radial-gradient(circle at center, #d8bd10 0%, transparent 70%);
}

body.gold .header > div.mid-spot:hover {
    box-shadow: -0.3em 0.1em 0.2em 0 #98c0ef;
}

.header > div.mid-spot:hover ~ .spotlight {
    animation: colorize 10s linear infinite;
}
@keyframes colorize {
    0%{filter: hue-rotate(0deg); }
    100% {filter: hue-rotate(-380deg);}
}

.contact-btn {
    position: absolute; 
    left: min(46em, 60vw); 
    right: 0; 
    margin: 0 auto;
    width: 8em; 
    height: 2.4em;
    cursor: pointer;
    border-radius: 20em;
    border: none;
    transition: background 0.5s, transform 0.5s;
    
    border: 1px solid #c2ccff33;
    opacity: 1;

    background: #121521;
    color: #9dc3f7;
    white-space:nowrap;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

button.lang-btn {
    position: absolute;
    top: 1.5em;
    right: 2em;
    width: 6em;
    height: 2.4em;
    cursor: pointer;
    border-radius: 20em;
    border: 1px solid #c2ccff33;
    transition: all 0.3s ease;
    background: rgba(18, 21, 33, 0.8);
    color: #9dc3f7;
    white-space: nowrap;
    z-index: 100;
    padding-top: 0.3em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

button.lang-btn:hover {
    background: rgba(18, 21, 33, 1);
    border-color: #c2ccff66;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

button.lang-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* تعديلات للشاشات الصغيرة والهواتف المحمولة */
@media screen and (max-width: 768px) {
    button.lang-btn {
        top: 1em;
        right: auto;
        left: 1em;
        width: 5em;
        height: 2em;
        font-size: 0.9em;
        position: absolute;
    }
    
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 1em;
        max-width: 100%;
    }
    
    .header > h2 {
        position: absolute;
        top: 5em;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: fit-content;
    }
    
    .header > :nth-child(1) {
        position: absolute;
        top: 5em;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
    
    .header > div.mid-spot {
        position: absolute;
        top: 1em;
        right: 0;
        left: 0;
        margin: 0 auto;
    }
    
    .contact-btn {
        position: absolute;
        top: 1em;
        right: 1em;
        left: auto;
        width: auto;
        min-width: 7em;
        height: 2em;
        font-size: 1em;
        margin: 0;
        padding: 0 1em;
    }
    
    .contact-btn-content {
        font-size: 0.85em;
        white-space: nowrap;
    }
    
    .spotlight,
    .accent-lines {
        max-width: 100vw;
        overflow: hidden;
    }
    
    .hero,
    .heroT,
    .heroP,
    .heroSubP {
        max-width: 100vw;
    }
    
    .services-section,
    .why-us-section,
    .workflow-section,
    .projects-section,
    .testimonials-section,
    .contact-section {
        max-width: 100vw;
        overflow-x: hidden;
    }
}

.lang-btn-content {
    background: linear-gradient(0deg, #d8ecf8 0, #98c0ef 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}

body.gold .lang-btn-content {
    background: linear-gradient(0deg, #f0d568, #d8bd10);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.contact-btn::before {
    content: ''; display: block; position:absolute; left: 0; top:0; border-radius: 20em;
    width: 100%; height: 100%;
    background: #c2ccff91 radial-gradient(farthest-side at 50% 100%, #c2ccff, transparent);
    opacity: 0.1;
    transition: all 0.4s ease-in-out;
}
.contact-btn:hover::before {
    background: #c2ccff1e radial-gradient(farthest-side at 50% 100%, #c2ccff, transparent);
    opacity: 0.3;
}
.contact-btn .glow {
    --border-width: 1px;
    --loop-cycle: 24s;
    position: absolute;
    inset: calc(var(--border-width)* -1);
    border-radius: 50px;
    border: var(--border-width) solid transparent;
    -webkit-mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
    mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
    -webkit-mask-clip: padding-box, border-box;
    mask-clip: padding-box, border-box;
    -webkit-mask-composite: source-in, xor;
    mask-composite: intersect;
    pointer-events: none;
}
.contact-btn:hover .glow {
    --loop-cycle: 2s;
}
.contact-btn .glow::after, .contact-btn .glow::before {
    content: "";
    height: 100%;
    offset-anchor: 100% 50%;
    background: radial-gradient(circle at 50% 50%, hsla(0, 0%, 100%, 0.75), transparent 50%), radial-gradient(circle at 50% 50%, #c2ccff 50%, transparent);
    opacity: 0.4;
    offset-path: rect(0 100% 100% 0 round 33px);
    position: absolute;
    display: inline-block;
    -webkit-animation: loop 4s linear infinite;
    animation: loop var(--loop-cycle) linear infinite;
    aspect-ratio: 1 / 1;
    transition: opacity 1s ease-in-out;
}
.contact-btn .glow::before {
    animation-delay: calc( var(--loop-cycle) / -2 );
}
@keyframes loop {
    100% {
        offset-distance: 100%;
    }    
}
.contact-btn-content {
    color: #d8ecf8;
    font-size: 0.9em;
    line-height: 142%;
    text-shadow: 0 2px 8px rgba(152, 192, 239, 0.3);
}

/* تطبيق التدرج فقط في الثيم الذهبي */
body.gold .contact-btn-content {
    background: linear-gradient(0deg, #f0d568, #d8bd10);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}
.contact-btn:hover .glow::after, .contact-btn:hover .glow::before {
    opacity: 0.6;
}
@keyframes btn-rot {
    0% { rotate: 0deg; }
    100% { rotate: 360deg; } 
}

.header .spotlight {
    pointer-events: none;
    position: absolute; left: 0; right: 0; top:0; margin: 0 auto;
    transition: filter 1s ease-in-out;

    height: 42em; width: 100%;
    overflow: hidden;
}
.header .spotlight > div {
    border-radius: 0 0 50% 50%;
    position: absolute; left: 0; right: 0; margin: 0 auto; 
    top: 3em;
    width: 30em; height: max(42em, 86vh);
    background-image: conic-gradient(from 0deg at 50% -5%, transparent 45%, rgba(124, 145, 182, .3) 49%, rgba(124, 145, 182, .5) 50%, rgba(124, 145, 182, .3) 51%, transparent 55%);
    transform-origin: 50% 0;
    filter: blur(15px) opacity(0.5);
    z-index: -1;
    animation: load 2s ease-in-out forwards, loadrot 2s ease-in-out forwards, spotlight 21s ease-in-out infinite reverse;
}
.header .spotlight > div:nth-child(1){ 
    rotate: 20deg;
    animation: load 2s ease-in-out forwards, loadrot 2s ease-in-out forwards, spotlight 17s ease-in-out infinite;
}
.header .spotlight > div:nth-child(2){ 
    rotate: -20deg;
    animation: load 2s ease-in-out forwards, loadrot 2s ease-in-out forwards, spotlight 14s ease-in-out infinite;
}
@keyframes loadrot {
    0% { rotate: 0deg; scale: 0;}
    100% { scale: 1;}
}
@keyframes spotlight {
    0% {
        transform: rotateZ(0deg) scale(1);
        filter: blur(15px) opacity(0.5);
    }
    20% {
        transform: rotateZ(-1deg) scale(1.2);
        filter: blur(16px) opacity(0.6);
    }    
    40% {
        transform: rotateZ(2deg) scale(1.3);
        filter: blur(14px) opacity(0.4);
    }    
    60% {
        transform: rotateZ(-2deg) scale(1.2);
        filter: blur(15px) opacity(0.6);
    }    
    80% {
        transform: rotateZ(1deg) scale(1.1);
        filter: blur(13px) opacity(0.4);
    }    
    100% {
        transform: rotateZ(0deg) scale(1);
        filter: blur(15px) opacity(0.5);
    }    
}

canvas#particleCanvas {
    position: absolute; pointer-events: none;
    animation: load 0.4s ease-in-out forwards;
    z-index: 1;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

p {
    font-size: 1.5em;
}

.hero {
    width: 100%;
    height: 100%;
    max-height: 140px;
    position: absolute; top: 16em;
}

.heroT {
    position: absolute; left: 0; right: 0; margin: auto;
    height: 20em;
    padding-top: 2em;
    translate: 0 -1.6em;
    opacity: 0;
    animation: load 2s ease-in-out 0.6s forwards;
}
@keyframes load {  
    0% { opacity: 0;}    
    100% { opacity: 1;}    
}
.heroT > h2 {
    position: absolute;left: 0; right: 0; margin: auto;
    width: fit-content;
    
    font-size: 4.5em;
    font-weight: 600;
    color: #9dc3f7;
    text-shadow: 0 2px 16px rgba(174,207,242,.24);
}

/* تطبيق التدرج فقط في الثيم الذهبي */
body.gold .heroT > h2 {
    background:
    radial-gradient( 2em 2em at 50% 50%,
        transparent calc(var(--p) - 2em),
        #f0d568 calc(var(--p) - 1em), 
        #f0d568 calc(var(--p) - 0.4em), 
        transparent var(--p) 
    ),
    linear-gradient(0deg, #f0d568 30%, #d8bd10 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;

    --p:0%;
    transition:--p 3s linear;
    
    animation: pulse 10s linear 1.2s infinite;
}

.heroT h2:nth-child(2) {
    color: rgba(157, 195, 247, 0.4);
    filter: blur(16px);
}

/* تطبيق التدرج فقط في الثيم الذهبي */
body.gold .heroT h2:nth-child(2) {
    background:
    radial-gradient( 2em 2em at 50% 50%,
        transparent calc(var(--p) - 2em),
        transparent calc(var(--p) - 1em),
        #f0d568 calc(var(--p) - 1em), 
        #f0d568 calc(var(--p) - 0.4em), 
        transparent calc(var(--p) - 0.4em), 
        transparent var(--p) 
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(16px) opacity(0.4);
}
@keyframes pulse { 
    0% { --p:0%; }
    50% { --p:300%;}
    100% { --p:300%;}
}
@property --p {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 0%;
}

.heroP {
    font-size: 1.2em;
    position: absolute; left: 0; right: 0; top: 19.9em; margin: auto;
    height: fit-content; width: fit-content; text-align: center;
    opacity: 0;
    translate: 0 1em;
    animation: load 2s ease-out 2s forwards, up 1.4s ease-out 2s forwards;
    color: #d8ecf8;
    text-shadow: 0 2px 16px rgba(174,207,242,.24);
}

/* تطبيق التدرج فقط في الثيم الذهبي */
body.gold .heroP {
    background: linear-gradient(0deg, #f0d568 0, #d8bd10 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@keyframes up {      
    100% { translate: 0; }    
}

.heroSubP {
    position: absolute; left: 0; right: 0; top: 13em; margin: auto;
    height: fit-content;
    opacity: 0;
    translate: 0 -1em;
    animation: load3 2s ease-in 0s forwards, up 1.4s ease-out 0s forwards;
}
@keyframes load3 {  
    0% { opacity: 0;}    
    100% { opacity: 0.7;}    
}
.heroSubP p {
    font-size: 1em;
    position: relative; width: fit-content; margin: auto;
    color: #d8ecf8;
    text-shadow: 0 2px 16px rgba(174,207,242,.24);
}

/* تطبيق التدرج فقط في الثيم الذهبي */
body.gold .heroSubP p {
    background: linear-gradient(0deg, #f0d568 0, #d8bd10 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.heroSubP p::before,
.heroSubP p::after {
    position: absolute; top: 60%; 
    display: block; content: '';
    width: 5em; height: 1px;
    opacity: 0;
    animation: load2 1.4s ease-in-out 0s forwards, up 1.4s ease-out 0s forwards;
}
@keyframes load2 {  
    0% { opacity: 0;}    
    100% { opacity: 0.3;}    
}
.heroSubP p::before{
    background: linear-gradient( -90deg, #9dc3f7 0%, transparent 100%);
    right: 120%;
    translate: -5em 0;
}
.heroSubP p::after {
    background: linear-gradient( 90deg, #9dc3f7 0%, transparent 100%);
    left: 120%;
    translate: 5em 0;
}

.accent-lines {
    pointer-events: none;
    position: absolute; top: 0; left: 0; right: 0;
    width: 100%; height: 42em;
    z-index: -2;
    --accent-lines-clr: rgba(186, 215, 247, .18);
}
.accent-lines > div {
    position: absolute; top: 0; right: 0; left: 0; margin: auto;
    height: 100%; width: 100%;
}
.accent-lines > div:nth-child(1) > div{
    position: absolute; top: 0; right: 0; left: 0; margin: auto;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-lines-clr), transparent);
    opacity: 0; scale: 0;
    animation: accentload 2s ease-out 2.4s forwards;
}
.accent-lines > div:nth-child(1) > div:nth-child(1){ top: 6em; }
.accent-lines > div:nth-child(1) > div:nth-child(2){ top: 11em; }
.accent-lines > div:nth-child(1) > div:nth-child(3){ top: 16em; }
.accent-lines > div:nth-child(1) > div:nth-child(4){ top: 24em; }
.accent-lines > div:nth-child(1) > div:nth-child(5){ top: 29em; }
.accent-lines > div:nth-child(2) > div{
    position: absolute; top: 0; right: 0; left: 0; margin: auto;
    width: 1px; height: 100%;
    background: var(--accent-lines-clr);
}
@keyframes accentload {
    0% {
        opacity: 0; scale: 0;
    }
    100% {
        opacity: 1; scale: 1;
    }
}

.accent-lines > div:nth-child(2) > div {
    opacity: 0; scale: 0;
    animation: accentload 2s ease-out 2s forwards;
}
.accent-lines > div:nth-child(2) > div:nth-child(1){ left: 24em; }
.accent-lines > div:nth-child(2) > div:nth-child(2){ left: 34em; }
.accent-lines > div:nth-child(2) > div:nth-child(3){ right: 24em; }
.accent-lines > div:nth-child(2) > div:nth-child(4){ right: 34em; }

.accent-lines > div:nth-child(1) > div::before, 
.accent-lines > div:nth-child(1) > div::after { 
    content: ''; display: none; position: absolute;
    width: 0.2em; height: 0.2em; border-radius: 1em;
    background: #9dc3f7;
    left: 0; right: 0; margin: auto;
    translate: 0 -1px;

    opacity: 0; scale: 0;
    animation: accentload 2s ease-out 4.4s forwards;
}

.accent-lines > div:nth-child(1) > div:nth-child(3)::before{ display: block; left: 24em; }
.accent-lines > div:nth-child(1) > div:nth-child(3)::after{ display: block; right: 24em; }
.accent-lines > div:nth-child(1) > div:nth-child(4)::before{ display: block; left: 24em; }
.accent-lines > div:nth-child(1) > div:nth-child(4)::after{ display: block; right: 24em; }
.accent-lines > div:nth-child(1) > div:nth-child(5)::before{ display: block; left: 24em; }
.accent-lines > div:nth-child(1) > div:nth-child(5)::after{ display: block; right: 24em; }

.accent-lines > div:nth-child(1) > div:nth-child(2)::before,
.accent-lines > div:nth-child(1) > div:nth-child(2)::after{ 
    display: block; width: 5em; height: 1px; border-radius: 0; opacity: 0.12;
}
.accent-lines > div:nth-child(1) > div:nth-child(2)::before{
    right: 24em; rotate: 45deg; translate: -2.5em 2.5em;
}
.accent-lines > div:nth-child(1) > div:nth-child(2)::after{
    right: 24em; rotate: -45deg; translate: -2.5em 2.5em;
}
.accent-lines > div:nth-child(1) > div:nth-child(1)::before,
.accent-lines > div:nth-child(1) > div:nth-child(1)::after{ 
    display: block; width: 5em; height: 1px; border-radius: 0; opacity: 0.12;
}
.accent-lines > div:nth-child(1) > div:nth-child(1)::before{
    left: 24em; rotate: 45deg; translate: 2.5em 7.5em;
}
.accent-lines > div:nth-child(1) > div:nth-child(1)::after{
    left: 24em; rotate: -45deg; translate: 2.5em 7.5em;
}

.accent-lines > div:nth-child(1) > div:nth-child(2)::before,
.accent-lines > div:nth-child(1) > div:nth-child(2)::after {
    opacity: 0; scale: 0;
    animation: accentload2 2s ease-out 2.4s forwards;
}
.accent-lines > div:nth-child(1) > div:nth-child(1)::before,
.accent-lines > div:nth-child(1) > div:nth-child(1)::after {
    opacity: 0; scale: 0;
    animation: accentload3 2s ease-out 2.4s forwards;
} 
@keyframes accentload2 {
    0% {
        opacity: 0; scale: 0; transform: rotate(360deg);
    }
    50% { scale: 0; }
    100% {
        opacity: 0.12; scale: 1; transform: rotate(0deg);
    }
}
@keyframes accentload3 {
    0% {
        opacity: 0; scale: 0; transform: rotate(-360deg);
    }
    50% { scale: 0; }
    100% {
        opacity: 0.12; scale: 1; transform: rotate(0deg);
    }
}

.mountains {
    position: absolute; left: 0; right: 0; top: 31em; margin: auto;
    width: 100%; height: 10em;
    pointer-events: none;
}
.mountains::before {
    content: ''; display: block;
    width: 100%; height: 500%;
    position: absolute; top: 0%;
    background: linear-gradient(90deg, #121521 0%, transparent 50%);
    background: linear-gradient(0deg, #121521 80%, transparent 90%);
    z-index: 2;
}
.mountains > div {
    box-shadow: 
    -1em -0.2em 0.4em -1.1em #c2ccff,
    inset 0em 0em 0em 2px #c2ccff,
    inset 0.2em 0.3em 0.2em -0.2em #c2ccff,
    inset 10.2em 10.3em 2em -10em #d4e6ff2f;
    background: #121521;
    z-index: 1;
    filter: brightness(0.8);
    position: absolute; left: 0; right: 0; margin: auto;
    width: 20em; height: 20em;
    rotate: 45deg;
}
.mountains > div:nth-child(1) {
    bottom: -240%; 
    translate: -6em 2em;
    animation: mountainload1 2s ease-out 2.4s forwards;
}
.mountains > div:nth-child(2) {
    bottom: -240%;
    translate: -2em 0em;
    width: 14em; height: 20em;
    animation: mountainload2 2s ease-out 2.2s forwards;
}
.mountains > div:nth-child(3) {
    bottom: -240%; 
    translate: 6em 3em;
    animation: mountainload1 2s ease-out 2s forwards;
}
@keyframes mountainload1 {
    0% { bottom: -240%; }
    100% { bottom: -140%; }
}
@keyframes mountainload2 {
    0% { bottom: -240%; }
    100% { bottom: -108%; }
}
.mountains > div::before {
    content: ''; display: block;
    background: repeating-radial-gradient( at 100% 100%, transparent 0%, #c2ccff22 2px, transparent 4px);
    width: 12em; height: 12em;
    position: absolute;
    left: 0; top: 0;
    border-bottom-right-radius: 100%;
}

.hero-spacer {
    height: 40em;
    pointer-events: none;
}

.content-section {
    position: relative;
    z-index: 1112;
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 20em 0 16em 0;
    overflow: hidden;
    min-height: 45em;
}

.content-section p.subt {
    color: #d8ecf8be;
    font-size: 0.8em;
    font-weight: 200;
    position: relative;
    width: fit-content;
    margin: auto;
    z-index: 10;
}
.content-section h3 {
    margin: 0.4em 0 0.6em 0;
    font-size: 1.8em;
    font-weight: 600;
    color: #d8ecf8;
    text-shadow: 0 2px 16px rgba(174,207,242,.24);
    position: relative;
    z-index: 10;
}

/* تطبيق التدرج فقط في الثيم الذهبي */
body.gold .content-section h3 {
    background: linear-gradient(0deg, #f0d568 0, #d8bd10 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}
.content-section p.subp {
    color: #d8ecf8be;
    font-size: 1em;
    font-weight: 400;
    max-width: 26em;
    margin: auto;
    position: relative;
    z-index: 10;
}

.content-section p.subt::before,
.content-section p.subt::after {
    position: absolute; top: 60%; 
    display: block; content: '';
    width: 5em; height: 1px;
    opacity: 0.5;
}
.content-section p.subt::before{
    background: linear-gradient( -90deg, #9dc3f7 0%, transparent 100%);
    right: 120%;
    top: 50%;
}
.content-section p.subt::after {
    background: linear-gradient( 90deg, #9dc3f7 0%, transparent 100%);
    left: 120%;
    top: 50%;
}

.content-section .content-acc {
    position: absolute;
    left: 0; right: 0; top: 30%; margin: auto;
    display: flex; justify-content: center;
    z-index: 1;
}
.content-section .content-acc div{
    width: 12em; height: 12em;
    border-radius: 50%;
    box-shadow: 
    -1em -0.2em 0.4em -1.1em #c2ccff,
    inset 0em 0em 0em 2px #c2ccff,
    inset 0.2em 0.3em 0.2em -0.2em #c2ccff,
    inset -1.2em 2.3em 2em -0.5em #d4e6ff2f;
    background: #121521;
    z-index: 1;
    filter: brightness(0.8);
    background: repeating-radial-gradient( at 50% 50%, transparent 0%, #c2ccff22 2px, transparent 4px);
    translate: -22em 0;
}
.content-section .content-acc div:nth-child(2){
    translate: 22em 15em;
    border-radius: 2em;
    box-shadow: 
    -1em -0.2em 0.4em -1.1em #c2ccff,
    inset 0em 0em 0em 2px #c2ccff,
    inset 0.2em 0.3em 0.2em -0.2em #c2ccff,
    inset 10.8em 11.3em 2em -10.5em #d4e6ff2f;
}

/* ===== قسم الخدمات ===== */
.services-section {
    position: relative;
    z-index: 10;
    padding: var(--section-spacing) 2rem;
    background: linear-gradient(0deg, rgba(5, 6, 15, 0.9), rgba(18, 21, 33, 0.9));
    color: var(--text-color);
    text-align: center;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%2398c0ef22" stroke-width="0.5"/></svg>');
    opacity: 0.1;
    z-index: -1;
}

.section-header {
    margin-bottom: 4rem;
    position: relative;
    padding: 0 1rem;
}

.section-header h2 {
    font-size: 2em;
    margin-bottom: 0.8rem;
    color: var(--primary-light);
    display: inline-block;
    position: relative;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(152, 192, 239, 0.3);
}

/* تطبيق التدرج فقط في الثيم الذهبي */
body.gold .section-header h2 {
    background: linear-gradient(0deg, #f0d568 0, #d8bd10 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.section-header h2::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(152, 192, 239, 0.2), transparent 70%);
    border-radius: 50%;
    right: -20px;
    top: -20px;
    z-index: -1;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section-header p {
    font-size: 1.2em;
    opacity: 0.9;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: rgba(18, 21, 33, 0.8);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    width: 320px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(152, 192, 239, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(152, 192, 239, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: center;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(152, 192, 239, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5em;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    transition: transform 0.4s ease;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(152, 192, 239, 0.2), transparent 70%);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.4s ease;
}

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

.service-card:hover .service-icon::after {
    width: 80px;
    height: 80px;
    opacity: 0.8;
}

.service-card h3 {
    font-size: 1.4em;
    margin-bottom: 1.2rem;
    color: var(--primary-light);
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(152, 192, 239, 0.2);
}

.service-card p {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 1rem;
}

/* أنماط علامات التقنيات */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tech-tags span {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    background: rgba(152, 192, 239, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(152, 192, 239, 0.3);
    transition: all 0.3s ease;
}

.tech-tags span:hover {
    background: rgba(152, 192, 239, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

body.gold .tech-tags span {
    background: rgba(216, 189, 16, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(216, 189, 16, 0.3);
}

body.gold .tech-tags span:hover {
    background: rgba(216, 189, 16, 0.25);
}

/* ===== قسم لماذا تختارنا ===== */
.why-us-section {
    position: relative;
    z-index: 10;
    padding: var(--section-spacing) 2rem;
    background: linear-gradient(0deg, rgba(18, 21, 33, 0.9), rgba(5, 6, 15, 0.9));
    color: var(--text-color);
    text-align: center;
    overflow: hidden;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(152, 192, 239, 0.05), transparent 60%);
    z-index: -1;
}

.why-us-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(152, 192, 239, 0.05), transparent 60%);
    z-index: -1;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.features-container::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(152, 192, 239, 0.2), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.feature {
    display: flex;
    align-items: flex-start;
    text-align: right;
    background: rgba(5, 6, 15, 0.8);
    border-radius: 16px;
    padding: 2.5rem;
    width: 520px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(152, 192, 239, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(152, 192, 239, 0.1), transparent 70%);
    border-radius: 0 16px 0 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(152, 192, 239, 0.4);
}

.feature:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-left: 2rem;
    position: relative;
    transition: all 0.4s ease;
}

.feature-icon::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(152, 192, 239, 0.15), transparent 70%);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.4s ease;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px dashed rgba(152, 192, 239, 0.3);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.4s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.1);
    color: var(--primary-light);
}

.feature:hover .feature-icon::before {
    width: 70px;
    height: 70px;
    opacity: 0.3;
}

.feature:hover .feature-icon::after {
    width: 50px;
    height: 50px;
    border-color: rgba(152, 192, 239, 0.5);
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 1.4em;
    margin-bottom: 0.8rem;
    color: var(--primary-light);
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(152, 192, 239, 0.2);
}

.feature-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.4s ease;
}

.feature:hover .feature-content h3::after {
    width: 100%;
}

.feature-content p {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
}

/* ===== قسم مراحل العمل ===== */
.workflow-section {
    position: relative;
    z-index: 10;
    padding: var(--section-spacing) 2rem;
    background: linear-gradient(0deg, rgba(5, 6, 15, 0.9), rgba(18, 21, 33, 0.9));
    color: var(--text-color);
    text-align: center;
    overflow: hidden;
}

.workflow-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(152, 192, 239, 0.05), transparent 70%);
    top: 20%;
    left: -100px;
    border-radius: 50%;
    z-index: -1;
}

.workflow-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(152, 192, 239, 0.03), transparent 70%);
    bottom: 10%;
    right: -150px;
    border-radius: 50%;
    z-index: -1;
}

.workflow-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.workflow-container::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    z-index: -1;
    opacity: 0.6;
}

.workflow-container::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    filter: blur(4px);
    z-index: -2;
    opacity: 0.2;
}

.workflow-step {
    background: rgba(18, 21, 33, 0.8);
    border-radius: 20px;
    padding: 3rem 2rem 2.5rem;
    width: 220px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(152, 192, 239, 0.15);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.workflow-step::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 50% 0%, rgba(152, 192, 239, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.workflow-step::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 60px;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 3;
    box-shadow: 0 0 20px var(--primary-color);
    transition: transform 0.5s ease;
}

.workflow-step:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(152, 192, 239, 0.4);
}

.workflow-step:hover::before {
    opacity: 1;
}

.workflow-step:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    color: var(--bg-dark);
    margin: 0 auto 2rem;
    position: relative;
    box-shadow: 0 5px 15px rgba(152, 192, 239, 0.3);
    transition: all 0.5s ease;
}

.step-number::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border: 1px dashed rgba(152, 192, 239, 0.4);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    margin-top: -45px;
    margin-left: -45px;
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.workflow-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(152, 192, 239, 0.4);
}

.workflow-step h3 {
    font-size: 1.3em;
    margin-bottom: 1.2rem;
    color: var(--primary-light);
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(152, 192, 239, 0.2);
}

.workflow-step h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.5s ease;
}

.workflow-step:hover h3::after {
    width: 100%;
}

.workflow-step p {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.workflow-step:hover p {
    opacity: 1;
}

/* ===== قسم المشاريع السابقة ===== */
.projects-section {
    position: relative;
    z-index: 10;
    padding: var(--section-spacing) 2rem;
    background: linear-gradient(0deg, rgba(18, 21, 33, 0.9), rgba(5, 6, 15, 0.9));
    color: var(--text-color);
    text-align: center;
    overflow: hidden;
}

/* تنسيق خاص لمشاريع تطبيقات الجوال */
.mobile-app-project .project-image {
    max-width: 300px !important;
    margin: 0 auto !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    background-size: contain !important;
}

.projects-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="1" fill="%2398c0ef22"/></svg>');
    opacity: 0.1;
    z-index: -1;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 5rem;
    /* ضمان عرض جميع المشاريع */
    grid-template-rows: auto auto auto auto;
    min-height: auto;
    height: auto;
}

.project-card {
    background: rgba(5, 6, 15, 0.8);
    border-radius: 20px;
}

/* تنسيق خاص لحاوية مشاريع تطبيقات الهاتف */
.mobile-app-project {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    width: 100%;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(152, 192, 239, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    /* تعديلات مُحسّنة لضمان الظهور */
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    max-height: none !important;
    min-height: auto !important;
    height: auto !important;
    margin-bottom: 20px !important;
    position: relative !important;
    z-index: 1 !important;
}

.project-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.project-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(152, 192, 239, 0.4);
}

.project-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.project-image {
    height: 240px !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    transition: all 0.5s ease !important;
    overflow: hidden !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(5, 6, 15, 0.8), rgba(5, 6, 15, 0.2));
    z-index: 1;
    transition: all 0.5s ease;
}

.project-card:hover .project-image::before {
    background: linear-gradient(0deg, rgba(5, 6, 15, 0.6), rgba(5, 6, 15, 0.1));
}

.project-image::after {
    content: 'عرض المشروع';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(152, 192, 239, 0.9);
    color: var(--bg-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    z-index: 2;
    transition: all 0.5s ease;
    opacity: 0;
}

.project-card:hover .project-image::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

/* أنماط زر تحديث المحتوى */
.refresh-btn {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-color));
    color: var(--primary-color);
    border: 1px solid rgba(152, 192, 239, 0.3);
    border-radius: 8px;
    padding: 8px 15px;
    margin: 15px auto 0;
    display: block;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: var(--bg-dark);
    border-color: rgba(152, 192, 239, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.gold .refresh-btn {
    color: var(--primary-color);
    border-color: rgba(216, 189, 16, 0.3);
}

body.gold .refresh-btn:hover {
    border-color: rgba(216, 189, 16, 0.6);
}

/* إضافة متغير يمنع تخزين الصور مؤقتًا عند تغييرها */
:root {
    --cache-buster: 2;
}

.project-1 {
    background-image: url('images/pro1.jpg?v=var(--cache-buster)') !important;
}

.project-2 {
    background-image: url('images/pro4.png?v=var(--cache-buster)') !important;
}

.project-3 {
    background-image: url('images/pro5.png?v=var(--cache-buster)') !important;
}

.project-4 {
    background-image: url('images/pro6.png?v=var(--cache-buster)') !important;
}

.project-5 {
    background-image: url('images/pro7.png?v=var(--cache-buster)') !important;
}

.project-6 {
    background-image: url('images/pro9.png?v=var(--cache-buster)') !important;
    background-size: contain !important; /* تجاوز تنسيق cover لصورة تطبيق الهاتف */
    background-repeat: no-repeat !important;
    background-position: center !important;
    height: 380px !important; /* زيادة ارتفاع الصورة لتظهر بشكل أفضل */
    max-width: 500px !important; /* تحديد عرض أقصى لمنع تشويه النسب */
    margin: 0 auto !important; /* توسيط الصورة */
}

.project-7 {
    background-image: url('images/pro10.png') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    height: 240px !important;
}

.project-8 {
    background-image: url('images/pro11.png') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    height: 240px !important;
}

.project-9 {
    background-image: url('images/pro12.png') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    height: 240px !important;
}

.project-10 {
    background-image: url('images/pro13.png') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    height: 240px !important;
}

.project-info {
    padding: 2rem;
    text-align: right;
    position: relative;
    z-index: 2;
    background: rgba(5, 6, 15, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.project-info h3 {
    font-size: 1.4em;
    margin-bottom: 1rem;
    color: var(--primary-light);
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(152, 192, 239, 0.2);
}

.project-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.5s ease;
}

.project-card:hover .project-info h3::after {
    width: 100%;
}

.project-info p {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.8rem !important;
    justify-content: flex-end !important;
}

.project-tech span {
    background: rgba(152, 192, 239, 0.1) !important;
    border: 1px solid rgba(152, 192, 239, 0.3) !important;
    border-radius: 30px !important;
    padding: 0.4rem 1rem !important;
    font-size: 0.9em !important;
    color: var(--primary-color) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.project-tech span:hover {
    background: rgba(152, 192, 239, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== قسم الشهادات والآراء ===== */
.testimonials-section {
    position: relative;
    z-index: 10;
    padding: var(--section-spacing) 2rem;
    background: linear-gradient(0deg, rgba(5, 6, 15, 0.9), rgba(18, 21, 33, 0.9));
    color: var(--text-color);
    text-align: center;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(152, 192, 239, 0.03), transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    z-index: -1;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(152, 192, 239, 0.03), transparent 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
    z-index: -1;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.testimonials-container::before {
    content: '"';
    position: absolute;
    font-size: 20em;
    color: rgba(152, 192, 239, 0.03);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    font-family: serif;
    z-index: -1;
}

.testimonial-card {
    background: rgba(18, 21, 33, 0.8);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    width: 380px;
    text-align: right;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(152, 192, 239, 0.15);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(152, 192, 239, 0.1), transparent 70%);
    top: -75px;
    right: -75px;
    border-radius: 50%;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(152, 192, 239, 0.4);
}

.testimonial-card:hover::before {
    opacity: 1;
}

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

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-content i {
    position: absolute;
    top: -20px;
    right: -15px;
    font-size: 2em;
    color: var(--primary-color);
    opacity: 0.2;
    transition: all 0.5s ease;
}

.testimonial-card:hover .testimonial-content i {
    transform: scale(1.2) rotate(10deg);
    opacity: 0.4;
}

.testimonial-content p {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.testimonial-content p::first-letter {
    font-size: 1.5em;
    color: var(--primary-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    margin-right: 1.5rem;
    opacity: 0.8;
    position: relative;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-image::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border: 1px dashed rgba(152, 192, 239, 0.4);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card:hover .author-image {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(152, 192, 239, 0.2);
}

.testimonial-card:hover .author-image::before {
    opacity: 1;
}

.author-info {
    text-align: right;
}

.author-info h4 {
    font-size: 1.2em;
    margin: 0 0 0.3rem;
    color: var(--primary-light);
    position: relative;
    display: inline-block;
}

.author-info h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.5s ease;
}

.testimonial-card:hover .author-info h4::after {
    width: 100%;
}

.author-info p {
    font-size: 0.9em;
    margin: 0;
    color: var(--text-color);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-info p {
    opacity: 1;
}

/* ===== قسم التواصل ===== */
.contact-section {
    position: relative;
    z-index: 10;
    padding: calc(var(--section-spacing) * 1.2) 2rem;
    background: linear-gradient(135deg, 
        rgba(5, 6, 15, 0.98) 0%, 
        rgba(18, 21, 33, 0.95) 50%, 
        rgba(5, 6, 15, 0.98) 100%);
    color: var(--text-color);
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
}

.contact-background-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.contact-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: floatOrb 20s ease-in-out infinite;
}

.contact-gradient-orb.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    top: -250px;
    right: -100px;
    animation-delay: 0s;
}

.contact-gradient-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-color), transparent 70%);
    bottom: -200px;
    left: -100px;
    animation-delay: 5s;
}

.contact-gradient-orb.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-light), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 50px) scale(0.9);
    }
    75% {
        transform: translate(40px, 30px) scale(1.05);
    }
}

.contact-floating-particles {
    position: absolute;
    inset: 0;
}

.contact-floating-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    animation: floatParticle 15s ease-in-out infinite;
}

.contact-floating-particles span:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.contact-floating-particles span:nth-child(2) {
    top: 50%;
    left: 80%;
    animation-delay: 3s;
}

.contact-floating-particles span:nth-child(3) {
    top: 70%;
    left: 20%;
    animation-delay: 6s;
}

.contact-floating-particles span:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 9s;
}

.contact-floating-particles span:nth-child(5) {
    top: 80%;
    left: 50%;
    animation-delay: 12s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-100px) translateX(50px);
    }
}

.contact-main-title {
    font-size: 2em;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 0.8rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.contact-main-title i {
    font-size: 0.85em;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.contact-subtitle {
    font-size: 0.95em;
    color: rgba(216, 236, 248, 0.8);
    max-width: 500px;
    margin: 0.3rem auto 1.2rem;
    line-height: 1.5;
    animation: fadeInUp 1s ease-out 0.4s both;
    position: relative;
    z-index: 1;
}

.title-underline {
    width: 70px;
    height: 2.5px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto 2rem;
    border-radius: 10px;
    animation: expandWidth 1s ease-out 0.6s both;
    position: relative;
    z-index: 1;
}

@keyframes expandWidth {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 120px;
        opacity: 1;
    }
}

.contact-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        repeating-linear-gradient(90deg, 
            rgba(152, 192, 239, 0.03) 0px, 
            transparent 1px, 
            transparent 80px, 
            rgba(152, 192, 239, 0.03) 81px),
        repeating-linear-gradient(0deg, 
            rgba(152, 192, 239, 0.03) 0px, 
            transparent 1px, 
            transparent 80px, 
            rgba(152, 192, 239, 0.03) 81px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.contact-section::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    bottom: 0;
    left: 0;
    opacity: 0.3;
    z-index: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.8s both;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.contact-info-wrapper,
.contact-form-wrapper {
    position: relative;
    animation: slideInUp 1s ease-out both;
}

.contact-info-wrapper {
    animation-delay: 1s;
}

.contact-form-wrapper {
    animation-delay: 1.2s;
}

@keyframes slideInUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.contact-info {
    text-align: right;
    position: relative;
    padding: 1.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(18, 21, 33, 0.6), rgba(5, 6, 15, 0.8));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(152, 192, 239, 0.2);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color), 
        var(--accent-color), 
        transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

.contact-info:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 50px rgba(152, 192, 239, 0.2),
                0 0 20px rgba(152, 192, 239, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(152, 192, 239, 0.4);
}

.contact-info-header {
    margin-bottom: 1.2rem;
    text-align: center;
}

.contact-info-header h3 {
    font-size: 1.15em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.header-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
    border-radius: 10px;
}

.info-items-grid {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 15px;
    background: rgba(5, 6, 15, 0.5);
    border: 1px solid rgba(152, 192, 239, 0.1);
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(152, 192, 239, 0.1));
    transition: width 0.4s ease;
    z-index: 0;
}

.info-item:hover {
    transform: translateX(-10px) scale(1.02);
    border-color: rgba(152, 192, 239, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-item:hover::before {
    width: 100%;
}

.info-icon-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.icon-bg-pulse {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.info-icon-wrapper i {
    font-size: 1.3em;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.info-item:hover .info-icon-wrapper i {
    transform: scale(1.2) rotate(15deg);
    color: var(--primary-light);
}

.info-content {
    text-align: right;
    z-index: 1;
    position: relative;
}

.info-label {
    display: block;
    font-size: 0.75em;
    color: rgba(216, 236, 248, 0.6);
    margin-bottom: 0.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content p {
    font-size: 0.95em;
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
    transition: all 0.3s ease;
}

.info-item:hover .info-content p {
    color: var(--primary-light);
}

.social-media-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(152, 192, 239, 0.1);
}

.social-media-section h4 {
    font-size: 1em;
    color: var(--primary-light);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.social-media {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(152, 192, 239, 0.1), rgba(194, 204, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(152, 192, 239, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.social-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    padding: 0.5rem 1rem;
    background: rgba(18, 21, 33, 0.95);
    color: var(--primary-light);
    border-radius: 8px;
    font-size: 0.75em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(152, 192, 239, 0.3);
    z-index: 10;
}

.social-ripple {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: all 0.6s ease;
}

.social-icon i {
    position: relative;
    z-index: 1;
    font-size: 1.1em;
    transition: all 0.5s ease;
}

.social-icon:hover {
    transform: translateY(-8px) rotate(360deg) scale(1.08);
    box-shadow: 0 12px 30px rgba(152, 192, 239, 0.4),
                0 0 15px rgba(152, 192, 239, 0.2);
    border-color: var(--primary-light);
}

.social-icon:hover::before {
    transform: translateY(0);
}

.social-icon:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    top: -50px;
}

.social-icon:hover i {
    color: var(--bg-dark);
    transform: scale(1.1);
}

.social-icon:hover .social-ripple {
    transform: scale(2);
    opacity: 0.3;
}

.contact-decoration {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    opacity: 0.5;
}

.deco-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.deco-circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

.contact-form {
    position: relative;
    padding: 1.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(5, 6, 15, 0.8), rgba(18, 21, 33, 0.6));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(152, 192, 239, 0.2);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-color), 
        var(--primary-color), 
        transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.contact-form:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 50px rgba(152, 192, 239, 0.2),
                0 0 20px rgba(152, 192, 239, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(152, 192, 239, 0.4);
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header h3 {
    font-size: 1.15em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.4rem;
}

.form-header p {
    font-size: 0.85em;
    color: rgba(216, 236, 248, 0.7);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85em;
    color: var(--primary-light);
    margin-bottom: 0.6rem;
    font-weight: 600;
    text-align: right;
}

.form-group label i {
    font-size: 0.95em;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 2px solid rgba(152, 192, 239, 0.2);
    background: rgba(5, 6, 15, 0.7);
    color: var(--text-color);
    font-family: 'Tajawal', sans-serif;
    font-size: 0.9em;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(5, 6, 15, 0.9);
    box-shadow: 0 0 20px rgba(152, 192, 239, 0.2),
                inset 0 0 10px rgba(152, 192, 239, 0.05);
    transform: translateY(-3px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(216, 236, 248, 0.4);
    transition: all 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0;
    transform: translateX(10px);
}

.input-focus-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.4s ease;
    border-radius: 10px;
    z-index: 2;
}

.form-group input:focus ~ .input-focus-effect,
.form-group textarea:focus ~ .input-focus-effect {
    width: 100%;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.submit-btn {
    position: relative;
    width: 100%;
    padding: 1rem;
    border-radius: 15px;
    border: none;
    background: linear-gradient(135deg, rgba(18, 21, 33, 0.9), rgba(5, 6, 15, 0.9));
    color: var(--primary-color);
    font-family: 'Tajawal', sans-serif;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 2px solid rgba(152, 192, 239, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-top: 0.8rem;
}

.btn-bg-effect {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.submit-btn:hover .btn-bg-effect {
    opacity: 1;
}

.submit-btn:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 18px 40px rgba(152, 192, 239, 0.3),
                0 0 20px rgba(152, 192, 239, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--primary-light);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.submit-btn:hover .btn-shine {
    left: 100%;
}

.submit-btn .glow {
    --border-width: 2px;
    --loop-cycle: 20s;
    position: absolute;
    inset: calc(var(--border-width)* -1);
    border-radius: 20px;
    border: var(--border-width) solid transparent;
    -webkit-mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
    mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
    -webkit-mask-clip: padding-box, border-box;
    mask-clip: padding-box, border-box;
    -webkit-mask-composite: source-in, xor;
    mask-composite: intersect;
    pointer-events: none;
    z-index: 2;
}

.submit-btn:hover .glow {
    --loop-cycle: 2s;
}

.submit-btn .glow::after, 
.submit-btn .glow::before {
    content: "";
    height: 100%;
    offset-anchor: 100% 50%;
    background: radial-gradient(circle at 50% 50%, hsla(0, 0%, 100%, 0.75), transparent 50%), 
                radial-gradient(circle at 50% 50%, var(--primary-color) 50%, transparent);
    opacity: 0.5;
    offset-path: rect(0 100% 100% 0 round 20px);
    position: absolute;
    display: inline-block;
    -webkit-animation: loop var(--loop-cycle) linear infinite;
    animation: loop var(--loop-cycle) linear infinite;
    aspect-ratio: 1 / 1;
    transition: opacity 0.5s ease-in-out;
}

.submit-btn .glow::before {
    animation-delay: calc( var(--loop-cycle) / -2 );
}

.btn-content {
    color: #d8ecf8;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.4s ease;
    text-shadow: 0 2px 10px rgba(152, 192, 239, 0.4);
}

.btn-content i {
    font-size: 1em;
    transition: all 0.4s ease;
}

.submit-btn:hover .btn-content {
    color: var(--bg-dark);
    transform: scale(1.05);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.submit-btn:hover .btn-content i {
    transform: translateX(-5px) rotate(-15deg);
}

body.gold .btn-content {
    background: linear-gradient(135deg, #f0d568, #d8bd10);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.submit-btn:active {
    transform: translateY(-8px) scale(0.98);
}

@media (max-width: 768px) {
    .contact-main-title {
        font-size: 2.5em;
    }
    
    .contact-subtitle {
        font-size: 1.1em;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .contact-info:hover,
    .contact-form:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .social-media {
        flex-wrap: wrap;
    }
    
    .social-icon {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 4rem 1rem;
    }
    
    .contact-main-title {
        font-size: 2em;
    }
    
    .contact-subtitle {
        font-size: 1em;
    }
    
    .section-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.9em;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info-header h3,
    .form-header h3 {
        font-size: 1.5em;
    }
    
    .info-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .info-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .info-icon-wrapper i {
        font-size: 1.5em;
    }
    
    .info-label {
        font-size: 0.75em;
    }
    
    .info-content p {
        font-size: 1em;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-icon i {
        font-size: 1.2em;
    }
    
    .submit-btn {
        padding: 1.2rem;
        font-size: 1em;
    }
    
    .form-group label {
        font-size: 0.9em;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 0.95em;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

body.gold .contact-gradient-orb.orb-1 {
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
}

body.gold .contact-gradient-orb.orb-2 {
    background: radial-gradient(circle, var(--accent-color), transparent 70%);
}

body.gold .contact-gradient-orb.orb-3 {
    background: radial-gradient(circle, var(--primary-light), transparent 70%);
}

body.gold .contact-floating-particles span {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

body.gold .section-badge {
    background: rgba(216, 189, 16, 0.1);
    border-color: rgba(216, 189, 16, 0.3);
}

body.gold .section-badge i {
    color: var(--primary-color);
}

body.gold .section-badge span {
    color: var(--primary-light);
}

body.gold .contact-main-title {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.gold .contact-subtitle {
    color: rgba(240, 213, 104, 0.9);
}

body.gold .title-underline {
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

body.gold .contact-info,
body.gold .contact-form {
    border-color: rgba(216, 189, 16, 0.3);
}

body.gold .contact-info:hover,
body.gold .contact-form:hover {
    border-color: rgba(216, 189, 16, 0.6);
    box-shadow: 0 30px 80px rgba(216, 189, 16, 0.2),
                0 0 30px rgba(216, 189, 16, 0.1);
}

body.gold .contact-info::before,
body.gold .contact-form::before {
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), transparent);
}

body.gold .contact-info-header h3,
body.gold .form-header h3 {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.gold .header-line {
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

body.gold .info-item {
    border-color: rgba(216, 189, 16, 0.2);
}

body.gold .info-item:hover {
    border-color: rgba(216, 189, 16, 0.4);
}

body.gold .icon-bg-pulse {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

body.gold .info-icon-wrapper i {
    color: var(--primary-color);
}

body.gold .info-item:hover .info-icon-wrapper i {
    color: var(--primary-light);
}

body.gold .info-label {
    color: rgba(240, 213, 104, 0.7);
}

body.gold .info-item:hover .info-content p {
    color: var(--primary-light);
}

body.gold .social-media-section h4 {
    color: var(--primary-light);
}

body.gold .social-icon {
    border-color: rgba(216, 189, 16, 0.4);
    background: linear-gradient(135deg, rgba(216, 189, 16, 0.1), rgba(240, 213, 104, 0.1));
}

body.gold .social-icon:hover {
    border-color: var(--primary-light);
    box-shadow: 0 15px 40px rgba(216, 189, 16, 0.4),
                0 0 20px rgba(216, 189, 16, 0.2);
}

body.gold .social-icon::before {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

body.gold .deco-circle {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

body.gold .deco-line {
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

body.gold .form-group input,
body.gold .form-group textarea {
    border-color: rgba(216, 189, 16, 0.3);
}

body.gold .form-group input:focus,
body.gold .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(216, 189, 16, 0.2);
}

body.gold .input-focus-effect {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

body.gold .submit-btn {
    border-color: rgba(216, 189, 16, 0.5);
}

body.gold .submit-btn:hover {
    border-color: var(--primary-light);
    box-shadow: 0 25px 50px rgba(216, 189, 16, 0.3),
                0 0 30px rgba(216, 189, 16, 0.2);
}

body.gold .btn-bg-effect {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

/* ===== Footer ===== */
.footer {
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, rgba(5, 6, 15, 0.98) 0%, rgba(5, 6, 15, 1) 100%);
    color: var(--text-color);
    padding: 6rem 2rem 2rem;
    text-align: center;
    overflow: hidden;
    border-top: 2px solid rgba(152, 192, 239, 0.2);
    box-shadow: 0 -5px 30px rgba(152, 192, 239, 0.05);
}

.footer::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    top: 0;
    left: 0;
    opacity: 0.3;
}

.footer::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="20" height="20" fill="none" stroke="%2398c0ef11" stroke-width="0.5"/></svg>');
    opacity: 0.1;
    z-index: -1;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto 5rem;
    position: relative;
    gap: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
    text-align: right;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.footer-logo h2 {
    font-size: 2em;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
    display: inline-block;
    position: relative;
    text-shadow: 0 4px 20px rgba(152, 192, 239, 0.5), 0 0 40px rgba(152, 192, 239, 0.2);
    letter-spacing: 2px;
    font-weight: 800;
}

.footer-logo h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    bottom: -10px;
    right: 0;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.footer-logo:hover h2::after {
    width: 100%;
}

.footer-logo p {
    font-size: 1.05em;
    opacity: 0.95;
    line-height: 2;
    max-width: 450px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer-logo .footer-description {
    font-size: 0.9em;
    opacity: 0.8;
    line-height: 1.8;
    margin-top: 1rem;
    max-width: 550px;
    font-weight: 400;
    letter-spacing: 0.4px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    padding: 0 1rem;
}

.link-group {
    text-align: right;
    min-width: 200px;
}

.link-group h3 {
    font-size: 1.3em;
    margin-bottom: 2rem;
    color: var(--primary-light);
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(152, 192, 239, 0.3);
}

.link-group h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.5s ease;
    box-shadow: 0 0 8px var(--primary-color);
}

.link-group:hover h3::after {
    width: 100%;
}

.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-group ul li {
    margin-bottom: 1.2rem;
    position: relative;
}

.link-group ul li::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    right: -18px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    transition: transform 0.3s ease;
    opacity: 0.8;
    box-shadow: 0 0 8px var(--primary-color);
}

.link-group ul li:hover::before {
    transform: translateY(-50%) scale(1);
}

.link-group ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1em;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.link-group ul li a:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateX(-10px);
}

.footer-bottom {
    border-top: 2px solid rgba(152, 192, 239, 0.15);
    padding-top: 2.5rem;
    text-align: center;
    position: relative;
    margin-top: 3rem;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), var(--primary-color), transparent);
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--primary-color);
}

.footer-bottom p {
    font-size: 0.95em;
    opacity: 0.9;
    position: relative;
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer-bottom p::before,
.footer-bottom p::after {
    content: '•';
    margin: 0 10px;
    color: var(--primary-color);
    opacity: 0.5;
}

/* ===== Responsive Design ===== */
@media (min-width: 1400px) {
    .content-section {
        padding: 22em 2rem 18em 2rem;
        min-height: 50em;
    }
    
    .content-section .content-acc div {
        width: 14em;
        height: 14em;
        translate: -25em 0;
    }
    
    .content-section .content-acc div:nth-child(2) {
        translate: 25em 18em;
    }
}

@media (max-width: 1200px) {
    .feature {
        width: 400px;
    }
    
    .content-section {
        padding: 16em 1.5rem 12em 1.5rem;
    }
    
    .content-section .content-acc div {
        width: 10em;
        height: 10em;
        translate: -18em 0;
    }
    
    .content-section .content-acc div:nth-child(2) {
        translate: 18em 12em;
    }
}

@media (max-width: 992px) {
    .header > :nth-child(1) {
        right: 0;
    }
    
    .header > .contact-btn {
        left: auto;
        right: 2em;
    }
    
    .heroT > h2 {
        font-size: 5em;
    }
    
    .feature {
        width: 100%;
        max-width: 500px;
    }
    
    .workflow-container::before {
        display: none;
    }
    
    .content-section {
        padding: 12em 1rem 10em 1rem;
        min-height: 35em;
    }
    
    .content-section .content-acc div {
        width: 8em;
        height: 8em;
        translate: -15em 0;
    }
    
    .content-section .content-acc div:nth-child(2) {
        translate: 15em 10em;
    }
}

@media (max-width: 768px) {
    .heroT > h2 {
        font-size: 4em;
    }
    
    .heroP {
        font-size: 1em;
    }
    
    .section-header h2 {
        font-size: 2em;
    }
    
    .content-section {
        padding: 10em 1.5rem 8em 1.5rem;
        min-height: 30em;
    }
    
    .content-section h3 {
        font-size: 1.5em;
    }
    
    .content-section p.subp {
        max-width: 22em;
        font-size: 0.95em;
    }
    
    .content-section .content-acc div {
        width: 6em;
        height: 6em;
        translate: -10em 0;
        opacity: 0.5;
    }
    
    .content-section .content-acc div:nth-child(2) {
        translate: 10em 8em;
        width: 5em;
        height: 5em;
    }
    
    .workflow-section::before,
    .workflow-section::after,
    .testimonials-section::before,
    .testimonials-section::after {
        display: none;
    }
    
    .contact-gradient-orb {
        display: none;
    }
    
    .footer {
        padding: 4rem 1.5rem 2rem;
        border-top: 1px solid rgba(152, 192, 239, 0.25);
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0 auto 3rem;
        gap: 2rem;
    }
    
    .footer-logo {
        text-align: center;
        margin-bottom: 2rem;
        width: 100%;
        min-width: auto;
        padding: 0;
    }
    
    .footer-logo h2 {
        font-size: 1.6em;
        margin-bottom: 1rem;
        text-shadow: 0 3px 15px rgba(152, 192, 239, 0.4), 0 0 30px rgba(152, 192, 239, 0.15);
    }
    
    .footer-logo h2::after {
        right: 50%;
        transform: translateX(50%);
        width: 60px;
        bottom: -8px;
    }
    
    .footer-logo:hover h2::after {
        width: 120px;
    }
    
    .footer-logo p {
        font-size: 0.95em;
        max-width: 100%;
        line-height: 1.8;
        padding: 0 1rem;
    }
    
    .footer-logo .footer-description {
        font-size: 0.85em;
        max-width: 100%;
        line-height: 1.7;
        opacity: 0.75;
        padding: 0 1rem;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
        gap: 2rem;
        padding: 0;
    }
    
    .link-group {
        text-align: right;
        min-width: 42%;
        flex: 1;
    }
    
    .link-group h3 {
        font-size: 1.1em;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 8px rgba(152, 192, 239, 0.25);
    }
    
    .link-group h3::after {
        left: auto;
        right: 0;
        transform: none;
        width: 40px;
        bottom: -10px;
    }
    
    .link-group:hover h3::after {
        width: 80px;
    }
    
    .link-group ul li {
        margin-bottom: 1rem;
    }
    
    .link-group ul li a {
        font-size: 0.9em;
    }
    
    .footer-bottom {
        padding: 2rem 1rem 1.5rem;
        text-align: center;
        margin-top: 2rem;
        border-top: 1px solid rgba(152, 192, 239, 0.2);
    }
    
    .footer-bottom::before {
        width: 100px;
        height: 1px;
    }
    
    .footer-bottom p {
        font-size: 0.85em;
        line-height: 1.6;
    }
    
    .contact-info, .info-item {
        justify-content: center;
        text-align: center;
    }
    
    .social-media {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .heroT > h2 {
        font-size: 3em;
    }
    
    .content-section {
        padding: 8em 1rem 6em 1rem;
        min-height: 25em;
    }
    
    .content-section h3 {
        font-size: 1.3em;
        padding: 0 1rem;
    }
    
    .content-section p.subp {
        max-width: 95%;
        font-size: 0.9em;
        padding: 0 1rem;
    }
    
    .content-section .content-acc {
        display: none;
    }
    
    .workflow-section::before,
    .workflow-section::after,
    .testimonials-section::before,
    .testimonials-section::after,
    .services-section::before,
    .services-section::after,
    .why-us-section::before,
    .why-us-section::after,
    .projects-section::before,
    .projects-section::after {
        display: none;
    }
    
    .contact-gradient-orb,
    .contact-floating-particles {
        display: none;
    }
    
    .footer {
        padding: 3rem 1rem 1.5rem;
        border-top: 1px solid rgba(152, 192, 239, 0.3);
        box-shadow: 0 -3px 20px rgba(152, 192, 239, 0.08);
    }
    
    .footer-content {
        gap: 2rem;
        margin: 0 auto 2rem;
        padding: 0 0.5rem;
    }
    
    .footer-logo {
        margin-bottom: 1.5rem;
    }
    
    .footer-logo h2 {
        font-size: 1.4em;
        margin-bottom: 0.8rem;
        text-shadow: 0 2px 12px rgba(152, 192, 239, 0.35), 0 0 25px rgba(152, 192, 239, 0.12);
    }
    
    .footer-logo h2::after {
        width: 50px;
        height: 2px;
        bottom: -7px;
    }
    
    .footer-logo:hover h2::after {
        width: 100px;
    }
    
    .footer-logo p {
        font-size: 0.9em;
        line-height: 1.7;
        padding: 0 0.8rem;
    }
    
    .footer-logo .footer-description {
        font-size: 0.8em;
        line-height: 1.6;
        margin-top: 0.8rem;
        padding: 0 0.8rem;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 1.2rem;
        align-items: flex-start;
        justify-content: space-around;
        padding: 0 0.5rem;
    }
    
    .link-group {
        width: auto;
        max-width: 145px;
        margin-bottom: 0;
        text-align: center;
        flex: 1;
        min-width: 115px;
    }
    
    .link-group h3 {
        font-size: 0.92em;
        margin-bottom: 0.9rem;
        text-shadow: 0 2px 8px rgba(152, 192, 239, 0.22);
        line-height: 1.4;
    }
    
    .link-group h3::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 28px;
        bottom: -7px;
    }
    
    .link-group:hover h3::after {
        width: 55px;
    }
    
    .link-group ul {
        text-align: center;
    }
    
    .link-group ul li {
        margin-bottom: 0.75rem;
        text-align: center;
        display: block;
    }
    
    .link-group ul li::before {
        display: none;
    }
    
    .link-group ul li a {
        font-size: 0.8em;
        display: inline-block;
        word-break: keep-all;
        line-height: 1.5;
    }
    
    .link-group ul li a:hover {
        transform: translateX(0) scale(1.05);
    }
    
    .footer-bottom {
        padding: 1.5rem 0.8rem 1rem;
        margin-top: 1.5rem;
        border-top: 1px solid rgba(152, 192, 239, 0.25);
    }
    
    .footer-bottom::before {
        width: 80px;
        height: 1px;
    }
    
    .footer-bottom p {
        font-size: 0.8em;
        line-height: 1.5;
        padding: 0 0.8rem;
    }
    
    .footer-bottom p::before,
    .footer-bottom p::after {
        display: none;
    }
    
    button.lang-btn {
        width: 5em;
        height: 1.8em;
        font-size: 0.85em;
        left: 0.5em;
    }
    
    .header > div.mid-spot {
        width: 1.5em;
        height: 1.5em;
    }
    
    .contact-btn {
        width: auto;
        min-width: 6em;
        height: 1.8em;
        font-size: 0.85em;
        right: 0.5em;
        padding: 0 0.8em;
    }
    
    .contact-btn-content {
        font-size: 0.8em;
    }
    
    .service-card, .project-card, .testimonial-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0.8rem 1.2rem;
        border-top: 1px solid rgba(152, 192, 239, 0.35);
        box-shadow: 0 -3px 25px rgba(152, 192, 239, 0.1);
    }
    
    .footer-content {
        gap: 1.5rem;
        margin: 0 auto 1.5rem;
        padding: 0 0.3rem;
    }
    
    .footer-logo {
        margin-bottom: 1.2rem;
    }
    
    .footer-logo h2 {
        font-size: 1.3em;
        margin-bottom: 0.6rem;
        text-shadow: 0 2px 10px rgba(152, 192, 239, 0.3), 0 0 20px rgba(152, 192, 239, 0.1);
    }
    
    .footer-logo h2::after {
        width: 40px;
        height: 2px;
        bottom: -6px;
    }
    
    .footer-logo:hover h2::after {
        width: 80px;
    }
    
    .footer-logo p {
        font-size: 0.85em;
        line-height: 1.6;
        padding: 0 0.5rem;
    }
    
    .footer-logo .footer-description {
        font-size: 0.75em;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 0.8rem;
        justify-content: space-around;
        align-items: flex-start;
        padding: 0 0.3rem;
    }
    
    .link-group {
        max-width: 130px;
        flex: 1;
        min-width: 100px;
    }
    
    .link-group h3 {
        font-size: 0.82em;
        margin-bottom: 0.85rem;
        text-shadow: 0 1px 6px rgba(152, 192, 239, 0.2);
        line-height: 1.3;
    }
    
    .link-group h3::after {
        width: 23px;
        bottom: -6px;
    }
    
    .link-group:hover h3::after {
        width: 45px;
    }
    
    .link-group ul {
        text-align: center;
    }
    
    .link-group ul li {
        margin-bottom: 0.65rem;
        text-align: center;
    }
    
    .link-group ul li::before {
        display: none;
    }
    
    .link-group ul li a {
        font-size: 0.72em;
        display: inline-block;
        word-break: keep-all;
        white-space: nowrap;
        line-height: 1.4;
    }
    
    .link-group ul li a:hover {
        transform: translateX(0) scale(1.05);
    }
    
    .footer-bottom {
        padding: 1.2rem 0.5rem 0.8rem;
        margin-top: 1.2rem;
        border-top: 1px solid rgba(152, 192, 239, 0.3);
    }
    
    .footer-bottom::before {
        width: 60px;
        height: 1px;
    }
    
    .footer-bottom p {
        font-size: 0.75em;
        word-break: break-word;
        padding: 0 0.3rem;
        line-height: 1.4;
    }
}