/* ==========================================================
   RamiOS Portfolio
   Author : Rami Alaidy
   Version: 1.0
========================================================== */


/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}

body{
    font-family:'Inter',sans-serif;
    background:#07090F;
    color:#F4F6FA;
    overflow-x:hidden;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

a{
    color:inherit;
    text-decoration:none;
}

button{
    font-family:inherit;
    cursor:pointer;
    border:none;
}

ul{
    list-style:none;
}


/* ==========================================================
   ROOT
========================================================== */

:root{

--primary:#4F7CFF;
--secondary:#7A5FFF;

--accent:#4FE0B5;

--success:#32D296;

--danger:#FF5D73;

--warning:#FFC857;

--dark:#07090F;

--dark2:#11131B;

--dark3:#171A24;

--text:#F4F6FA;

--text-light:#A5A9B8;

--border:rgba(255,255,255,.08);

--glass:rgba(255,255,255,.04);

--shadow:0 20px 70px rgba(0,0,0,.35);

--radius:18px;

--radius-large:28px;

--transition:.35s cubic-bezier(.4,.2,.2,1);

}


/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1{

font-size:72px;

line-height:1.05;

font-weight:800;

letter-spacing:-2px;

}

h2{

font-size:52px;

font-weight:700;

line-height:1.2;

}

h3{

font-size:30px;

font-weight:700;

}

h4{

font-size:22px;

font-weight:600;

}

p{

font-size:18px;

color:var(--text-light);

margin-top:15px;

}


/* ==========================================================
   CONTAINER
========================================================== */

.container{

width:min(1320px,92%);

margin:auto;

}


/* ==========================================================
   SECTIONS
========================================================== */

section{

position:relative;

padding:120px 0;

}


/* ==========================================================
   BACKGROUND
========================================================== */

body::before{

content:"";

position:fixed;

top:-300px;

left:-250px;

width:700px;

height:700px;

background:radial-gradient(circle,

rgba(79,124,255,.18),

transparent 70%);

pointer-events:none;

z-index:-3;

}

body::after{

content:"";

position:fixed;

right:-250px;

bottom:-300px;

width:700px;

height:700px;

background:radial-gradient(circle,

rgba(122,95,255,.15),

transparent 70%);

pointer-events:none;

z-index:-3;

}


/* ==========================================================
   GRID
========================================================== */

.grid-2{

display:grid;

grid-template-columns:1fr 1fr;

gap:70px;

align-items:center;

}

.grid-3{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:35px;

}

.grid-4{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:30px;

}


/* ==========================================================
   GLASS
========================================================== */

.glass{

background:var(--glass);

backdrop-filter:blur(20px);

border:1px solid var(--border);

border-radius:var(--radius-large);

box-shadow:var(--shadow);

}


/* ==========================================================
   SECTION TITLE
========================================================== */

.section-title{

text-align:center;

margin-bottom:80px;

}

.section-title span{

display:inline-block;

padding:8px 18px;

background:rgba(79,124,255,.15);

border-radius:999px;

font-size:14px;

color:#8FB2FF;

margin-bottom:20px;

}

.section-title h2{

margin-bottom:18px;

}

.section-title p{

max-width:760px;

margin:auto;

}


/* ==========================================================
   HERO
========================================================== */

.hero{

min-height:100vh;

display:flex;

align-items:center;

padding-top:120px;

}

.hero h1 span{

background:linear-gradient(90deg,

#4F7CFF,

#7A5FFF);

-webkit-background-clip:text;

-webkit-text-fill-color:transparent;

}

.hero p{

font-size:21px;

max-width:650px;

margin-top:28px;

}


/* ==========================================================
   BUTTONS
========================================================== */

.btn{

display:inline-flex;

align-items:center;

justify-content:center;

padding:16px 34px;

border-radius:999px;

font-weight:600;

transition:var(--transition);

margin-right:14px;

}

.btn-primary{

background:linear-gradient(135deg,

#4F7CFF,

#7A5FFF);

color:white;

box-shadow:

0 15px 35px rgba(79,124,255,.35);

}

.btn-primary:hover{

transform:translateY(-4px);

box-shadow:

0 25px 60px rgba(79,124,255,.45);

}

.btn-secondary{

border:1px solid var(--border);

background:var(--glass);

}

.btn-secondary:hover{

background:#1B2030;

}


/* ==========================================================
   CARDS
========================================================== */

.card{

padding:35px;

background:var(--glass);

border:1px solid var(--border);

border-radius:24px;

transition:var(--transition);

}

.card:hover{

transform:translateY(-10px);

border-color:#4F7CFF;

box-shadow:var(--shadow);

}
/*=========================================================
  NAVBAR
=========================================================*/

header{

    position:fixed;
    top:0;
    left:0;
    width:100%;

    z-index:9999;

    background:rgba(7,9,15,.75);

    backdrop-filter:blur(24px);

    border-bottom:1px solid rgba(255,255,255,.05);

    transition:.35s;

}

header.scrolled{

    background:#07090F;

    box-shadow:0 15px 50px rgba(0,0,0,.45);

}

.navbar{

    height:82px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.logo{

    display:flex;

    align-items:center;

    gap:14px;

}

.logo img{

    width:42px;

}

.logo h2{

    font-size:28px;

    color:white;

}

.logo span{

    color:var(--primary);

}

.nav-links{

    display:flex;

    align-items:center;

    gap:36px;

}

.nav-links a{

    position:relative;

    color:var(--text-light);

    font-size:16px;

    transition:.3s;

}

.nav-links a:hover{

    color:white;

}

.nav-links a::after{

    content:"";

    position:absolute;

    bottom:-8px;

    left:0;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.35s;

}

.nav-links a:hover::after{

    width:100%;

}

/*=========================================================
 HERO IMAGE
=========================================================*/

.hero-image{

    position:relative;

    display:flex;

    justify-content:center;

}

.hero-image img{

    width:460px;

    border-radius:40px;

    box-shadow:0 35px 100px rgba(0,0,0,.45);

}

.hero-image::before{

    content:"";

    position:absolute;

    width:540px;

    height:540px;

    border-radius:50%;

    background:radial-gradient(circle,

    rgba(79,124,255,.25),

    transparent);

    z-index:-1;

}

/*=========================================================
 HERO BADGE
=========================================================*/

.hero-badge{

display:inline-flex;

align-items:center;

gap:10px;

padding:10px 20px;

border-radius:100px;

background:rgba(79,124,255,.15);

border:1px solid rgba(79,124,255,.25);

color:#9DBDFF;

font-size:15px;

margin-bottom:25px;

}

/*=========================================================
 HERO BUTTONS
=========================================================*/

.hero-buttons{

margin-top:45px;

display:flex;

gap:18px;

flex-wrap:wrap;

}

/*=========================================================
 STATISTICS
=========================================================*/

.statistics{

margin-top:90px;

}

.stats-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:30px;

}

.stat-card{

padding:45px;

background:rgba(255,255,255,.03);

border:1px solid rgba(255,255,255,.06);

border-radius:26px;

text-align:center;

transition:.35s;

}

.stat-card:hover{

transform:translateY(-8px);

background:#10131C;

}

.stat-card h2{

font-size:58px;

background:linear-gradient(

135deg,

#4F7CFF,

#7A5FFF);

-webkit-background-clip:text;

-webkit-text-fill-color:transparent;

}

.stat-card p{

margin-top:12px;

font-size:16px;

}

/*=========================================================
 FEATURED PROJECT
=========================================================*/

.featured-project{

padding:140px 0;

}

.featured-grid{

display:grid;

grid-template-columns:1fr 1fr;

gap:70px;

align-items:center;

}

.featured-image img{

border-radius:28px;

box-shadow:var(--shadow);

}

.feature-list{

margin-top:30px;

display:grid;

grid-template-columns:repeat(2,1fr);

gap:18px;

}

.feature{

padding:18px;

background:rgba(255,255,255,.03);

border-radius:16px;

border:1px solid rgba(255,255,255,.05);

}

/*=========================================================
 PROJECT GRID
=========================================================*/

.projects-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:35px;

}

.project-card{

overflow:hidden;

background:#12151E;

border-radius:26px;

transition:.35s;

border:1px solid rgba(255,255,255,.06);

}

.project-card:hover{

transform:translateY(-10px);

box-shadow:var(--shadow);

}

.project-card img{

height:250px;

width:100%;

object-fit:cover;

}

.project-card-content{

padding:28px;

}

.project-card h3{

margin-bottom:12px;

}

.project-card p{

font-size:16px;

}

/*=========================================================
 TAGS
=========================================================*/

.tags{

display:flex;

flex-wrap:wrap;

gap:10px;

margin-top:20px;

}

.tag{

padding:8px 16px;

border-radius:100px;

background:rgba(79,124,255,.15);

font-size:14px;

color:#AFC7FF;

}

/*=========================================================
 CASE STUDY
=========================================================*/

.case-study{

display:grid;

grid-template-columns:1fr 1fr;

gap:80px;

align-items:center;

margin-top:120px;

}

.case-study.reverse{

direction:rtl;

}

.case-study.reverse>*{

direction:ltr;

}

.case-image img{

border-radius:30px;

box-shadow:var(--shadow);

}

.case-list{

margin-top:35px;

display:flex;

flex-direction:column;

gap:18px;

}

.case-item{

padding:18px 22px;

background:rgba(255,255,255,.03);

border-left:4px solid var(--primary);

border-radius:12px;

}
/*=========================================================
    TIMELINE
=========================================================*/

.timeline{

    position:relative;

    max-width:1000px;

    margin:80px auto 0;

}

.timeline::before{

    content:"";

    position:absolute;

    left:50%;

    top:0;

    width:2px;

    height:100%;

    background:rgba(255,255,255,.08);

    transform:translateX(-50%);

}

.timeline-item{

    width:50%;

    position:relative;

    padding:0 50px 70px;

}

.timeline-item:nth-child(odd){

    margin-left:auto;

}

.timeline-item::before{

    content:"";

    position:absolute;

    width:18px;

    height:18px;

    background:var(--primary);

    border-radius:50%;

    top:18px;

    left:-9px;

    box-shadow:0 0 25px rgba(79,124,255,.5);

}

.timeline-item:nth-child(odd)::before{

    left:auto;

    right:-9px;

}

.timeline-content{

    padding:30px;

    border-radius:24px;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.05);

}

.timeline-year{

    color:var(--primary);

    font-weight:700;

    margin-bottom:15px;

}

/*=========================================================
    SKILLS
=========================================================*/

.skills-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:30px;

margin-top:60px;

}

.skill{

padding:30px;

background:rgba(255,255,255,.03);

border-radius:20px;

border:1px solid rgba(255,255,255,.05);

}

.skill-header{

display:flex;

justify-content:space-between;

margin-bottom:15px;

}

.progress{

height:10px;

border-radius:100px;

background:#1B2130;

overflow:hidden;

}

.progress span{

display:block;

height:100%;

border-radius:100px;

background:linear-gradient(90deg,#4F7CFF,#7A5FFF);

}

/*=========================================================
    APP STORE
=========================================================*/

.store-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:35px;

margin-top:70px;

}

.store-card{

overflow:hidden;

background:#11151E;

border-radius:28px;

transition:.35s;

}

.store-card:hover{

transform:translateY(-10px);

}

.store-card img{

height:260px;

object-fit:cover;

width:100%;

}

.store-content{

padding:25px;

}

.store-content h3{

margin-bottom:12px;

}

.store-content a{

display:inline-block;

margin-top:20px;

color:var(--primary);

font-weight:600;

}

/*=========================================================
    ARTICLE CARD
=========================================================*/

.article-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:35px;

}

