
/* =========================================================
   MUVIRA TECHNOLOGIES
   COMPLETE WEBSITE STYLESHEET
   Blue | White | Modern | Professional
   Your Vision, Our Technology.
========================================================= */

/* 1. DESIGN SYSTEM
========================================================= */

:root {
    --primary: #0755c9;
    --primary-dark: #033b91;
    --primary-light: #eaf2ff;
    --secondary: #12a4e8;
    --accent: #54b8ff;

    --background: #f6f9ff;
    --surface: #ffffff;
    --surface-alt: #edf4ff;

    --text: #1b2b43;
    --muted: #687991;
    --border: #dce6f3;

    --success: #159b62;
    --danger: #d94747;

    --shadow-sm: 0 4px 14px rgba(7, 55, 120, .06);
    --shadow: 0 12px 35px rgba(7, 85, 201, .09);
    --shadow-lg: 0 22px 55px rgba(7, 55, 120, .14);

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 26px;

    --transition: .3s ease;
    --header-height: 78px;

    --container: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
    min-width: 320px;
    overflow-x: hidden;

    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.7;

    background: var(--background);
    color: var(--text);

    transition:
        background var(--transition),
        color var(--transition);
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.hidden {
    display: none !important;
}

section {
    scroll-margin-top: calc(var(--header-height) + 15px);
}

.skip-link {
    position: absolute;
    top: 10px;
    left: -9999px;
    z-index: 200000;

    padding: 12px 18px;

    color: var(--primary);
    background: white;
    border-radius: 8px;
}

.skip-link:focus {
    left: 10px;
}

/* 2. INTRODUCTION SCREEN
========================================================= */

#introScreen {
    position: fixed;
    inset: 0;
    z-index: 99999;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    overflow: hidden;
    background: var(--primary);
}

.intro-stage {
    position: absolute;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

.intro-stage.active {
    display: flex;
}

#blueScreenOne,
#blueScreenTwo {
    background: var(--primary);
}

#skipIntro {
    position: absolute;
    top: 25px;
    right: 30px;
    z-index: 100000;

    padding: 11px 22px;

    color: white;
    background: rgba(255, 255, 255, .14);

    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 30px;

    font-size: 14px;
    font-weight: 700;

    backdrop-filter: blur(12px);

    transition: var(--transition);
}

#skipIntro:hover {
    color: var(--primary);
    background: white;
    transform: translateY(-2px);
}

/* 3. BRAND ANIMATION
========================================================= */

#brandStage {
    color: white;
    text-align: center;

    background:
        radial-gradient(
            circle at center,
            #1674e8 0%,
            #0755c9 55%,
            #033b91 100%
        );
}

#brandName {
    color: white;

    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    letter-spacing: 12px;

    margin-bottom: 5px;

    text-shadow: 0 8px 25px rgba(0, 0, 0, .18);
}

#brandTechnology {
    color: #dceaff;

    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: 8px;

    margin-top: 5px;
}

.animated-letter {
    display: inline-block;

    opacity: 0;
    transform: translateY(25px);

    animation: letterAppear .45s ease forwards;
}

@keyframes letterAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4. PANDA ANIMATION
========================================================= */

#pandaStage {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    width: min(90%, 700px);
    min-height: 190px;

    margin-top: 35px;
}

#pandaMascot {
    position: relative;
    z-index: 3;

    width: 155px;
    height: 155px;

    object-fit: contain;

    opacity: 0;
    transform: translateX(-80px);

    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .2));
}

#brandSlogan {
    color: white;

    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 800;

    opacity: 0;
    transform: translateX(40px);

    text-shadow: 0 3px 12px rgba(0, 0, 0, .2);
}

#pandaMascot.panda-enter {
    animation: pandaEnter 1.2s cubic-bezier(.2, .8, .2, 1) forwards;
}

@keyframes pandaEnter {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#pandaMascot.panda-push {
    animation: pandaPush 1.1s ease-in-out forwards;
}

@keyframes pandaPush {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(45px) rotate(-3deg);
    }

    100% {
        transform: translateX(25px);
    }
}

#brandSlogan.slogan-enter {
    animation: sloganEnter 1s ease forwards;
}

@keyframes sloganEnter {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 5. LOADING SCREEN
========================================================= */

#loadingStage {
    color: white;

    background:
        radial-gradient(
            circle at center,
            #1674e8,
            #0755c9 65%,
            #033b91
        );
}

