/* =========================================
   VIRTA CALLS — STYLESHEET (RESPONSIVE FIX)
   ========================================= */

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

:root {
    --primary: #161e63;
    --primary-light: #2a3580;
    --accent: #5ca8ff;
    --accent-light: #6c9ef8;
    --white: #ffffff;
    --text-dark: #1a1a2e;
    --text-muted: #6b7280;
    --border: #e2e8f0;
    --bg: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(225, 228, 255, 1) 100%);
    --card-bg: #ffffff;
    --shadow: 0 4px 24px rgba(22, 30, 99, 0.08);
    --shadow-md: 0 8px 32px rgba(22, 30, 99, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(225, 228, 255, 0.6);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(22, 30, 99, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
    width: 100px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.25s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.globe-link {
    font-size: 16px;
    position: relative;
}

.globe-link::after {
    display: none;
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    /* left: auto; */
    right: auto;
    min-width: 170px;
    background: var(--card-bg);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 14px;
    box-shadow: 0 16px 30px rgba(22, 30, 99, 0.12);
    padding: 8px 0;
    display: none;
    z-index: 1001;
}

.language-menu.open {
    display: block;
}

.language-option {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.language-option:hover,
.language-option.active {
    background: rgba(92, 168, 255, 0.14);
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(22, 30, 99, 0.25);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* =========================================
   SECTION COMMONS
   ========================================= */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(18px, 2.5vw, 25px);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.section-label.centered {
    justify-content: center;
}

.label-line {
    flex: 1;
    max-width: 40px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    display: inline-block;
    text-align: center;
}

.section-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 2px;
}

.highlight {
    color: var(--accent);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    padding: 100px 0 50px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-tagline {
    font-size: clamp(12px, 1.5vw, 15px);
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: bold;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-desc {
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.8;
    text-align: justify;
    letter-spacing: 0.02em;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 1 / 1;
}

.hero-visual img,
img.hero-visual {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    padding: 10px 0 50px 0;
}

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

/* About Visual */
.about-visual {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual img,
img.about-visual {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 400px;
    display: block;
}

/* About Content */
.about-title {
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: bold;
    line-height: 1.25;
    color: var(--text-dark);
    margin: 12px 0 20px;
    text-align: justify;
}

.about-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 14px;
    text-align: justify;
    letter-spacing: 0.02em;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
    padding: 100px 0 10px 0;
}

.services-visual {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    display: block;
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.service-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.service-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 16px rgba(22, 30, 99, 0.2);
}

.service-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.service-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: justify;
}

/* =========================================
   SOLUTIONS SECTION
   ========================================= */
.solutions {
    padding: 100px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.portfolio-card {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.portfolio-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(92, 168, 255, 0.12), rgba(22, 30, 99, 0.04));
}

.portfolio-image img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

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

.portfolio-content {
    padding: 26px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.portfolio-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.portfolio-title {
    font-size: 16px;
    line-height: 1.2;
    color: var(--primary);
    margin: 0;
}

.portfolio-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

/* =========================================
   DEMO MODAL
   ========================================= */
.demo-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.demo-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.demo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 60, 0.62);
    backdrop-filter: blur(10px);
}

.demo-dialog {
    position: relative;
    width: min(760px, 100%);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 30px 80px rgba(22, 30, 99, 0.18);
    overflow: hidden;
    z-index: 1;
    max-height: calc(100vh - 80px);
}

.demo-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.demo-close:hover {
    transform: translateY(-2px);
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.demo-top {
    padding: 40px 40px 0;
}

.section-sub.accent {
    color: var(--accent);
}

.demo-title {
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.1;
    margin: 14px 0 16px;
    color: var(--text-dark);
}

.demo-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 620px;
}

.demo-form {
    padding: 24px 40px 34px;
}

.demo-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.form-field span {
    color: var(--text-dark);
    font-weight: 600;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    background: #fafbff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(92, 168, 255, 0.16);
}

.demo-submit {
    width: 100%;
    padding: 14px;
    margin-top: 12px;
}

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

    .demo-dialog {
        max-height: calc(100vh - 40px);
    }

    .demo-top {
        padding: 32px 28px 0;
    }

    .demo-form {
        padding: 20px 28px 28px;
    }
}

@media (max-width: 480px) {
    .demo-dialog {
        border-radius: 20px;
    }

    .demo-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }

    .demo-title {
        font-size: 26px;
    }

    .demo-top,
    .demo-form {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact {
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.contact-info .section-label {
    justify-content: flex-start;
}

.contact-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-top: 20px;
    margin-bottom: 12px;
}

.contact-email {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-email strong {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s;
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Form */
.contact-form-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.contact-form-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid #e8eeff;
    width: 100%;
    z-index: 1;
}

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

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: var(--text-dark);
    background: #fafbff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-input::placeholder {
    color: #b0b8cc;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(75, 123, 236, 0.1);
}

.form-input.full {
    display: block;
    margin-bottom: 14px;
}

.form-input.textarea {
    resize: vertical;
    min-height: 100px;
}

.full-btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
}

/* Contact figure */
.contact-figure {
    position: absolute;
    right: -160px;
    bottom: 0;
    width: 150px;
    height: 280px;
    object-fit: contain;
}

/* =========================================
   LOGIN PAGE
   ========================================= */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: radial-gradient(circle at top, rgba(92, 168, 255, 0.12), transparent 40%),
        radial-gradient(circle at bottom right, rgba(22, 30, 99, 0.08), transparent 40%),
        var(--bg);
}

.login-container {
    width: min(1120px, 100%);
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.login-panel {
    border-radius: var(--radius);
    overflow: hidden;
}

.login-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background: linear-gradient(180deg, rgba(92, 168, 255, 0.12), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(226, 232, 240, 0.95);
    padding: 44px 40px;
    box-shadow: var(--shadow-md);
}

.login-hero-copy {
    max-width: 520px;
}

.login-hero-copy .section-sub {
    margin-bottom: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.login-hero h1 {
    font-size: clamp(36px, 4vw, 48px);
    line-height: 1.05;
    margin: 0;
}

.login-hero-text {
    color: var(--text-muted);
    line-height: 1.85;
    max-width: 520px;
}

.login-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-hero-visual img {
    width: min(100%, 360px);
    height: auto;
    display: block;
}

.login-form-panel {
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius);
    padding: 40px 40px 34px;
    box-shadow: var(--shadow-md);
}

.login-form-header {
    margin-bottom: 28px;
}

.login-label {
    justify-content: flex-start;
    margin-bottom: 14px;
}

.login-form-header h2 {
    font-size: 28px;
    margin: 0 0 12px;
    color: var(--text-dark);
}

.login-sub {
    margin: 0;
    color: var(--text-muted);
}

.login-form {
    display: grid;
    gap: 18px;
}

.login-form .form-field {
    display: grid;
    gap: 10px;
}

.login-form .form-field span {
    font-weight: 600;
    color: var(--text-dark);
}

.login-form .form-field input {
    border-radius: 14px;
    padding: 16px 18px;
    font-size: 14px;
}

.login-submit {
    padding: 16px;
    font-size: 15px;
}

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

    .login-hero {
        padding: 32px 28px;
    }

    .login-form-panel {
        padding: 32px 28px 28px;
    }
}

@media (max-width: 600px) {
    .login-page {
        padding: 28px 18px;
    }

    .login-hero,
    .login-form-panel {
        border-radius: 22px;
    }

    .login-hero h1 {
        font-size: 32px;
    }
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 24px;
    text-align: center;
}

.footer-inner p {
    font-size: 13px;
    margin-bottom: 4px;
}

.footer-inner p:last-child {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-content {
    animation: fadeInUp 0.7s ease both;
}

.hero-visual {
    animation: fadeInUp 0.7s 0.2s ease both;
}

.service-card {
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateX(4px);
}

/* =========================================
   RESPONSIVE — 1024px (tablets landscape)
   ========================================= */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .services-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-visual {
        max-width: 320px;
        margin: 0 auto;
    }

    .contact-figure {
        display: none;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* =========================================
   RESPONSIVE — 900px (tablets portrait)
   ========================================= */
@media (max-width: 900px) {
    .hero {
        padding: 90px 0 50px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .hero-visual {
        order: -1;
        max-width: 340px;
        margin: 0 auto;
    }

    .hero-desc {
        margin: 0 auto 32px;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-visual {
        order: -1;
        min-height: 220px;
    }

    .about-visual img,
    img.about-visual {
        max-height: 280px;
    }

    .about-title {
        text-align: center;
    }

    .about-desc {
        text-align: center;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

/* =========================================
   RESPONSIVE — 768px (mobile landscape / small tablets)
   ========================================= */
@media (max-width: 768px) {

    .nav-links,
    .nav-buttons {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 68px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        padding: 20px 24px 32px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        z-index: 999;
    }

    .nav-links.open+.nav-buttons {
        display: flex;
        position: fixed;
        top: auto;
        /* stack buttons below the nav links */
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.97);
        padding: 0 24px 24px;
        z-index: 999;
        gap: 12px;
    }

    .hamburger {
        display: flex;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 24px 20px;
    }

    .section-header {
        margin-bottom: 32px;
    }
}

/* =========================================
   RESPONSIVE — 480px (mobile portrait)
   ========================================= */
@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }

    .hero-container {
        padding: 0 16px;
    }

    .hero-visual {
        max-width: 260px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .section-container {
        padding: 0 16px;
    }

    .about {
        padding: 40px 0;
    }

    .services {
        padding: 60px 0 20px;
    }

    .solutions {
        padding: 60px 0;
    }

    .contact {
        padding: 60px 0;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .portfolio-content {
        padding: 20px 16px 22px;
    }

    .portfolio-image img {
        width: 120px;
        height: 120px;
    }

    .social-links {
        gap: 8px;
    }

    .nav-container {
        padding: 0 16px;
        gap: 16px;
    }

    .contact-form-card {
        padding: 20px 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card {
        flex-direction: row;
        align-items: flex-start;
    }

    .section-label {
        font-size: 18px;
    }
}

/* =========================================
   RESPONSIVE — 360px (small phones)
   ========================================= */
@media (max-width: 360px) {
    .hero-visual {
        max-width: 220px;
    }

    .btn {
        padding: 9px 16px;
        font-size: 12px;
    }

    .logo {
        width: 80px;
    }
}

/* Mobile nav-buttons open state (managed via JS top offset) */
.nav-buttons.open {
    display: flex;
    position: fixed;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    padding: 0 24px 24px;
    z-index: 999;
    gap: 12px;
    flex-direction: row;
    justify-content: center;
}


.area {
    width: 100%;
}

.circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: #161e6333;
    animation: animate 25s linear infinite;
    bottom: -150px;

}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

/* =========================================
   404 ERROR PAGE
   ========================================= */
.error-page {
    min-height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
    padding: 80px 24px;
}

.error-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.error-content h1 {
    margin: 0;
}

.error-code {
    font-size: clamp(80px, 12vw, 180px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    text-align: center;
}

.error-title {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: center;
}

.error-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 32px;
    text-align: center;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    alitn-items: center;
}

.error-actions .btn {
    padding: 12px 28px;
    font-size: 14px;
}

.error-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-visual svg {
    filter: drop-shadow(0 4px 20px rgba(22, 30, 99, 0.1));
    animation: float 4s ease-in-out infinite;
}

.error-suggestions {
    background: linear-gradient(180deg, rgba(92, 168, 255, 0.08), rgba(255, 255, 255, 0.98));
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    padding: 60px 24px;
    margin-top: 40px;
}

.suggestion-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 28px 24px;
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s ease;
}

.suggestion-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.suggestion-card i {
    font-size: 32px;
    color: var(--accent);
}

.suggestion-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 0;
}

.suggestion-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 900px) {
    .error-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .error-visual {
        order: -1;
    }

    .error-content {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .error-actions {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 480px) {
    .error-page {
        padding: 60px 16px;
    }

    .error-code {
        font-size: 80px;
    }

    .error-title {
        font-size: 28px;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .error-suggestions {
        padding: 40px 16px;
    }
}