.article{

background:#12161F;

border-radius:26px;

overflow:hidden;

transition:.35s;

}

.article:hover{

transform:translateY(-8px);

}

.article img{

height:240px;

width:100%;

object-fit:cover;

}

.article-body{

padding:28px;

}

.article-date{

font-size:14px;

color:var(--primary);

margin-bottom:15px;

}

/*=========================================================
    CONTACT
=========================================================*/

.contact-wrapper{

display:grid;

grid-template-columns:1fr 1fr;

gap:80px;

align-items:center;

}

.contact-card{

padding:45px;

background:rgba(255,255,255,.03);

border-radius:28px;

border:1px solid rgba(255,255,255,.05);

}

.contact-item{

display:flex;

align-items:center;

gap:18px;

margin-bottom:25px;

}

.contact-item i{

width:55px;

height:55px;

display:flex;

align-items:center;

justify-content:center;

background:#181D28;

border-radius:50%;

color:var(--primary);

font-size:22px;

}

/*=========================================================
    FORM
=========================================================*/

form{

display:flex;

flex-direction:column;

gap:20px;

}

input,
textarea{

padding:18px 22px;

background:#11151E;

border:1px solid rgba(255,255,255,.05);

border-radius:16px;

color:white;

font-size:16px;

transition:.3s;

}

