/*==================================================
  TAKE MILLION
  MAIN CSS
  Part 01
  Root + Reset + Global + Typography + Container
==================================================*/


/*==================================================
  01 : ROOT VARIABLES
==================================================*/

:root{

    /* Brand */

    --primary:#050505;
    --secondary:#111111;
    --surface:#1b1b1b;

    --gold:#D4AF37;
    --gold-light:#F7D774;
    --gold-dark:#8D6B12;

    --white:#ffffff;
    --light:#f8f8f8;

    --gray-100:#eeeeee;
    --gray-200:#d9d9d9;
    --gray-300:#c4c4c4;
    --gray-500:#8b8b8b;
    --gray-700:#555555;

    --success:#2ecc71;
    --danger:#ff4d4d;

    /* Shadows */

    --shadow-sm:0 5px 15px rgba(0,0,0,.12);

    --shadow-md:0 10px 35px rgba(0,0,0,.20);

    --shadow-lg:0 20px 60px rgba(0,0,0,.35);

    --shadow-gold:0 0 35px rgba(212,175,55,.28);

    /* Radius */

    --radius-xs:8px;
    --radius-sm:12px;
    --radius-md:18px;
    --radius-lg:24px;
    --radius-xl:40px;

    /* Transition */

    --transition:.35s ease;

    /* Header */

    --header-height:90px;

    /* Container */

    --container:1400px;

    /* Sections */

    --section-space:110px;

}


/*==================================================
  02 : RESET
==================================================*/

*,
*::before,
*::after{

    margin:0;
    padding:0;

    box-sizing:border-box;

}


html{

    scroll-behavior:smooth;

    -webkit-text-size-adjust:100%;

}


body{

    font-family:"Cairo",sans-serif;

    background:var(--primary);

    color:var(--white);

    overflow-x:hidden;

    line-height:1.8;

    min-height:100vh;

    text-rendering:optimizeLegibility;

    -webkit-font-smoothing:antialiased;

    -moz-osx-font-smoothing:grayscale;

}


/*==================================================
  03 : MEDIA
==================================================*/

img{

    display:block;

    width:100%;

    height:auto;

    max-width:100%;

    object-fit:cover;

    user-select:none;

}


picture{

    display:block;

}


video{

    display:block;

    max-width:100%;

}


/*==================================================
  04 : LINKS
==================================================*/

a{

    color:inherit;

    text-decoration:none;

    transition:var(--transition);

}


button{

    border:none;

    outline:none;

    background:none;

    cursor:pointer;

    font-family:inherit;

}


input,
textarea,
select{

    font:inherit;

    outline:none;

}


/*==================================================
  05 : LISTS
==================================================*/

ul,
ol{

    list-style:none;

}


/*==================================================
  06 : TYPOGRAPHY
==================================================*/

h1,
h2,
h3,
h4,
h5,
h6{

    font-weight:800;

    line-height:1.2;

    color:var(--white);

}


h1{

    font-size:clamp(2.8rem,5vw,5rem);

}


h2{

    font-size:clamp(2rem,4vw,3.4rem);

}


h3{

    font-size:clamp(1.3rem,2vw,2rem);

}


p{

    color:var(--gray-200);

    font-size:1.05rem;

}


/*==================================================
  07 : CONTAINER
==================================================*/

.container{

    width:min(100% - 40px,var(--container));

    margin-inline:auto;

}


/*==================================================
  08 : SECTION
==================================================*/

section{

    position:relative;

    padding-block:var(--section-space);

    overflow:hidden;

}


/*==================================================
  09 : SELECTION
==================================================*/

::selection{

    background:var(--gold);

    color:var(--primary);

}


/*==================================================
  10 : SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:var(--gold);

    border-radius:50px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--gold-light);

}


/*==================================================
  11 : UTILITIES
==================================================*/

.text-center{

    text-align:center;

}

.text-gold{

    color:var(--gold);

}

.hidden{

    display:none !important;

}

.w-100{

    width:100%;

}


/*==================================================
  12 : PERFORMANCE
==================================================*/

html:focus-within{

    scroll-behavior:smooth;

}

img{

    image-rendering:auto;

}

svg{

    display:block;

}

iframe{

    border:0;

    display:block;

    width:100%;

}


/*==================================================
  END PART 01
==================================================*/
/*==================================================
  TAKE MILLION
  PART 02
  HEADER + NAVIGATION + MOBILE MENU
==================================================*/


/*==================================================
  HEADER
==================================================*/

