/* ═══════════════════════════════════════
   MOBIKUZA — Main Stylesheet
   Brand: #001D35 (Navy) · #4CAF50 (Green)
   Fonts: Roboto (Display) · DM Sans (Body)
═══════════════════════════════════════ */

:root {
    --navy:       #001D35;
    --navy-mid:   #002D52;
    --navy-light: #0A3A5C;
    --green:      #4CAF50;
    --green-dark: #388E3C;
    --green-light:#66BB6A;
    --white:      #FFFFFF;
    --off-white:  #F4F7F9;
    --grey-100:   #EEF1F4;
    --grey-300:   #C4CDD6;
    --grey-500:   #7A8A99;
    --grey-700:   #3A4A57;
    --text:       #0E1E2B;

    --font-display: 'Roboto', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  32px;

    --shadow-sm:  0 2px 8px rgba(0,29,53,.08);
    --shadow-md:  0 8px 32px rgba(0,29,53,.12);
    --shadow-lg:  0 24px 64px rgba(0,29,53,.16);

    --transition: 0.3s cubic-bezier(.4,0,.2,1);
    --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
.section-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--grey-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(76,175,80,.3);
}
.btn--primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(76,175,80,.4);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.35);
}
.btn--ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.6);
}

.btn--white {
    background: var(--white);
    color: var(--navy);
}
.btn--white:hover {
    background: var(--off-white);
    transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }


/* ══════════════════════════════════
   NAV
══════════════════════════════════ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background: rgba(0, 29, 53, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0,0,0,.2);
}

.nav__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.nav__name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav__links a {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    letter-spacing: 0.3px;
    transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }

.nav__cta {
    background: var(--green) !important;
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    transition: background var(--transition) !important;
}
.nav__cta:hover { background: var(--green-dark) !important; }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav__mobile {
    display: none;
    flex-direction: column;
    background: var(--navy);
    padding: 16px 24px 24px;
    gap: 4px;
}
.nav__mobile a {
    color: rgba(255,255,255,.85);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}


/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-h) + 48px) 24px 80px;
}

.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(76,175,80,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76,175,80,.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero__orb--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(76,175,80,.2) 0%, transparent 70%);
    top: -100px; right: -100px;
}
.hero__orb--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,45,82,.8) 0%, transparent 70%);
    bottom: -80px; left: -80px;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(76,175,80,.12);
    border: 1px solid rgba(76,175,80,.3);
    color: var(--green-light);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero__badge-dot {
    width: 7px; height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero__title-accent {
    color: var(--green);
    position: relative;
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255,255,255,.65);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__stat-num {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.hero__stat-label {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    letter-spacing: 0.5px;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.15);
}

.hero__scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.3);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ══════════════════════════════════
   ABOUT
══════════════════════════════════ */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about__body {
    font-size: 17px;
    color: var(--grey-700);
    line-height: 1.75;
    margin-bottom: 20px;
}

.about__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.tag {
    background: var(--grey-100);
    color: var(--navy-mid);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--grey-300);
    transition: var(--transition);
}
.tag:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.about__right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about__card {
    background: var(--off-white);
    border: 1px solid var(--grey-100);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
}
.about__card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.about__card-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.about__card h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.about__card p {
    font-size: 14px;
    color: var(--grey-500);
    line-height: 1.6;
}


