@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');


:root {
  
    --bg-main: #050505;      
    --bg-secondary: #0f0f10;  
    --bg-card: rgba(24, 24, 27, 0.7); 
    --bg-card-hover: rgba(32, 32, 36, 0.8); 


    --main-color: #ff8800;
    --main-color-dark: #e07a00;


    --text-white: #ffffff;
    --text-light: #e2e2e2;    
    --text-gray: #a1a1aa;   

    
    --glow-shadow: 0 0 20px rgba(255, 136, 0, 0.2);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);  
    --glass-blur: blur(12px); 
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Tajawal", sans-serif;
    scroll-behavior: smooth;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-main);
    color: var(--text-light);
    line-height: 1.6;
    direction: rtl; 
    overflow-x: hidden;

    background-image: radial-gradient(circle at top left, rgba(255, 136, 0, 0.05), transparent 40%),
                      radial-gradient(circle at bottom right, rgba(5, 5, 5, 0.1), transparent 40%);
}



.section {
    padding: 12rem 8% 8rem; 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.heading {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 5rem;
    color: var(--text-white);
    font-weight: 800;
    position: relative;
}
.heading span {
    color: var(--main-color);
}

.heading::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--main-color);
    border-radius: 2px;
}


.btn {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: var(--main-color);
    color: var(--bg-main);
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--main-color);
    cursor: pointer;
}
.btn:hover {
    background: transparent;
    color: var(--main-color);
    box-shadow: var(--glow-shadow);
    transform: translateY(-3px);
}


.glass {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fadeInUp { animation: fadeInUp 0.6s ease forwards; }



header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 2rem 8%;
   
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 1.5rem 8%;
    background: rgba(5, 5, 5, 0.85);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.logo {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 1px;
}
.logo span { color: var(--main-color); }

#navMenu { display: flex; }
#navMenu a {
    font-size: 1.7rem;
    color: var(--text-light);
    text-decoration: none;
    margin-left: 3.5rem;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

#navMenu a:hover,
#navMenu a.active {
    color: var(--main-color);
}
#navMenu a::after {
    content: '';
    position: absolute;
    bottom: -5px; right: 0;
    width: 0; height: 2px;
    background: var(--main-color);
    transition: 0.3s;
}
#navMenu a:hover::after,
#navMenu a.active::after { width: 100%; }

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-white);
    cursor: pointer;
    display: none; 
}


.home {
    display: flex;
    align-items: center;
  
    gap: 8rem;
    padding-top: 16rem;
 
    flex-direction: row;
}

.home-detail {

    flex: 1 1 55%;

    text-align: right;
}

.titleh {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.titleh span { color: var(--main-color); }


.typing-container {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
  
    justify-content: flex-start;
}
.typing-text {
    color: var(--main-color);
    margin-right: 0.8rem;
    position: relative;
}

.typing-text::after {
    content: '|';
    position: absolute;
    right: -5px;
    color: var(--text-light);
    animation: blink 0.7s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.sub-heading {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-gray);
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}
.home-paragraph {
    font-size: 2rem;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 4rem;
    max-width: 600px;

    margin-left: auto;
    margin-right: 0;
}
.home-paragraph span { color: var(--text-light); font-weight: 700; font-size: 15px; }


.home-btn-container {
    display: flex;
    justify-content: flex-start; 
}

.home-img {

    flex: 1 1 45%;
    display: flex;

    justify-content: flex-end;
    align-items: center;
    position: relative;
}


.circle-spin {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--main-color);
    border-right-color: var(--main-color);
    animation: spin 10s linear infinite;
    box-shadow: var(--glow-shadow);
 
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.img-box {
    position: relative;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.img-item {
    width: 90%;
    height: auto;
    animation: floatImage 4s ease-in-out infinite;
}
@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.img-item img { width: 100%; display: block; }


.fields { background: var(--bg-secondary); }

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1.2rem 2.5rem;
    border-radius: 3rem;
    border: 2px solid var(--bg-card);
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-gray);
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.tab-btn i { font-size: 2rem; }
.tab-btn.active, .tab-btn:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--bg-main);
    box-shadow: var(--glow-shadow);
}
.tab-panel {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}
.tab-panel.active { display: grid; }


