/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}details,main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}

/* Variables*/
:root {
    --bg-main: #F1E9C7;
    --bg-light: #F8F4E6;
    --color-text: #274864;
    --color-red: #DE1A39;
    --color-white: #FFFFFF;
    --color-skyblue:#EAF0F1;
    --color-light-gray:#F1F0EA;

    --font-main: 'General Sans', sans-serif;
    --radius-sm: 3px;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
}

/* Bass*/
*, *::before, *::after {box-sizing:border-box; margin:0px; padding:0px;}

@font-face {font-family:'General Sans'; src:url('../fonts/GeneralSans-Variable.woff2') format('woff2'); font-weight:200 700; font-style:normal; font-display:swap;}

html {scroll-behavior:smooth;}

body {position:relative; font-family:var(--font-main); color:var(--color-text); font-size:clamp(0.875rem, 1.2vw, 1.125rem); line-height:1.6;}

ul {list-style:none; padding:0 0 0 15px; margin:0 0 15px 0;}

a {text-decoration:none; color:inherit; cursor:pointer;}
a:hover{text-decoration:underline}
a:focus-visible {outline: 2px solid var(--color-white); outline-offset: 3px; border-radius: 4px;}
a:focus:not(:focus-visible) {outline: none;}

img {max-width:100%; display:block; border:0px;}

section{display:flex; position:relative; padding:clamp(60px, 8vw, 100px) 0;}

h1, h2, h3, h4, h5, h6{font-weight:normal; font-family:var(--font-main);}

h1 {font-size: clamp(1.25rem, 3vw, 2rem);}
h2 {font-size: clamp(1.75rem, 4vw, 2.5rem);}
h3 {font-size: clamp(1.5rem, 3vw, 2rem);}
h4 {font-size: clamp(1.25rem, 2.5vw, 1.5rem);}
h5 {font-size: clamp(1.125rem, 2vw, 1.25rem);}
h6 {font-size: clamp(1rem, 1.5vw, 1.125rem);}

small {font-size: clamp(0.75rem, 1vw, 0.875rem);}

.btn, button {display:inline-block; padding:10px 20px; background-color:var(--color-red); color:var(--color-white); border-radius: var(--radius-sm); transition: 0.3s;}
.btn:hover, button:hover{opacity: 0.9;}

.w-100{width:100%}

.container{width:96%; max-width:1336px; margin-inline:auto; position:relative}

.fw-100{font-weight:100;}
.fw-200{font-weight:200;}
.fw-300{font-weight:300;}
.fw-400{font-weight:400;}
.fw-500{font-weight:500;}
.fw-600{font-weight:600;}
.fw-700{font-weight:700;}
.fw-800{font-weight:800;}
.fw-900{font-weight:900;}

.bg-red{background-color:var(--color-red) ;}
.color-white{color:var(--color-white) ;}


