@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=El+Messiri:wght@400..700&family=Fjalla+One&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Kufi+Arabic:wght@100..900&family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=El+Messiri:wght@400..700&family=Fjalla+One&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Kufi+Arabic:wght@100..900&family=Oswald:wght@200..700&family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family: "Arimo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 1px;
    font-style: normal;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-optical-sizing: 10px;
    font-weight: 10px;
    font-style: normal;
}
/* first page */

#landing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, #dc26a5, #84005c);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    z-index: 2000;
    

}

#left-logo {
    display: grid;
    grid-template-columns: auto auto;
    text-align: center;
    gap: 70px;
    align-items: center;
    padding-right:60px;
}
#left-logo img {
    width: 300px;
}
#landing.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

#nav {
    background: #f4f4f4;
    height: 90px;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 40px 40px;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #b81c88;
}


#nav ul {
    display: flex;
    gap: 60px;
    list-style: none;

}
#nav img {
    width: 130px;
}
#nav ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: all 0.6s;
    font-weight: bold;
}

#nav ul li a:hover {
    padding: 10px;
    background: #2babe2;
    border-radius: 5px;

}
.text ul li {
    direction: rtl;
    font-size: 14px;
}
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
#imge1 img {
    width: 1000px;
}
#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2;
}

#aboutSDK {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    grid-template-areas: "logo-left aboutGCE-right";
    align-items: center;
    gap: 30px;
    text-align: right;
    padding: 40px;
    padding-right: 140px;
    color: white;
    z-index: 3; 
    font-family: "Noto Kufi Arabic", sans-serif;
    font-optical-sizing: 10px;
    font-weight: 10px;
    font-style: normal;
}
#logo-left {
    grid-area: logo-left;
}
#enter-btn {
    padding: 15px 60px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 20px;
    border: none;
    background-color: #2babe2;
    transition: all 0.5s;
    font-weight: bold;
    color: black;
    

}
#enter-btn:hover{
    color: #2596be ;
    background-color: rgb(0, 0, 0);
    padding: 20px 70px;
    font-weight: bold
}

#landing h1 {
    font-size: 60px;
}
#logo-left img {
    width: 500px;
}
#page1 {
    height: 100vh;
}

#page1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
}

#aboutGCE-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    grid-area: aboutGCE-right;


}

#aboutGCE-right p {
    font-size: 16px;
}
/* page-e */
#page-e {
    display: grid;
    grid-template-columns: 1fr 2fr ;
    padding: 50px 100px ;
    gap: 50px;
    text-align: center;
    align-items: center;
}
#page-e-left img {
    width: 500px;
}
#page-e-right  {
    text-align: right;
    font-weight: bold;
    font-size: 17px

}
/* page 2 */

#page2 img {
    width: 120px;
}

#first-contene {
    display: flex;
}

#page2 {
    width: 100%;
    padding: 100px 100px;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    
}

.row .text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}
.row .text h1 {
    color: #bc057c;
}
.row .image {
    flex: 0.4;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: right;
}

.row .image img {
    max-width: 100%;
    height: auto;
}
.pill {
    margin: 20px auto;
    height:0px;
    border-radius: 2px;
    color: #2babe2;
    border: 2px solid currentColor;
    width: 80%;
}
/* page 3 */
#page3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
    gap: 60px;
}

#head-name {
    font-size: 30px;
    color: #bc057c;
}

.domain-name {
    text-align: center;
    display: flex;
    gap: 10px;

}

.card {
    display: flex;
    flex-direction: row;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 900px;
    padding: 50px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}



.project-name table {
    border-collapse: collapse;
    width: 100%;
    text-align: center;
}

#whisper-icon {
    display: flex;
    gap: 30px;
}
#whisper-icon svg {
    width: 60px;
}

