/* =========================
IDPAC - STYLE.CSS
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Vazirmatn',sans-serif;
background:#0B132B;
color:#F5F5F5;
line-height:2;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* =========================
TOP BAR
========================= */

.topbar{
background:#08101f;
color:#d4af37;
display:flex;
justify-content:space-between;
padding:10px 6%;
font-size:14px;
}

/* =========================
HEADER
========================= */

.header{
position:sticky;
top:0;
z-index:999;
background:rgba(11,19,43,.95);
backdrop-filter:blur(10px);
border-bottom:1px solid rgba(212,175,55,.2);
}

.nav-container{
display:flex;
align-items:center;
justify-content:space-between;
padding:15px 0;
}

.logo img{
max-height:85px;
}

.navbar ul{
list-style:none;
display:flex;
gap:35px;
}

.navbar a{
color:#fff;
text-decoration:none;
font-weight:500;
transition:.3s;
}

.navbar a:hover

/* =========================
HERO
========================= */

.hero{
min-height:100vh;
display:flex;
align-items:center;
position:relative;
overflow:hidden;
}

.hero-overlay{
position:absolute;
inset:0;
background:
radial-gradient(circle at center,
rgba(212,175,55,.08),
transparent 70%);
}

.hero-content{
display:flex;
align-items:center;
justify-content:space-between;
gap:60px;
position:relative;
z-index:2;
}

.hero-text{
flex:1;
}

.hero-text h1{
font-size:2rem;
line-height:1.7;
margin-bottom:25px;
color:#ffffff;
}

.hero-text p{
color:#c4c9d6;
font-size:1.1rem;
margin-bottom:35px;
}

.hero-image{
flex:1;
}

.hero-image img{
width:100%;
max-width:1920px;
border-radius:18px;
border:2px solid rgba(212,175,55,.25);
box-shadow:
0 0 35px rgba(212,175,55,.12);
}

.btn-primary{
display:inline-block;
background:#D4AF37;
color:#0B132B;
text-decoration:none;
padding:14px 30px;
border-radius:8px;
font-weight:700;
transition:.3s;
}

.btn-primary:hover{
transform:translateY(-3px);
}

/* =========================
ABOUT
========================= */

.about{
padding:110px 0;
}

.about-container{
display:flex;
align-items:center;
gap:50px;
}

.about-image{
flex:1;
}

.about-image img{
width:100%;
border-radius:18px;
}

.about-content{
flex:1;
}

.about-content h2{
color:#D4AF37;
margin-bottom:25px;
font-size:2rem;
}

.about-content p{
color:#d4d7df;
text-align:justify;
}

/* =========================
SERVICES
========================= */

.services{
padding:120px 0;
}

.section-title{
text-align:center;
color:#D4AF37;
font-size:2.4rem;
margin-bottom:50px;
}

.sub-title{
color:#fff;
font-size:1.5rem;
margin-bottom:30px;
}

.service-title{
margin-top:80px;
}

.cards-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

.card{
background:#16213E;
border:1px solid rgba(212,175,55,.15);
border-radius:18px;
padding:35px 25px;
transition:.3s;
text-align:center;
}

.card:hover{
transform:translateY(-10px);
border-color:#D4AF37;
box-shadow:
0 0 30px rgba(212,175,55,.15);
}

.icon{
font-size:42px;
margin-bottom:20px;
}

.card h3{
margin-bottom:15px;
color:#D4AF37;
}

.card p{
color:#c6cad3;
font-size:14px;
line-height:1.9;
}

/* =========================
FOOTER
========================= */

footer{
background:#08101f;
margin-top:100px;
}

.footer-content{
padding:40px 0;
display:flex;
justify-content:space-between;
gap:20px;
flex-wrap:wrap;
}

.footer-content div{
color:#d9dce3;
}

.footer-content strong{
color:#D4AF37;
}

.copyright{
text-align:center;
padding:20px;
border-top:1px solid rgba(255,255,255,.08);
color:#8f97aa;
}

/* =========================
TABLET
========================= */

@media(max-width:992px){

.hero-content{
flex-direction:column;
text-align:center;
}

.about-container{
flex-direction:column;
}

.cards-grid{
grid-template-columns:repeat(2,1fr);
}

.hero-text h1{
font-size:2.3rem;
}

}

/* =========================
MOBILE
========================= */

@media(max-width:768px){

.topbar{
flex-direction:column;
gap:5px;
text-align:center;
}

.nav-container{
flex-direction:column;
gap:20px;
}

.navbar ul{
gap:18px;
flex-wrap:wrap;
justify-content:center;
}

.hero{
min-height:auto;
padding:80px 0;
}

.hero-text h1{
font-size:1.7rem;
line-height:1.9;
}

.hero-text p{
font-size:1rem;
}

.cards-grid{
grid-template-columns:1fr;
}

.section-title{
font-size:2rem;
}

.about,
.services{
padding:80px 0;
}

.footer-content{
flex-direction:column;
text-align:center;
}

.logo img{
max-height:60px;
}

}

/* =========================
SMALL MOBILE
========================= */

@media(max-width:480px){

.hero-text h1{
font-size:1.4rem;
}

.btn-primary{
width:100%;
text-align:center;
}

}
