/* ==========================================
   GLOBAL SETTINGS
========================================== */

:root{
    --primary:#0057b8;
    --primary-dark:#003f86;
    --primary-light:#eaf3ff;

    --secondary:#0094ff;

    --text:#222;
    --text-light:#666;

    --white:#ffffff;
    --light:#f8fafc;
    --border:#dce6f5;

    --success:#28a745;
    --warning:#ffc107;
    --danger:#dc3545;

    --shadow:0 5px 20px rgba(0,0,0,.08);

    --radius:10px;
    --transition:.3s ease;
}

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

*{
    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;
}

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

h1,h2,h3,h4,h5,h6{
    color:#0d1b2a;
    line-height:1.3;
    margin-bottom:15px;
    font-weight:700;
}

h1{
    font-size:2.8rem;
}

h2{
    font-size:2rem;
    margin-top:50px;
}

h3{
    font-size:1.5rem;
}

p{
    margin-bottom:20px;
}

a{
    text-decoration:none;
    color:var(--primary);
    transition:var(--transition);
}

a:hover{
    color:var(--primary-dark);
}

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

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

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}

/* ==========================================
   HEADER
========================================== */

.site-header{
    background:#fff;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:var(--shadow);
}

.header-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:80px;
}

.logo{
    font-size:2rem;
    font-weight:800;
    color:var(--primary);
}

.logo span{
    color:var(--secondary);
}

.nav-menu{
    display:flex;
    list-style:none;
    gap:30px;
}

.nav-menu a{
    font-weight:600;
}

.nav-menu a:hover{
    color:var(--secondary);
}

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

.hero{
    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:#fff;
    padding:100px 0;
}

.hero h1{
    color:#fff;
    font-size:3.5rem;
}

.hero p{
    font-size:1.2rem;
    max-width:700px;
}

.hero-buttons{
    margin-top:30px;
    display:flex;
    gap:15px;
}

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

.btn{
    display:inline-block;
    padding:14px 28px;
    border-radius:8px;
    font-weight:700;
    transition:var(--transition);
}

.btn-primary{
    background:#fff;
    color:var(--primary);
}

.btn-primary:hover{
    background:#f2f2f2;
}

.btn-secondary{
    background:var(--primary-dark);
    color:#fff;
}

.btn-secondary:hover{
    background:#002d5e;
}

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

.card{
    background:#fff;
    border-radius:var(--radius);
    padding:25px;
    box-shadow:var(--shadow);
    transition:var(--transition);
}

.card:hover{
    transform:translateY(-5px);
}

.card-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

/* ==========================================
   ARTICLE PAGE
========================================== */

.single-post{
    max-width:900px;
    margin:auto;
    padding:40px 0;
}

.post-header{
    margin-bottom:40px;
}

.post-header h1{
    font-size:3rem;
}

.post-meta{
    color:var(--text-light);
    margin-bottom:25px;
}

.featured-image{
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:var(--shadow);
}

.post-content{
    font-size:1.1rem;
}

.post-content ul,
.post-content ol{
    margin:20px 0;
    padding-left:25px;
}

.post-content li{
    margin-bottom:10px;
}

.post-content blockquote{
    border-left:5px solid var(--primary);
    padding:20px;
    margin:30px 0;
    background:var(--primary-light);
}

.post-content table{
    width:100%;
    border-collapse:collapse;
    margin:30px 0;
}

.post-content table th{
    background:var(--primary);
    color:#fff;
}

.post-content table th,
.post-content table td{
    padding:15px;
    border:1px solid var(--border);
}

/* ==========================================
   BREADCRUMBS
========================================== */

.breadcrumbs{
    margin-top:30px;
    margin-bottom:20px;
    font-size:.95rem;
}

.breadcrumbs span{
    margin:0 8px;
    color:#999;
}

/* ==========================================
   SIDEBAR
========================================== */

.sidebar-widget{
    background:#fff;
    padding:25px;
    margin-bottom:30px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.sidebar-widget h3{
    border-bottom:3px solid var(--primary);
    padding-bottom:10px;
    margin-bottom:20px;
}

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

.cta-section{
    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:#fff;
    text-align:center;
    padding:70px 20px;
    border-radius:var(--radius);
    margin:60px 0;
}

.cta-section h2{
    color:#fff;
    margin-top:0;
}

.cta-section p{
    max-width:700px;
    margin:auto;
}

/* ==========================================
   FORMS
========================================== */

form{
    margin-top:20px;
}

input,
textarea,
select{
    width:100%;
    padding:14px;
    border:1px solid var(--border);
    border-radius:8px;
    margin-bottom:15px;
    font-size:16px;
}

input:focus,
textarea:focus,
select:focus{
    outline:none;
    border-color:var(--primary);
}

button{
    border:none;
    cursor:pointer;
}

button.btn{
    background:var(--primary);
    color:#fff;
}

button.btn:hover{
    background:var(--primary-dark);
}

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

.services{
    padding:80px 0;
}

.service-box{
    text-align:center;
    padding:30px;
}

.service-box h3{
    margin-top:15px;
}

/* ==========================================
   FAQ
========================================== */

.faq-item{
    margin-bottom:20px;
    border:1px solid var(--border);
    border-radius:var(--radius);
    overflow:hidden;
}

.faq-question{
    background:var(--primary);
    color:#fff;
    padding:18px;
    font-weight:700;
}

.faq-answer{
    padding:20px;
    background:#fff;
}

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

.contact-box{
    background:#fff;
    padding:30px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.contact-box strong{
    color:var(--primary);
}

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

.site-footer{
    background:#0d1b2a;
    color:#fff;
    padding:60px 0 20px;
    margin-top:80px;
}

.footer-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.site-footer h3{
    color:#fff;
}

.site-footer a{
    color:#d7e6ff;
}

.site-footer a:hover{
    color:#fff;
}

.footer-bottom{
    text-align:center;
    margin-top:40px;
    border-top:1px solid rgba(255,255,255,.1);
    padding-top:20px;
}

/* ==========================================
   CALL NOW BAR
========================================== */

.call-now{
    background:var(--success);
    color:#fff;
    text-align:center;
    padding:15px;
    font-weight:700;
}

.call-now a{
    color:#fff;
}

/* ==========================================
   ALERTS
========================================== */

.alert{
    padding:15px;
    border-radius:8px;
    margin-bottom:20px;
}

.alert-success{
    background:#d4edda;
}

.alert-warning{
    background:#fff3cd;
}

.alert-danger{
    background:#f8d7da;
}

/* ==========================================
   PAGINATION
========================================== */

.pagination{
    display:flex;
    justify-content:center;
    gap:10px;
    margin:50px 0;
}

.pagination a{
    padding:10px 15px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:6px;
}

.pagination a.active{
    background:var(--primary);
    color:#fff;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

    h1{
        font-size:2.3rem;
    }

    .hero h1{
        font-size:2.8rem;
    }

}

@media(max-width:768px){

    .header-inner{
        flex-direction:column;
        padding:15px 0;
    }

    .nav-menu{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    .hero{
        text-align:center;
        padding:80px 0;
    }

    .hero h1{
        font-size:2.2rem;
    }

    .hero-buttons{
        justify-content:center;
        flex-wrap:wrap;
    }

    .post-header h1{
        font-size:2rem;
    }

    h2{
        font-size:1.7rem;
    }
}

@media(max-width:480px){

    h1{
        font-size:1.9rem;
    }

    .hero h1{
        font-size:1.9rem;
    }

    .btn{
        width:100%;
        text-align:center;
    }

    .hero-buttons{
        flex-direction:column;
    }
}