.card {
    padding: 3rem 2.5rem;
    border-radius: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;

}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(255,136,0,0.1), transparent 70%);
    opacity: 0;
    transition: 0.4s;
    z-index: -1;
}
.card:hover::before { opacity: 1; }
.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow), var(--glow-shadow);
    border-color: rgba(255,136,0,0.3);
}
.card i {
    font-size: 5rem;
    color: var(--main-color);
    margin-bottom: 2rem;
    display: inline-block;
    background: rgba(255,136,0,0.1);
    padding: 1.5rem;
    border-radius: 50%;
    transition: 0.3s;
}
.card:hover i {
    background: var(--main-color);
    color: var(--text-white);
    transform: rotateY(360deg);
}
.card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.card p {
    font-size: 1.5rem;
    color: var(--text-gray);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.services { background: var(--bg-main); }

.services-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    align-items: start;
}
.services-left { position: sticky; top: 14rem; }
.services-intro { margin-bottom: 3rem; }
.services-intro h3 {
    font-size: 2.6rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}
.services-intro p {
    font-size: 1.6rem;
    color: var(--text-gray);
    line-height: 1.8;
}
.services-nav { display: flex; flex-direction: column; gap: 1.5rem; }


.service-btn {
    width: 100%;
    padding: 1.8rem 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-gray);
    text-align: right;
    cursor: pointer;
    font-size: 1.7rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.service-btn i { font-size: 2.2rem; color: var(--main-color); }
.service-btn.active, .service-btn:hover {
    background: var(--main-color);
    color: var(--bg-main);
    border-color: var(--main-color);
    box-shadow: var(--glow-shadow);
    padding-right: 3.5rem; 
}
.service-btn.active i, .service-btn:hover i { color: var(--bg-main); }

.services-right {
    border-radius: 2.5rem;
    padding: 4rem;
   
}
.service-panel { display: none; }
.service-panel.active { display: block; }
.panel-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
}
.panel-header h3 {
    font-size: 2.8rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}
.panel-header p {
    font-size: 1.7rem;
    color: var(--main-color);
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.card-box {
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2.5rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;

}
.card-box:hover {
    transform: translateY(-7px);
    background: var(--bg-card-hover);
    border-color: var(--main-color);
    box-shadow: var(--glow-shadow);
}
.card-box i {
    font-size: 3.5rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
}
.card-box h4 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}
.card-box p {
    font-size: 1.4rem;
    color: var(--text-gray);
}


.projects { background: var(--bg-secondary); }
.project-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}
.project-btn {
    padding: 1rem 2rem;
    border-radius: 3rem;
    background: transparent;
    border: 2px solid var(--text-gray);
    color: var(--text-gray);
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 600;
    transition: 0.3s;
}
.project-btn.active, .project-btn:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--bg-main);
}
.project-slider {
    display: none;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.project-slider.active { display: block; }
.slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.slide.active { display: block; opacity: 1; }


.project-box {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
   
}


.project-img {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


.project-img img {
    width: 100%;
    height: auto;         
    max-width: 100%;
    object-fit: contain;    
    display: block;
}
.project-box:hover .project-img img { transform: scale(1.05); }
.project-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.project-info h3 {
    font-size: 2.6rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.project-info p {
    font-size: 1.6rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tech-stack {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.tech {
    font-size: 1.3rem;
    background: rgba(255, 136, 0, 0.1);
    color: var(--main-color);
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-weight: 600;
}
.view-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--main-color);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 3rem;
    text-decoration: none;
    border: 2px solid var(--main-color);
    transition: 0.3s;
}
.view-btn:hover {
    background: var(--main-color);
    color: var(--bg-main);
    box-shadow: var(--glow-shadow);
}

.project-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}
.project-controls button {
    border: 2px solid rgba(255,255,255,0.1);
    width: 5rem; height: 5rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2.4rem;
    color: var(--text-gray);
    transition: 0.3s;
    display: flex;
    align-items: center; justify-content: center;
  
}
.project-controls button:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--bg-main);
    box-shadow: var(--glow-shadow);
}



.contact { background: var(--bg-main); padding-bottom: 5rem; }

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    padding: 5rem;
    border-radius: 3rem;
    box-shadow: var(--card-shadow);
   
}
.contact-info-box h3 {
    font-size: 2.6rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}