.card-1 {
    width: 220px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #fff;
    text-align: center;
    padding: 15px;
    transition: transform 0.3s;

}
.card-1:hover {
    transform: translateY(-6px);
}
.card-1 h3 {
    font-size: 15px;
}
.card-1 p {
    font-weight: bold;
    color:#2babe2;

}
.card-1 img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}
/* الأجهزة اللوحية */
@media (max-width: 992px) {
    #aboutSDK {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo-left"
            "aboutGCE-right";
        text-align: center;
        padding: 20px;
    }

    #logo-left img {
        width: 300px;
    }

    .row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .row .image {
        order: -1;
    }

    .card {
        width: 90%;
        padding: 30px;
    }
    #aboutGCE-righ p {
        font-size: 70px;
    }
    #page-e-left img {
        width: 230px;
    }
    #page-e-right p {
        font-size: 12px;
    }

    

}

/* الهواتف */
@media (max-width: 576px) {
    #nav {
        height: auto;
        padding: 20px;
        gap: 9px;
        font-size: 10px;
    }

    #nav ul {
        flex-direction: row;
        gap: 15px;
    }

    #logo-left img {
        width: 220px;
    }

    #aboutGCE-right p {
        font-size: 14px;
    }

    #page2 {
        padding: 80px 20px;
    }

    #head-name {
        font-size: 22px;
    }

    .domain-name {
        font-size: 18px;

    }
    .domain-name img {
        width: 32px;
    }
    .project-name {
        font-size: 9px;
    }
    
    .card {
        padding: 20px;
    }

    .card ul {
        padding: 0;
    }

    .card ul li {
        font-size: 14px;
    }

    body {
        font-size: 14px;
        padding: 10px;
    }

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

    h1, h2, h3 {
        font-size: 18px;
        text-align: center;
    }

    .container {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .card {
        width: 90%;
        padding: 20px;
        grid-template-columns: 1fr 1fr; 
        border-radius: 15px;
    }
    #aboutGCE-right p {
        font-size: 10px;
    }
    .card-1 {       
        width: 150px;
    }

    .card {
    display: flex;              
    flex-direction: row;       
    padding: 20px;              
    width: 100%;               
    }
    
    .card h1 {
        font-size: 18px;
    }

    .card p {
        font-size: 14px;
    }

    .card {
    justify-content: space-between;
    padding: 20px;              
    width: 100%;               
    }

    .project-name, .name {
    flex: 1;                    
    }

    .project-name li, .name li {
    font-size: 12px;            
    padding: 5px;
    }
    #whisper-icon img {
    width: 30px;
    }
    #whisper-icon {
        gap: 7px;
    }

    #nav ul li a {
        font-size: 8px;
    }

    #nav ul li a:hover {
        padding: 5px;
        font-size: 10px;
    }
    #nav img {
        width: 80px;
    }
    #page-e img {
        max-width: 300px;
        height: 200px;
    }
    #page-e {
        grid-template-columns: 1fr;
        padding: 30px 10px;
        
        text-align: center;
    }
    #page-e p {
        text-align: center;
        font-size: 10px;
    }
    #countdown {
        width: 100px;        
        height: auto;       
        padding: 5px;      
        margin-top: 40px;
        margin-bottom: 40px;
        
    }

    #countdown h2 {
        font-size: 18px;    
        margin-bottom: 20px;
    }

    #countdown-box {
        flex-direction: row; 
        gap: 15px;
    }

    .time-box {
        width: 100%;        
        padding: 5px;
    }

    .time-box span {
        font-size: 20px;   
    }

    .time-box p {
        font-size: 14px;    
    }

    #left-logo img {
        width: 170px;
    }
    #left-logo {
        gap: 10px;
        padding-right: 30px;
    }
    #enter-btn {
        width: 20px;
        display: flex;
        justify-content: center;
        font-size: 10px;
        text-align: center;
        align-items: center;
        padding: 7px 60px;
    }

    #imge1 img {
        max-width: 90vw;   
        height: auto;
    }
    .card{
        display:flex; 
        flex-wrap:wrap; 
        justify-content:center;
        gap:16px; 
        width:100%; 
        padding:20px; 
        border-radius:15px;
    }
    .card-1{ 
        width:150px; }
    #countdown{ 
        width:min(420px, 90%);
        margin:40px auto; 
        padding:3px; }
    #countdown-box{ 
        display:flex; 
        flex-wrap:wrap; 
        justify-content:center; 
        gap:12px; }
    .time-box{ 
        flex:1 1 90px;
        max-width:140px; }

