:root {
    --primary-color: #0077B6;
    --primary-dark: #005f91;
    --bg-color: #f0f8ff;
    --text-color: #023e8a;
    --card-bg: rgba(255, 255, 255, 0.85);
    --shadow-color: rgba(0, 119, 182, 0.2);
    --navbar-height: 84px;
    --navbar-logo-height: 64px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 119, 182, 0.1);
    box-shadow: 0 2px 10px var(--shadow-color);
    height: var(--navbar-height); /* Explicit height for calculations */
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: var(--navbar-logo-height);
    width: auto;
    max-height: 100%;
    margin-right: 10px;
    object-fit: contain;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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


.btn-cta {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.4);
    background-color: var(--primary-dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 5% 4rem; /* Increased top padding to clear navbar */
    position: relative;
    background: rgba(255, 255, 255, 0.3); /* Overlay for readability */
    flex: 1; /* Pushes footer down */
}

/* Page Content */
.page-content {
    padding: 1rem 5%;
    min-height: 80vh;
    margin: 50px 5% 4rem; /* Increased top margin to clear navbar */
    backdrop-filter: blur(10px);
    flex: 1; /* Pushes footer down */
}

#what-we-do,
#about,
#services {
    scroll-margin-top: 120px;
}

.header-with-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.product-search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    padding: 0.55rem 0.8rem;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.product-search:focus-within {
    border-color: rgba(0, 119, 182, 0.5);
    box-shadow: 0 4px 16px rgba(0, 119, 182, 0.18);
}

.product-search i {
    color: var(--primary-color);
}

#product-search {
    border: 0;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-color);
    min-width: 240px;
}

.product-search-clear {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    color: #666;
}

.product-search.has-value .product-search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-search-clear:hover {
    color: var(--primary-dark);
}

/* Footer */
.footer {
    background: rgba(0, 50, 80, 0.95);
    color: #fff;
    padding: 2rem 5%;
    text-align: center;
    margin-top: auto;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.checkout-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
}

.checkout-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.checkout-loading {
    color: rgba(2, 62, 138, 0.8);
}

.checkout-product-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem;
    border-radius: 12px;
    background: rgba(0, 119, 182, 0.06);
    border: 1px solid rgba(0, 119, 182, 0.12);
    margin-bottom: 1rem;
}

.checkout-product-img {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.8);
}

.checkout-product-name {
    font-weight: 700;
    font-size: 1.05rem;
}

.checkout-product-price {
    margin-top: 0.25rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.checkout-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.checkout-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.checkout-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.checkout-input {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    outline: none;
}

.checkout-input:focus {
    border-color: rgba(0, 119, 182, 0.55);
    box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.12);
}

.checkout-qty {
    max-width: 140px;
}

.checkout-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0.35rem 0;
}

.checkout-totals {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 600;
}

.checkout-total-strong {
    font-weight: 800;
    font-size: 1.1rem;
}

.checkout-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkout-payment-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.checkout-error {
    display: none;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.28);
    color: rgba(145, 0, 18, 0.95);
    font-weight: 600;
}

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

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

.order-status-banner {
    padding: 0.95rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.order-status-details {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.order-status-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: rgba(0, 119, 182, 0.06);
    border: 1px solid rgba(0, 119, 182, 0.12);
    font-weight: 600;
}

.order-status-success {
    background: rgba(25, 135, 84, 0.12);
    border-color: rgba(25, 135, 84, 0.3);
    color: rgba(12, 96, 60, 0.95);
}

.order-status-pending {
    background: rgba(255, 193, 7, 0.14);
    border-color: rgba(255, 193, 7, 0.35);
    color: rgba(138, 92, 0, 0.95);
}

.order-status-error {
    background: rgba(220, 53, 69, 0.12);
    border-color: rgba(220, 53, 69, 0.28);
    color: rgba(145, 0, 18, 0.95);
}

.order-status-neutral {
    background: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.25);
    color: rgba(2, 62, 138, 0.95);
}

.order-history-help {
    color: rgba(2, 62, 138, 0.85);
    font-weight: 600;
    line-height: 1.5;
}

.order-history-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.order-history-item {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 18px rgba(0, 119, 182, 0.12);
    padding: 0.95rem 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.order-history-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 119, 182, 0.18);
    border-color: rgba(0, 119, 182, 0.22);
}

.order-history-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.order-history-order {
    font-weight: 800;
    letter-spacing: 0.2px;
}

.order-history-status {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.9rem;
}

.order-history-meta {
    margin-top: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-history-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(0, 119, 182, 0.06);
    border: 1px solid rgba(0, 119, 182, 0.12);
    border-radius: 12px;
    padding: 0.65rem 0.8rem;
    font-weight: 600;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #ddd;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.hero::before {
    display: none; /* Remove old radial gradient */
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    max-width: 900px;
    color: var(--primary-dark);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    max-width: 700px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.6);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.home-hero {
    text-align: left;
    align-items: stretch;
    position: relative;
    background:
        linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
        url('images/background2.jpg') center / cover no-repeat;
    background-attachment: scroll;
    padding: 110px 5% 3.5rem;
}

.home-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--bg-color) 100%);
    pointer-events: none;
    z-index: 2;
}

.home-hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 2.1rem;
}

.home-hero-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.home-hero-company {
    font-size: clamp(1.5rem, 3.2vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: rgba(2, 62, 138, 0.92);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18), 0 1px 0 rgba(255, 255, 255, 0.85);
}

