/* ==========================================================
   MAVIME - Main Styles
   Sections: 1 Variables | 2 Base | 3 Layout | 4 Buttons |
             5 Navigation | 6 Hero | 7 Cards | 8 Process |
             9 Contact | 10 Footer | 11 Floating buttons
   ========================================================== */

/* ---------- 1. Variables ---------- */
:root {
    --navy: #0B1F4D;
    --royal: #2F5BEA;
    --light-blue: #E8F0FF;
    --soft-blue: #BFD4FF;
    --text: #1F2A44;
    --muted: #5B6785;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #0B1F4D 0%, #2F5BEA 100%);
    --radius: 16px;
    --shadow: 0 8px 24px rgba(11, 31, 77, 0.08);
    --shadow-hover: 0 14px 32px rgba(11, 31, 77, 0.16);
}

/* ---------- 2. Base ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--text);
    font-family: "Manrope", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

h1,
h2,
h3 {
    color: var(--navy);
    line-height: 1.2;
}

:focus-visible {
    outline: 3px solid var(--royal);
    outline-offset: 3px;
}

/* ---------- 3. Layout ---------- */
.container {
    margin: 0 auto;
    max-width: 1140px;
    padding: 0 20px;
}

.section {
    padding: 72px 0;
}

.section-light {
    background: var(--light-blue);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 12px;
    text-align: center;
}

.section-subtitle {
    color: var(--muted);
    margin: 0 auto 40px;
    max-width: 620px;
    text-align: center;
}

.page-header {
    background: var(--gradient);
    color: var(--white);
    padding: 140px 0 64px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.4rem;
}

.page-header p {
    color: var(--soft-blue);
    margin: 12px auto 0;
    max-width: 600px;
}

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

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

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

