/* ── ROOT VARIABLES ── */
:root {
    --primary-blue: #003B5C;
    --success-green: #28a745;
    --danger-red: #dc3545;
    --sky: #e8f0f5;
    --sky-mid: #b8d0e0;
    --blue-dark: #002a42;
    --blue-hover: #004f7c;
    --white: #ffffff;
    --slate: #1e3a5f;
    --slate-light: #6c757d;
    --card-shadow: 0 4px 24px rgba(0, 59, 92, 0.10);
    --radius: 16px;
}

/* ── PROTECTION ── */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

input,
textarea,
select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

img {
    -webkit-user-drag: none;
    pointer-events: none;
}

a,
button {
    pointer-events: auto;
}

body::after {
    content: "© Obaire Devworks Solution. All rights reserved.";
    display: none;
}

/* ── RESET ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--primary-blue);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
}

/* ── NAVBAR ── */
.ods-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(0, 59, 92, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: padding .3s, background .3s;
}

.ods-nav.scrolled {
    padding: 10px 0;
    background: rgba(0, 42, 66, 0.99);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-logo span {
    color: var(--sky-mid);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a.active {
    color: var(--white);
    color: var(slate);
    border-bottom: 2px solid var(--sky-mid);
    padding-bottom: 2px;
}

.nav-cta {
    background: var(--sky-mid);
    color: var(--primary-blue) !important;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background .2s, transform .15s !important;
}

.nav-cta:hover {
    background: var(--white) !important;
    transform: translateY(-1px);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all .3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--blue-dark);
    padding: 16px 24px 24px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* ── PAGE HERO ── */
.page-hero {
    min-height: 46vh;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--primary-blue) 60%, #005a8a 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
}

.page-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image:
        linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
    background-size: 50px 50px;
}

.page-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero-inner h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -1px;
    animation: fadeUp .6s ease both;
}

.page-hero-inner p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.1rem;
    line-height: 1.75;
    max-width: 580px;
    margin: 0 auto;
    font-weight: 300;
    animation: fadeUp .6s .1s ease both;
}

.section-label-hero {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(184, 208, 224, 0.7);
    margin-bottom: 14px;
    animation: fadeUp .5s ease both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
    animation: fadeUp .6s .2s ease both;
}

/* ── BUTTONS ── */
.btn-primary-ods {
    background: var(--sky-mid);
    color: var(--primary-blue);
    padding: 13px 26px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .95rem;
    font-family: 'Syne', sans-serif;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 59, 92, .3);
}

.btn-primary-ods:hover {
    background: var(--white);
    transform: translateY(-2px);
    color: var(--primary-blue);
}

.btn-ghost-ods {
    background: transparent;
    color: var(--white);
    padding: 13px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, .25);
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-ghost-ods:hover {
    border-color: rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .07);
    color: var(--white);
}

/* ── SECTIONS ── */
.section {
    padding: 88px 0;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-blue);
    opacity: .5;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.section-header {
    margin-bottom: 36px;
}

.section-header.center {
    text-align: center;
}

/* ── PORTFOLIO FILTERS ── */
.portfolio-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    padding: 9px 20px;
    border-radius: 100px;
    background: transparent;
    border: 1.5px solid rgba(0, 59, 92, .15);
    color: var(--slate-light);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    font-family: 'DM Sans', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* ── PORTFOLIO GRID ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: var(--sky);
    box-shadow: var(--card-shadow);
    transition: transform .3s, box-shadow .3s;
}

.portfolio-item:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 59, 92, .18);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.portfolio-item:hover img {
    transform: scale(1.06);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 42, 66, .9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity .3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-content {
    color: var(--white);
}

.cat-badge {
    display: inline-block;
    background: var(--sky-mid);
    color: var(--primary-blue);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}

.zoom-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* ── LIGHTBOX ── */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 42, 66, .95);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    object-fit: contain;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, .1);
    border: none;
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, .25);
}

/* ── TESTIMONIALS STRIP ── */
.testi-strip {
    background: var(--primary-blue);
    padding: 64px 0;
    overflow: hidden;
}

.testi-strip-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.testi-carousel {
    position: relative;
    overflow: hidden;
}

.testi-slide {
    display: none;
}

.testi-slide.active {
    display: block;
    animation: fadeUp .4s ease;
}

.testi-slide blockquote {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .8);
    line-height: 1.8;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 20px;
}

.testi-slide blockquote::before {
    content: '"';
    color: var(--sky-mid);
    font-size: 2rem;
    vertical-align: -0.2em;
}

.testi-slide blockquote::after {
    content: '"';
    color: var(--sky-mid);
    font-size: 2rem;
    vertical-align: -0.2em;
}

.testi-author {
    color: var(--sky-mid);
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    font-size: .9rem;
}

.testi-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
    border: none;
    cursor: pointer;
    transition: background .2s, width .2s;
    padding: 0;
}

.testi-dot.active {
    background: var(--sky-mid);
    width: 24px;
    border-radius: 4px;
}

/* ── CTA ── */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--slate) 100%);
    padding: 88px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-inner h2 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.15;
}

.cta-inner p {
    color: rgba(255, 255, 255, .65);
    font-size: 1.05rem;
    margin-bottom: 32px;
    font-weight: 300;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── FOOTER ── */
.site-footer {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, .65);
    padding: 60px 0 32px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: .9rem;
    line-height: 1.75;
    margin-top: 12px;
    font-weight: 300;
}

.footer-col h4 {
    font-family: 'Syne', sans-serif;
    font-size: .85rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s;
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    font-size: .85rem;
    transition: all .2s;
}

.footer-social a:hover {
    background: var(--sky-mid);
    color: var(--primary-blue);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: .85rem;
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary-ods,
    .btn-ghost-ods {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}