.pv-logo-carousel {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.pv-logo-frame {
    width: 112px;
    height: 112px;
    border-radius: 26px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: relative;
    overflow: hidden;
}

.pv-logo {
    position: absolute;
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    object-fit: contain;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.pv-logo.is-active {
    opacity: 1;
    transform: translateX(0);
}

.home-hero-heading {
    display: flex;
    flex-direction: column;
    /*gap: 0.7rem;*/
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.one-line {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: baseline;
    /*gap: 0.55rem;*/
    align-self: center;
    justify-content: center;
    max-width: 100%;
    font-size: clamp(2.7rem, 5.2vw, 3.7rem);
    line-height: 1.05;
    font-weight: 800;
    color: #13ef13;
    transition: font-size 0.55s ease;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.one-token {
    display: inline-flex;
    align-items: baseline;
    flex: 0 0 auto;
    padding: 0.06em 0.1em;
    border-radius: 12px;
    user-select: none;
    color: #13ef13;
}

.one-letter {
    color: #13ef13;
    font-weight: 900;
}

.one-rest-wrap {
    display: inline-block;
    overflow: hidden;
    max-width: 24ch;
    opacity: 1;
    /*margin-left: 0.08em;*/
    white-space: nowrap;
    transition: max-width 0.55s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.55s ease;
    will-change: max-width;
    color: #13ef13;
}

.one-rest {
    display: inline-block;
    transform: translateX(0);
    transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1);
    will-change: transform;
    color: #13ef13;
    font-size: 0.78em;
    letter-spacing: 0;
}

.one-line.one-collapsed {
    letter-spacing: 0.34em;
    gap: 0.95rem;
    font-size: clamp(3.2rem, 7.8vw, 4.6rem);
    flex-wrap: nowrap;
    white-space: nowrap;
    color: #13ef13;
}

.one-line.one-collapsed .one-rest-wrap {
    max-width: 0;
    opacity: 0;
    color: #13ef13;
}

.one-line.one-collapsed .one-rest {
    transform: translateX(-120%);
    color: #13ef13;
}

.one-line.one-collapsed .one-token:hover .one-rest-wrap,
.one-line.one-collapsed .one-token.is-open .one-rest-wrap {
    max-width: 24ch;
    opacity: 1;
    color: #13ef13;
}

.one-line.one-collapsed .one-token:hover .one-rest,
.one-line.one-collapsed .one-token.is-open .one-rest {
    transform: translateX(0);
    color: #13ef13;
}

.home-hero-solution {
    color: rgba(0, 119, 182, 0.98);
    font-size: clamp(2.4rem, 6vw, 4.1rem);
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25), 0 2px 0 rgba(255, 255, 255, 0.9);
}

.home-hero-product {
    display: flex;
    justify-content: center;
}

.pv-carousel {
    width: min(100%, 980px);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.5rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.30);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 44px rgba(0, 119, 182, 0.16);
    backdrop-filter: blur(12px);
}

.pv-carousel-stage {
    display: grid;
    grid-template-columns: 1fr 2.4fr 1fr;
    gap: 1.5rem;
    align-items: center;
    perspective: 1000px;
}

.pv-carousel-img {
    width: 100%;
    height: clamp(220px, 34vw, 330px);
    border-radius: 22px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pv-carousel-img-prev {
    opacity: 0.3;
    transform: rotateY(-25deg) scale(1);
    transform-origin: right center;
    cursor: pointer;
}

.pv-carousel-img-next {
    opacity: 0.3;
    transform: rotateY(25deg) scale(1);
    transform-origin: left center;
    cursor: pointer;
}

.pv-carousel-img-active {
    opacity: 1;
    transform: scale(1) translateZ(50px);
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.pv-carousel-img-active:hover {
    transform: scale(1.06) translateZ(70px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.pv-carousel-img-active:active {
    transform: scale(1.03) translateZ(10px);
}

.pv-carousel-img-prev:hover {
    opacity: 0.55;
    transform: rotateY(-18deg) scale(1.02) translateZ(22px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.pv-carousel-img-next:hover {
    opacity: 0.55;
    transform: rotateY(18deg) scale(1.02) translateZ(22px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.pv-carousel-img-prev:active {
    transform: rotateY(-18deg) scale(1) translateZ(16px);
}

.pv-carousel-img-next:active {
    transform: rotateY(18deg) scale(1) translateZ(16px);
}

.pv-carousel-img-prev:focus-visible,
.pv-carousel-img-next:focus-visible,
.pv-carousel-img-active:focus-visible {
    outline: 3px solid rgba(0, 119, 182, 0.55);
    outline-offset: 6px;
}

.pv-carousel-dots {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.pv-carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    background: rgba(2, 62, 138, 0.25);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.pv-carousel-dot:hover {
    transform: scale(1.15);
}

.pv-carousel-dot.is-active {
    width: 24px;
    background: var(--primary-color);
}

@media (max-width: 900px) {
    .pv-carousel-stage {
        grid-template-columns: 1fr;
    }

    .pv-carousel-img-prev,
    .pv-carousel-img-next {
        display: none;
    }
}

@media (max-width: 520px) {
    .one-line {
        flex-wrap: wrap;
    }

    .one-line.one-collapsed {
        flex-wrap: nowrap;
    }

    .home-hero-top {
        align-items: flex-start;
    }

    .pv-logo-frame {
        width: 92px;
        height: 92px;
        border-radius: 22px;
    }

    .pv-logo {
        inset: 9px;
        width: calc(100% - 18px);
        height: calc(100% - 18px);
    }

    .pv-carousel {
        gap: 0.75rem;
        padding: 1rem;
    }
}

/* Location Section */
.location-section {
    position: relative;
    padding: 4rem 0;
}

.location-section::before {
    content: '';
    position: absolute;
    inset: -30%;
}

.location-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0, 119, 182, 0.08), transparent 50%);
    pointer-events: none;
}

.location-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.location-layout {
    display: grid;
    grid-template-columns: minmax(340px, 1fr) minmax(420px, 1.35fr);
    align-items: stretch;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 45px rgba(0, 50, 80, 0.14);
    backdrop-filter: blur(10px);
}

.location-info {
    padding: 2.6rem 2.35rem;
    display: flex;
    flex-direction: column;
}

.location-brand {
    margin: 0;
    font-size: clamp(2.2rem, 3.2vw, 3.15rem);
    font-weight: 950;
    letter-spacing: -0.02em;
    color: var(--primary-color);
    line-height: 1.05;
}

.location-company {
    margin-top: 0.45rem;
    font-weight: 850;
    color: rgba(0, 50, 80, 0.9);
}

.location-block {
    margin-top: 1.35rem;
}

.location-block--spaced {
    margin-top: 1.8rem;
}

.location-block-title {
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: rgba(0, 50, 80, 0.75);
}

.location-block-body {
    margin-top: 0.55rem;
    color: rgba(1, 33, 71, 0.92);
    font-weight: 650;
    line-height: 1.65;
}

.location-line + .location-line {
    margin-top: 0.25rem;
}

.location-contact-list {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.location-contact {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: rgba(1, 33, 71, 0.94);
    font-weight: 750;
    border-radius: 14px;
    padding: 0.55rem 0.6rem;
    transition: transform 0.18s ease, background 0.18s ease;
}

.location-contact:hover {
    transform: translateY(-1px);
    background: rgba(0, 119, 182, 0.06);
}

.location-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    flex: 0 0 auto;
}

.location-contact-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-map {
    min-height: 480px;
    background: #e8edf4;
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: 0;
}

@media (max-width: 900px) {
    .location-layout {
        grid-template-columns: 1fr;
    }
    .location-map {
        min-height: 420px;
    }
    .location-map iframe {
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .location-section {
        padding: 3rem 0;
    }
    .location-info {
        padding: 2rem 1.5rem;
    }
    .location-map {
        min-height: 360px;
    }
    .location-map iframe {
        min-height: 360px;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    text-decoration: none;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    display: block;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.5);
}

.service-image-container {
    position: relative;
    width: 100%;
    height: 350px;
}

.service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image-container img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6), transparent);
    padding: 2rem 1.5rem;
    color: #fff;
    text-align: left;
}

.service-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.service-overlay p {
    font-size: 1rem;
    color: #ddd;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.services-read {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.services-read-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.services-read-head {
    padding: 1.5rem 1.5rem 0.75rem;
}

.services-read-head h2 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--primary-dark);
}

.services-read-subtitle {
    margin: 0.5rem 0 0;
    color: #555;
    line-height: 1.5;
}

.services-read-body {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    padding: 1.5rem;
    padding-top: 0.5rem;
    align-items: start;
}

.services-read-text h3 {
    margin: 1rem 0 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.services-read-text p {
    margin: 0.6rem 0;
    color: #333;
    line-height: 1.6;
}

.services-read-list {
    margin: 0;
    padding-left: 1.2rem;
    color: #333;
    line-height: 1.6;
}

.services-read-list li {
    margin: 0.35rem 0;
}

.services-read-chips {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.services-read-chips li {
    background: rgba(0, 119, 182, 0.1);
    color: var(--primary-dark);
    border: 1px solid rgba(0, 119, 182, 0.25);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.services-read-media--full {
    grid-column: 1 / -1;
}

.services-carousel {
    position: relative;
}

.services-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
}

.services-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.services-carousel-viewport {
    scrollbar-width: none;
}

.services-carousel-track {
    display: flex;
    width: 100%;
}

.services-carousel-track > figure {
    flex: 0 0 100%;
    scroll-snap-align: center;
}

.services-carousel-track .services-read-figure {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

.services-carousel-track .services-read-figure img {
    height: 360px;
    object-fit: cover;
}

.services-carousel--tall .services-carousel-track .services-read-figure img {
    height: 800px;
}

.services-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.services-carousel-btn:hover {
    background: #fff;
}

.services-carousel-btn:active {
    transform: translateY(-50%) scale(0.98);
}

.services-carousel-btn--prev {
    left: 10px;
}

.services-carousel-btn--next {
    right: 10px;
}

.services-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.services-carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    background: rgba(0, 119, 182, 0.25);
    cursor: pointer;
    padding: 0;
}

.services-carousel-dot.is-active {
    background: var(--primary-color);
}

@media (prefers-reduced-motion: reduce) {
    .services-carousel-viewport {
        scroll-behavior: auto;
    }
}

.services-read-gallery {
    display: grid;
    gap: 0.75rem;
}

.services-read-gallery--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-read-gallery--3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-read-figure {
    margin: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.services-read-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.services-read-figure figcaption {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    color: #555;
}

.services-read-figure--span2 {
    grid-column: span 2;
}

.services-read-figure--span3 {
    grid-column: span 3;
}

@media (max-width: 900px) {
    .services-read-body {
        grid-template-columns: 1fr;
    }
    .services-read-gallery--3col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .services-read-figure--span3 {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .services-read-gallery--2col,
    .services-read-gallery--3col {
        grid-template-columns: 1fr;
    }
    .services-read-figure--span2,
    .services-read-figure--span3 {
        grid-column: span 1;
    }
    .services-read-head h2 {
        font-size: 1.35rem;
    }
    .services-carousel-track .services-read-figure img {
        height: 260px;
    }
    
    .services-carousel--tall .services-carousel-track .services-read-figure img {
        height: 360px;
    }
}

/* Products Grid & Card Styles */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.products-sentinel {
    height: 1px;
}

.product-card {
    display: flex;
    flex-direction: row;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 10px var(--shadow-color);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    align-items: flex-start;
    gap: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.3);
}

.product-image {
    flex-shrink: 0;
    width: 250px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    padding: 10px;
}

.image-progressive {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.image-progressive img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: block;
}

.image-progressive.is-loaded img {
    opacity: 1;
}

.image-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
    background-size: 400px 100%;
    animation: shimmer 1.5s infinite;
    pointer-events: none;
}

.image-progressive.is-loaded .image-placeholder {
    opacity: 0;
    animation: none;
    transition: opacity 0.2s ease;
}

@keyframes shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.product-image .no-image-message {
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    padding: 0 0.75rem;
    line-height: 1.3;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    min-height: 200px;
}

.product-info h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    padding-right: 120px; /* Space for admin buttons */
}

.product-category {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.description-fade {
    width: 75%;
    word-break: break-word;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    max-height: 100px; /* Limit height */
    overflow: hidden;
    position: relative;
    margin-top: 1.7rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-box-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* Fade out effect */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.description-fade h4{
    margin-bottom: 0.3rem;
}


.btn-details {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
}

.btn-details:hover {
    background: var(--text-color);
    color: #fff;
}

/* Add Product Card Styles */
.add-product-card {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #333; /* Solid black border as per sketch */
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 250px; /* Match approximate height of product card */
}

.add-product-card:hover {
    border-color: var(--primary-color);
    background: rgba(0, 119, 182, 0.05);
}

.add-product-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.add-product-title {
    position: absolute;
    top: -10px; /* Adjust based on padding */
    left: 0;
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
}

.add-product-icon {
    font-size: 4rem; /* Large plus icon */
    color: #333;
    font-weight: 300;
}

/* Admin Actions (Top Right) */
.admin-actions {
    position: absolute;
    top: 2rem; /* Adjusted to match padding */
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.btn-edit, .btn-delete {
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    color: white;
    border: none;
}
.btn-edit { background: #ffc107; color: #000; }

.btn-delete { background: #dc3545; }
@media (max-width: 768px) {
    .product-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .product-image {
        width: 100%;
        max-width: 250px;
        margin-bottom: 1rem;
    }

    .product-info h3 {
        padding-right: 0;
    }

    .admin-actions {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 1rem;
        justify-content: center;
        width: 100%;
    }
    
    .btn-details {
        position: relative;
        bottom: auto;
        right: auto;
        align-self: center;
        margin-top: 1rem;
    }
}

/* Modal */
.modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #aaa;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-save {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: bold;
}

.scrolltop-float {
    position: fixed;
    bottom: 104px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.22);
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    pointer-events: none;
}

.scrolltop-float.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.scrolltop-float:hover {
    transform: translateY(0) scale(1.08);
}

.scrolltop-float:active {
    transform: translateY(0) scale(0.98);
}

.scrolltop-float:focus-visible {
    outline: 3px solid rgba(0, 119, 182, 0.35);
    outline-offset: 4px;
}

.scrolltop-progress {
    position: absolute;
    inset: 6px;
    transform: rotate(-90deg);
}

.scrolltop-progress-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.22);
    stroke-width: 4;
}

.scrolltop-progress-bar {
    fill: none;
    stroke: rgba(255, 255, 255, 0.95);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.08s linear;
}

.scrolltop-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.scrolltop-icon svg,
.scrolltop-icon svg path {
    width: 100%;
    height: 100%;
    stroke: #ffffff;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 18, 25, 0.95);
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid rgba(0, 180, 216, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero::before {
        width: 300px;
        height: 300px;
    }
}

/* Custom Sidebar Styles */
#custom-sidebar-container {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    z-index: 999;
    height: calc(100vh - var(--navbar-height));
    pointer-events: none;
}

#sidebar-overlay {
    position: fixed;
    top: 0; /* Cover sidebar content relative to container */
    left: 0;
    width: 100vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    pointer-events: auto;
    z-index: 998;
}

#sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

#custom-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    pointer-events: auto;
    z-index: 999;
    display: flex;
    flex-direction: column;
}

#custom-sidebar.active {
    transform: translateX(0);
}

#sidebar-toggle-btn {
    position: fixed;
    top: calc(var(--navbar-height) + 20px);
    left: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 0 5px 5px 0;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    pointer-events: auto;
    transition: left 0.3s ease;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Move button when sidebar is active */
#custom-sidebar.active ~ #sidebar-toggle-btn {
    left: 280px; 
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.user-profile-section {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    text-align: center;
}

.user-avatar-placeholder {
    width: 80px;
    height: 80px;
    background: var(--bg-color);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.user-info-text .user-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--primary-dark);
}

.user-info-text .user-contact {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 0.2rem;
}

.sidebar-menu-list {
    list-style: none;
    padding: 1rem 0;
}

.sidebar-menu-list li a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-menu-list li a:hover {
    background: var(--bg-color);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.sidebar-menu-list li a i {
    width: 25px;
    margin-right: 10px;
    text-align: center;
}

.sidebar-menu-list li .sidebar-menu-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.8rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    border-left: 3px solid transparent;
    background: transparent;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.sidebar-menu-list li .sidebar-menu-btn:hover,
.sidebar-menu-list li.has-submenu:hover > .sidebar-menu-btn,
.sidebar-menu-list li.has-submenu:focus-within > .sidebar-menu-btn {
    background: var(--bg-color);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.sidebar-menu-list li .sidebar-menu-btn:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.15);
    outline-offset: 2px;
}

.sidebar-menu-list li .sidebar-menu-btn > i:first-child {
    width: 25px;
    margin-right: 10px;
    text-align: center;
}

.sidebar-menu-list li .sidebar-menu-btn .submenu-arrow {
    width: auto;
    margin-right: 0;
    margin-left: auto;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
    transform: rotate(0deg);
}

.sidebar-menu-list li.has-submenu {
    position: relative;
}

.sidebar-menu-list li.has-submenu:hover > .sidebar-submenu,
.sidebar-menu-list li.has-submenu:focus-within > .sidebar-submenu {
    display: block;
}

.sidebar-menu-list li.has-submenu:hover > .sidebar-menu-btn .submenu-arrow,
.sidebar-menu-list li.has-submenu:focus-within > .sidebar-menu-btn .submenu-arrow {
    transform: rotate(-90deg);
}

.sidebar-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 12px;
    display: none;
    min-width: 260px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    z-index: 1001;
}