#footer-part3
{
    display: none;

}

    #footer {

        gap: 15px;
        padding: 15px;
        height: 100%;
    }

    #footer-part1 h3,
    #footer-part2 h3 {
        font-size: 16px;
    }

    #social-icon svg {
        width: 20px;
        height: 20px;
    }



        #contact-icon
        {
            display: flex;
            flex-direction: row;
        }



}


.navbar{
    display: inline-block;
    width: 100%;
    list-style: none;
    justify-content: center;
    padding: 30px;
    border-radius: 0 0 30px 30px;
    border: none;
    border-bottom: 2px solid #6d5d74;
    box-shadow: 0 8px 10px #9794a5;
    gap: 40px;
}
.navbar a{
    color: black;
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    padding: 5px 10px;
}
/*  إخفاء الاقسام*/
#all-contact > section{
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}
#all-contact > section.active{
    display: block;
    opacity: 1;
}
/* countdown */
#countdown{
  display: inline-block;
  text-align: center;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 24px #2e2359;
  width: 485px;
  margin: auto;
  margin-top: 100px;

}
#countdown h2{
  margin-bottom: 40px; 
  font-size: 30px;
  font-weight: bold;
  text-transform: uppercase;
}
#countdown-box{
  display: flex;       
  justify-content: center; 
  gap: 20px;                
  margin-top: 20px;
  flex-wrap: wrap;
}
.time-box {
  width: 80px;
  height: auto;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 8px 15px rgba(31, 57, 129, 0.2);
  min-width: 30px;
  text-align: center;       
}
.time-box:hover{
  /* تكبير ودوران  */
  transform: scale(1.15) rotate(5deg);
}
.time-box span {
  display: block;    
  margin-bottom: 5px;       
  font-size: 25px;
  font-weight: bold;
  color: #d6336c;
}
.time-box p {
  margin: 0;
  font-size: 10px;
  font-weight: bold;
  color: #555;
}
/* حركة عند تغيير الرقم */
.time-box.animate {
  transform: scale(1.2);  
  background: #eb4cbb;
  color: #2babe2; 
}
#countdownMessage {
  margin-top: 30px;
  font-size: 25px;
  font-weight: bold;
  color: #169a93;
  animation: fadeIn 1.5s ease forwards;
}

/* contact */
#contact{
  padding-top: 100px;
  margin-top: 0;
  margin-right: auto;
  margin-left: auto;
  padding: 50px;
  border: 2px solid #542c63;
  border-radius: 15px;
  box-shadow: 0 4px 10px #9d6878;
  width: 600px;
   margin-bottom: 100px;
}
#contact h1{
  margin-bottom: 20px;
}
#contactForm label{
    font-size: 20px;
    font-weight: bold; 
    display: inline-block;
    margin-top: 10px;
}
#contactForm input , textarea{
    width: 100%;
    padding: 20px;
    margin-top: 5px;
    border-radius: 7px;
    border: 2px solid #575555;    
}
#contactForm button{
    color: white;
    background-color: #2408a4;
    text-align: center;
    margin-top: 20px;
    width: 200px;
    padding: 20px;
    border: 2px solid #542c63;
    border-radius: 10px;
    font-weight: bold;
    font-size: 25px;
}
/* footer */
/* روابط التواصل */
.social-links {
  position: fixed;
  text-align: center;
  /* padding: 10px; */
  bottom: 0;
  width: 100%;
  margin-top: 40px;
}
/* كل أيقونة */
.social-links a {
  margin: 0 15px;          /* مسافة بين الأيقونات */
  font-size: 40px;         
  color: #251d7f; 
  transition: color 0.3s;  /* تأثير تغيير اللون عند المرور */
}
.social-links a:hover {
    color: #de0ebb; 
}



