/*
==========================================
DIGITAL 4 ALL
Premium Theme Styles
==========================================
*/

:root{

    --primary:#0B2C6B;
    --secondary:#1E63C6;
    --accent:#F58220;

    --white:#ffffff;
    --light:#f5f7fb;
    --text:#3b4658;
    --heading:#0f172a;
    --border:#e8edf5;

    --radius:18px;

    --shadow:0 15px 40px rgba(0,0,0,.08);

    --transition:.35s ease;

}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{

scroll-behavior:smooth;

}

body{

font-family:Arial,Helvetica,sans-serif;
font-size:16px;
line-height:1.7;
color:var(--text);
background:#fff;

}

img{

display:block;
max-width:100%;
height:auto;

}

a{

text-decoration:none;
transition:var(--transition);

}

ul{

list-style:none;

}

.container{

width:92%;
max-width:1280px;
margin:auto;

}

/*
========================
Header
========================
*/

.site-header{

position:fixed;
top:0;
left:0;
width:100%;
z-index:999;
background:rgba(11,44,107,.95);
backdrop-filter:blur(10px);
transition:.4s;

}

.site-header.sticky{

box-shadow:0 10px 30px rgba(0,0,0,.15);

}

.header-container{

display:flex;
align-items:center;
justify-content:space-between;
height:90px;

}

.logo img{
    height:80px !important;
    width:auto !important;
    max-height:none !important;
}

.logo h2{

color:#fff;
font-size:32px;

}

.logo span{

color:var(--accent);

}

.main-menu{

display:flex;
gap:35px;

}

.main-menu a{

color:#fff;
font-weight:600;

}

.main-menu a:hover{

color:var(--accent);

}

/*
========================
Buttons
========================
*/

.btn{

display:inline-flex;
align-items:center;
justify-content:center;
padding:15px 32px;
border-radius:50px;
font-weight:700;
transition:.3s;

}

.btn-primary{

background:var(--accent);
color:#fff;

}

.btn-primary:hover{

transform:translateY(-4px);

}

.btn-outline{

border:2px solid #fff;
color:#fff;

}

.btn-outline:hover{

background:#fff;
color:var(--primary);

}

.hero-buttons{

display:flex;
gap:20px;
margin-top:35px;
flex-wrap:wrap;

}

/*
========================
Hero
========================
*/