/* ---------- 4. Buttons ---------- */
.btn {
    background: var(--royal);
    border: 2px solid var(--royal);
    border-radius: 999px;
    color: var(--white);
    cursor: pointer;
    display: inline-block;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 26px;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.btn:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-small {
    font-size: 0.85rem;
    padding: 8px 18px;
}

/* ---------- 5. Navigation ---------- */
.site-header {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(47, 91, 234, 0.15);
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.nav-bar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 72px;
}

.nav-logo img {
    height: 40px;
}

.nav-links {
    align-items: center;
    display: flex;
    gap: 6px;
}

.nav-links a {
    border-radius: 999px;
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 14px;
    transition: background 0.25s, color 0.25s;
}

.nav-links a:hover {
    background: var(--light-blue);
}

.nav-links a.active {
    background: var(--royal);
    color: var(--white);
}

.nav-links a.nav-cta {
    background: var(--navy);
    color: var(--white);
    margin-left: 8px;
}

.nav-toggle {
    background: none;
    border: 0;
    cursor: pointer;
    display: none;
    height: 44px;
    width: 44px;
}

.nav-toggle span {
    background: var(--navy);
    border-radius: 2px;
    display: block;
    height: 3px;
    margin: 6px auto;
    transition: transform 0.3s, opacity 0.3s;
    width: 24px;
}

/* ---------- 6. Hero ---------- */
.hero {
    background: var(--gradient);
    color: var(--white);
    overflow: hidden;
    padding: 130px 0 90px;
    position: relative;
}

.hero::before {
    background: radial-gradient(circle, rgba(127, 166, 255, 0.35), transparent 70%);
    content: "";
    height: 520px;
    position: absolute;
    right: -120px;
    top: -120px;
    width: 520px;
}

.hero-kicker {
    color: var(--soft-blue);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    color: var(--white);
    font-size: 3.2rem;
    margin: 12px 0 16px;
}

.hero-intro {
    color: var(--soft-blue);
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 44px;
}

.slider {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius);
    max-width: 720px;
    padding: 24px;
    position: relative;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.slide h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.slide p {
    color: var(--soft-blue);
}

.slider-controls {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 0;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    font-size: 1.1rem;
    height: 40px;
    width: 40px;
}

.slider-btn:hover {
    background: var(--royal);
}

.slider-dots {
    display: flex;
    gap: 8px;
    margin: 0 8px;
}

.slider-dot {
    background: rgba(255, 255, 255, 0.4);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    height: 12px;
    width: 12px;
}

.slider-dot.active {
    background: var(--white);
}

/* ---------- 7. Cards ---------- */
.card {
    background: var(--white);
    border: 1px solid var(--light-blue);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.card p {
    color: var(--muted);
    font-size: 0.93rem;
}

.card-icon {
    align-items: center;
    background: var(--light-blue);
    border-radius: 12px;
    color: var(--royal);
    display: flex;
    height: 48px;
    justify-content: center;
    margin-bottom: 14px;
    width: 48px;
}

.card-icon svg {
    height: 26px;
    width: 26px;
}

.feature-list {
    margin: 12px 0 16px;
}

.feature-list li {
    color: var(--text);
    font-size: 0.88rem;
    padding-left: 18px;
    position: relative;
}

.feature-list li::before {
    color: var(--royal);
    content: "\2713";
    left: 0;
    position: absolute;
}

.project-card {
    padding: 0;
    overflow: hidden;
}

.project-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

.project-body {
    padding: 22px;
}

.badge {
    background: var(--light-blue);
    border-radius: 999px;
    color: var(--royal);
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    padding: 4px 12px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
}

.tags span {
    background: var(--light-blue);
    border-radius: 6px;
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
}

.notice {
    background: var(--light-blue);
    border-left: 4px solid var(--royal);
    border-radius: 8px;
    margin-bottom: 32px;
    padding: 16px 20px;
}

.team-photo {
    align-items: center;
    background: var(--light-blue);
    border: 2px dashed var(--soft-blue);
    border-radius: 50%;
    color: var(--royal);
    display: flex;
    font-size: 0.7rem;
    font-weight: 700;
    height: 110px;
    justify-content: center;
    margin: 0 auto 16px;
    text-align: center;
    width: 110px;
}

.team-card {
    text-align: center;
}

.team-role {
    color: var(--royal);
    font-weight: 700;
    margin-bottom: 8px;
}

.value-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.value-list li {
    background: var(--white);
    border: 1px solid var(--soft-blue);
    border-radius: 999px;
    color: var(--navy);
    font-weight: 700;
    padding: 10px 22px;
}

/* ---------- 8. Process ---------- */
.step-number {
    color: var(--royal);
    font-size: 2rem;
    font-weight: 800;
}

.process-card {
    position: relative;
}

/* ---------- 9. Contact ---------- */
.contact-layout {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 1.4fr;
}

.contact-form label {
    color: var(--navy);
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 14px 0 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border: 1px solid var(--soft-blue);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    padding: 12px;
    width: 100%;
}

.contact-form button {
    margin-top: 20px;
}

.form-note {
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 12px;
}

/* ---------- 10. Footer ---------- */
.site-footer {
    background: var(--light-blue);
    color: var(--soft-blue);
    text-align: center;
}

.footer-wave {
    display: block;
    height: 60px;
    margin-bottom: -1px;
    width: 100%;
}

.footer-body {
    background: var(--navy);
    padding: 24px 0 24px;
}

.footer-logo {
    background: var(--white);
    border-radius: 12px;
    display: inline-block;
    height: 52px;
    padding: 6px 12px;
}

.footer-tagline {
    color: var(--white);
    font-weight: 700;
    margin: 14px 0 6px;
}

.footer-description {
    margin: 0 auto;
    max-width: 520px;
}

.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0;
}

.social-links a {
    border: 1px solid var(--soft-blue);
    border-radius: 999px;
    font-size: 0.8rem;
    padding: 6px 14px;
    transition: background 0.25s;
}

.social-links a:hover {
    background: var(--royal);
}

.copyright {
    border-top: 1px solid rgba(191, 212, 255, 0.2);
    font-size: 0.85rem;
    padding-top: 16px;
}

/* ---------- 11. Floating buttons ---------- */
.floating-buttons {
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    right: 20px;
    z-index: 90;
}

.floating-btn {
    align-items: center;
    border-radius: 50%;
    box-shadow: var(--shadow-hover);
    color: var(--white);
    display: flex;
    height: 52px;
    justify-content: center;
    transition: transform 0.25s;
    width: 52px;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn svg {
    height: 26px;
    width: 26px;
}

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

.floating-email {
    background: var(--royal);
}

/* ---------- Extra: hero layout, team photos ---------- */
.hero-grid {
    align-items: center;
    display: grid;
    gap: 40px;
    grid-template-columns: 1.3fr 1fr;
}

.hero-visual svg {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    height: auto;
    width: 100%;
}

.team-photo-img {
    object-fit: cover;
}

.card p + p {
    margin-top: 6px;
}