.contact-desc {
    font-size: 1.6rem;
    color: var(--text-gray);
    margin-bottom: 4rem;
}
.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}
.contact-detail i {
    font-size: 2.5rem;
    background: rgba(255, 136, 0, 0.1);
    color: var(--main-color);
    padding: 1.2rem;
    border-radius: 50%;
    margin-left: 2rem;
}
.contact-detail .detail h4 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}
.contact-detail .detail a, .contact-detail .detail p {
    font-size: 1.6rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: 0.3s;
}
.contact-detail .detail a:hover { color: var(--main-color); }

.social-media-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 4rem;
}

.social-icon {
    width: 4.5rem; height: 4.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    font-size: 2rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: 0.3s;
   
}
.social-icon:hover {
    background: var(--main-color);
    color: var(--bg-main);
    border-color: var(--main-color);
    box-shadow: var(--glow-shadow);
    transform: translateY(-3px);
}


.contact-form-box form { display: flex; flex-direction: column; gap: 2rem; }
.contact-form-box h3 {
    font-size: 2.6rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}
.input-group { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-form-box input,
.contact-form-box textarea {
    width: 100%;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    color: var(--text-white);
    font-size: 1.5rem;
    outline: none;
    transition: 0.3s;
   
}
.contact-form-box textarea { resize: none; height: 150px; }
.contact-form-box input:focus,
.contact-form-box textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 10px rgba(255, 136, 0, 0.2);
}
.contact-form-box .btn {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 1rem;
}



.footer {
    background: var(--bg-secondary);
    padding: 3rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.copyright {
    font-size: 1.5rem;
    color: var(--text-gray);
}
.brand { color: var(--main-color); font-weight: 700; }



@media (max-width: 1200px) {
    html { font-size: 58%; }
    .home { gap: 4rem; } 
}


@media (max-width: 992px) {
    header { padding: 2rem 4%; }
    .section { padding: 12rem 4% 6rem; }

    .home {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
    .home-detail { text-align: right; }
    .typing-container, .home-btn-container { justify-content: flex-start; }
    .home-img { justify-content: flex-end; }

    .circle-spin { width: 350px; height: 350px; }
    .img-box { width: 300px; height: 300px; }
}


@media (max-width: 576px) {
    #menu-icon { display: block; }
    #navMenu {
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        background: var(--bg-secondary);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        padding: 2rem;
        border-top: 1px solid rgba(255,255,255,0.05);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        display: none;
        flex-direction: column;
        text-align: center;
    }
    #navMenu.active { display: flex; }
    #navMenu a {
        display: block;
        margin: 1.5rem 0;
        font-size: 2rem;
        margin-left: 0;
    }
    #navMenu a::after { display: none; }


    .home {
        flex-direction: column-reverse; 
        text-align: center;
        gap: 4rem;
        padding-top: 14rem;
    }
    .home-detail {
        flex: auto; 
        text-align: center;
    }

    .typing-container { justify-content: center; }
    .home-paragraph { margin: 0 auto 4rem; }
    .home-btn-container { justify-content: center; }

    .home-img {
        flex: auto;
        justify-content: center; 
        padding-left: 0;
        width: 100%;
    }
    .circle-spin { display: none; }

    .heading { font-size: 3.2rem; }
    .titleh { font-size: 4rem; }


    .services-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .services-left { position: static; }
    .services-right { padding: 3rem; }
    .project-box { grid-template-columns: 1fr; }
    .project-img { min-height: 250px; }
    .input-group { grid-template-columns: 1fr; }
    .contact-container { padding: 3rem; }
}

@media (max-width: 480px) {
    html { font-size: 52%; }
    .tab-btn { padding: 1rem 1.5rem; font-size: 1.4rem; }
    .card i { font-size: 4rem; }
    .project-controls button { width: 4rem; height: 4rem; font-size: 2rem; }
}


.section {
    min-height: 100vh;
    padding: 10rem 8% 6rem;
    color: #111;
}






@media (max-width: 768px) {
    .project-img {
        min-height: auto;
    }

    .project-img img {
        width: 100%;
        height: auto;
    }
}




.home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.home-detail {
    flex: 1;
    color: #fff;
}