/* Register section */
#Register{
    padding: 60px 20px;
    margin: 50px auto;
    width: 600px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;    text-align: center;
}
#Register h2{
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 30px;
}
#Register img{
    width: 250px;
    height: auto;
    border: 2px solid ;
    border-radius: 15px;
    padding: 8px;
    margin-bottom: 20px;
}
#Register p{
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

#all-contact
{
    display: flex;
    flex-direction: column;
}
/* تنسيق خاص بالهواتف */
@media (max-width: 480px) {
    #Register {
        width: 90%;          
        padding: 30px 15px;  
        margin: 20px auto;   
    }

    #Register h2 {
        font-size: 20px;    
        margin-bottom: 20px;
    }

    #Register img {
        width: 180px;        
        padding: 5px;
    }

    #Register p {
        font-size: 16px;     
        margin: 8px 0;
    }

#countdown
{
    padding: 20px;
    width: 300px;
}

#countdown h2
{
    font-size: 20px;
}

#whisper-icon
{
    align-items: center;
}

#whisper-icon svg
{
    width: 35px;
    height: 35px;
}


    
}

@media (min-width:482px) and (max-width:579px)
{
#whisper-icon
{
    align-items: center;
}

#whisper-icon svg
{
    width: 35px;
    height: 35px;
}

#countdown
{
    padding: 20px;
    width: 310px;
}

#countdown h2
{
    font-size: 20px;
}

}


@media (max-width: 394px)
{

    #footer {
        flex-direction: column;  /* stack sections */
        text-align: center;
        gap: 15px;
        padding: 20px;
        width: 100%;             /* still full width */
    }

    #footer-part1
    {

        margin-right: 50px;
    }


}

/* --- dropdown base --- */
#nav ul li { position: relative; }              /* anchor for absolute submenu */
#nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    list-style: none;
    padding: 6px 0;
    margin: 8px 0 0 0;
    border-radius: 10px;
    background: rgba(188,5,124,0.98);            /* matches your navbar color */
    box-shadow: 0 10px 20px rgba(0,0,0,.25);
    display: block;
    opacity: 0;                                   /* hidden by default */
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 1100;
}
#nav .dropdown li a {
    display: block;
    padding: 10px 14px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}
#nav .dropdown li a:hover {
  background: rgba(21,120,186,0.85);           /* your existing hover color family */
}

/* show on hover (desktop) */
#nav .has-dropdown:hover > .dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* keyboard / focus support (no JS) */
#nav .has-dropdown:focus-within > .dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#footer {
    background-color: #b81c88;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;          /* ✅ force full width */
    min-height: 143px;    /* allow growth if content needs more space */
    margin-top: 100px;
    padding: 20px;        /* add breathing space */
    box-sizing: border-box;
}


#footer-part1
{
    color: white;
    font-weight: bold;
    position: relative;
    left: 40px;
    top: 5px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#social-icon
{
    display: flex;
    gap: 10px;
}

#social-icon svg
{
    color: #2596be;
    width: 25px;
    height: 25px;
    gap: 10px;
}

#footer-part2
{
    color: white;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
    align-items: center;
}

#contact-icon
{
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}
#contact-icon svg
{
    width: 15px;
    height: 15px;
}

.map-icon
{
text-decoration: none;
color: white;
background-color: #2babe2;
border-radius: 10px;
padding: 4px 10px;
width: 120px;
text-align: center;
}

.map-icon svg
{
    width: 40px;
    height: 20px;
}

#footer-part3
{
position: relative;
top: 10px;
}

#footer-part3 img
{
    max-width: 130px;
}