#loadingPanda {
    width: 190px;
    height: 190px;

    object-fit: contain;

    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .2));
}

#bubbleContainer {
    position: absolute;
    inset: 0;

    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -80px;

    border: 2px solid rgba(255, 255, 255, .65);
    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(255, 255, 255, .95),
            rgba(255, 255, 255, .15) 35%,
            rgba(255, 255, 255, .03) 70%
        );

    box-shadow:
        inset -4px -5px 10px rgba(255, 255, 255, .2),
        0 0 15px rgba(255, 255, 255, .2);

    animation: bubbleRise 4s ease-in-out forwards;
}

.bubble.blue {
    border-color: rgba(100, 210, 255, .9);
}

.bubble.pink {
    border-color: rgba(255, 160, 220, .9);
}

.bubble.yellow {
    border-color: rgba(255, 230, 130, .9);
}

.bubble.green {
    border-color: rgba(130, 255, 190, .9);
}

.bubble.purple {
    border-color: rgba(200, 160, 255, .9);
}

@keyframes bubbleRise {
    0% {
        opacity: 0;
        transform: translateY(0) scale(.5);
    }

    15% {
        opacity: .9;
    }

    50% {
        transform: translateY(-45vh) translateX(20px) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-110vh) translateX(-15px) scale(1.1);
    }
}

#loadingText {
    position: relative;
    z-index: 6;

    margin-top: 20px;

    color: #eaf2ff;
    font-size: 15px;
    letter-spacing: 1px;
    text-align: center;
}

#loadingProgress {
    width: min(250px, 70%);
    height: 5px;

    margin-top: 20px;

    overflow: hidden;

    background: rgba(255, 255, 255, .25);
    border-radius: 20px;
}

#loadingProgressBar {
    width: 0%;
    height: 100%;

    background: white;
    border-radius: 20px;

    transition: width .25s ease;
}

/* 6. HEADER AND NAVIGATION
========================================================= */

#mainHeader {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    width: 100%;
    min-height: var(--header-height);

    padding: 12px 6%;

    background: rgba(255, 255, 255, .96);

    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);

    backdrop-filter: blur(15px);

    transition: var(--transition);
}

.logo {
    color: var(--primary);

    font-size: 23px;
    font-weight: 900;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo span {
    display: block;

    color: var(--muted);

    font-size: 10px;
    letter-spacing: 4px;
    text-align: center;
}

#mainNavigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
}

#mainNavigation a {
    color: var(--text);

    font-size: 14px;
    font-weight: 700;

    transition: var(--transition);
}

#mainNavigation a:hover {
    color: var(--primary);
}

.nav-button {
    padding: 10px 20px;

    color: white !important;
    background: var(--primary);

    border-radius: 30px;
}

.nav-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

#menuToggle {
    display: none;

    color: var(--primary);
    background: transparent;
    border: none;

    font-size: 27px;
}

#themeToggle {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    color: var(--primary);
    background: var(--primary-light);

    border: 1px solid var(--border);
    border-radius: 50%;

    font-size: 18px;

    transition: var(--transition);
}

#themeToggle:hover {
    transform: rotate(20deg);
}

/* 7. HERO SECTION
========================================================= */

.hero-section {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 620px;
    padding: 90px 8%;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 45%,
            rgba(18, 164, 232, .12),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #edf5ff,
            #ffffff 65%,
            #dceaff
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 650px;
}