.sidebar-submenu .sidebar-submenu-link {
    display: flex;
    align-items: center;
    padding: 0.95rem 1.2rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    border-left: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.sidebar-submenu .sidebar-submenu-link:last-child {
    border-bottom: 0;
}

.sidebar-submenu .sidebar-submenu-link:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}


/* Login Page Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--navbar-height));
    padding: 2rem;
    margin-top: var(--navbar-height);
}

.login-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 480px;
    text-align: center;
}

.login-header h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.login-header p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Left align icon, center text roughly */
    position: relative;
    width: 100%;
    padding: 0.8rem 1.5rem;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    transition: background 0.2s, border-color 0.2s;
}

.btn-social:hover {
    background-color: #f9f9f9;
    border-color: #bbb;
}

.btn-social .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    margin-right: 1rem;
    position: absolute;
    left: 1.5rem;
}

.btn-social .text {
    flex: 1;
    text-align: center;
}

.legal-text {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
}

.legal-text a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.error-message {
    color: #dc3545;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.loading {
    color: var(--primary-dark);
    font-weight: 700;
}

.error {
    color: #dc3545;
    font-weight: 700;
}

.pd-page-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.pd-container {
    max-width: 980px;
    margin: 0 auto;
}

.pd-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.pd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pd-product-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.pd-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.45);
    background: #fff;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.45rem 0.95rem;
    border-radius: 8px;
    font-weight: 700;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.pd-back-btn:hover {
    background: rgba(0, 119, 182, 0.08);
    border-color: rgba(0, 119, 182, 0.5);
    color: var(--primary-dark);
}