.hero{

padding:200px 0 120px;
background:linear-gradient(135deg,#0B2C6B,#1E63C6);
color:#fff;

}

.hero-grid{

display:grid;
grid-template-columns:1.1fr 1fr;
gap:70px;
align-items:center;

}

.hero-tag{

display:inline-block;
padding:10px 20px;
background:rgba(255,255,255,.15);
border-radius:40px;
margin-bottom:20px;

}

.hero h1{

font-size:58px;
line-height:1.1;
margin-bottom:25px;

}

.hero p{

font-size:20px;
opacity:.9;

}

.hero-image img{

border-radius:25px;
box-shadow:0 30px 60px rgba(0,0,0,.35);

}

/*
========================
Sections
========================
*/

section{

padding:50px 0;

}

.section-title{

text-align:center;
margin-bottom:60px;

}

.section-title span{

color:var(--accent);
font-weight:700;
letter-spacing:2px;

}

.section-title h2{

font-size:42px;
color:var(--heading);
margin-top:10px;

}

/*
========================
Services
========================
*/

.services{

background:var(--light);

}

.services-grid{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:35px;

}

.service-card{

background:#fff;
padding:45px;
border-radius:var(--radius);
box-shadow:var(--shadow);
transition:.35s;

}

.service-card:hover{

transform:translateY(-12px);

}

.service-card h3{

font-size:26px;
margin-bottom:15px;
color:var(--primary);

}

/*
========================
Why
========================
*/

.why-grid{

display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;

}

.why-box{

padding:45px;
background:#fff;
border-radius:18px;
box-shadow:var(--shadow);
text-align:center;
transition:.35s;

}

.why-box:hover{

background:var(--primary);
color:#fff;

}

/*
========================
Projects
========================
*/

.projects{

background:var(--light);

}

.projects-grid{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;

}

.projects-grid img{

width:100%;
height:320px;
object-fit:cover;
border-radius:18px;
transition:.4s;
cursor:pointer;

}

.projects-grid img:hover{

transform:scale(1.05);

}

/*
========================
Forms
========================
*/

.d4a-contact-form{

max-width:750px;
margin:auto;
display:grid;
gap:20px;

}

.d4a-contact-form input,
.d4a-contact-form textarea{

width:100%;
padding:18px;
border-radius:15px;
border:1px solid var(--border);
font-size:16px;

}

.d4a-contact-form input:focus,
.d4a-contact-form textarea:focus{

outline:none;
border-color:var(--secondary);

}

/*
========================
Page
========================
*/

.page-header{

padding:180px 0 70px;
background:var(--primary);
color:#fff;

}

.page-header h1{

font-size:52px;

}

.page-body{

padding:80px 0;

}

/*
========================
Posts
========================
*/

.d4a-post{

margin-bottom:60px;
padding-bottom:50px;
border-bottom:1px solid var(--border);

}

.post-title{

font-size:36px;
margin:25px 0;

}

.post-title a{

color:var(--heading);

}

.post-meta{

display:flex;
gap:20px;
margin:15px 0;
color:#888;

}

/*
========================
Footer
========================
*/

.site-footer{

background:#071c45;
color:#fff;

}

.footer-grid{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:50px;

}

.footer-column{

padding:70px 0;

}

.footer-column h3{

margin-bottom:20px;

}

.footer-column ul li{

margin-bottom:12px;

}

.footer-column a{

color:#fff;

}

.footer-column a:hover{

color:var(--accent);

}

.footer-bottom{

padding:25px 0;
text-align:center;
border-top:1px solid rgba(255,255,255,.1);

}

/*
========================
Animations
========================
*/

.hidden{

opacity:0;
transform:translateY(40px);
transition:.8s;

}

.show{

opacity:1;
transform:translateY(0);

}

/*
========================
Mobile Button
========================
*/

.mobile-toggle{

display:none;
background:none;
border:none;
cursor:pointer;

}

.mobile-toggle span{

display:block;
width:28px;
height:3px;
margin:5px;
background:#fff;

}

/*
========================
Responsive
========================
*/

@media(max-width:991px){

.hero-grid,
.services-grid,
.projects-grid,
.footer-grid,
.why-grid{

grid-template-columns:1fr;

}

.hero{

text-align:center;

}

.hero h1{

font-size:42px;

}

.hero-buttons{

justify-content:center;

}

.main-menu{

display:none;
position:absolute;
top:90px;
left:0;
width:100%;
background:var(--primary);
padding:30px;

}

.main-menu.active{

display:flex;
flex-direction:column;

}

.mobile-toggle{

display:block;

}

.header-buttons{

display:none;

}

.section-title h2{

font-size:34px;

}

.page-header h1{

font-size:40px;

}

}

@media(max-width:600px){

.hero{

padding-top:150px;

}

.hero h1{

font-size:34px;

}

.btn{

width:100%;

}

}
.project-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.project-card img{
    width:100%;
    height:320px;
    object-fit:cover;
    display:block;
}

.project-card:hover{
    transform:translateY(-8px);
    transition:.3s;
}
.page-body{
    padding-bottom:30px;
}

.projects{
    padding-top:30px;
}
@media(max-width:600px){

.hero{
    padding-top:150px;
}

.hero h1{
    font-size:34px;
}

.btn{
    width:100%;
}

}

.project-card{
    ...
}
@media (max-width: 991px){

.main-navigation{
    width:100%;
}

.main-menu{
    display:none;
    flex-direction:column;
    position:absolute;
    top:90px;
    left:0;
    width:100%;
    background:#0B2C6B;
    padding:20px;
    z-index:999;
}

.main-menu.active{
    display:flex;
}

.mobile-toggle{
    display:block;
    background:none;
    border:none;
    cursor:pointer;
    z-index:1000;
}

.header-buttons{
    display:none;
}

}