/*Layout*/
/*Start Header Section*/
header{position:relative; z-index:999; display:flex; flex-flow:row wrap; justify-content:space-between; align-items:center; padding:5px; top:-150px; position:fixed; transition:all .3s ease-out; background-color: rgba(255, 255, 255, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow:0 4px 30px rgba(0, 0, 0, 0.1);}
.header.is-fixed{position:fixed; top:0; left:0; animation:slideDown 0.3s ease;}
@keyframes slideDown {
    from {transform:translateY(-100%);}
    to {transform: translateY(0);}
}

header .container{display:flex; flex-flow:row wrap; justify-content:space-between; align-items:center;}
header a{transition:all .2s ease-in}
header .logo-small{display:flex; width:65px;}
header .right-logo{display:flex; flex-flow:row wrap; justify-content:center;}

nav ul{list-style:none; display:flex; flex-flow:row wrap; margin:0; padding:0; justify-content:center;}
nav li{display:flex; margin:0 2px;}
nav li a{display:flex; justify-content:center; align-items:center; height:36px; color:var(--color-text); border-radius:3px; padding:0 12px}
nav li a:hover{background:var(--color-red); color:var(--color-white); text-decoration:none}

.social-icons{display:flex; flex-flow:row wrap; justify-content:space-around; width:130px;}
.social-icons a{display: flex;justify-content: center;border-radius:3px;width: calc(94%/3);}
.social-icons a:hover{color:var(--color-white);}
.social-icons a svg{display: flex; justify-content: center; align-items: center;padding:0 10px}
.social-icons a svg path{width:36px;}
.social-icons a:nth-child(2) i{font-size:19px}
.social-icons a:hover {text-decoration: none;}
.social-icons a:hover i{color:#fff}
.social-icons a:first-child:hover {background:#1769ff}
.social-icons a:nth-child(2):hover {background:#007ab9}
.social-icons a:nth-child(3):hover {background:#3b579d}
/*End Header Section*/

/*Start Contact Icons Section*/
.home-contact-icons{display:flex; align-items:center; width:40px; position:fixed; height:100%; z-index:99; right:0;transition: width 0.3s ease-in-out;}
.home-contact-icons:has(>div:hover){width: 50px;}
.home-contact-icons>div{display:flex; flex-flow:column; justify-content:center; width:100%; padding:10px 0; border-radius:5px 0 0 5px; background:var(--color-red);}
.home-contact-icons a{margin:10px 0; line-height:0; display:flex; justify-content:center; padding:0 4px 0 0; opacity:.7; transition:all 0.2s ease-in-out;}
.home-contact-icons a:hover{text-decoration:none; opacity:1}
.home-contact-icons a img{width:20px}
/*End Contact Icons Section*/

/*Start Home Section*/
.home-section{display:flex; flex-flow:column nowrap; align-items:center; justify-content:center; padding:0; height:100vh; background-color:var(--color-skyblue);}
.home-logo-container{display:flex; flex-flow:column; align-items:center; justify-content:center; padding:0;position:relative; z-index:2;}
.home-section .logo-large{display:flex; flex-flow:column wrap; justify-content:center; align-items:center; width: clamp(16rem, 30vw, 30rem); margin:20px auto 20px;transition: transform 0.5s ease-out; will-change: transform; cursor: pointer;}
.home-section .logo-large>img{width:100%; margin:20px 0;}
.home-section .logo-large .logo-shadow{width:160px; height:2px; border-radius:50%; filter:blur(4px); background:#000000;
    background: radial-gradient(ellipse at center,rgba(0,0,0,0.35) 0%,rgba(0,0,0,0.85) 40%, rgba(0,0,0,0) 90%);}
.home-section .logo-line{width:0;height: 140px;margin:0 30px; border-left: 1px solid; border-left-color: rgba(255, 255, 255, .99);border-right: 1px solid;border-right-color: rgba(0, 0, 0, .1);}
.home-section .logo-text{display:flex; flex-flow:row nowrap; padding:0; margin:0; }
.home-logo-container .logo-text span{width:auto; letter-spacing: 1px;}
.home-logo-container .logo-text span::after{content:"|"; margin:0 15px;}
.home-logo-container .logo-text span:last-child::after{display:none;}

.visually-hidden{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important;}

/* Colour tokens */
:root { 
    --ink: currentColor; 
    --ink-2: #FF4FD8; 
    --ink-3: #4FF8FF; 
}

/* 07 Lens-Drift Effect - Hidden at first, then types/drifts in once */
.fx-focus {
    font-weight: inherit;
    letter-spacing: .08em;
    color: var(--ink);
    display: inline-block;
}

.fx-focus b {
    font-weight: inherit;
    display: inline-block;
    opacity: 0; /* مختفية تماماً في البداية */
    animation: fx-focus-reveal 1.2s ease-in-out 1 forwards;
    animation-delay: calc(var(--i) * 0.05s); 
}

@keyframes fx-focus-reveal {
    0% {
        filter: blur(8px);
        opacity: 0;
        transform: translateY(4px);
    }
    50% {
        filter: blur(4px);
        opacity: 0.5;
    }
    100% {
        filter: blur(0);
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fx-focus b {
        opacity: 1;
        animation: none;
        filter: blur(0);
        transform: none;
    }
}

.home-section .ball-img{position:absolute; height:100%;left:0; top:0; z-index:1}
.home-section .ball-img img{height:100%; width:auto;}

a.home-main-arrow {display:flex; justify-content:center; align-items:center; width:55px; height:55px; border-radius:50%; border:1px solid #B9B4B0; position:absolute; bottom:40px; z-index:3;}
a.home-main-arrow img{width:15px}
/*End Home Section*/

/*Start About Section*/
.about-section {padding-top:0}
.about-section .container{display:flex; flex-flow:row wrap; justify-content:space-between;}

.about-section a.about-photo{width:350px; height:790px; display:flex; justify-content:center; border-radius:0 0 250px 250px; overflow:hidden;}
.about-section a.about-photo img{max-width:unset; height:fit-content; opacity:.95; position:relative;}

.about-section .about-text{font-size:16px; line-height:23px; width:calc(100% - 400px); padding:110px 0 75px 0}
.about-section .about-text p{margin:15px 0}
.about-section .about-text p span{font-size:18px; text-transform:uppercase}

.about-section h2{line-height:62px; font-size:clamp(2.1rem, 4vw, 2.8rem); margin:0 0 40px; display:flex; flex-wrap:wrap; width:90%;}
.about-section h2 strong{margin-right:10px;}
.about-section h2 span:first-child{font-size:clamp(2rem, 6vw, 3.9rem);display:flex;flex-wrap:wrap;}
.about-section h2 .bg-red{padding:0 10px; white-space:nowrap; text-transform: uppercase; font-size:clamp(1.4rem, 3vw, 1.7rem);}
/*End About Section*/

/*Start Portfolio Section*/
.title h2{font-size:clamp(2.8rem, 10vw, 11rem); margin-bottom:clamp(1rem, 1vw, 2rem); text-transform:uppercase; text-align:center; letter-spacing:clamp(-1.2rem, -1.0vw, -0.3rem); line-height:clamp(2rem, 9vw, 11rem);}

.portfolio-section .container{flex-flow: column wrap;}
.portfolio-filters{display:flex; justify-content:center; margin: 25px 0}
.portfolio-filters li{background:#e4e3dd; color:#999; display:flex; align-items:center;justify-content: center;height: 40px;padding: 0 20px;margin: 2px;text-decoration:none; border-radius: var(--radius-sm); cursor:pointer; transition:all 0.2s ease-in-out;}
.portfolio-filters li:hover{background:#b3b2ad; color:var(--color-white); transition:all 0.2s ease-in-out;}
.portfolio-filters li.filter-active {cursor:context-menu; pointer-events:none; background:var(--color-red); color:var(--color-white);}

.logo-shape {width:220px; aspect-ratio:1; background-color: #F3EBCB; clip-path:polygon(0 0, 100% 0, 0 100%); position:relative; display:flex; align-items:center; justify-content:center;}
.logo-shape span{font-size:120px; font-weight:500; color:#000; position:absolute; top:12%; left:8%;}


.isotope-item{z-index: 2}
.isotope-hidden.isotope-item{pointer-events:none; z-index:1}
.isotope-item.is-hidden {pointer-events: none;}
.isotope, .isotope .isotope-item{/* change duration value to whatever you like */ transition-duration: 0.8s}
.isotope{transition-property: height, width}
.isotope .isotope-item{transition-property: transform, opacity}

.portfolio-section{background-color:var(--color-light-gray);}
.portfolio-container{display:block; position:relative; min-height:600px;}
.portfolio-container>div{display:flex; flex-flow:column wrap; width:31%; margin:20px 1% 5px}

.portfolio-item__content{display: flex; flex-flow: row wrap; justify-content: space-between; font-size: 15px; width: 100%; min-height: 67px;}
.portfolio-item__content h3{font-size: 21px; width: 100%; padding: 0; margin: 8px 0 0; text-overflow: ellipsis; white-space: nowrap; overflow: hidden}
.portfolio-item__content a{color:var(--color-red); font-size:13px; line-height:26px; text-transform:uppercase; display:flex; align-items:center;letter-spacing:1px;}
.portfolio-item__content a:hover{text-decoration:none;}

.portfolio-item__image{display:flex; width:100%; height:202px; overflow:hidden}
.portfolio-item__image a{width:100% ;background-color:#000;}
.portfolio-item__image img {width:100%; height:auto; opacity:0.5; transition:all 0.3s ease-in-out;  transform-origin: top;}
.portfolio-item__image img:hover {opacity:1; transform:scale(1.05); filter:blur(0px)}

footer{font-size:14px;color:var(--color-white);background:var(--color-text);height:86px;text-align:center;line-height:19px;padding:32px 15px;}
footer span{margin:0 4px}



/* =========================
   Responsive
========================= */

/* large screens */
@media screen and (max-width: 1366px) {
    .container{width:93%;}
    .portfolio-item__image{height:180px;}
}


/* Laptops */
@media screen and (max-width: 1199px) {
    .portfolio-item__image{height:160px;}
    .about-section .container{flex-flow:column; align-items:center; padding:100px 0;}
    .about-section a.about-photo{width:310px; height:310px; margin:0 0 30px; border-radius:50%; border:12px solid #fff; overflow:hidden; order: 1;}
    .about-section a.about-photo img{top:-2px;width:400px;}
    .about-section .about-text{width:80%; padding:0; order: 2;}    
}


/* Tablets */
@media screen and (max-width: 991px) {
    .home-section .ball-img{display:none;}
    .portfolio-container>div {width: 47% ;}
    .portfolio-item__image{height:176px;}
}


/* Small devices */
@media screen and (max-width: 767px) {
    .home-section .logo-text span{display:none;}
    .about-section h2{line-height:46px;}
}

/* Small devices */
@media screen and (max-width: 602px) {
    .portfolio-container>div {width: 98% ;}
    .about-section a.about-photo{width:260px; height:260px;}
    .about-section a.about-photo img{top:-7px;width:370px;}
}

/* Small devices */
@media screen and (max-width: 575px) {
    nav li a{padding:0 10px;}
    a.home-main-arrow{display:none;}
    .about-section h2{line-height:36px;}
    .about-section .about-text{width:90%;}
    .portfolio-filters{flex-flow:column; align-items:center;}
    .portfolio-filters li{width:80%;}
    footer{padding:26px 15px 32px;}
}