.pd-meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pd-meta-label {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.pd-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.22);
    background: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-color);
}

.pd-section {
    margin-top: 1.25rem;
}

.pd-section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.65rem;
}

.pd-gallery {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: stretch;
}

.pd-thumb {
    width: 140px;
    height: 100px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 14px;
    background: #fff;
    padding: 0.5rem;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.pd-thumb.is-hidden {
    display: none;
}

.pd-thumb:hover {
    box-shadow: 0 6px 14px rgba(0, 119, 182, 0.18);
    border-color: rgba(0, 119, 182, 0.5);
    transform: translateY(-1px);
}

.pd-thumb:active {
    transform: translateY(0);
}

.pd-thumb-index {
    position: absolute;
    right: 10px;
    bottom: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    color: rgba(2, 62, 138, 0.85);
    background: rgba(255, 255, 255, 0.88);
    padding: 0.1rem 0.35rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    z-index: 3;
    pointer-events: none;
}

.pd-thumb-image {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

.pd-thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pd-thumb-more {
    padding: 0;
    overflow: hidden;
}

.pd-thumb-more-count {
    font-size: 1.7rem;
    font-weight: 900;
    color: rgba(2, 62, 138, 0.7);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}

.pd-thumb-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.68);
    z-index: 2;
    pointer-events: none;
}

