@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#071426;--bg2:#0a1b31;--panel:#10243d;--line:rgba(255,255,255,.1);--text:#eef5ff;--muted:#9fb2c9;--blue:#3c91ff;--cyan:#68d5ff;--max:1160px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%}.wrap{width:min(var(--max),92%);margin:auto}header{position:sticky;top:0;z-index:50;background:rgba(7,20,38,.88);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.nav{height:82px;display:flex;align-items:center;gap:28px}.brand img{width:150px;max-height:55px;object-fit:contain}.links{display:flex;align-items:center;gap:25px;margin-left:auto}.links a,.footlinks a{font-size:14px;color:#c2d2e6;transition:.2s}.links a:hover,.links .page-active{color:#fff}.navcta{border:1px solid #3c91ff;border-radius:30px;padding:10px 18px;font-size:14px;background:rgba(60,145,255,.1)}.menu{display:none;background:none;border:0;color:white;font-size:25px}.hero{position:relative;overflow:hidden;padding:100px 0 95px;background:radial-gradient(ellipse at 80% 40%,#163b65 0,transparent 45%),linear-gradient(130deg,#071426,#0a1c32)}.gridbg{position:absolute;inset:0;opacity:.15;background-image:linear-gradient(rgba(255,255,255,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px);background-size:50px 50px;mask-image:linear-gradient(to bottom,black,transparent)}.hero-grid{position:relative;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:60px}.eyebrow,.kicker{color:#75c5ff;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.hero h1{font-family:Manrope,sans-serif;font-size:clamp(42px,5.2vw,70px);line-height:1.1;letter-spacing:-.04em;margin:20px 0}.gradient{background:linear-gradient(90deg,#65c8ff,#5687ff);background-clip:text;color:transparent}.lead{font-size:18px;color:#b8c9de;max-width:650px}.actions{display:flex;gap:14px;flex-wrap:wrap;margin:30px 0}.btn{display:inline-block;padding:13px 22px;border-radius:32px;background:linear-gradient(100deg,#2586ff,#57baff);color:white;font-weight:700}.btn.secondary{background:transparent;border:1px solid var(--line)}.proof{display:flex;gap:35px;margin-top:45px}.proof div{display:flex;flex-direction:column}.proof strong{font-size:19px}.proof span{color:var(--muted);font-size:13px}.visual{min-height:440px;position:relative;display:grid;place-items:center}.orb{position:absolute;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,#1f8aff55,transparent 68%);border:1px solid #4d9bff30;animation:pulse 5s infinite}.orbit2{width:420px;height:420px;border-color:#68d5ff20;animation-delay:1s}.core{width:190px;height:190px;border-radius:50%;display:grid;place-items:center;background:#102a48;border:1px solid #65baff55;box-shadow:0 0 80px #3289ff40;z-index:2}.core img{width:130px;object-fit:contain}.floatcard{position:absolute;z-index:3;background:#10243ddd;border:1px solid #ffffff1c;border-radius:14px;padding:14px 18px;box-shadow:0 18px 45px #0004;animation:float 5s ease-in-out infinite}.floatcard b,.floatcard small{display:block}.floatcard small{color:var(--muted);font-size:12px}.floatcard.one{top:35px;left:5%}.floatcard.two{bottom:50px;right:2%;animation-delay:1s}.floatcard.three{bottom:5px;left:15%;animation-delay:2s}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#55d5a5;margin-right:8px}.content-section{padding:85px 0}.section-head{max-width:740px;margin-bottom:35px}.section-head h2,.content-section h2{font-family:Manrope,sans-serif;font-size:clamp(28px,3.5vw,46px);line-height:1.2;margin:12px 0}.section-head p{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card,.case,.info-panel{background:linear-gradient(145deg,#112742,#0c1e34);border:1px solid var(--line);border-radius:20px;padding:27px}.card h3,.case h3{font-size:20px;margin:12px 0}.card p,.case p,.info-panel p{color:var(--muted)}.icon{font-size:25px;color:#69baff}.two-col,.wrap.split{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.aboutband{background:#0b2038;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.checklist{display:grid;gap:12px}.check{color:#b9d0e8}.check:before{content:'✓';color:#61c4ff;margin-right:12px}.case-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.tag{display:inline-block;color:#7bc8ff;background:#163456;border-radius:20px;padding:5px 12px;font-size:12px}.experience{padding:30px 0}.foot{display:flex;justify-content:space-between;gap:40px;padding:45px 0}.footbrand{max-width:350px}.footbrand img{width:150px}.footbrand p{color:var(--muted)}.footlinks{display:flex;flex-wrap:wrap;gap:20px;align-content:center}.copyright{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:18px 0;color:#8097b2;font-size:12px}footer{background:#06111f}.reveal{opacity:0;transform:translateY(20px);transition:opacity .65s ease,transform .65s ease}.reveal.visible{opacity:1;transform:none}@keyframes float{50%{transform:translateY(-12px)}}@keyframes pulse{50%{transform:scale(1.08);opacity:.7}}@media(max-width:900px){.hero-grid,.two-col,.wrap.split{grid-template-columns:1fr}.hero{padding:70px 0}.visual{min-height:380px}.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.nav{height:70px}.menu{display:block;margin-left:auto}.links{display:none;position:absolute;top:70px;left:0;right:0;background:#08182a;padding:20px;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}.links.open{display:flex}.navcta{display:none}.cards,.case-grid{grid-template-columns:1fr}.proof{gap:20px;flex-wrap:wrap}.hero h1{font-size:42px}.visual{min-height:320px}.orb{width:230px;height:230px}.orbit2{width:300px;height:300px}.core{width:150px;height:150px}.core img{width:105px}.floatcard{padding:10px 12px;font-size:13px}.floatcard.one{left:0;top:20px}.floatcard.two{right:0;bottom:30px}.floatcard.three{left:0;bottom:0}.content-section{padding:60px 0}.foot,.copyright{flex-direction:column;gap:15px}}
/* LIGHT THEME REVISION */
:root{--bg:#ffffff;--bg2:#f6f9fc;--panel:#ffffff;--line:rgba(15,35,65,.12);--text:#14243a;--muted:#61738a;--blue:#2563eb;--cyan:#0ea5e9}
body{background:#fff;color:var(--text)}
header{background:rgba(255,255,255,.92);border-bottom:1px solid #e5edf5}
.links a,.footlinks a{color:#42556e}.links a:hover,.links .page-active{color:#1264d8}.navcta{background:#3c91ff;color:#ffffff}
.hero{background:radial-gradient(ellipse at 80% 40%,#dceeff 0,transparent 45%),linear-gradient(130deg,#fff,#f4f9ff)}
.gridbg{opacity:.25;background-image:linear-gradient(rgba(20,60,110,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(20,60,110,.08) 1px,#fbff00 1px)}
.eyebrow,.kicker{color:#1674d1}.lead{color:#52677f}.gradient{background:linear-gradient(90deg,#1685df,#335be8);background-clip:text;color:transparent}
.btn{background:linear-gradient(100deg,#1976d2,#43a5f5)}.btn.secondary{color:#23415e;border-color:#cbd9e8}
.proof span{color:var(--muted)}.orb{background:radial-gradient(circle,#3b82f633,transparent 68%);border-color:#4d9bff40}.orbit2{border-color:#68d5ff35}.core{background:#fff;border:1px solid #d6e6f7;box-shadow:0 0 70px #3289ff20}
.floatcard{background:#ffffffed;border:1px solid #dce8f5;box-shadow:0 18px 45px #24476b12;color:#18314d}.floatcard small{color:#61738a}
.card,.case,.info-panel{background:linear-gradient(145deg,#fff,#f6faff);border:1px solid #e2ebf5;box-shadow:0 10px 30px #18314d08}.card p,.case p,.info-panel p,.section-head p{color:#61738a}
.aboutband{background:#f4f8fc;border-top:1px solid #e2ebf5;border-bottom:1px solid #e2ebf5}.check{color:#52677f}.check:before{color:#1685df}.tag{color:#1768b5;background:#e9f3ff}
footer{background:#f4f8fc}.footbrand p{color:#61738a}.copyright{color:#71849a;border-top:1px solid #dfe8f1}.menu{color:#18314d}
@media(max-width:700px){.links{background:#fff}}

/* MODERN ALTERNATING SECTION DESIGN */
body{font-size:16px}
section:not(.hero):not(.image-feature):not(.image-band){padding:88px 0}
section:nth-of-type(odd):not(.hero):not(.image-feature):not(.image-band){background:#f2f7fc}
section:nth-of-type(even):not(.hero):not(.image-feature):not(.image-band){background:#fff}
.experience{background:#eaf2fb!important}
.section-head{max-width:780px}
.section-head h2{font-size:clamp(30px,3.6vw,48px);letter-spacing:-.035em}
.card,.case,.info-panel{background:linear-gradient(145deg,#123d70,#0c2b50)!important;border:1px solid #245486!important;color:#fff!important;border-radius:22px;box-shadow:0 18px 36px rgba(13,49,87,.14);transition:transform .3s,box-shadow .3s}
.card:hover,.case:hover,.info-panel:hover{transform:translateY(-6px);box-shadow:0 22px 40px rgba(13,49,87,.23)}
.card h3,.case h3,.info-panel h3{color:#fff}
.card p,.case p,.info-panel p{color:#d1e3f7!important}
.icon{color:#79c7ff}
.tag{background:#245486;color:#a8dcff}
.aboutband{background:#102e52!important;color:#fff}
.aboutband p{color:#c5d8ec}
.image-feature{padding:85px 0;background:#fff}
.image-feature-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:55px;align-items:center}
.image-feature-photo{position:relative;min-height:430px;border-radius:28px;overflow:hidden;box-shadow:0 22px 55px #123d7020}
.image-feature-photo img{width:100%;height:430px;object-fit:cover;display:block}
.photo-overlay{position:absolute;inset:auto 0 0;padding:32px;background:linear-gradient(transparent,rgba(6,24,46,.85));color:white;display:flex;flex-direction:column;gap:8px}
.photo-overlay span{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#9bd8ff}
.photo-overlay strong{font-family:Manrope,sans-serif;font-size:25px;line-height:1.3}
.image-feature-copy h2{font-family:Manrope,sans-serif;font-size:clamp(32px,3.6vw,48px);line-height:1.2;letter-spacing:-.035em}
.image-feature-copy p{color:#61738a;max-width:500px}
.image-band{position:relative;min-height:420px;overflow:hidden;display:flex;align-items:center;background:#0b2441!important;color:white}
.image-band-bg{position:absolute;inset:0}
.image-band-bg img{width:100%;height:100%;object-fit:cover}
.image-band-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,24,44,.94),rgba(7,24,44,.68),rgba(7,24,44,.18))}
.image-band-content{position:relative;z-index:2;max-width:750px; padding: 55px 0px 55px 55px;}
.image-band-content h2{font-family:Manrope,sans-serif;font-size:clamp(32px,4vw,50px);line-height:1.2}
.image-band-content p{color:#c5d8ec;font-size:17px;max-width:650px}
.checklist{background:transparent}
.check{color:#36516d}
footer{background:#eaf2fb!important}
@media(max-width:900px){.image-feature-grid{grid-template-columns:1fr}.image-feature-photo,.image-feature-photo img{min-height:340px;height:340px}}
@media(max-width:700px){section:not(.hero):not(.image-feature):not(.image-band){padding:60px 0}.image-feature{padding:60px 0}.image-band-content{padding:45px 20px}}
.form-success-message {
    background: #e8f7ee;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
}

.form-error-message {
    background: #fff1f2;
    color: #b91c1c;
    border: 1px solid #fecdd3;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.form-error-message ul {
    margin: 0;
    padding-left: 20px;
}
.field-error {
    color: #dc2626;
    font-size: 13px;
    display: block;
    margin-top: 6px;
}
/* Contact Form Success Message */
.contact-success {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 22px;
    margin-bottom: 25px;
    border: 1px solid #a7e8c1;
    border-radius: 16px;
    background: linear-gradient(135deg, #ecfdf5, #f5fffa);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.08);
    animation: contactMessageIn .45s ease;
}

.success-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
}

.success-content strong {
    display: block;
    color: #065f46;
    font-size: 16px;
    margin-bottom: 5px;
}

.success-content p {
    margin: 0;
    color: #047857;
    font-size: 14px;
    line-height: 1.7;
}

.contact-error {
    padding: 18px 20px;
    margin-bottom: 22px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 14px;
    color: #9f1239;
}

.contact-error strong {
    display: block;
    margin-bottom: 8px;
}

.contact-error ul {
    padding-left: 20px;
    margin: 0;
}

.contact-error li {
    margin: 5px 0;
    font-size: 14px;
}

@keyframes contactMessageIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   KROWNIX EXPERIENCE / PORTFOLIO PAGE
========================================================= */

.experience-page {
    overflow: hidden;
}

/* HERO */

.portfolio-hero {
    position: relative;
    padding: 85px 0 50px;
    background: linear-gradient(135deg, #f1f7ff, #ffffff 60%, #eaf3ff);
    overflow: hidden;
}

.portfolio-hero-bg {
    position: absolute;
    top: -200px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(50, 140, 255, .13), transparent 70%);
    pointer-events: none;
}

.portfolio-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 50px;
    align-items: center;
}

.portfolio-breadcrumb {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 18px;
}

.portfolio-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #2563eb;
    margin-bottom: 18px;
}

.portfolio-hero h1 {
    font-size: clamp(36px, 4.5vw, 65px);
    line-height: 1.12;
    letter-spacing: -2px;
    color: #0b1f3a;
    margin: 0 0 22px;
}

.portfolio-hero h1 span,
.portfolio-all-heading h2 span,
.portfolio-capabilities-heading h2 span,
.portfolio-cta-content h2 span {
    color: #3288ff;
}

.portfolio-lead {
    max-width: 600px;
    font-size: 16px;
    line-height: 1.9;
    color: #52657e;
}

.portfolio-hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.portfolio-btn-primary,
.portfolio-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: .3s ease;
}

.portfolio-btn-primary {
    background: linear-gradient(135deg, #1778e8, #42a5ff);
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .2);
}

.portfolio-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, .3);
}

.portfolio-btn-secondary {
    background: #fff;
    color: #15365d;
    border: 1px solid #d8e6f8;
}

.portfolio-btn-secondary:hover {
    transform: translateY(-3px);
    border-color: #3288ff;
}

/* HERO VISUAL */

.portfolio-hero-visual {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(47, 130, 255, .15);
}

.orbit-1 {
    width: 200px;
    height: 200px;
}

.orbit-2 {
    width: 300px;
    height: 300px;
}

.orbit-3 {
    width: 400px;
    height: 400px;
}

.portfolio-hero-center {
    position: relative;
    width: 145px;
    height: 145px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(29, 78, 216, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.portfolio-hero-center img {
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
}

.portfolio-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, .95);
    padding: 15px 18px;
    border: 1px solid #e2ecf8;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(15, 45, 90, .08);
    z-index: 3;
    animation: portfolioFloat 5s ease-in-out infinite;
}

.portfolio-floating-card span {
    display: block;
    color: #3288ff;
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 5px;
}

.portfolio-floating-card strong {
    display: block;
    font-size: 14px;
    color: #122b49;
}

.portfolio-floating-card small {
    display: block;
    font-size: 11px;
    color: #71849a;
    margin-top: 5px;
}

.portfolio-float-one {
    top: 35px;
    left: 5px;
}

.portfolio-float-two {
    bottom: 40px;
    left: 15px;
    animation-delay: 1s;
}

.portfolio-float-three {
    right: -5px;
    bottom: 100px;
    animation-delay: 2s;
}

@keyframes portfolioFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* STATS */

.portfolio-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 70px;
    border-top: 1px solid #dce8f6;
    padding-top: 35px;
    gap: 25px;
}

.portfolio-stat strong {
    display: block;
    font-size: 28px;
    color: #102b4b;
    margin-bottom: 8px;
}

.portfolio-stat span {
    color: #6c7f95;
    font-size: 13px;
}

/* FEATURED SECTION */

.portfolio-featured-section {
    padding: 100px 0;
    background: #fff;
}

.portfolio-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 45px;
}

.portfolio-section-heading h2 {
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #102541;
    margin: 0;
}

.portfolio-section-heading p {
    max-width: 450px;
    line-height: 1.8;
    color: #61748b;
    font-size: 15px;
}

.portfolio-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-feature-card {
    display: block;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5edf7;
    box-shadow: 0 10px 30px rgba(15, 45, 80, .05);
    text-decoration: none;
    color: inherit;
    transition: transform .35s ease, box-shadow .35s ease;
}

.portfolio-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(15, 45, 80, .12);
}

.portfolio-feature-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

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

.portfolio-feature-card:hover .portfolio-feature-image img {
    transform: scale(1.08);
}

.portfolio-feature-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(4, 22, 45, .65));
}

.portfolio-image-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    color: #fff;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 800;
}

.portfolio-image-arrow {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    background: #fff;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #17406d;
    transition: .3s;
}

.portfolio-feature-card:hover .portfolio-image-arrow {
    background: #3288ff;
    color: #fff;
    transform: rotate(45deg);
}

.portfolio-feature-content {
    padding: 25px;
}

.portfolio-feature-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 10px;
    letter-spacing: 1px;
    color: #3288ff;
    font-weight: 800;
}

.portfolio-feature-content h3 {
    font-size: 26px;
    color: #102541;
    margin: 20px 0 12px;
}

.portfolio-feature-content p {
    color: #63768d;
    line-height: 1.8;
    font-size: 14px;
}

.portfolio-card-link {
    display: inline-block;
    margin-top: 20px;
    color: #1d76e8;
    font-size: 13px;
    font-weight: 700;
}

/* ALL PROJECTS */

.portfolio-all-section {
    padding: 100px 0;
    background: #f1f6fc;
}

.portfolio-all-heading {
    max-width: 700px;
    margin-bottom: 50px;
}

.portfolio-all-heading h2 {
    font-size: 46px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #102541;
    margin: 0 0 20px;
}

.portfolio-all-heading p {
    color: #62758c;
    line-height: 1.8;
    max-width: 550px;
}

.portfolio-filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #d9e5f2;
    border-bottom: 1px solid #d9e5f2;
    padding: 20px 0;
    margin-bottom: 30px;
}

.portfolio-filter-label {
    font-size: 12px;
    letter-spacing: 2px;
    color: #24476d;
    font-weight: 800;
}

.portfolio-filter-count {
    font-size: 12px;
    color: #3288ff;
    font-weight: 800;
}

/* PROJECT GRID */

.portfolio-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.portfolio-project-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e3ebf5;
    box-shadow: 0 8px 25px rgba(15, 45, 80, .04);
    transition: transform .35s ease, box-shadow .35s ease;
}

.portfolio-project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(15, 45, 80, .12);
}

.portfolio-project-image {
    display: block;
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.portfolio-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 30, 55, .05), rgba(8, 30, 55, .55));
}

.portfolio-project-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(255, 255, 255, .95);
    color: #17406d;
    padding: 8px 12px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.portfolio-project-number {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 32px;
    font-weight: 800;
    color: rgba(255, 255, 255, .8);
}

.portfolio-project-arrow {
    position: absolute;
    bottom: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #17406d;
    transition: .3s;
}

.portfolio-project-card:hover .portfolio-project-arrow {
    background: #3288ff;
    color: #fff;
    transform: rotate(45deg);
}

.portfolio-project-info {
    padding: 25px;
}

.portfolio-project-category {
    color: #3288ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-project-info h3 {
    font-size: 22px;
    color: #102541;
    margin: 12px 0;
}

.portfolio-project-info p {
    color: #65788e;
    font-size: 14px;
    line-height: 1.8;
    min-height: 75px;
}

.portfolio-project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    text-decoration: none;
    color: #1d76e8;
    font-size: 13px;
    font-weight: 800;
}

.portfolio-project-link span {
    transition: transform .3s;
}

.portfolio-project-card:hover .portfolio-project-link span {
    transform: translate(4px, -4px);
}

/* CAPABILITIES */

.portfolio-capabilities-section {
    padding: 100px 0;
    background: #fff;
}

.portfolio-capabilities-wrap {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.portfolio-capabilities-heading h2 {
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #102541;
}

.portfolio-capabilities-heading p {
    color: #62758c;
    line-height: 1.9;
}

.portfolio-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.portfolio-capability {
    position: relative;
    background: linear-gradient(145deg, #0d3157, #102d4d);
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    transition: .3s;
}

.portfolio-capability:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, #123f70, #102d4d);
}

.portfolio-capability-number {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 12px;
    color: rgba(255, 255, 255, .4);
}

.portfolio-capability-icon {
    font-size: 28px;
    color: #5ab1ff;
    margin-bottom: 25px;
}

.portfolio-capability h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

.portfolio-capability p {
    color: #c5d7eb;
    font-size: 14px;
    line-height: 1.8;
}

/* CTA */

.portfolio-cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #0d2b4d, #143b66);
    color: #fff;
    overflow: hidden;
}

.portfolio-cta-inner {
    display: grid;
    grid-template-columns: 1fr .7fr;
    align-items: center;
    gap: 60px;
}

.portfolio-cta-content .portfolio-eyebrow {
    color: #65b5ff;
}

.portfolio-cta-content h2 {
    font-size: 44px;
    line-height: 1.2;
    color: #fff;
    letter-spacing: -1px;
}

.portfolio-cta-content h2 span {
    color: #62b4ff;
}

.portfolio-cta-content p {
    max-width: 550px;
    line-height: 1.9;
    color: #c7d8eb;
    margin-bottom: 30px;
}

.portfolio-cta-visual {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-cta-ring {
    position: absolute;
    border: 1px solid rgba(110, 185, 255, .2);
    border-radius: 50%;
}

.ring-a {
    width: 170px;
    height: 170px;
}

.ring-b {
    width: 260px;
    height: 260px;
}

.ring-c {
    width: 350px;
    height: 350px;
}

.portfolio-cta-symbol {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #318cff, #1554a5);
    border-radius: 50%;
    color: #fff;
    font-size: 42px;
    font-weight: 900;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}

/* RESPONSIVE */

@media(max-width: 1000px) {

    .portfolio-hero-inner {
        grid-template-columns: 1fr;
    }

    .portfolio-hero-visual {
        min-height: 380px;
    }

    .portfolio-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-capabilities-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .portfolio-cta-inner {
        grid-template-columns: 1fr;
    }

    .portfolio-cta-visual {
        min-height: 300px;
    }
}

@media(max-width: 650px) {

    .portfolio-hero {
        padding: 55px 0 40px;
    }

    .portfolio-hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .portfolio-hero-visual {
        min-height: 320px;
        transform: scale(.85);
    }

    .portfolio-float-one {
        left: -10px;
    }

    .portfolio-float-three {
        right: -10px;
    }

    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 30px;
    }

    .portfolio-featured-section,
    .portfolio-all-section,
    .portfolio-capabilities-section {
        padding: 65px 0;
    }

    .portfolio-section-heading {
        display: block;
    }

    .portfolio-section-heading h2 {
        font-size: 32px;
    }

    .portfolio-section-heading p {
        margin-top: 20px;
    }

    .portfolio-featured-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-feature-image {
        height: 230px;
    }

    .portfolio-all-heading h2 {
        font-size: 34px;
    }

    .portfolio-project-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-project-image {
        height: 230px;
    }

    .portfolio-project-info p {
        min-height: auto;
    }

    .portfolio-capabilities-heading h2 {
        font-size: 34px;
    }

    .portfolio-capabilities-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-capability {
        padding: 25px;
    }

    .portfolio-cta-section {
        padding: 65px 0;
    }

    .portfolio-cta-content h2 {
        font-size: 34px;
    }

    .portfolio-cta-visual {
        min-height: 260px;
        transform: scale(.85);
    }

    .ring-c {
        width: 280px;
        height: 280px;
    }

    .ring-b {
        width: 220px;
        height: 220px;
    }

    .ring-a {
        width: 150px;
        height: 150px;
    }

    .portfolio-filter-row {
        gap: 15px;
    }
}
/* Floating Contact Buttons */
.floating-contact-buttons {
    position: fixed;
    right: 22px;
    bottom: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.float-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    color: #fff;
}

.whatsapp-btn {
    background: #25D366;
}

.call-btn {
    background: #1266E8;
}

.email-btn {
    background: #0B2340;
}

.float-btn svg {
    display: block;
}

@media (max-width: 768px) {
    .floating-contact-buttons {
        right: 15px;
        bottom: 18px;
        gap: 10px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
    }
}
.footlinks a[href^="tel:"] {
    transition: color .3s ease;
}

.footlinks a[href^="tel:"]:hover {
    color: #2787FF;
}

/* KROWNIX Commitment / Info Panel text contrast fix */
.info-panel {
    background: linear-gradient(135deg, #103965, #0b2b4d);
    border: 1px solid rgba(255,255,255,.12);
}

.info-panel h3 {
    color: #ffffff !important;
}

.info-panel .checklist .check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.info-panel .checklist .check span {
    color: #e5efff !important;
    line-height: 1.7;
}

.info-panel .checklist .check i {
    color: #4da3ff !important;
    font-style: normal;
    font-weight: 700;
    flex-shrink: 0;
}

/* Prevent inherited dark text styles */
.info-panel * {
    color: inherit;
}

.info-panel h3,
.info-panel .checklist .check span {
    color: #ffffff !important;
}

.info-panel .checklist .check i {
    color: #4da3ff !important;
}

/* Active navigation link */
header .links a.active {
    color: #2585ff !important;
    font-weight: 700;
    position: relative;
}

header .links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: #2585ff;
    border-radius: 10px;
}

header .links a {
    transition: color .3s ease;
}

header .links a:hover {
    color: #2585ff;
}

/* ==============================
   LEGAL PAGES
============================== */

.legal-page {
    background: #fff;
    padding: 90px 0 110px;
}

.legal-container {
    max-width: 1000px;
    margin: auto;
}

.legal-header {
    margin-bottom: 45px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5edf5;
}

.legal-header .kicker {
    color: #2783ff;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 13px;
}

.legal-header h2 {
    font-size: clamp(30px, 4vw, 45px);
    margin: 20px 0;
    color: #142b46;
    line-height: 1.3;
}

.legal-header p {
    color: #64748b;
    font-size: 15px;
}

.legal-content {
    color: #53657b;
    font-size: 16px;
    line-height: 1.9;
}

.legal-content h2 {
    color: #142d4c;
    font-size: 23px;
    margin-top: 42px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.legal-content p {
    margin-bottom: 18px;
}

.legal-content ul {
    padding-left: 25px;
    margin-bottom: 25px;
}

.legal-content li {
    margin-bottom: 12px;
}

.legal-content a {
    color: #287cff;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-contact {
    background: #f3f7fc;
    border: 1px solid #e2eaf4;
    border-radius: 18px;
    padding: 25px;
    margin-top: 25px;
}

.legal-contact strong {
    color: #142d4c;
    font-size: 19px;
}

.legal-contact p {
    margin: 10px 0;
}

@media(max-width:768px) {

    .legal-page {
        padding: 55px 20px 75px;
    }

    .legal-header h2 {
        font-size: 30px;
    }

    .legal-content {
        font-size: 15px;
    }

    .legal-content h2 {
        font-size: 21px;
    }
}