.header{

    position:fixed;

    inset-block-start:0;

    inset-inline:0;

    width:100%;

    height:var(--header-height);

    z-index:1000;

    background:rgba(5,5,5,.35);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.06);

    transition:all .4s ease;

}

.header.scrolled{

    height:80px;

    background:rgba(5,5,5,.94);

    box-shadow:var(--shadow-md);

}


/*==================================================
  HEADER CONTAINER
==================================================*/

.header-container{

    height:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:40px;

}


/*==================================================
  LOGO
==================================================*/

.logo{

    display:flex;

    align-items:center;

    flex-shrink:0;

}

.logo img{

    width:auto;

    height:58px;

    transition:.35s;

}

.logo:hover img{

    transform:scale(1.05);

}


/*==================================================
  NAVIGATION
==================================================*/

.nav-menu{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:34px;

    flex:1;

}

.nav-menu a{

    position:relative;

    color:var(--white);

    font-size:1rem;

    font-weight:700;

    white-space:nowrap;

    transition:var(--transition);

}

.nav-menu a::after{

    content:"";

    position:absolute;

    inset-inline-start:0;

    inset-block-end:-8px;

    width:0;

    height:2px;

    background:var(--gold);

    transition:.35s;

}

.nav-menu a:hover{

    color:var(--gold);

}

.nav-menu a:hover::after{

    width:100%;

}


/*==================================================
  HEADER ACTIONS
==================================================*/

.header-actions{

    display:flex;

    align-items:center;

    gap:15px;

}


/*==================================================
  LANGUAGE BUTTON
==================================================*/

.language-btn{

    width:52px;

    height:52px;

    border-radius:50%;

    border:1px solid rgba(212,175,55,.45);

    color:var(--gold);

    font-size:.9rem;

    font-weight:700;

    transition:.35s;

}

.language-btn:hover{

    background:var(--gold);

    color:#000;

    box-shadow:var(--shadow-gold);

}


/*==================================================
  MOBILE TOGGLE
==================================================*/

.menu-toggle{

    display:none;

    width:52px;

    height:52px;

    border-radius:14px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    align-items:center;

    justify-content:center;

    flex-direction:column;

    gap:6px;

    transition:.35s;

}

.menu-toggle span{

    width:24px;

    height:2px;

    background:#fff;

    transition:.35s;

}

.menu-toggle:hover{

    border-color:var(--gold);

    box-shadow:var(--shadow-gold);

}


/*==================================================
  HAMBURGER ANIMATION
==================================================*/

.menu-toggle.active span:nth-child(1){

    transform:translateY(8px) rotate(45deg);

}

.menu-toggle.active span:nth-child(2){

    opacity:0;

}

.menu-toggle.active span:nth-child(3){

    transform:translateY(-8px) rotate(-45deg);

}


/*==================================================
  MOBILE
==================================================*/

@media(max-width:1100px){

.nav-menu{

    position:fixed;

    top:0;

    inset-inline-end:-100%;

    width:min(360px,100%);

    height:100vh;

    background:rgba(5,5,5,.98);

    backdrop-filter:blur(30px);

    -webkit-backdrop-filter:blur(30px);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:30px;

    transition:.45s ease;

    box-shadow:-20px 0 50px rgba(0,0,0,.45);

}

.nav-menu.active{

    inset-inline-end:0;

}

.nav-menu a{

    font-size:1.2rem;

}

.menu-toggle{

    display:flex;

}

}


/*==================================================
  MOBILE OVERLAY
==================================================*/

.mobile-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:900;

}

.mobile-overlay.active{

    opacity:1;

    visibility:visible;

}


/*==================================================
  BODY LOCK
==================================================*/

body.menu-open{

    overflow:hidden;

}


/*==================================================
  ACTIVE LINK
==================================================*/

.nav-menu a.active{

    color:var(--gold);

}

.nav-menu a.active::after{

    width:100%;

}


/*==================================================
  TAKE MILLION
  PART 05
  FOOTER + FLOAT BUTTONS + PRELOADER + ANIMATIONS
==================================================*/

/*==================================================
  FOOTER - COMPACT PREMIUM STYLE
==================================================*/

.footer{

    background:#080808;

    border-top:1px solid rgba(255,255,255,.06);

    padding:45px 0 20px;

}


/* FOOTER GRID */

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:35px;

    margin-bottom:35px;

}


/* LOGO */

.footer-logo{

    width:140px;

    margin-bottom:15px;

}


/* TEXT */

.footer-box p{

    color:#bdbdbd;

    line-height:1.8;

    font-size:.95rem;

    margin-bottom:10px;

}


/* TITLES */

