html { 
    scroll-behavior: smooth; } 
    @media (prefers-reduced-motion: reduce)
{
     html { 
        scroll-behavior: auto;
    }
}
.container{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.site-header{
    background: #1a3a5c;
    color: white;
    padding: 1rem 0;
    position: sticky; top:0;
}
.header-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand{
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: 0.08em;
}
.nav-links{
    display: flex;
    gap: 1.5rem;
}
.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
}
.nav-links a:hover{
    color: #f59e0b;
}
.hero{
    background: #f8fafc;
    padding: 5rem 0;
    text-align: center;
}
.hero h1{
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #1a3a5c;
    margin: 0 0 1rem;
}
.hero-subtitle{
    max-width:640px;
    margin: 0 auto 2rem;
    color: #64748b;
    font-size: 1.125rem;
}
.btn{
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.15s;
    background-color: 0.15s;
}
.btn-primary{
    background: #f59e0b;
    color: white;
}
.btn-primary:hover{
    background: #d97706;
    transform: translateY(-2px);
}
.services{
    padding: 5rem 0;
    gap: 20px;
}
.services h2{
    text-align: center;
    color: #1a3a5c;
    margin: 0 0 0.5rem;
}
.section-lead{
    text-align: center;
    color: #64748b;
    margin: 0 0 3rem;
}
.service-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) ;
    gap: 1.5rem;
}
.service-card{
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.75rem;
    transition:transform 0.3s;
    box-shadow: 0.2s;
    align-items:flex-end;    
}
.service-card h3{
    color: #1a3a5c;
    margin: 0 0 0.5rem;
    font-size: 20px;
}
.service-card p{
    color: #475569;
    margin: 0;
}
.service-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 24px;
    box-shadow: rgba(15, 23, 42, 0.08);
}
.about{
    background: #f8fafc;
    padding: 5rem 0;
}
.about-grid{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about h2{
    color: #1a3a5c;
    margin: 0 0 1rem;
}
.stats{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1 rem;

}
.stats li{
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e2e8f0;

}
.stats strong{
    color: #f59e0b;
    font-size: 1.75rem;
    display: block;
}
.stats span{
    color: #64748b;
    font-size: 0.9rem;

}
.contact{
    padding: 5rem 0;
    text-align: center;
}
.contact-card{
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    max-width: 480px;
    margin: 2rem auto 0;
    text-align: left;

}
.contact h2{
    color: #1a3a5c;
    margin: 0 0 0.5rem;

}
.contact-card p{
    margin: 0.5rem 0;

}
@media(max-width: 720px){.about-grid{grid-template-columns: 1fr;}}
.site-footer{
    background: #1a3a5c;
    color: white;
    padding: 2rem 0;
    text-align: center;

}
.site-footer p{
    margin: 0.25rem;
    opacity: o.85;
}

.theme-btn {
 background: transparent; 
 border: 1px solid
 rgba(255,255,255,0.3);
 color: white; 
 padding: 0.4rem 0.9rem;
 border-radius:6px; 
 cursor: pointer; 
 font: inherit; 
 margin-left: 1rem; 
}
.theme-btn:hover
{ background: rgba(255,255,255,0.1);}

body.dark {
background: #0f172a;
color: #e2e8f0; 
}
body.dark .hero, body.dark .about { 
background: #0b1220;
}

body.dark .service-card, body.dark .stats li, body.dark .contact-card
{ 
background: #1e293b;
border-color: #334155;
color: #e2e8f0;
}

body.dark .service-card h3 { 
color: #fde68a; 
}
 body.dark .hero h1, body.dark .about h2, body.dark .services h2, body.dark .contact h2 { color:
#fde68a;
}
.site-header { 
    transition: padding 0.2s, box-shadow 0.2s; 
}
 .site-header.scrolled { 
    padding: 0.5rem 0; 
    box-shadow: 0 4px 12px rgba(15, 23, 42,
0.15);
}
#contact-form { 
    display: grid; 
    gap: 0.75rem; 
    text-align: left;
}
 #contact-form label{
     font-weight: 600; 
     color: var(--kev-primary);
    }
#contact-form input, #contact-form textarea { 
font: inherit; padding: 0.6rem 0.75rem; border:
1px solid var(--kev-border);
border-radius: 6px;
width: 100%;
}
#contact-form input:focus, #contact-form textarea:focus { 
outline: 2px solid #f59e0b; 
border-color:#f59e0b
}

.form-msg { 
    margin: 0.5rem 0 0;
    font-weight: 600; 
    min-height: 1.5em;
}
body.dark #contact-form input, body.dark #contact-form textarea { 
    background: #0f172a;
    color: #e2e8f0; 
    border-color:#334155;
}
@media (max-width: 540px) {
.nav-links {

        display: none;
    }
.header-inner {

        gap: 0.5rem;
    }
.hero {

        padding: 3rem 0;
    }
 .stats {

        grid-template-columns: 1fr;
    }
  .service-grid {

        grid-template-columns: 1fr;
    }
 .hero h1 {

        font-size: 2rem;
    }
.btn {

        width: 100%;
        text-align: center;
    }
.contact-card {

        padding: 1.2rem;
    }
}
@media (max-width: 768px) {

    .about-grid {

        grid-template-columns: 1fr;
    }

    .service-grid {

        grid-template-columns: 1fr;
    }
}

/*HERO animations*/

.hero-inner {

    animation: fadeHero 0.6s ease;
}


@keyframes fadeHero {

    from {

        opacity: 0;

        transform: translateY(20px);
    }

    to {

        opacity: 1;

        transform: translateY(0);
    }
}
/* =========================
   PLATFORMS SECTION
========================= */

.platforms {

    padding: 5rem 0;

    background: #f8fafc;
}


.platforms h2 {

    text-align: center;

    color: #1a3a5c;
}


.platform-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 24px;

    margin-top: 2rem;
}


.platform-card {

    background: white;

    padding: 1.8rem;

    border-radius: 14px;

    border: 1px solid #e2e8f0;

    transition: 0.3s ease;
}


.platform-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}


.platform-card h3 {

    margin-top: 0;

    color: #1a3a5c;
}


.platform-card p {

    color: #64748b;

    line-height: 1.6;
}


.platform-card a {

    display: inline-block;

    margin-top: 1rem;

    color: #f59e0b;

    font-weight: 600;

    text-decoration: none;
}


/* MOBILE */

@media(max-width: 768px) {

    .platform-grid {

        grid-template-columns: 1fr;
    }
}
body.dark .platforms {

    background: #0b1220;
}

body.dark .platform-card {

    background: #1e293b;

    border-color: #334155;
}

body.dark .platform-card h3 {

    color: #fde68a;
}

body.dark .platform-card p {

    color: #cbd5e1;
}