.hero-content > p:first-child {
    margin-bottom: 18px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-content h1 {
    margin-bottom: 25px;

    color: var(--primary-dark);

    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.hero-content > p:not(:first-child) {
    max-width: 550px;

    margin-bottom: 30px;

    color: var(--muted);
    font-size: 17px;
}

.primary-button,
.secondary-button {
    display: inline-block;

    margin: 5px 8px 5px 0;
    padding: 14px 25px;

    border-radius: 30px;

    font-weight: 800;

    transition: var(--transition);
}

.primary-button {
    color: white;
    background: var(--primary);

    box-shadow: 0 8px 20px rgba(7, 85, 201, .2);
}

.primary-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.secondary-button {
    color: var(--primary);
    background: transparent;

    border: 2px solid var(--primary);
}

.secondary-button:hover {
    color: white;
    background: var(--primary);
}

#heroBanner {
    position: absolute;
    top: 15%;
    right: 7%;
    z-index: 1;

    width: 35%;
    height: 70%;

    opacity: .55;
    pointer-events: none;
}

/* IMAGE PLACEHOLDERS */

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    overflow: hidden;

    color: #5480b8;

    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;

    background: linear-gradient(135deg, #e3edfc, #f6f9ff);

    border: 2px dashed #9dbbe6;
    border-radius: var(--radius);
}

.image-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-image,
.founder-image,
.service-image {
    min-height: 190px;
}

/* 8. GENERAL CONTENT SECTIONS
========================================================= */

.content-section {
    padding: 95px 8%;
    text-align: center;
}

.content-section:nth-of-type(even) {
    background: var(--surface);
}

.content-section > h2 {
    margin-bottom: 15px;

    color: var(--primary-dark);

    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
}

.content-section > p {
    max-width: 750px;

    margin: 0 auto 35px;

    color: var(--muted);
    font-size: 16px;
}

/* 9. ABOUT US
========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 25px;
    margin-top: 45px;
}

.about-grid article {
    padding: 38px 27px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.about-grid article:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.about-grid h3 {
    margin-bottom: 15px;

    color: var(--primary);

    font-size: 21px;
}

.about-grid p {
    color: var(--muted);
}

/* 10. COMPANY HISTORY
========================================================= */

#history {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(18, 164, 232, .12),
            transparent 35%
        ),
        var(--primary-light);
}

#history > h2 {
    margin-bottom: 12px;
}

#history > p {
    max-width: 760px;
}

/* History introduction */

#foundingDate {
    display: inline-block;

    margin: 5px 0 25px;
    padding: 8px 18px;

    color: var(--primary);
    background: rgba(7, 85, 201, .08);

    border: 1px solid rgba(7, 85, 201, .15);
    border-radius: 30px;

    font-size: 13px;
    font-weight: 800;
}

/* Main history container */

#historyContent {
    position: relative;

    max-width: 950px;
    margin: 30px auto 0;
    padding: 45px;

    color: var(--text);
    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow);
    text-align: left;
}

/* History headings */

#historyContent h2,
#historyContent h3 {
    margin: 25px 0 12px;

    color: var(--primary-dark);
    line-height: 1.3;
}

#historyContent h2 {
    font-size: 30px;
}

#historyContent h3 {
    font-size: 21px;
}

#historyContent h2:first-child,
#historyContent h3:first-child {
    margin-top: 0;
}

#historyContent p {
    margin-bottom: 17px;

    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

#historyContent strong {
    color: var(--primary-dark);
}

#historyContent ul {
    margin: 15px 0 25px;
    padding-left: 25px;
}

#historyContent li {
    margin-bottom: 10px;
    color: var(--muted);
}

/* Optional history timeline */

.history-timeline {
    position: relative;

    max-width: 850px;
    margin: 40px auto 0;
    padding-left: 35px;

    text-align: left;
}

.history-item {
    position: relative;

    padding: 0 0 35px 30px;

    border-left: 2px solid rgba(7, 85, 201, .25);
}

.history-item:last-child {
    border-left-color: transparent;
}

.history-item::before {
    content: "";

    position: absolute;
    top: 5px;
    left: -9px;

    width: 16px;
    height: 16px;

    background: var(--primary);

    border: 3px solid white;
    border-radius: 50%;

    box-shadow: 0 0 0 4px rgba(7, 85, 201, .12);
}

.history-item h3 {
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.history-item p {
    color: var(--muted);
}

/* Founder message */

.founder-message {
    max-width: 850px;

    margin: 40px auto 0;
    padding: 35px;

    color: white;
    background: linear-gradient(135deg, #0755c9, #033b91);

    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);

    text-align: left;
}

.founder-message h3 {
    margin-bottom: 15px;
    color: white;
    font-size: 24px;
}

.founder-message p {
    color: #eaf2ff;
    line-height: 1.9;
}

.founder-message strong {
    display: inline-block;
    margin-top: 15px;
    color: white;
}

/* 11. SERVICES
========================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 22px;
    margin-top: 45px;
}

.service-card {
    padding: 18px;

    overflow: hidden;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);

    text-align: left;

    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.service-image {
    width: 100%;
    height: 170px;

    margin-bottom: 20px;

    font-size: 12px;
}

.service-card h3 {
    margin-bottom: 12px;

    color: var(--primary-dark);
    font-size: 19px;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
}

/* 12. PRICING
========================================================= */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 25px;
    align-items: stretch;

    margin-top: 45px;
}