textarea{

resize:none;

min-height:180px;

}

input:focus,
textarea:focus{

outline:none;

border-color:var(--primary);

box-shadow:0 0 20px rgba(79,124,255,.15);

}

/*=========================================================
    CTA
=========================================================*/

.cta{

padding:100px 60px;

text-align:center;

border-radius:35px;

background:linear-gradient(
135deg,
#4F7CFF,
#6C63FF);

}

.cta h2{

color:white;

margin-bottom:20px;

}

.cta p{

color:rgba(255,255,255,.85);

max-width:700px;

margin:auto;

}

/*=========================================================
    FOOTER
=========================================================*/

footer{

margin-top:140px;

padding:80px 0 40px;

border-top:1px solid rgba(255,255,255,.05);

}

.footer-grid{

display:grid;

grid-template-columns:2fr 1fr 1fr 1fr;

gap:50px;

}

.footer-title{

margin-bottom:25px;

}

.footer-links{

display:flex;

flex-direction:column;

gap:15px;

}

.footer-links a{

color:var(--text-light);

transition:.3s;

}

.footer-links a:hover{

color:white;

padding-left:6px;

}

.copyright{

margin-top:60px;

padding-top:25px;

border-top:1px solid rgba(255,255,255,.05);

text-align:center;

color:#8A91A6;

}

/*=========================================================
    UTILITIES
=========================================================*/

.text-center{

text-align:center;

}

.mt-1{margin-top:10px;}
.mt-2{margin-top:20px;}
.mt-3{margin-top:30px;}
.mt-4{margin-top:40px;}
.mt-5{margin-top:60px;}

.mb-1{margin-bottom:10px;}
.mb-2{margin-bottom:20px;}
.mb-3{margin-bottom:30px;}
.mb-4{margin-bottom:40px;}
.mb-5{margin-bottom:60px;}

.hidden{

display:none;

}

.w-100{

width:100%;

}

.shadow{

box-shadow:var(--shadow);

}

.rounded{

border-radius:var(--radius);

}
