/* ================= GLOBAL ================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root{
    --header-height: 98px;
}

body {
    font-family: Segoe UI, Arial, sans-serif;
    background: #f5f7fb;
    color: #333;
    margin:0;
    /*display: flex;*/
    /*flex-direction: column;*/
    /*min-height: 100vh;*/
    /*padding-top: var(--header-height);*/
}

.page-wrapper{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

main {
    flex: 1;
    display: block;
}

/* give breathing room under sticky header */


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

main .section:last-of-type {
    padding-bottom: 90px;
}

/* ===== TYPOGRAPHY SPACING ===== */
h1,
h2,
h3 {
    line-height: 1.2;
}

h1 {
    margin-bottom: 20px;
}

h2 {
    margin-bottom: 18px;
}

h3 {
    margin-bottom: 12px;
}

p {
    line-height: 1.7;
    margin-bottom: 16px;
}

ul {
    margin-top: 10px;
    padding-left: 18px;
}

li {
    margin-bottom: 8px;
}

/* ================= HEADER ================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(83, 127, 172, .9);
    box-shadow:0 2px 12px rgba(0,0,0,.06);
    transition:all .3s ease;
    height: 98px;
}

.site-header{
    backdrop-filter: blur(6px);
}

.site-header.shrink {
    background: rgba(15,60,92,0.75);
    backdrop-filter: blur(8px);
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
    padding: 6px 0;
    height: 68px;
}

.site-header.shrink .nav-links{
    top:68px;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 70px;
    transition: .3s;
}

.site-header.shrink .logo img {
    height: 45px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 6px;
}

.nav-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:2px;
    background:#f97316;
    transition:.3s;
}

.nav-links a:hover::after{
    width:100%;
}

/* ================= HERO ================= */
.btn {
    background: #0f3c5c;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

.hero+.section {
    margin-top: 20px;
}

/* ================= CARDS ================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

/* ================= SERVICES ================= */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #0f3c5c;
}

.services-grid {
    margin-top: 10px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    transition: .3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
}

.service-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.service-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-content h3 {
    margin-bottom: 10px;
    color: #0f3c5c;
}

.service-content p {
    line-height: 1.6;
    color: #555;
}

.services-container h2 {
    text-align: center;
    margin-bottom: 40px;
}

.services-container .card {
    transition: .3s;
}

.services-container .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

/* ================= FOOTER ================= */
/*.site-footer {
    background: #0f3c5c;
    color: #fff;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 40px 20px;
}
.site-footer a {
    color: #ddd;
    text-decoration: none;
}
.copyright {
    text-align: center;
    background: #0b2e47;
    padding: 15px;
}*/
/* ================= MOBILE ================= */
@media(max-width:768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ================= MOBILE STICKY MENU ================= */

.menu-toggle {
    display:none;
    font-size:28px;
    color:#fff;
    cursor:pointer;
    z-index:1001;
}

@media(max-width:900px){

    .menu-toggle{
        display:block;
    }

    /* Full screen mobile menu */
    .nav-links{
        position:fixed;
        top:var(--header-height);
        right:0;
        height:calc(50vh - var(--header-height));
        width:260px;
        background:#0f3c5c;
        display:flex;
        flex-direction:column;
        padding:00px 30px 0px; /* space for sticky header */
        transform:translateX(100%);
        transition:transform .35s ease;
        box-shadow:-10px 0 30px rgba(0,0,0,.25);
        z-index:1000;
    }

    .nav-links.show{
        transform:translateX(0);
    }

    .nav-links a{
        margin:14px 0;
        font-size:18px;
    }

    /* Dark overlay behind menu */
    body.menu-open::before{
        content:"";
        position:fixed;
        inset:0;
        background:rgba(0,0,0,.45);
        z-index:999;
    }
}

/* ================= PROJECTS ================= */
.project-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.project-card h3 {
    margin: 10px 0;
}

.project-cats {
    color: #0f3c5c;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

/* ===== GALLERY ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    transition: .3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* ===== PROJECTS ===== */

.project-placeholder {
    height: 180px;
    background: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* ===== CATEGORY FILTER ===== */
.category-filter {
    margin: 25px 0 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ================= PROJECT PAGE ================= */
.project-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.project-gallery a {
    display:block;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.gallery-img {
    width: 100%;
    height:260px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.4s;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.project-gallery a:hover img {
    transform:scale(1.08);
}

.project-content {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

/* Mobile */
@media(max-width:900px) {
    .project-layout {
        grid-template-columns: 1fr;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
}

/* ================= PROJECT FILTER ================= */

.category-filter a {
    display: inline-block;
    padding: 8px 16px;
    margin: 6px;
    border-radius: 30px;
    text-decoration: none;
    background: #e7edf5;
    color: #0f3c5c;
    font-weight: 600;
    transition: .2s;
}

.category-filter a:hover {
    background: #0f3c5c;
    color: #fff;
}

.category-filter a.active {
    background: #0f3c5c;
    color: #fff;
}

/* ================= PROJECT CARDS ================= */
.project-card {
    text-decoration: none;
    color: #333;
    overflow: hidden;
    transition: .3s;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}

.project-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.project-placeholder {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9eef5;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #777;
}

/* ===== GLOBAL SECTION SYSTEM ===== */
.section {
    padding: 70px 0;
}

.section-sm {
    padding: 40px 0;
}

.section-lg {
    padding: 100px 0;
}

.section:nth-of-type(even) {
    background: #ffffff;
}

.section:nth-of-type(odd) {
    background: #f5f7fb;
}

/* ================= HERO UPGRADE ================= */
.hero {
    height: 75vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    margin-top: 0px;
    position: relative;
    min-height: 520px;
}

.hero-overlay {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    padding: 100px 0;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin-bottom: 30px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    background-attachment: fixed;
    /* ============================= ADDITIONS =================== */
    background-repeat: no-repeat;
    overflow: hidden;
    pointer-events: none;

}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.site-footer {
    background: #0f3c5c;
    color: #fff;
    margin-top: 60px;
    padding-top: 40px;
}

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

.footer-col h4,
.footer-col h3 {
    margin-bottom: 15px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
}

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

.socials a {
    font-size: 22px;
    margin-right: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .2);
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    background: #0b2e47;
    margin: 0px;
}

/* FULL WIDTH FOOTER FIX */
.site-footer {
    width: 100%;
    margin-top: 60px;
}

.footer-inner {
    width: 100%;
    background: #0f3c5c;
}

/* remove default UL bullets */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 8px;
}

/* CTA STRIP */
.cta-strip {
    background: linear-gradient(90deg, #0f172a, #1e293b);
    color: #fff;
    padding: 70px 0;
    margin-top: 80px;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: 34px;
    margin-bottom: 10px;
}

.cta-text p {
    opacity: .85;
    max-width: 500px;
}

.cta-actions {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background:linear-gradient(45deg,#0d6efd,#00c6ff);
    border: none;
    color: #fff;
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition:all .3s ease;
    box-shadow:0 6px 18px rgba(13,110,253,.25);
}

.btn-primary:hover {
    background: #ea580c;
    transform:translateY(-3px);
    box-shadow:0 10px 28px rgba(13,110,253,.35);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none;
}

.btn-outline:hover {
    background: #fff;
    color: #0f172a;
}

.btn,
.btn-primary,
.btn-outline{
    position:relative;
    z-index:3;
}

/* ABOUT / STATS BAND */
.about-band {
    padding: 90px 0;
    background: #f8fafc;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #475569;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
    text-align: center;
}

.stat h3 {
    font-size: 38px;
    color: #f97316;
    margin-bottom: 10px;
}

.stat p {
    color: #64748b;
}

@media(max-width:900px){
    .stats-grid{ grid-template-columns:repeat(2,1fr); }
}

/* SERVICE DETAIL PAGE */
.page-hero {
    background: #0e3b57;
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-detail-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-detail-content {
    font-size: 18px;
    line-height: 1.8;
}

@media(max-width:900px) {
    .service-detail {
        grid-template-columns: 1fr;
    }
}

.service-hero .overlay {
    background: rgba(0, 0, 0, 0.55);
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 80px;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 60px 0;
}

.service-image img {
    width: 100%;
    border-radius: 10px;
}

.service-benefits {
    background: #f5f5f5;
    padding: 60px;
}

.service-benefits ul {
    columns: 2;
    line-height: 32px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step span {
    font-size: 40px;
    color: #caa33c;
    font-weight: bold;
}

.service-cta {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 70px;
}

.cta-btn {
    background: #caa33c;
    padding: 15px 35px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

/* PROJECT FILTERS */
.project-filters {
    text-align: center;
    margin-bottom: 40px;
}

.project-filters a {
    padding: 10px 20px;
    border: 1px solid #ddd;
    margin: 5px;
    display: inline-block;
    text-decoration: none;
    border-radius: 6px;
    color: #333;
}

.project-filters a.active,
.project-filters a:hover {
    background: #0e3b57;
    color: #fff;
}

/* PROJECT GRID */
.projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.project-info {
    padding: 18px;
}

.project-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* PROJECT HERO */
.project-hero {
    background: #0e3b57;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

/* PROJECT LAYOUT */
.project-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.project-sidebar {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 10px;
}

/* GALLERY */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.project-gallery img {
    width: 100%;
    border-radius: 10px;
}

/* TESTIMONIALS */
.testimonials {
    background: #f7f7f7;
    padding: 70px 0;
}

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

.testimonial-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}

/* CONTACT PAGE */
.contact-grid {
    max-width: 600px;
    margin: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.success-box {
    background: #e7f7ed;
    padding: 20px;
    border-radius: 8px;
}

.error {
    color: red;
}

/* SERVICE HERO */

.service-hero-image img {
    width: 100%;
    border-radius: 12px
}

.lead {
    font-size: 20px;
    margin: 20px 0
}

/* BENEFITS */
.feature{
    background:#fff;
    padding:30px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    text-align:center;
    transition:.3s;
}

.feature:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 50px rgba(0,0,0,.12);
}

.feature h3{
    font-size:32px;
    color:#22c55e;
    margin-bottom:10px;
}

/* PROCESS */
.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 20px
}

.step-number {
    width: 45px;
    height: 45px;
    background: #0f172a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold
}

.step-text {
    font-size: 18px
}

/* CTA */
.cta-strip {
    background: #0f172a;
    color: white;
    padding: 60px 0;
    margin-top: 60px
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center
}

/* SERVICES HERO */
.services-hero {
    background: #f8fafc;
    padding: 60px 0 10px;
    text-align: center;
}

.center {
    text-align: center
}

/* ADVANCED SERVICE GRID */
.services-grid-advanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-card-advanced {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all .3s ease;
}

.service-card-advanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card-body {
    padding: 25px;
}

.service-card-body h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.service-card-body p {
    color: #64748b;
    margin-bottom: 15px;
}

.service-link {
    font-weight: bold;
    color: #0f172a;
}

/* PROJECTS HERO */
.projects-hero {
    background: #f8fafc;
    padding: 60px 0 10px;
    text-align: center;
}

/* PROJECT GRID */
.projects-grid-advanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.project-card-advanced {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all .3s ease;
}

.project-card-advanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.project-card-image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.project-card-body {
    padding: 25px;
}

.project-card-body h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.project-card-body p {
    color: #64748b;
    margin-bottom: 15px;
}

.project-link {
    font-weight: bold;
    color: #0f172a;
}

/* HERO IMAGE OVERLAY */
.hero,
.service-hero,
.project-hero {
    position: relative;
}

/* GLOBAL HERO OVERLAY — SINGLE SOURCE OF TRUTH */
.hero,
.service-hero,
.project-hero {
    position: relative;
}

.hero::after,
.service-hero::after,
.project-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1;
    pointer-events:none;   /* allow clicks through overlay */
}

.hero-content,
.service-hero .overlay {
    position: relative;
    z-index: 2;
}

/* ensure real content sits above overlay */
.hero-overlay,
.hero-content,
.service-hero-grid,
.project-hero .container{
    position:relative;
    z-index:2;
}

/* CARD HOVER EFFECT */
.service-card,
.project-card {
    transition: all .3s ease;
}

.service-card:hover,
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* IMAGE ZOOM ON HOVER */
.service-card img,
.project-card img {
    transition: transform .4s ease;
}

.service-card:hover img,
.project-card:hover img {
    transform: scale(1.08);
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    padding: 60px;
}

.project-card {
    text-decoration: none;
    color: #111;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
    border-radius: 10px;
    overflow: hidden;
    transition: .3s;
}

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

.project-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px;
}

.project-gallery img {
    width: 100%;
    border-radius: 10px;
}

/* ===============================
   SWIPER PROJECT SLIDER FIX
   =============================== */

.projectsSwiper {
    padding:20px 0 50px;
    overflow: hidden;
}

/* CRITICAL — gives swiper its layout engine */
.projectsSwiper .swiper-wrapper {
    display: flex !important;
}

/* 🔴 THIS WAS MISSING — gives slides real width */
.projectsSwiper .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
    height: auto;
}

/* make cards fill slide */
.projectsSwiper .project-card-advanced {
    height: 100%;
}

/* arrows styling */
.swiper-button-next,
.swiper-button-prev {
    color: #1e3a8a;
}

.swiper-pagination-bullet-active {
    background: #1e3a8a;
}

.projectsSwiper {
    width: 100vw;
    padding-left: calc((100vw - 1200px)/2);
    padding-right: calc((100vw - 1200px)/2);
}

/* ==========================================
   SWIPER LAYOUT ENGINE FIXES
   ========================================== */

/* restore swiper layout engine */
.projectsSwiper.swiper {
    overflow: hidden;
}

.projectsSwiper .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
}

/* give slides real width */
.projectsSwiper .swiper-slide {
    flex: 0 0 auto !important;
    width: calc(33.333% - 20px) !important;
}

/* tablet */
@media(max-width:1024px) {
    .projectsSwiper .swiper-slide {
        width: calc(50% - 15px) !important;
    }
}

/* mobile */
@media(max-width:768px) {
    .projectsSwiper .swiper-slide {
        width: 100% !important;
    }
}

/* =============================
   SWIPER FIX – DO NOT REMOVE
   ============================= */

.projectsSwiper {
  width: 100%;
  overflow: hidden;
}

.projectsSwiper .swiper-wrapper {
  display: flex;
}

.projectsSwiper .swiper-slide {
  width: auto !important;
  height: auto;
  display: flex;
}

/* Prevent cards from breaking slider */
.projectsSwiper .project-card-advanced {
  width: 100% !important;
}

/* =====================================================
   PROJECTS SLIDER
===================================================== */

.projectsSwiper{
    padding: 40px 10px 70px;
}

/* allow card shadow to show */
.projectsSwiper .swiper-slide{
    overflow: visible;
}

/* spacing between slides */
.projectsSwiper .swiper-wrapper{
    align-items: stretch;
}

/* ---------- CARD ---------- */

.project-card-advanced{
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all .35s ease;
}

.project-card-advanced:hover{
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* image wrapper */
.project-card-image{
    height: 240px;
    overflow: hidden;
}

.project-card-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.project-card-advanced:hover img{
    transform: scale(1.08);
}

/* card body */
.project-card-body{
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-body h3{
    margin: 0 0 10px;
    font-size: 20px;
    color: #0a2540;
}

.project-card-body p{
    flex-grow: 1;
    color: #666;
    line-height: 1.6;
}

/* link */
.project-link{
    margin-top: 15px;
    font-weight: 600;
    color: #0a2540;
    transition: .3s;
}

.project-card-advanced:hover .project-link{
    color: #f59e0b;
}

/* ---------- NAV ARROWS ---------- */

.projectsSwiper .swiper-button-next,
.projectsSwiper .swiper-button-prev{
    background: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.projectsSwiper .swiper-button-next:after,
.projectsSwiper .swiper-button-prev:after{
    font-size: 18px;
    color: #0a2540;
    font-weight: bold;
}

/* hover arrows */
.projectsSwiper .swiper-button-next:hover,
.projectsSwiper .swiper-button-prev:hover{
    background:#0a2540;
}

.projectsSwiper .swiper-button-next:hover:after,
.projectsSwiper .swiper-button-prev:hover:after{
    color:#fff;
}

/* ---------- PAGINATION ---------- */

.projectsSwiper .swiper-pagination{
    bottom: 10px !important;
}

.projectsSwiper .swiper-pagination-bullet{
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    opacity: 1;
}

.projectsSwiper .swiper-pagination-bullet-active{
    background: #0a2540;
}

/* ---------- MOBILE POLISH ---------- */

@media (max-width:768px){

    .project-card-image{
        height: 200px;
    }

    .projectsSwiper{
        padding-bottom: 60px;
    }

    /* hide arrows on mobile */
    .projectsSwiper .swiper-button-next,
    .projectsSwiper .swiper-button-prev{
        display:none;
    }
}

/* ================================
   PROJECTS SLIDER — PREMIUM STYLE
================================ */

.projectsSwiper{
    padding: 20px 10px 60px;
}

.project-card-advanced{
    display:block;
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:all .35s ease;
    text-decoration:none;
    height:100%;
}

.project-card-advanced:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,0.15);
}

/* Image wrapper */
.project-card-image{
    height:220px;
    overflow:hidden;
    position:relative;
}

.project-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .6s ease;
}

.project-card-advanced:hover img{
    transform:scale(1.08);
}

/* Content */
.project-card-body{
    padding:22px;
}

.project-card-body h3{
    margin:0 0 10px;
    font-size:20px;
    color:#0f172a;
}

.project-card-body p{
    color:#64748b;
    font-size:14px;
    line-height:1.6;
}

/* Link */
.project-link{
    display:inline-block;
    margin-top:14px;
    color:#0ea5e9;
    font-weight:600;
    font-size:14px;
}

/* Slider arrows */
.swiper-button-next,
.swiper-button-prev{
    background:#fff;
    width:46px;
    height:46px;
    border-radius:50%;
    box-shadow:0 6px 18px rgba(0,0,0,0.15);
    color:#0f172a !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover{
    transform:scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after{
    font-size:18px !important;
    font-weight:bold;
}

/* Pagination dots */
.swiper-pagination-bullet{
    width:10px;
    height:10px;
    background:#cbd5e1;
    opacity:1;
}

.swiper-pagination-bullet-active{
    background:#0ea5e9;
    width:26px;
    border-radius:10px;
}

.project-filters{
    text-align:center;
    margin-bottom:35px;
}

.project-filters a{
    display:inline-block;
    margin:6px;
    padding:8px 18px;
    border-radius:30px;
    background:#f1f5f9;
    color:#0f172a;
    text-decoration:none;
    font-size:14px;
    transition:.25s;
}

.project-filters a:hover{
    background:#e2e8f0;
}

.project-filters a.active{
    background:#0ea5e9;
    color:#fff;
}

/* PROJECT PAGE LAYOUT */
.project-layout{
    display:grid;
    grid-template-columns: 2fr 1fr;
    gap:50px;
}

.project-main h2{
    margin-bottom:20px;
}

.project-sidebar{
    background:#f8fafc;
    padding:25px;
    border-radius:14px;
    height:fit-content;
}

.project-sidebar ul{
    list-style:none;
    padding:0;
}

.project-sidebar li{
    margin-bottom:12px;
    color:#475569;
}

/* GALLERY GRID */
.project-gallery{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:18px;
    margin-top:20px;
}

.project-gallery img{
    width:100%;
    border-radius:12px;
    cursor:pointer;
    transition:.3s;
}

.project-gallery img:hover{
    transform:scale(1.05);
}

/* LIGHTBOX */
#lightbox{
    display:none;
    position:fixed;
    top:0; left:0;
    width:100%; height:100%;
    background:rgba(0,0,0,.9);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

#lightbox img{
    max-width:90%;
    max-height:85%;
}

#lightbox-close{
    position:absolute;
    top:20px;
    right:35px;
    font-size:42px;
    color:#fff;
    cursor:pointer;
}

/* MOBILE */
@media(max-width:900px){
    .project-layout{
        grid-template-columns:1fr;
    }
}

/* RELATED PROJECTS */
.related-projects{
    background:#f8fafc;
}

.related-projects .section-title{
    text-align:center;
    margin-bottom:35px;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.project-card{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    text-decoration:none;
    color:inherit;
    transition:.25s;
    box-shadow:0 5px 18px rgba(0,0,0,.06);
}

.project-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 30px rgba(0,0,0,.12);
}

.project-thumb{
    width:100%;
    height:190px;
    object-fit:cover;
}

.project-info{
    padding:18px;
}

/* SERVICE HERO UPGRADE */
.service-hero{
    /*background: #0f172a;*/
    background:
        linear-gradient(120deg,#0b2c5a 0%, #0e3a78 60%, #0b2c5a 100%);
    color:#fff;
    padding:90px 0 70px;
    height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-hero-grid{
    display:grid;
    grid-template-columns:1.5fr 1fr;
    gap:60px;
    align-items:center;
}

.service-hero{
    overflow:hidden;   /* stops image spilling out */
}

.service-hero-text{
    max-width:540px;
}

.service-hero-text h1{
    font-size:48px;
    line-height:1.1;
    margin-bottom:20px;
}

.service-hero-text .lead{
    font-size:18px;
    line-height:1.7;
    opacity:.9;
    margin-bottom:30px;
}

.service-hero-image img{
    width:100%;
    max-height:380px;
    object-fit:cover;
    border-radius:18px;
    box-shadow:0 25px 60px rgba(0,0,0,.35);
}

@media(max-width:900px){
    .service-hero-grid{
        grid-template-columns:1fr;
        text-align:center;
    }
}


.process-steps{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.process-step{
    display:flex;
    gap:20px;
    align-items:flex-start;
    background:#f8fafc;
    padding:20px 25px;
    border-radius:14px;
}

.step-number{
    background:#0f172a;
    color:#fff;
    width:38px;
    height:38px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
}

.step-text{
    font-size:16px;
}

/* RELATED PROJECTS BG */
.section .grid{
    margin-top:30px;
}

.service-hero-text,
.service-hero-image{
    animation:heroFade 0.8s ease forwards;
    opacity:0;
    transform:translateY(20px);
}

.service-hero-image{ animation-delay:.15s; }

@keyframes heroFade{
    to{ opacity:1; transform:none; }
}

.nav-links a.active {
    color: #172154;
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

.site-header.shrink .nav-links a.active {
    color: #00a0df;
}

/* Scroll reveal base */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition:all 0.9s cubic-bezier(.17,.67,.23,1);
}

.reveal.show{
    opacity:1;
    transform:translateY(0);
}

/* stagger children */
.reveal.show > *{
    animation:fadeUp 0.7s ease forwards;
}

/* Visible state */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.show > *:nth-child(2){animation-delay:.15s;}
.reveal.show > *:nth-child(3){animation-delay:.3s;}
.reveal.show > *:nth-child(4){animation-delay:.45s;}

@keyframes fadeUp{
    from{opacity:0; transform:translateY(30px);}
    to{opacity:1; transform:translateY(0);}
}

/* Slight stagger for grids */
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* HERO entrance animation */
.hero-content {
    opacity: 0;
    transform: translateY(40px);
    animation: heroFade 1s ease forwards;
    animation-delay: .3s;
}

@keyframes heroFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* subtle background zoom */
.hero-bg {
    animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.card {
    transition: all .35s ease;
    border-radius: 14px;
    overflow: hidden;
}

/* Lift + shadow */
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,.12);
}

/* Image zoom inside cards */
.card img {
    transition: transform .6s ease;
}

.card:hover img {
    transform: scale(1.08);
}

.project-gallery img {
    border-radius: 10px;
    transition: all .4s ease;
    cursor: pointer;
}

.project-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,.18);
}

.btn {
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
}

/* hover lift */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

/* click press */
.btn:active {
    transform: translateY(0);
    box-shadow: 0 5px 10px rgba(0,0,0,.15);
}

.nav-links a {
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #f97316;
    transition: width .3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.scroll-progress{
    position:fixed;
    top:0;
    left:0;
    height:4px;
    width:0%;
    background:linear-gradient(90deg,#0d6efd,#00c6ff);
    z-index:9999;
    transition:width 0.1s linear;
}

/* header shadow when scrolling */
.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* active nav link */
.nav a.active {
  color: var(--accent);
  font-weight: 600;
}

/* prevent page scroll when mobile menu open */
body.menu-open {
  overflow: hidden;
}

/* Scroll progress bar */
.scroll-progress{
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg,#0d6efd,#00c6ff);
    z-index: 9999;
    transition: width 0.1s linear;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:90px;
}

/* PARALLAX SECTIONS */
.parallax-section{
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    color: #fff;
}

.parallax-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.parallax-content{
    position: relative;
    z-index: 2;
}