.pricing-card {
    position: relative;

    padding: 38px 25px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 20px;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-9px);
    box-shadow: var(--shadow);
}

.pricing-card h3 {
    margin-bottom: 15px;

    color: var(--primary-dark);
    font-size: 24px;
}

.pricing-card h2,
.pricing-card .price {
    margin: 8px 0;

    color: var(--primary);

    font-size: 43px;
    font-weight: 900;
}

.pricing-card > p {
    color: var(--success);
    font-weight: 800;
}

.pricing-card .old-price {
    color: #929cac;
    font-size: 17px;
}

.pricing-card ul {
    margin: 25px 0;
    list-style: none;
    text-align: left;
}

.pricing-card li {
    padding: 10px 0;

    color: var(--text);

    border-bottom: 1px solid var(--border);

    font-size: 14px;
}

.pricing-card li::before {
    content: "✓";

    margin-right: 10px;

    color: var(--success);
    font-weight: 900;
}

.pricing-card > a {
    display: block;

    padding: 13px;

    color: white;
    background: var(--primary);

    border-radius: 30px;

    font-weight: 800;
    text-align: center;

    transition: var(--transition);
}

.pricing-card > a:hover {
    background: var(--primary-dark);
}

/* 13. PORTFOLIO
========================================================= */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 18px;
    margin-top: 40px;
}

.portfolio-item {
    min-height: 180px;
    overflow: hidden;

    border-radius: var(--radius);

    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    min-height: 180px;

    object-fit: cover;
    border-radius: var(--radius);
}

/* 14. ADVERTISEMENT AREA
========================================================= */

#advertisementArea {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 130px;

    margin: 35px 8%;
    padding: 30px;

    color: #6684ad;
    background: var(--surface-alt);

    border: 2px dashed #9dbbe6;
    border-radius: var(--radius);

    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
}

/* 15. CUSTOMER ENQUIRY
========================================================= */

#customerEnquiry {
    background: #f0f6ff;
}

#customerEnquiryForm {
    max-width: 700px;

    margin: 40px auto;
    padding: 38px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 20px;

    box-shadow: var(--shadow);

    text-align: left;
}

#customerEnquiryForm label {
    display: block;

    margin: 18px 0 8px;

    color: var(--text);
    font-weight: 800;
}

#customerEnquiryForm input,
#customerEnquiryForm textarea,
#customerEnquiryForm select {
    width: 100%;

    padding: 14px;

    color: var(--text);
    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 9px;

    outline: none;

    transition: var(--transition);
}

#customerEnquiryForm input:focus,
#customerEnquiryForm textarea:focus,
#customerEnquiryForm select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(7, 85, 201, .1);
}

#customerEnquiryForm textarea {
    min-height: 130px;
    resize: vertical;
}

#customerEnquiryForm input[type="file"] {
    padding: 12px;
    background: var(--surface-alt);
}

#customerEnquiryForm button {
    width: 100%;

    margin-top: 25px;
    padding: 15px;

    color: white;
    background: var(--primary);

    border: none;
    border-radius: 30px;

    font-weight: 900;

    transition: var(--transition);
}

#customerEnquiryForm button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

#customerEnquiryForm button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.form-status {
    margin-top: 15px;

    color: var(--primary);
    font-weight: 700;
    text-align: center;
}

.form-status[data-status="error"] {
    color: var(--danger);
}

.form-status[data-status="success"] {
    color: var(--success);
}

.recruitment-section {
    padding: 80px 7%;
    background: linear-gradient(180deg, #eef6ff 0%, #f8fbff 100%);
}

.recruitment-header {
    max-width: 820px;
    margin: 0 auto 32px;
    text-align: center;
}

.eyebrow {
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
}

.recruitment-header h2 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-dark);
}

.recruitment-header p {
    color: var(--muted);
}

.recruitment-shell {
    max-width: 980px;
    margin: 0 auto;
}

.application-progress {
    margin-bottom: 22px;
}

