@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Outfit:wght@100..900&display=swap');

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

* font-famil{
    margin: 0;
    padding: 0;
}

:root{
    --black: #141414 ; 
    --dark-grey: #333333;
    --medium-grey: #636363;
    --light-grey: #eeeeee;
    --light-red: #ffadb7;
    --dark-red:#cc0000 ;
    --light-yallow: #fae994;
    --ash: #F5F7F8;
    --primary-color: #ff0000;
    --red : #cf3030;
    --yallow: #e88a1a ;
    --white: white;
    --bleu : #66e6ff;
    --grid-grey: linear-gradient(#eeeeee, #e0e0e0);
    --grid-red: linear-gradient(#cc0000 3%, #e0e0e0 3%, #eeeeee 100%);
    --titel-grey: linear-gradient(#3b3b3b -70%, #e0e0e0 50%, #eeeeee 80%);
    --titel-red: linear-gradient(#ff0000 -20%, #eeeeee 80%);
    --titel-black: linear-gradient(#eeeeee -20%, #141414 80%) ;
    --gradient-one: linear-gradient(90deg, rgba(84, 54, 115, 1) 0%, rgba(217, 62, 48, 1) 35%, rgba(163, 242, 101, 1) 100%);
    --gradient-tow: linear-gradient(90deg, rgba(242, 41, 152, 1) 0%, rgba(91, 68, 242, 1) 35%, rgba(4, 217, 96, 1) 100%);
    --gradient-three: linear-gradient(90deg, #640D5F 0%, #D91656 50%, #FFB200 100%);
     --gradient-four: linear-gradient(90deg, rgba(242, 41, 152, 1) 0%, rgba(217, 62, 48, 1) 100%);
}

.gery-grad-bg{
    background: var(--grid-grey);
}

.grey-col-bg{
    background: var(--ash);
    backdrop-filter: blur(20px);
}

.red-grad-bg{
    background: var(--titel-red);
}

.one-grad-gb{
    background:  var(--gradient-one);
}

.tow-grad-gb{
    background:  var(--gradient-tow);
}

.three-grad-gb{
    background:  var(--gradient-three);
}

.four-grad-gb{
    background:  var(--gradient-four);
}

html,section {
    background-color: var(--light-grey);
    font-family: "Outfit", sans-serif;
    transition: background-color 600ms ease;
    color: var(--black);
    letter-spacing: -0.4px;
    width: 100%;
}
  
body {
    font-family: "Outfit", sans-serif;
    background-color: var(--light-grey);
    transition: background-color 600ms ease;
    color: var(--black);
    letter-spacing: -0.4px;
    width: 100%;
}

a{
    font-family: "Chakra Petch", sans-serif;
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}


.button {
	-webkit-transition: all 200ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
	-moz-transition: all 200ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
	-ms-transition: all 200ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
	-o-transition: all 200ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
	transition: all 200ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
	margin: 5vh 0;
	text-decoration: none;
	border-radius: 50px;
	padding: 10px 15px;
}

.btn-1 {
	color: var(--primary-color);
	box-shadow: var(--dark-red) 0 0px 0px 2px inset;
}

.btn-1:hover {
	color: var(--light-grey);
	box-shadow: var(--dark-red) 0 80px 0px 2px inset;
}

.btn-b{
    font-size: 1rem;
    color: var(--light-grey);
    background-color: var(--black);
	box-shadow: var(--black) 0 0px 0px 2px inset;
}
.btn-b:hover{
    color: var(--light-grey);
    background-color: var(--dark-grey);
	box-shadow: var(--medium-grey) 0 80px 0px 2px inset;
}

.everything-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.everything-title h1 {
    background: var(--titel-grey);
    font-size: 10rem;
    font-weight: 900;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    margin: 0;
}

.everything-title h2 {
    background: var(--titel-red);
    font-size: 5rem;
    font-weight: 900;
    font-variant: small-caps;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    margin:0 0 50px 0;
}

.everything-title-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.everything-title-2 h2 {
    background: var(--titel-black);
    font-size: 5rem;
    font-weight: 900;
    font-variant: small-caps;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    margin:0 0 50px 0;
}

section {
    display: block;
    unicode-bidi: isolate;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 110px;
    z-index: 996;
    width: 50px;
    height: 50px;
    padding: calc(0.3 * var(--m)) calc(0.4 * var(--m));
    border-radius: calc(0.2 * var(--m));
    transition: all 0.4s;
}
  
.back-to-top i {
    font-size: 35px;
    color: var(--primary-color);
    line-height: 0;
}
  
.back-to-top:hover {
    background-color: var(--white);
}
  
.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# header
--------------------------------------------------------------*/
#header {
    position: fixed;
    padding: 10px 0;
    top: 0;
    width: 100%;
    z-index: 997;
    backdrop-filter: blur(10px);
    box-shadow: none;
    transition: all 0.5s;
}
/*--------------------------------------------------------------
# Navigation Menu 
--------------------------------------------------------------*/
.logo {
    max-height: 8vh;
}
.navbar{
    padding: 0 50px;
}

/*--------------------------------------------------------------
# everything
--------------------------------------------------------------*/
.hero-img img{
    max-height: 40vh;
    border-radius: 50%;
    z-index: 1;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

.top-wave span,
.but-wave span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40vh; 
  height: 40vh;
  transform: translate(-50%, -50%) scale(0);
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  opacity: 0.6;
  animation: ripple 3s infinite ease-out;
  z-index: 0; 
}

.top-wave span:nth-child(1) { animation-delay: 0s; }
.top-wave span:nth-child(2) { animation-delay: 0.6s; }
.top-wave span:nth-child(3) { animation-delay: 1.2s; }
.top-wave span:nth-child(4) { animation-delay: 1.8s; }

.but-wave span:nth-child(1) { animation-delay: 0s; }
.but-wave span:nth-child(2) { animation-delay: 0.6s; }
.but-wave span:nth-child(3) { animation-delay: 1.2s; }
.but-wave span:nth-child(4) { animation-delay: 1.8s; }

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scaleY(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scaleY(1.7); /* امتداد أكبر */
    opacity: 0;
  }
}

.ex-box {
  border: 1px solid var(--black);
  background: var(--light-grey);
  width: 20rem;
  height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s ease, top 0.5s ease, left 0.5s ease;
}

.exb-l {
  transform: rotate(-5deg);
  z-index: 0;
}

.exb-r {
  transform: rotate(5deg);
  z-index: 0;
}

.ex-b .exb-l,
.ex-b .exb-r {
  transition: transform 0.5s ease !;
}