.footer-box h3{

    color:var(--gold);

    font-size:1.15rem;

    font-weight:800;

    margin-bottom:15px;

}


/* LINKS */

.footer-box ul{

    display:flex;

    flex-direction:column;

    gap:9px;

}


.footer-box ul a{

    color:#d8d8d8;

    font-size:.95rem;

    transition:.3s;

}


.footer-box ul a:hover{

    color:var(--gold);

    padding-inline-start:6px;

}


/* ICONS */

.footer-box i{

    color:var(--gold);

    width:20px;

}


/* SOCIAL MEDIA */

.footer-social{

    display:flex;

    justify-content:center;

    gap:12px;

    margin-bottom:20px;

}


.footer-social a{

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#111;

    color:#fff;

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}


.footer-social a:hover{

    background:var(--gold);

    color:#000;

    transform:translateY(-4px);

}


/* COPYRIGHT */

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.06);

    padding-top:15px;

    text-align:center;

}


.footer-bottom p{

    color:#999;

    font-size:.85rem;

    line-height:1.8;

}


/*==================================================
  RESPONSIVE
==================================================*/


@media(max-width:992px){

    .footer-grid{

        grid-template-columns:1fr;

        gap:25px;

        text-align:center;

    }


    .footer-logo{

        margin:0 auto 15px;

    }


    .footer-box ul{

        align-items:center;

    }

}


@media(max-width:768px){

    .footer{

        padding:35px 0 15px;

    }


    .footer-social a{

        width:38px;

        height:38px;

    }

}


@media(max-width:480px){

    .footer{

        padding:30px 0 10px;

    }


    .footer-box h3{

        font-size:1rem;

    }


    .footer-box p,
    .footer-box ul a{

        font-size:.88rem;

    }

}
/*==================================================
  BACK TO TOP
==================================================*/

.back-to-top{

    position:fixed;

    right:15px;

    bottom:10px;

    width:56px;

    height:56px;

    border-radius:50%;

    background:var(--gold);

    color:#000;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.2rem;

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:.35s;

    z-index:900;

}

.back-to-top.show{

    opacity:1;

    visibility:visible;

    transform:none;

}

.back-to-top:hover{

    box-shadow:var(--shadow-gold);

}


/*==================================================
  WHATSAPP
==================================================*/

.whatsapp-btn{

    position:fixed;

    left:25px;

    bottom:30px;

    display:flex;

    align-items:center;

    gap:12px;

    background:#25D366;

    color:#fff;

    padding:14px 22px;

    border-radius:60px;

    box-shadow:0 15px 40px rgba(37,211,102,.35);

    transition:.35s;

    z-index:900;

}

.whatsapp-btn i{

    font-size:1.4rem;

}

.whatsapp-btn:hover{

    transform:translateY(-5px);

}

.whatsapp-btn span{

    font-weight:700;

}


/*==================================================
  PRELOADER
==================================================*/

.preloader{

    position:fixed;

    inset:0;

    background:#050505;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:.6s;

}

.preloader.hide{

    opacity:0;

    visibility:hidden;

}

.loader{

    width:70px;

    height:70px;

    border-radius:50%;

    border:5px solid rgba(255,255,255,.12);

    border-top-color:var(--gold);

    animation:loaderRotate 1s linear infinite;

}

@keyframes loaderRotate{

    to{

        transform:rotate(360deg);

    }

}


/*==================================================
  FADE ANIMATION
==================================================*/

.fade-up{

    opacity:0;

    transform:translateY(60px);

    transition:1s;

}

.fade-up.show{

    opacity:1;

    transform:none;

}


/*==================================================
  RESPONSIVE
==================================================*/

@media(max-width:992px){

.footer-grid{

    grid-template-columns:1fr;

    gap:45px;

}

.footer{

    text-align:center;

}

.footer-logo{

    margin:auto auto 25px;

}

}


@media(max-width:768px){

.whatsapp-btn{

    width:60px;

    height:60px;

    border-radius:50%;

    justify-content:center;

    padding:0;

}

.whatsapp-btn span{

    display:none;

}

.back-to-top{

    right:18px;

    bottom:18px;

}

.whatsapp-btn{

    left:18px;

    bottom:18px;

}

}


@media(max-width:480px){

.footer{

    padding:70px 0 20px;

}

.footer-social{

    flex-wrap:wrap;

}

}/*==================================================
FINAL CSS
==================================================*/

.loaded{

    animation:pageFade .5s ease;

}

@keyframes pageFade{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}