.application-progress-track {
    width: 100%;
    height: 12px;
    background: rgba(7, 85, 201, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

#applicationProgressFill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: inherit;
    transition: width 0.3s ease;
}

#applicationProgressText {
    margin-top: 12px;
    text-align: right;
    font-weight: 700;
    color: var(--primary-dark);
}

.recruitment-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.recruitment-panel h3 {
    margin-bottom: 16px;
    color: var(--primary-dark);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.recruitment-panel ul {
    margin: 18px 0 0 20px;
    color: var(--muted);
}

.recruitment-panel li + li {
    margin-top: 8px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-grid label,
.admin-login-form label,
.admin-application-details label {
    display: grid;
    gap: 8px;
    font-weight: 700;
    color: var(--text);
}

.form-grid .full-width {
    grid-column: 1 / -1;
}

.recruitment-form-card input,
.recruitment-form-card textarea,
.recruitment-form-card select,
.admin-login-form input,
.admin-login-form textarea,
.admin-login-form select,
.admin-toolbar input,
.admin-toolbar select,
.admin-application-details textarea,
.admin-application-details select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    transition: var(--transition);
}

.recruitment-form-card input:focus,
.recruitment-form-card textarea:focus,
.recruitment-form-card select:focus,
.admin-login-form input:focus,
.admin-login-form textarea:focus,
.admin-login-form select:focus,
.admin-toolbar input:focus,
.admin-toolbar select:focus,
.admin-application-details textarea:focus,
.admin-application-details select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(7, 85, 201, 0.1);
    outline: none;
}

.recruitment-form-card textarea,
.admin-application-details textarea {
    min-height: 110px;
    resize: vertical;
}

.section-label {
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--primary);
}

.question-prompt {
    margin-bottom: 18px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.recruitment-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
}

.recruitment-actions button {
    flex: 1;
    padding: 14px 18px;
    border-radius: 999px;
    border: none;
    font-weight: 800;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 800;
}

.primary-button {
    color: white;
    background: var(--primary);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
}

.secondary-button {
    color: var(--primary);
    background: rgba(7, 85, 201, 0.08);
    border: 1px solid rgba(7, 85, 201, 0.1);
}

.review-list {
    display: grid;
    gap: 16px;
}

.review-item {
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #f8fbff;
}

.review-item h4 {
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.review-item p {
    margin-bottom: 10px;
    color: var(--muted);
    white-space: pre-wrap;
}

.review-item button {
    padding: 8px 12px;
    border-radius: 30px;
    border: 1px solid rgba(7, 85, 201, 0.15);
    background: rgba(7, 85, 201, 0.04);
    color: var(--primary);
    font-weight: 700;
}

.success-state {
    padding: 18px 0;
}

.success-state p {
    color: var(--muted);
}

#adminDashboard {
    position: fixed;
    inset: 0;
    z-index: 2000;
    padding: 50px 7%;
    overflow-y: auto;
    background: var(--background);
    color: var(--text);
}

.admin-auth-panel,
.admin-toolbar,
.admin-application-details,
.admin-applications-list,
.admin-applications-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.admin-auth-panel {
    max-width: 540px;
    margin-top: 24px;
    padding: 22px;
}

.admin-login-form {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 14px;
    margin-top: 22px;
}

.admin-toolbar input,
.admin-toolbar select {
    flex: 1 1 220px;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.admin-applications-list {
    padding: 14px;
    max-height: 70vh;
    overflow-y: auto;
}

.admin-applications-item {
    width: 100%;
    padding: 14px;
    text-align: left;
    cursor: pointer;
    margin-bottom: 12px;
    transition: var(--transition);
}

.admin-applications-item.active,
.admin-applications-item:hover {
    border-color: rgba(7, 85, 201, 0.4);
    background: rgba(7, 85, 201, 0.04);
}

.admin-applications-item h4 {
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.admin-application-details {
    padding: 20px;
    min-height: 300px;
}

.admin-application-details .meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.admin-application-details .detail-section {
    margin-top: 20px;
}

.admin-application-details .detail-section h4 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.admin-application-details textarea {
    min-height: 120px;
}

@media (max-width: 760px) {
    .form-grid,
    .admin-grid,
    .admin-application-details .meta-grid {
        grid-template-columns: 1fr;
    }

    .recruitment-form-card {
        padding: 18px;
    }

    .recruitment-actions {
        flex-direction: column;
    }
}

/* Direct contact */

.direct-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 15px;
    margin-top: 30px;
}

.direct-contact a {
    display: inline-block;

    padding: 12px 22px;

    color: var(--primary);
    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 30px;

    font-weight: 800;

    transition: var(--transition);
}

.direct-contact a:hover {
    color: white;
    background: var(--primary);
}

/* 16. FOOTER
========================================================= */

#mainFooter {
    padding: 65px 8%;

    color: white;
    background: #052d69;

    text-align: center;
}