/* ══════════════════════════════════
   SERVICES
══════════════════════════════════ */
.services {
    padding: 120px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.services__bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(76,175,80,.08) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.services .section-title { color: var(--white); }
.services .section-subtitle { color: rgba(255,255,255,.55); }
.services .section-label { color: var(--green); }

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

.service-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 0;
    background: var(--green);
    border-radius: 0 0 3px 0;
    transition: height var(--transition);
}
.service-card:hover::before { height: 100%; }
.service-card:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(76,175,80,.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.service-card__icon {
    width: 52px; height: 52px;
    background: rgba(76,175,80,.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-bottom: 24px;
}
.service-card__icon svg { width: 26px; height: 26px; }

.service-card__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 15px;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-card__link {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
    transition: gap var(--transition), color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.service-card__link:hover { color: var(--green-light); gap: 8px; }


/* ══════════════════════════════════
   PORTFOLIO
══════════════════════════════════ */
.portfolio {
    padding: 120px 0;
    background: var(--off-white);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--grey-100);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}
.project-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.project-card:nth-child(1) { grid-column: span 2; }

.project-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.project-card__category {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green-dark);
    background: rgba(76,175,80,.1);
    padding: 4px 12px;
    border-radius: 100px;
}

.project-card__client {
    font-size: 13px;
    color: var(--grey-500);
}

.project-card__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-card__desc {
    font-size: 15px;
    color: var(--grey-700);
    line-height: 1.65;
    margin-bottom: 24px;
}

.project-card__techs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-badge {
    font-size: 12px;
    font-weight: 500;
    color: var(--navy-mid);
    background: var(--grey-100);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--grey-300);
}


/* ══════════════════════════════════
   CTA STRIP
══════════════════════════════════ */
.cta-strip {
    background: var(--green);
    padding: 80px 0;
}

.cta-strip__inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-strip__inner h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-strip__inner p {
    font-size: 18px;
    color: rgba(255,255,255,.8);
    margin-bottom: 36px;
}


/* ══════════════════════════════════
   CONTACT
══════════════════════════════════ */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.contact__body {
    font-size: 17px;
    color: var(--grey-700);
    line-height: 1.75;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact__detail-icon {
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact__detail strong {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact__detail span {
    font-size: 15px;
    color: var(--grey-700);
}

/* FORM */
.contact__form-wrap {
    background: var(--off-white);
    border: 1px solid var(--grey-100);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--grey-300);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(76,175,80,.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237A8A99' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-errors {
    font-size: 14px;
    color: #e53e3e;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: var(--radius-md);
    padding: 12px 16px;
}

.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 15px;
    margin-bottom: 16px;
}
.alert--success { background: #f0fff4; color: #276749; border: 1px solid #c6f6d5; }


/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
    background: var(--navy);
    padding: 36px 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__logo {
    width: 32px; height: 32px;
    object-fit: contain;
}

.footer__name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
}

.footer__copy {
    font-size: 14px;
    color: rgba(255,255,255,.4);
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }


/* ══════════════════════════════════
   SUCCESS PAGE
══════════════════════════════════ */
.success-page {
    min-height: 100vh;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}
.success-page__inner {
    text-align: center;
    max-width: 440px;
}
.success-page__icon {
    font-size: 64px;
    margin-bottom: 24px;
}
.success-page__inner h1 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}
.success-page__inner p {
    font-size: 17px;
    color: var(--grey-700);
    margin-bottom: 36px;
    line-height: 1.7;
}


/* ══════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }


/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 900px) {
    .nav__links { display: none; }
    .nav__burger { display: flex; }
    .nav__mobile.open { display: flex; }

    .about__inner { grid-template-columns: 1fr; gap: 48px; }
    .about__right { grid-template-columns: 1fr 1fr; }

    .contact__inner { grid-template-columns: 1fr; gap: 48px; }
    .form-row { grid-template-columns: 1fr; }
    .contact__form-wrap { padding: 32px 24px; }

    .project-card:nth-child(1) { grid-column: span 1; }

    .footer__inner { flex-direction: column; text-align: center; }
    .footer__links { justify-content: center; }
}

@media (max-width: 600px) {
    .hero__title { letter-spacing: -1px; }
    .hero__stats { gap: 20px; }
    .hero__stat-divider { display: none; }
    .about__right { grid-template-columns: 1fr; }
    .services__grid { grid-template-columns: 1fr; }
    .portfolio__grid { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: column; align-items: center; }
}