.pd-thumb-more-image {
    border-radius: 0;
}

.pd-lightbox-open {
    overflow: hidden;
}

.pd-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    z-index: 3000;
}

.pd-lightbox.is-open {
    display: flex;
}

.pd-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
}

.pd-lightbox-panel {
    position: relative;
    width: min(1100px, 100%);
    max-height: calc(100vh - 4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    z-index: 1;
}

.pd-lightbox-close {
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.pd-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.64);
}

.pd-lightbox-main {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3.6rem;
}

.pd-lightbox-stage {
    width: 100%;
    height: min(62vh, 640px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
}

.pd-lightbox-stage.is-dragging {
    cursor: grabbing;
}

.pd-lightbox-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.pd-lightbox-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: 0 0;
    transition: transform 0.12s ease;
    will-change: transform;
}

.pd-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pd-lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.64);
}

.pd-lightbox-prev {
    left: 0.4rem;
}

.pd-lightbox-next {
    right: 0.4rem;
}

.pd-lightbox-controls {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pd-lightbox-counter {
    font-weight: 800;
    color: rgba(0, 0, 0, 0.55);
}

.pd-lightbox-zoom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pd-lightbox-zoom-btn {
    width: 38px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    color: rgba(0, 0, 0, 0.72);
}

.pd-lightbox-zoom-btn:hover {
    background: rgba(255, 255, 255, 0.92);
}

.pd-lightbox-strip {
    width: 100%;
    display: flex;
    gap: 0.6rem;
    padding: 0.4rem 0.2rem 0.2rem;
    overflow-x: auto;
    justify-content: center;
}

.pd-lightbox-thumb {
    width: 96px;
    height: 72px;
    flex: 0 0 auto;
    border-radius: 10px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.55);
    padding: 0.25rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.pd-lightbox-thumb:hover {
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.85);
}

.pd-lightbox-thumb.is-active {
    opacity: 1;
    border-color: rgba(0, 119, 182, 0.75);
    background: rgba(255, 255, 255, 0.95);
}

.pd-lightbox-thumb-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.pd-lightbox-thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-empty {
    color: #666;
    font-weight: 700;
    padding: 0.25rem 0;
}

.pd-collapsible {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 14px;
    padding: 0.85rem 3.1rem 0.85rem 0.95rem;
}

.pd-collapsible-content {
    line-height: 1.7;
    color: #2b2b2b;
    max-height: 92px;
    overflow: hidden;
    word-break: break-word;
}