.titleh {
    font-size: 4.5rem;
    color: var(--white-color);
}
.titleh span {
    color: var(--main-color);
}

.typing {
    font-size: 2.4rem;
    margin-top: 1rem;
}

.typing span {
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: .07rem var(--main-color);
    animation: display-text 16s linear infinite;
    animation-delay: calc(-4s * var(--i));
}

.typing span::before {
    content: attr(data-text);
    position: absolute;
    width: 0;
    border-left: .2rem solid var(--main-color);
    color: var(--main-color);
    white-space: nowrap;
    overflow: hidden;
    animation: fill-text 4s linear infinite;
}

@keyframes display-text {
    25%,100% {
        display: none;
    }
}

@keyframes fill-text {
    10%,100% { width: 0; }
    70%,90% { width: 100%; }
}

.sub-title {
    margin-top: 2rem;
    font-size: 2rem;
    color: var(--main-color);
}

.home-paragraph {
    margin-top: 1.5rem;
    font-size: 1.6rem;
    line-height: 1.8;
}


.home-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.img-box {
    position: relative;
    width: 32vw;         
    height: 22vw;
    border-radius: 50%;
    padding: .5rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-box::before,
.img-box::after {
    content: '';
    position: absolute;
    width: 40rem;
    height: 40rem;
    background: conic-gradient(transparent, transparent, transparent, var(--main-color));
    animation: rotate-border 10s linear infinite;
}

.img-box::after {
    animation-delay: -5s;
}

@keyframes rotate-border {
    100% { transform: rotate(360deg); }
}

.img-item {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #000;
    overflow: hidden;
    z-index: 1;
}

.img-item img {
    width: 102%;             
    position: absolute;
    top: 3rem;
    mix-blend-mode: lighten;
}

.img-item,
.img-item img {
    animation: none !important;
    transform: none !important;
}



@media (min-width: 1400px) {
    .img-box {
        width: 420px;
        height: 300px;
    }
}


@media (max-width: 1200px) {
    .home {
        gap: 3rem;
    }

    .titleh {
        font-size: 4rem;
    }

    .typing {
        font-size: 2.2rem;
    }

    .img-box {
        width: 380px;
        height: 260px;
    }
}


@media (max-width: 992px) {
    .home {
        gap: 2.5rem;
    }

    .titleh {
        font-size: 3.6rem;
    }

    .typing {
        font-size: 2rem;
    }

    .home-paragraph {
        font-size: 1.5rem;
    }

    .img-box {
        width: 320px;
        height: 220px;
    }
}


@media (max-width: 768px) {
    .home {
        flex-direction: column-reverse;
        text-align: center;
        gap: 3.5rem;
    }

    .home-detail {
        text-align: center;
    }

    .titleh {
        font-size: 3.2rem;
    }

    .typing {
        font-size: 1.9rem;
    }

    .home-paragraph {
        font-size: 1.5rem;
        margin: 0 auto;
        max-width: 90%;
    }

    .home-img {
        width: 100%;
        justify-content: center;
    }

    .img-box {
        width: 280px;
        height: 200px;
    }
}


@media (max-width: 480px) {
    .titleh {
        font-size: 6.8rem;
    }

    .typing {
        font-size: 2.8rem;
    }

    .home-paragraph {
        font-size: 1.4rem;
        line-height: 1.7;
    }

    .img-box {
        width: 240px;
        height: 170px;
    }
}


.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.card-box {
    padding: 22px;
    text-align: center;
    border-radius: 16px;
    transition: 0.3s ease;
}

.card-box i {
    font-size: 34px;
    color: #ff9400;
    margin-bottom: 12px;
}

.card-box h4 {
    font-size: 17px;
    margin-bottom: 10px;
}

.card-box p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.85;
}

.card-box:hover {
    transform: translateY(-6px);
}


.trust-box {
    margin-top: 35px;
    padding: 22px;
    text-align: center;
    border-radius: 16px;
    color: white;
}

.trust-box h4 {
    font-size: 28px;
    margin-bottom: 8px;
    color: white;
}

.trust-box p {
    font-size: 20px;
    margin-bottom: 8px;
    color: white;
}




.cta-box {
    margin-top: 40px;
    padding: 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}