.keyboard-user *:focus{

    outline:2px solid var(--gold);

    outline-offset:4px;

}

.btn-primary.loading{

    pointer-events:none;

    opacity:.8;

}

.btn-primary.loading::after{

    content:"";

    width:18px;

    height:18px;

    margin-inline-start:10px;

    border:2px solid #000;

    border-top-color:transparent;

    border-radius:50%;

    display:inline-block;

    animation:spin .8s linear infinite;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}/*==================================================
FINAL EFFECTS
==================================================*/

.website-ready{

    animation:pageFade .4s ease;

}

@keyframes pageFade{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}


.keyboard-user *:focus{

    outline:2px solid var(--gold);

    outline-offset:4px;

}


.btn-primary.loading{

    pointer-events:none;

    opacity:.8;

}


.btn-primary.loading::after{

    content:"";

    width:18px;

    height:18px;

    margin-inline-start:10px;

    border:2px solid #000;

    border-top-color:transparent;

    border-radius:50%;

    display:inline-block;

    animation:spin .7s linear infinite;

}


@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}


.printing .header,
.printing .back-to-top,
.printing .whatsapp-btn{

    display:none !important;

}/*==================================================
SERVICE IDENTITIES
==================================================*/

/* الإنتاج الإعلامي */

.service-card.media{

    border-color:rgba(255,106,0,.35);

}

.service-card.media::before{

    background:linear-gradient(90deg,#FF6A00,#FFB347);

}

.service-card.media .service-icon{

    background:#FF6A00;

    color:#fff;

    box-shadow:0 0 30px rgba(255,106,0,.45);

}


/* التقنية */

.service-card.tech{

    border-color:rgba(0,119,255,.35);

}

.service-card.tech::before{

    background:linear-gradient(90deg,#0077FF,#42A5FF);

}

.service-card.tech .service-icon{

    background:#0077FF;

    color:#fff;

    box-shadow:0 0 30px rgba(0,119,255,.45);

}


/* العقارات */

.service-card.realestate{

    border-color:rgba(14,138,75,.35);

}

.service-card.realestate::before{

    background:linear-gradient(90deg,#0E8A4B,#1FC86E);

}

.service-card.realestate .service-icon{

    background:#0E8A4B;

    color:#fff;

    box-shadow:0 0 30px rgba(14,138,75,.45);

}


/* المقاولات */

.service-card.contracting{

    border-color:rgba(201,151,0,.35);

}

.service-card.contracting::before{

    background:linear-gradient(90deg,#C99700,#FFD54A);

}

.service-card.contracting .service-icon{

    background:#C99700;

    color:#000;

    box-shadow:0 0 30px rgba(201,151,0,.45);

}


/* التسويق */

.service-card.marketing{

    border-color:rgba(138,43,226,.35);

}

.service-card.marketing::before{

    background:linear-gradient(90deg,#8A2BE2,#B56CFF);

}

.service-card.marketing .service-icon{

    background:#8A2BE2;

    color:#fff;

    box-shadow:0 0 30px rgba(138,43,226,.45);

}/* ==========================================
   HARAJ ICON
========================================== */

.footer-social .haraj-link{

    display:flex;

    align-items:center;

    justify-content:center;

    width:42px;

    height:42px;

    padding:0;

    margin:0;

    background:transparent;

    border:0;

    box-shadow:none;

    text-decoration:none;

    transition:
        transform .3s ease,
        opacity .3s ease;

}


.footer-social .haraj-link img{

    width:32px;

    height:auto;

    display:block;

    object-fit:contain;

    background:transparent;

    border:0;

    border-radius:0;

}


.footer-social .haraj-link:hover{

    transform:translateY(-3px);

    opacity:.85;

}/*==================================================
   FOOTER POSITION FIX
==================================================*/

footer,
.footer{

    position:relative !important;

    width:100%;

    margin:0;

    clear:both;

    z-index:10;

}


/*==================================================
   PREVENT CONTENT OVERLAP
==================================================*/

.media-works{

    position:relative;

    width:100%;

    padding-bottom:70px;

    overflow:visible;

}


/*==================================================
   FOOTER CONTAINER
==================================================*/

.footer .container,
footer .container{

    position:relative;

    width:90%;

    max-width:1400px;

    margin:0 auto;

}


/*==================================================
   FOOTER CONTENT
==================================================*/

.footer{

    min-height:auto;

    overflow:hidden;

}


/*==================================================
   REMOVE NEGATIVE POSITIONING
==================================================*/

.footer,
.footer-content,
.footer-container{

    top:auto;

    bottom:auto;

    transform:none;

}