#mainFooter h2 {
    margin-bottom: 10px;

    font-size: 27px;
    letter-spacing: 3px;
}

#mainFooter p {
    margin-top: 12px;

    color: #dceaff;
    font-size: 14px;
}

#mainFooter a {
    color: white;
    text-decoration: underline;
}

/* 17. ADMIN DASHBOARD
========================================================= */

#adminDashboard {
    position: fixed;
    inset: 0;
    z-index: 2000;

    padding: 50px 7%;

    overflow-y: auto;

    color: var(--text);
    background: var(--background);
}

#adminDashboard h2 {
    margin-bottom: 10px;

    color: var(--primary-dark);
    font-size: 30px;
}

#adminDashboard h3 {
    margin-top: 35px;
    margin-bottom: 15px;

    color: var(--primary);
}

#adminDashboard input,
#adminDashboard textarea,
#adminDashboard select {
    display: block;

    width: 100%;
    max-width: 500px;

    margin-top: 15px;
    padding: 14px;

    color: var(--text);
    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 10px;
}

#adminDashboard button {
    margin-top: 20px;
    padding: 13px 25px;

    color: white;
    background: var(--primary);

    border: none;
    border-radius: 30px;

    font-weight: 800;
}

#adminImagePreview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));

    gap: 15px;
    margin-top: 25px;
}

#adminImagePreview img {
    width: 100%;
    height: 130px;

    object-fit: cover;

    border: 1px solid var(--border);
    border-radius: 10px;
}

/* 18. DARK MODE
========================================================= */

body.dark-mode {
    --background: #0b1424;
    --surface: #142238;
    --surface-alt: #192d48;

    --text: #e9f0fa;
    --muted: #a5b4c8;
    --border: #293d59;

    --primary-light: #142e50;

    background: var(--background);
    color: var(--text);
}

body.dark-mode #mainHeader {
    background: rgba(12, 27, 47, .97);
}

body.dark-mode #mainNavigation a {
    color: #e9f0fa;
}

body.dark-mode #mainNavigation a:hover {
    color: #70b8ff;
}

body.dark-mode .content-section:nth-of-type(even),
body.dark-mode .about-grid article,
body.dark-mode .pricing-card,
body.dark-mode .service-card,
body.dark-mode #historyContent,
body.dark-mode #customerEnquiryForm {
    color: var(--text);
    background: var(--surface);
    border-color: var(--border);
}

body.dark-mode .content-section > h2,
body.dark-mode .about-grid h3,
body.dark-mode .service-card h3,
body.dark-mode .pricing-card h3,
body.dark-mode #historyContent h2,
body.dark-mode #historyContent h3,
body.dark-mode #historyContent strong {
    color: #82baff;
}

body.dark-mode #history,
body.dark-mode #customerEnquiry {
    background: #101f35;
}

body.dark-mode #foundingDate {
    color: #9bcaff;
    background: #172e4d;
    border-color: #294d77;
}

body.dark-mode #customerEnquiryForm input,
body.dark-mode #customerEnquiryForm textarea,
body.dark-mode #customerEnquiryForm select {
    color: white;
    background: #0d1a2c;
    border-color: var(--border);
}

body.dark-mode #customerEnquiryForm label {
    color: #e9f0fa;
}

body.dark-mode .direct-contact a {
    color: #82baff;
    background: var(--surface);
    border-color: var(--border);
}

body.dark-mode #advertisementArea {
    color: #b4d5ff;
    background: var(--surface);
    border-color: #385b85;
}

body.dark-mode .image-placeholder {
    color: #b4d5ff;
    background: #172b46;
    border-color: #46688e;
}