.pd-collapsible:not(.is-expanded) .pd-collapsible-content {
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.pd-collapsible.is-expanded .pd-collapsible-content {
    max-height: none;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
}

.pd-collapsible-toggle {
    position: absolute;
    right: 0.8rem;
    bottom: 0.75rem;
    width: 36px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    color: var(--primary-dark);
    transition: background 0.2s, border-color 0.2s;
}

.pd-collapsible-toggle:hover {
    background: rgba(0, 119, 182, 0.08);
    border-color: rgba(0, 119, 182, 0.5);
}

.pd-collapsible-toggle i {
    transition: transform 0.2s ease;
}

.pd-collapsible.is-expanded .pd-collapsible-toggle i {
    transform: rotate(180deg);
}

.pd-box {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 18px;
    padding: 1rem;
    line-height: 1.7;
    color: #2b2b2b;
    word-break: break-word;
}

.pd-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.pd-price-value {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary-dark);
}

.pd-purchase-btn {
    font-size: 0.95rem;
    padding: 0.6rem 1.1rem;
}

.pd-salesman {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: rgba(0, 119, 182, 0.05);
}

.pd-salesman-title {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.pd-salesman-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.pd-salesman-avatar {
    width: 74px;
    height: 74px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.16);
    background: #fff;
    flex: 0 0 auto;
}

.pd-salesman-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-salesman-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 220px;
}

.pd-salesman-name {
    font-weight: 800;
    color: #1f2b3a;
}

.pd-salesman-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 700;
}

.pd-salesman-contact:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .pd-card {
        padding: 1.2rem;
    }

    .pd-product-name {
        font-size: 1.35rem;
    }

    .pd-thumb {
        width: 120px;
        height: 92px;
    }

    .pd-lightbox-main {
        padding: 0 2.7rem;
    }

    .pd-lightbox-stage {
        height: 54vh;
    }

    .pd-lightbox-thumb {
        width: 84px;
        height: 62px;
    }
}

.wwd-page {
    padding: 120px 5% 4rem;
    flex: 1;
    display: flex;
    justify-content: center;
}

.wwd-panel {
    width: min(1080px, 100%);
}

.wwd-head {
    margin-bottom: 2rem;
}

.wwd-heading {
    font-size: 2.05rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 0.02em;
}

.wwd-heading-line {
    height: 4px;
    width: 120px;
    background: var(--primary-color);
    border-radius: 999px;
    margin-top: 0.65rem;
}

