/* ===== BECS GLOBAL STYLESHEET ===== */

/* --- Custom Design Properties --- */
:root {
    --color-black: #f6f8f9;
    --color-gray-dark: #545454;
    --color-teal: #3a7c79;
    --color-teal-light: #4d9996;
    --color-teal-dark: #2c5f5d;
    --color-teal-glow: rgba(58, 124, 121, 0.1);
    --color-teal-glow-strong: rgba(58, 124, 121, 0.2);
    --color-white: #ffffff;
    --color-surface: #ffffff;
    --color-surface-2: #f1f5f4;
    --color-surface-3: #e8efee;
    --color-border: rgba(15, 23, 42, 0.08);
    --color-border-teal: rgba(58, 124, 121, 0.3);
    --color-text-primary: #0f172a;
    --color-text-secondary: rgba(15, 23, 42, 0.72);
    --color-text-muted: rgba(15, 23, 42, 0.5);

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    --nav-height: 80px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Rules & Resets --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-black);
}

::-webkit-scrollbar-thumb {
    background: var(--color-teal);
    border-radius: 3px;
}

/* --- Global Utility Classes --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal-light);
    margin-bottom: 1rem;
}

.section-tag::before {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-teal);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--color-teal);
    color: white;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--color-teal);
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    background: var(--color-teal-light);
    border-color: var(--color-teal-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-teal-glow-strong);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-outline:hover {
    border-color: var(--color-teal);
    color: var(--color-teal-light);
    transform: translateY(-2px);
}

/* --- Layout Headers --- */
.page-header {
    position: relative;
    padding: 10rem 0 6rem;
    background: linear-gradient(to bottom, #ffffff 0%, #eef4f3 100%);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(58, 124, 121, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(58, 124, 121, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-header h1 span {
    background: linear-gradient(135deg, var(--color-teal-light), var(--color-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* --- Animations & Transitions --- */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(58, 124, 121, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(58, 124, 121, 0);
    }
}

@keyframes scroll-anim {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* --- Navbar Styles --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: var(--transition);
    padding: 0 2rem;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 40px rgba(15, 23, 42, 0.08);
}

.navbar-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 68px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.02em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-teal);
    transition: var(--transition);
}

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

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.5rem;
    background: var(--color-teal);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    margin-left: 1rem;
    letter-spacing: 0.02em;
}

.nav-cta:hover {
    background: var(--color-teal-light);
    box-shadow: 0 4px 20px var(--color-teal-glow-strong);
    transform: translateY(-1px);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition);
}

/* --- Mobile Drawer --- */
.nav-mobile {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile .nav-link {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.nav-mobile-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Marquee Band --- */
.marquee-band {
    background: var(--color-teal-dark);
    padding: 0.85rem 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.marquee-dot {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

/* --- Footer --- */
.footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 48px;
    width: auto;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--color-teal);
    color: var(--color-teal-light);
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    color: var(--color-text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-teal-light);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.footer-contact-item i {
    color: var(--color-teal-light);
    font-size: 0.85rem;
    margin-top: 0.15rem;
    min-width: 16px;
}

.footer-contact-item span {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.footer-bottom a {
    color: var(--color-teal-light);
}

/* --- Section Call-To-Action (Common) --- */
.section-cta-block {
    padding: 8rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #eef4f3 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.section-cta-block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(58, 124, 121, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.section-cta-content {
    position: relative;
    z-index: 1;
}

.section-cta-block h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-cta-block h2 span {
    background: linear-gradient(135deg, var(--color-teal-light), var(--color-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-cta-block p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* --- Base Responsive Adapters --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}