body.dark-mode .hero-section {
    background:
        radial-gradient(
            circle at 85% 45%,
            rgba(18, 164, 232, .1),
            transparent 35%
        ),
        linear-gradient(120deg, #101f35, #142238 65%, #1b3454);
}

body.dark-mode .hero-content h1 {
    color: #82baff;
}

body.dark-mode .hero-content > p:not(:first-child) {
    color: #b5c4d9;
}

body.dark-mode .hero-content > p:first-child {
    color: #82baff;
}

body.dark-mode #menuToggle {
    color: #82baff;
}

body.dark-mode #themeToggle {
    color: #82baff;
    background: #1c3454;
    border-color: var(--border);
}

body.dark-mode #adminDashboard {
    color: var(--text);
    background: var(--background);
}

body.dark-mode #adminDashboard h2,
body.dark-mode #adminDashboard h3 {
    color: #82baff;
}

body.dark-mode #adminDashboard input,
body.dark-mode #adminDashboard textarea,
body.dark-mode #adminDashboard select {
    color: white;
    background: var(--surface);
    border-color: var(--border);
}

body.dark-mode .history-item {
    border-left-color: #385b85;
}

body.dark-mode .history-item h3 {
    color: #82baff;
}

/* 19. TABLET RESPONSIVENESS
========================================================= */

@media (max-width: 1050px) {
    #mainHeader {
        padding: 12px 4%;
    }

    #mainNavigation {
        gap: 14px;
    }

    #mainNavigation a {
        font-size: 12px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* 20. MOBILE RESPONSIVENESS
========================================================= */

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    html {
        scroll-padding-top: 75px;
    }

    #mainHeader {
        min-height: 70px;
        padding: 10px 5%;
        gap: 10px;
    }

    .logo {
        font-size: 19px;
    }

    .logo span {
        font-size: 8px;
        letter-spacing: 3px;
    }

    #menuToggle {
        display: block;
        margin-left: auto;
    }

    #mainNavigation {
        position: absolute;
        top: 100%;
        left: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;

        width: 100%;
        padding: 20px;

        gap: 0;

        background: white;
        border-bottom: 1px solid var(--border);

        box-shadow: var(--shadow);
    }

    #mainNavigation.open {
        display: flex;
    }

    #mainNavigation a {
        display: block;
        padding: 13px;
        font-size: 15px;
    }

    body.dark-mode #mainNavigation {
        background: #0c1b2f;
        border-color: var(--border);
    }

    body.dark-mode #mainNavigation a {
        color: #e9f0fa;
    }

    .hero-section {
        min-height: 650px;
        padding: 70px 7%;

        align-items: flex-start;
    }

    .hero-content {
        margin-top: 20px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content > p:not(:first-child) {
        font-size: 15px;
    }

    #heroBanner {
        top: auto;
        right: 5%;
        bottom: 20px;

        width: 50%;
        height: 190px;

        opacity: .35;
    }

    .content-section {
        padding: 65px 6%;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-grid {
        grid-template-columns: 1fr;

        max-width: 450px;

        margin-left: auto;
        margin-right: auto;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-item {
        min-height: 150px;
    }

    #customerEnquiryForm {
        padding: 23px;
    }

    #historyContent {
        padding: 28px 22px;
    }

    #historyContent h2 {
        font-size: 25px;
    }

    #historyContent h3 {
        font-size: 19px;
    }

    #historyContent p {
        font-size: 15px;
    }

    .founder-message {
        padding: 25px;
    }

    #pandaStage {
        flex-direction: column;
        gap: 8px;
    }

    #pandaMascot {
        width: 125px;
        height: 125px;
    }

    #brandSlogan {
        text-align: center;
    }

    #brandName {
        letter-spacing: 6px;
    }

    #brandTechnology {
        letter-spacing: 4px;
    }

    #loadingPanda {
        width: 150px;
        height: 150px;
    }

    #skipIntro {
        top: 15px;
        right: 15px;
        padding: 9px 17px;
    }
}

/* 21. SMALL MOBILE SCREENS
========================================================= */

@media (max-width: 420px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-item {
        min-height: 125px;
        font-size: 10px;
    }

    #brandName {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    #brandTechnology {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .direct-contact {
        flex-direction: column;
    }

    .direct-contact a {
        width: 100%;
        text-align: center;
    }

    #historyContent {
        padding: 23px 17px;
    }
}

/* 22. ACCESSIBILITY
========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #57a8ff;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* 23. END
========================================================= */