.cta-box .btn {
    background: linear-gradient(135deg, #ff9400, #ff6a00);
    color: #fff;
    padding: 14px 36px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(255, 148, 0, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
}


.cta-box .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 148, 0, 0.45);
}

.cta-note {
    font-size: 14px;
    opacity: 0.8;
}



@media (max-width: 768px) {
    .cta-box {
        padding: 20px 15px;
    }

    .cta-box .btn {
        width: 100%;
        max-width: 320px;
        font-size: 15px;
    }
}


@media (max-width: 480px) {
    .cta-box {
        margin-top: 30px;
    }

    .cta-box .btn {
        font-size: 14px;
        padding: 13px 20px;
    }

    .cta-note {
        font-size: 13px;
    }
}


.locked-section {
    position: relative;
    overflow: hidden;
}

.locked-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(10, 10, 10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 5;
}


.locked-section::after {
    content: " • الإطلاق قريب";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    background: linear-gradient(135deg, #ff8a00, #ffb347);
    color: #000;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(255, 138, 0, 0.4);
    z-index: 6;
    white-space: nowrap;
}


.locked-section * {
    pointer-events: none;
    user-select: none;
}


@media (max-width: 768px) {
    .locked-section::after {
        font-size: 14px;
        padding: 12px 22px;
    }
}




#contactForm {
    max-width: 520px;
    margin: 0 auto;
    padding: 4rem;
    border-radius: 2.5rem;

    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);

    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--card-shadow);
}


#contactForm h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-white);
}


#contactForm label {
    display: block;
    margin-bottom: 0.6rem;
    margin-top: 2rem;

    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-gray);
}


#contactForm input,
#contactForm select,
#contactForm textarea {
    width: 100%;
    padding: 1.4rem 1.6rem;

    background: rgba(15, 15, 16, 0.85);
    color: var(--text-white);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.2rem;

    font-size: 1.5rem;
    outline: none;
    transition: 0.3s ease;
}

#contactForm input::placeholder,
#contactForm textarea::placeholder {
    color: rgba(255,255,255,0.45);
}


#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 12px rgba(255, 136, 0, 0.25);
}


#contactForm textarea {
    resize: none;
    min-height: 140px;
}


#contactForm button {
    margin-top: 3rem;
    width: 100%;

    padding: 1.5rem;
    border-radius: 4rem;

    background: linear-gradient(
        135deg,
        var(--main-color),
        var(--main-color-dark)
    );

    color: var(--bg-main);
    font-size: 1.6rem;
    font-weight: 700;

    border: none;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: var(--glow-shadow);
}


#contactForm button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 136, 0, 0.45);
}


@media (max-width: 576px) {
    #contactForm {
        padding: 3rem 2.2rem;
    }

    #contactForm h2 {
        font-size: 2.2rem;
    }
}



.contact-main-wrapper {
    max-width: 1100px; 
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.contact-intro {
    font-size: 1.8rem;
    color: var(--text-gray);
    margin-bottom: 5rem;
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-bottom: 6rem;
}

.contact-item-card {
    padding: 3.5rem 2.5rem;
    border-radius: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item-card:hover {
    transform: translateY(-12px);
    background: var(--bg-card-hover);
    border-color: var(--main-color);
    box-shadow: var(--glow-shadow);
}

.icon-circle {
    width: 6.5rem;
    height: 6.5rem;
    background: rgba(255, 136, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 2rem;
    transition: 0.3s;
}

.contact-item-card:hover .icon-circle {
    background: var(--main-color);
    color: var(--bg-main);
}


.whatsapp-bg {
    color: #25D366;
    background: rgba(37, 211, 102, 0.1);
}
.contact-item-card.whatsapp-hover:hover .icon-circle {
    background: #25D366;
    color: white;
}
.contact-item-card.whatsapp-hover:hover {
    border-color: #25D366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
}

.item-info h4 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.item-info a, .item-info p {
    font-size: 1.5rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: 0.3s;
}


.social-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.social-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to left, transparent, rgba(255,255,255,0.1), transparent);
}

.social-links-container {
    display: flex;
    gap: 2rem;
}


@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .contact-grid {
        grid-template-columns: 1fr; 
    }
    .contact-main-wrapper {
        padding: 0 2rem;
    }
    .heading { font-size: 3.2rem; }
}