.wwd-items {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.wwd-item {
    display: flex;
    gap: 1.75rem;
    align-items: stretch;
    padding: 1.6rem;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 4px 15px var(--shadow-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.wwd-item:nth-child(even) {
    flex-direction: row-reverse;
}

.wwd-item-content {
    flex: 1 1 0;
    min-width: 0;
}

.wwd-item-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.65rem;
}

.wwd-item-intro {
    margin: 0;
    color: #333;
    line-height: 1.65;
}

.wwd-item-kicker {
    font-weight: 800;
    color: var(--primary-color);
}

.wwd-item-needs-title {
    margin-top: 1rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.wwd-needs {
    margin-top: 0.6rem;
    margin-bottom: 0;
    padding-left: 1.15rem;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.wwd-item-media {
    flex: 0 0 min(420px, 42%);
    min-width: 260px;
}

.wwd-media-card {
    width: 100%;
    aspect-ratio: 16 / 11;
    min-height: 220px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.2) 0%, rgba(255, 255, 255, 0.75) 55%, rgba(0, 119, 182, 0.08) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wwd-media-card::after {
    content: '';
    position: absolute;
    inset: -70px;
    background:
        radial-gradient(circle at 25% 25%, rgba(0, 119, 182, 0.35), transparent 55%),
        radial-gradient(circle at 72% 68%, rgba(2, 62, 138, 0.25), transparent 60%);
    transform: rotate(8deg);
    z-index: 0;
}

.wwd-media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.wwd-media-img--contain {
    object-fit: contain;
}

.wwd-media-text {
    position: relative;
    z-index: 2;
    font-weight: 800;
    color: rgba(2, 62, 138, 0.78);
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed rgba(2, 62, 138, 0.35);
    padding: 0.7rem 1rem;
    border-radius: 999px;
}

@media (max-width: 900px) {
    .wwd-page {
        padding: 110px 4% 3.25rem;
    }

    .wwd-item,
    .wwd-item:nth-child(even) {
        flex-direction: column;
    }

    .wwd-item-media {
        flex-basis: auto;
        min-width: 0;
    }
}

.about-page {
    padding: 120px 5% 4rem;
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-panel {
    width: min(980px, 100%);
    border-radius: 18px;
    padding: 1.75rem 1.75rem 2.25rem;
    color: #ffffff;
    background: linear-gradient(180deg, #0077B6 0%, #004c86 100%);
    box-shadow: 0 10px 30px rgba(0, 50, 80, 0.35);
    position: relative;
    overflow: hidden;
}

.about-panel::after {
    content: '';
    position: absolute;
    right: -140px;
    top: 80px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 2px, transparent 2px);
    background-size: 18px 18px;
    opacity: 0.35;
    transform: rotate(10deg);
    pointer-events: none;
}

.about-photo {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.about-photo img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.about-content {
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
}

.about-heading {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.about-heading-line {
    height: 4px;
    width: 92px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    margin: 0.6rem 0 1.1rem;
}

.about-list {
    margin: 0;
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    line-height: 1.55;
}

.about-list li {
    color: rgba(255, 255, 255, 0.94);
}

.about-columns {
    margin-top: 1.7rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
}

.about-subheading {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 0.85rem;
}

.about-anim {
    opacity: 1;
    transform: none;
}

.js .about-anim {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
}

.js .about-anim.is-inview {
    animation: aboutFadeUp 1000ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.about-anim-1 {
    animation-delay: 120ms;
}

.about-anim-2 {
    animation-delay: 260ms;
}

.about-anim-3 {
    animation-delay: 420ms;
}

.about-anim-4 {
    animation-delay: 540ms;
}

@keyframes aboutFadeUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .about-page {
        padding: 110px 4% 3.25rem;
    }

    .about-panel {
        padding: 1.25rem 1.2rem 1.65rem;
    }

    .about-heading {
        font-size: 1.65rem;
    }

    .about-subheading {
        font-size: 1.25rem;
    }

    .about-columns {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js .about-anim,
    .js .about-anim.is-inview,
    .about-anim {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.career-page.page-content {
    padding: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: hidden;
}

#benefits,
#party,
#vision,
#recruitment {
    scroll-margin-top: 110px;
}

.career-container {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 0 5%;
}

.career-lead {
    max-width: 66ch;
    margin: 0.75rem auto 0;
    color: rgba(2, 62, 138, 0.78);
    line-height: 1.65;
    text-align: center;
}

.career-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.72);
}

.career-section h2 {
    text-align: center;
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -0.02em;
}

.career-hero {
    position: relative;
    padding: 4.25rem 0 3.5rem;
    background: radial-gradient(1000px 520px at 75% 0%, rgba(0, 210, 120, 0.18), transparent 60%),
        radial-gradient(900px 540px at 10% 0%, rgba(0, 120, 220, 0.22), transparent 65%),
        linear-gradient(180deg, #050606, #0b1010);
    color: #fff;
    overflow: hidden;
}

.career-hero::before {
    content: "";
    position: absolute;
    inset: -200px -220px auto -220px;
    height: 520px;
    background: repeating-radial-gradient(circle at 70% 40%, rgba(60, 255, 190, 0.18) 0 2px, transparent 2px 18px);
    opacity: 0.22;
    pointer-events: none;
    filter: blur(0.2px);
}

.career-hero-inner {
    position: relative;
    z-index: 1;
    padding-bottom: 1.9rem;
}

.career-hero h1 {
    font-size: clamp(2.6rem, 4.4vw, 4rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin: 0;
}

.career-hero p {
    max-width: 70ch;
    margin-top: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.career-hero-actions {
    margin-top: 1.55rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.career-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.career-ghost-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}

.career-hero-photo-wrap {
    position: relative;
    z-index: 1;
}

.career-hero-photo {
    width: 100%;
    height: clamp(280px, 40vw, 420px);
    object-fit: cover;
    display: block;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}

.career-benefits {
    background: rgba(255, 255, 255, 0.85);
}

.career-benefits-grid {
    margin-top: 2.1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.career-benefit-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.3rem 1.25rem 1.45rem;
    position: relative;
    overflow: hidden;
    min-height: 150px;
}

.career-benefit-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(0, 200, 140, 0.14), rgba(0, 120, 220, 0.06));
    background-size: 100% 100%;
    opacity: 0.9;
    pointer-events: none;
}

.career-benefit-card > * {
    position: relative;
    z-index: 1;
}

.career-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(0, 119, 182, 0.12);
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
}

.career-benefit-card h3 {
    font-size: 1.05rem;
    margin: 0;
    color: #071a33;
}

.career-benefit-card p {
    margin-top: 0.5rem;
    color: rgba(2, 62, 138, 0.72);
    line-height: 1.55;
}

.career-party {
    background: rgba(255, 255, 255, 0.82);
}

.career-party-grid {
    margin-top: 2.1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.career-party-card {
    margin: 0;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.career-party-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.career-party-card figcaption {
    padding: 0.8rem 1rem 0.95rem;
    font-weight: 700;
    color: rgba(2, 62, 138, 0.85);
    text-align: center;
}

.career-vision {
    position: relative;
    background: radial-gradient(900px 520px at 80% 20%, rgba(0, 210, 120, 0.18), transparent 60%),
        radial-gradient(800px 520px at 10% 10%, rgba(0, 120, 220, 0.18), transparent 65%),
        linear-gradient(180deg, #060707, #0b1010);
    color: #fff;
}

.career-vision h2 {
    color: #fff;
}

.career-vision-card {
    margin: 2.2rem auto 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    padding: 1.35rem 1.35rem;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
    color: #071a33;
}

.career-vision-avatar {
    width: 190px;
    height: 190px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.18), rgba(0, 210, 120, 0.12));
    display: grid;
    place-items: center;
    font-size: 3.25rem;
    color: rgba(2, 62, 138, 0.82);
}

.career-vision-quote {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(7, 26, 51, 0.88);
}

.career-vision-role {
    margin-top: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(7, 26, 51, 0.82);
}

.career-vision-name {
    margin-top: 0.35rem;
    font-weight: 800;
    font-size: 1.15rem;
    color: rgba(7, 26, 51, 0.62);
}

.career-recruitment {
    background: rgba(255, 255, 255, 0.86);
}

.career-roles {
    margin-top: 2.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.career-role {
    display: grid;
    grid-template-columns: 1fr 220px 220px;
    gap: 1.2rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    align-items: center;
}

.career-role h3 {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: rgba(7, 26, 51, 0.95);
}

.career-role-meta {
    margin-top: 0.65rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.career-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 119, 182, 0.12);
    color: rgba(2, 62, 138, 0.9);
    font-weight: 800;
    font-size: 0.9rem;
}

.career-role-salary {
    text-align: left;
    color: rgba(7, 26, 51, 0.8);
}

.career-role-label {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: rgba(7, 26, 51, 0.55);
    margin-bottom: 0.35rem;
}

.career-role-value {
    font-size: 1.1rem;
    font-weight: 900;
    color: rgba(7, 26, 51, 0.88);
}

.career-apply-btn {
    height: 46px;
    border-radius: 12px;
    font-weight: 800;
}

.career-recruitment-footer {
    margin-top: 1.7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.career-recruitment-note {
    color: rgba(2, 62, 138, 0.75);
    line-height: 1.6;
}

.career-recruitment-note a {
    color: var(--primary-color);
    font-weight: 800;
    text-decoration: none;
}

.career-recruitment-note a:hover {
    text-decoration: underline;
}

.career-recruitment-btn {
    color: rgba(2, 62, 138, 0.95);
    border-color: rgba(2, 62, 138, 0.28);
    background: rgba(2, 62, 138, 0.08);
}

.career-recruitment-btn:hover {
    border-color: rgba(2, 62, 138, 0.4);
    background: rgba(2, 62, 138, 0.12);
}

@media (max-width: 980px) {
    .career-benefits-grid,
    .career-party-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .career-role {
        grid-template-columns: 1fr 200px;
        grid-template-areas:
            "main cta"
            "salary cta";
        align-items: start;
    }

    .career-role-main {
        grid-area: main;
    }

    .career-role-salary {
        grid-area: salary;
    }

    .career-role-cta {
        grid-area: cta;
        justify-self: end;
        align-self: center;
    }
}

@media (max-width: 640px) {
    .career-hero {
        padding: 3.5rem 0 3rem;
    }

    .career-benefits-grid,
    .career-party-grid {
        grid-template-columns: 1fr;
    }

    .career-vision-card {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .career-vision-avatar {
        width: 100%;
        height: 160px;
        font-size: 2.75rem;
    }

    .career-role {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "salary"
            "cta";
    }

    .career-role-cta {
        justify-self: start;
    }
}

.job-empty {
    padding: 22px 8px;
    color: #444;
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
}

.contact-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
}

.contact-action {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    padding: 1rem 1.05rem;
    max-width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 26px rgba(0, 50, 80, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 119, 182, 0.16);
    border-color: rgba(0, 119, 182, 0.24);
}

.contact-action:active {
    transform: translateY(-1px);
}

.contact-action:focus-visible {
    outline: 3px solid rgba(0, 119, 182, 0.35);
    outline-offset: 4px;
}

.contact-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 1.3rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}

.contact-action--email .contact-action-icon {
    background: linear-gradient(180deg, rgba(0, 119, 182, 0.16) 0%, rgba(0, 95, 145, 0.08) 100%);
    border-color: rgba(0, 119, 182, 0.22);
    color: rgba(0, 70, 120, 0.95);
}

.contact-action--whatsapp .contact-action-icon {
    background: linear-gradient(180deg, rgba(37, 211, 102, 0.18) 0%, rgba(37, 211, 102, 0.08) 100%);
    border-color: rgba(37, 211, 102, 0.28);
    color: rgba(22, 120, 58, 0.95);
}

.contact-action-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-action-label {
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.86rem;
    color: rgba(0, 50, 80, 0.75);
}

.contact-action-value {
    font-weight: 900;
    font-size: 1.08rem;
    color: rgba(1, 33, 71, 0.95);
    word-break: break-word;
}

.contact-action-chevron {
    margin-left: auto;
    color: rgba(0, 70, 120, 0.5);
    flex: 0 0 auto;
}

.contact-section {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-section-lead {
    margin-top: 0.55rem;
    color: rgba(2, 62, 138, 0.8);
    font-weight: 600;
    line-height: 1.6;
}

.contact-media {
    margin-top: 1rem;
    max-width: 480px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 18px 44px rgba(0, 50, 80, 0.12);
    background: rgba(255, 255, 255, 0.75);
}

.contact-media img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-footer {
    margin-top: 2.25rem;
}

body.contact-page {
    position: relative;
    color: rgba(255, 255, 255, 0.92);
}

body.contact-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 26, 51, 0.72) 0%, rgba(7, 26, 51, 0.52) 40%, rgba(7, 26, 51, 0.22) 66%, rgba(7, 26, 51, 0) 100%),
        url("images/contact-us.jpg");
    background-size: cover;
    background-position: 70% 50%;
    background-repeat: no-repeat;
    z-index: -1;
}

.contact-hero {
    flex: 1;
    padding: calc(var(--navbar-height) + 40px) 5% 4.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.contact-hero-inner {
    width: min(560px, 100%);
}

.contact-hero-title {
    margin: 0;
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.contact-hero-lead {
    margin-top: 0.7rem;
    margin-bottom: 0;
    max-width: 62ch;
    line-height: 1.65;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.contact-actions.contact-actions--stack {
    margin-top: 1.7rem;
    flex-direction: column;
    gap: 0.9rem;
}

body.contact-page .contact-action {
    background: rgba(8, 20, 35, 0.42);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
    color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
}

body.contact-page .contact-action:hover {
    background: rgba(8, 20, 35, 0.55);
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
}

body.contact-page .contact-action:focus-visible {
    outline-color: rgba(255, 255, 255, 0.35);
}

body.contact-page .contact-action-icon {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

body.contact-page .contact-action--email .contact-action-icon {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(230, 247, 255, 0.95);
}

body.contact-page .contact-action--whatsapp .contact-action-icon {
    background: rgba(37, 211, 102, 0.18);
    border-color: rgba(37, 211, 102, 0.35);
    color: rgba(240, 255, 246, 0.95);
}

body.contact-page .contact-action-label {
    color: rgba(255, 255, 255, 0.7);
}

body.contact-page .contact-action-value {
    color: rgba(255, 255, 255, 0.98);
}

body.contact-page .contact-action-chevron {
    color: rgba(255, 255, 255, 0.6);
}

.contact-maintenance {
    margin-top: 0.45rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-maintenance-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.contact-maintenance-lead {
    margin-top: 0.55rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
    font-weight: 600;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

body.contact-page .btn-cta {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: none;
}

body.contact-page .btn-cta:hover {
    background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 720px) {
    body.contact-page::before {
        background:
            linear-gradient(180deg, rgba(7, 26, 51, 0.78) 0%, rgba(7, 26, 51, 0.62) 50%, rgba(7, 26, 51, 0.45) 100%),
            url("images/contact-us.jpg");
        background-size: cover;
        background-position: 70% 20%;
        background-repeat: no-repeat;
    }

    .contact-hero {
        padding: calc(var(--navbar-height) + 28px) 5% 4rem;
    }
}
