/*
        index-new.css
        Custom layout inspired by HTML5 UP Stellar
*/

:root {
        --color-bg-start: #1c1d26;
        --color-bg-end: #2b3148;
        --color-card: rgba(255, 255, 255, 0.96);
        --color-card-alt: rgba(37, 42, 63, 0.92);
        --color-text: #2a2e47;
        --color-text-light: #f7f9ff;
        --color-muted: #9ca0c7;
        --color-accent: rgb(239, 120, 142, 1);
        --color-accent-dark: #4f7f7a;
        --header-height: 5rem;
        --shadow-strong: 0 2rem 3.5rem rgba(10, 13, 32, 0.35);
        --shadow-soft: 0 1rem 2rem rgba(15, 18, 40, 0.25);
}

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

html {
        scroll-behavior: smooth;
}

body {
        margin: 0;
        font-family: 'Source Sans Pro', 'Segoe UI', sans-serif;
        background-color: #1c1d26;
        color: var(--color-text-light);
        line-height: 1.7;
        min-height: 100vh;
        position: relative;
}

body::before,
body::after {
        content: '';
        position: fixed;
        inset: 0;
        pointer-events: none;
}

body::before {
        z-index: -2;
        background-color: #1c1d26;
        background-image: radial-gradient(65rem circle at 22% 18%, rgba(110, 146, 240, 0.35), transparent 60%),
                radial-gradient(60rem circle at 78% 82%, rgba(239, 120, 142, 0.32), transparent 55%),
                linear-gradient(160deg, rgba(42, 48, 78, 0.98), rgba(15, 18, 35, 0.98)),
                url('../../images/bg.jpg');
        background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
        background-size: 140% 140%, 140% 140%, cover, cover;
        background-position: center, center, center, center;
        background-attachment: fixed, fixed, fixed, fixed;
}

body::after {
        z-index: -1;
        background-image: url('../../images/overlay.png');
        background-repeat: repeat;
        background-size: 256px 256px;
        opacity: 0.45;
}

body.is-preload * {
        transition: none !important;
        animation: none !important;
}

a {
        color: var(--color-accent);
        text-decoration: none;
}

a:hover,
a:focus {
        text-decoration: underline;
}

/* Iconography (from HTML5 UP Stellar) */
.icon {
        text-decoration: none;
        border-bottom: none;
        position: relative;
}

.icon > .label {
        display: none;
}

.icon:before {
        display: inline-block;
        font-family: 'Font Awesome 5 Free';
        font-style: normal;
        font-variant: normal;
        font-weight: 400;
        line-height: inherit;
        text-rendering: auto;
        text-transform: none !important;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
}

.icon.solid:before {
        font-weight: 900;
}

.icon.brands:before {
        font-family: 'Font Awesome 5 Brands';
        font-weight: 400;
}

p {
        margin: 0 0 1.5rem;
}

h1, h2, h3 {
        font-weight: 700;
        margin: 0 0 1.25rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
}

h1 {
        font-size: clamp(2.3rem, 4vw, 3.25rem);
        letter-spacing: 0.12em;
}

h2 {
        font-size: clamp(1.95rem, 3.4vw, 2.6rem);
}

h3 {
        font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

.tagline {
        font-weight: 400;
        font-style: italic;
        letter-spacing: 0.05em;
        text-transform: none;
        margin-bottom: 0.5em;
        color: rgba(247, 249, 255, 0.78);
}

#main-content {
        padding-top: calc(var(--header-height) + 3.5rem);
        padding-bottom: 4rem;
}

.section {
        width: min(1100px, 92%);
        margin: 0 auto 4.5rem;
        padding: clamp(2.5rem, 4vw, 4rem);
        border-radius: 1.25rem;
        background: var(--color-card);
        color: var(--color-text);
        box-shadow: var(--shadow-strong);
        position: relative;
        scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.section header {
        text-align: center;
        margin-bottom: 2.5rem;
}

.section header p {
        margin: 0 auto;
        max-width: 640px;
        color: var(--color-muted);
}

.section.alt {
        background: var(--color-card-alt);
        color: var(--color-text-light);
        box-shadow: 0 2rem 3.5rem rgba(5, 6, 16, 0.45);
}

.section.alt a {
        color: #ffffff;
}

.section.alt a:hover,
.section.alt a:focus {
        color: #fff;
}

.hero {
        padding-block: clamp(3rem, 6vw, 6rem);
        background: linear-gradient(135deg, rgba(37, 42, 63, 0.96), rgba(55, 61, 89, 0.9));
        color: var(--color-text-light);
        overflow: hidden;
}

.hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
        align-items: center;
        gap: clamp(2rem, 5vw, 4rem);
}

.hero-media {
        align-self: start;
}

.hero-media img {
        width: 100%;
        max-width: 320px;
        border-radius: 1rem;
        display: block;
        margin: 0 auto;
        box-shadow: 0 2rem 4rem rgba(10, 13, 32, 0.45);
}

.hero .social-links {
        justify-content: flex-start;
}

.hero .social-links a {
        color: #0f111e;
        background: #f7f9ff;
}

.hero .social-links a:hover,
.hero .social-links a:focus {
        background: #9bf1ff;
        color: #111323;
}

.social-links {
        display: flex;
        flex-wrap: wrap;
        gap: 0.85rem;
        list-style: none;
        padding: 0;
        margin: 2rem 0 0;
}

.social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.25);
        color: var(--color-text-light);
        transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
        font-size: 1.25rem;
}

.social-links a:hover,
.social-links a:focus {
        transform: translateY(-4px);
        background: var(--color-accent);
        border-color: transparent;
        color: #1c1d26;
        text-decoration:none;
}

.company-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: clamp(1.5rem, 3vw, 2.5rem);
}

.company-card {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 1rem;
        padding: 1.75rem;
        box-shadow: var(--shadow-soft);
        color: var(--color-text);
        text-align: left;
        display: flex;
        flex-direction: column;
        gap: 1rem;
}

.section.alt .company-card {
        background: rgba(47, 52, 77, 0.95);
        color: var(--color-text-light);
}

.company-card img {
        width: 100%;
        height: 200px;
        object-fit: contain;
        border-radius: 0.75rem;
        background: #fff;
        padding: 0.75rem;
        box-shadow: inset 0 0 0 1px rgba(32, 35, 55, 0.08);
}

.company-card p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.65;
}

.company-card a {
        font-weight: 600;
}

.highlight {
        text-align: center;
}

.highlight img {
        width: min(800px, 100%);
        margin: 0 auto 1rem;
        display: block;
        border-radius: 1.1rem;
        box-shadow: 0 2.5rem 4rem rgba(9, 12, 28, 0.45);
}

.button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.85rem 2.85rem;
        border-radius: 999px;
        background: var(--color-accent);
        color: #102024;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 0.12em;
        font-size: 0.85rem;
        border: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus {
        background: #7ac1bb;
        transform: translateY(-3px);
        text-decoration:none;
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25);
}

.media-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: clamp(1.5rem, 3vw, 2.5rem);
}

.media-card {
        background: rgba(255, 255, 255, 0.94);
        border-radius: 1.1rem;
        padding: 1.75rem;
        box-shadow: var(--shadow-soft);
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
}

.media-card iframe {
        width: 100%;
        min-height: 232px;
        border: 0;
        border-radius: 0.85rem;
        background: #05060f;
        box-shadow: inset 0 0 0 1px rgba(28, 29, 38, 0.1), 0 1.25rem 2.5rem rgba(8, 10, 24, 0.35);
}

.media-card p {
        margin: 0;
        font-size: 0.95rem;
        color: var(--color-text);
}

.section.alt .media-card {
        background: rgba(47, 52, 77, 0.88);
        color: var(--color-text-light);
}

.section.alt .media-card p {
        color: inherit;
}

#contact {
        text-align: center;
}

#contact .contact-intro {
        max-width: 640px;
        margin: 0 auto 2rem;
        color: rgba(247, 249, 255, 0.78);
}

#contact h3 {
        margin-bottom: 1.5rem;
}

#contact .social-links {
        justify-content: center;
}

.site-footer {
        text-align: center;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.85rem;
        padding: 2.5rem 1.5rem 3.5rem;
}

.site-footer ul {
        list-style: none;
        padding: 0;
        margin: 0.75rem 0 0;
        display: flex;
        justify-content: center;
        gap: 0.75rem;
}

.site-footer a {
        color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover,
.site-footer a:focus {
        color: #fff;
}

#site-header {
        position: fixed;
        inset: 0 0 auto 0;
        width: 100%;
        height: var(--header-height);
        background: rgba(22, 24, 37, 0.92);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: none;
        z-index: 1000;
        transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

#site-header.is-scrolled {
        box-shadow: 0 1.5rem 3rem rgba(6, 8, 20, 0.45);
        background: rgba(18, 20, 33, 0.95);
}

.header-inner {
        max-width: 1100px;
        margin: 0 auto;
        height: 100%;
        padding: 0 1.5rem;
        display: flex;
        align-items: center;
        gap: 1.5rem;
}

.brand {
        display: flex;
        align-items: center;
        gap: 1rem;
        color: var(--color-text-light);
}

.brand img {
        width: 54px;
        height: 54px;
        border-radius: 0;
        object-fit: cover;
        box-shadow: 0 1rem 2rem rgba(5, 7, 18, 0.4);
}

.brand span {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
}

.brand strong {
        font-size: 1.05rem;
        letter-spacing: 0.16em;
}

.brand .tagline {
        margin: 0;
        font-size: 0.75rem;
        letter-spacing: 0.12em;
        color: rgba(255, 255, 255, 0.65);
        text-transform: uppercase;
}

.menu-toggle {
        margin-left: auto;
        border: 0;
        background: rgba(155, 241, 255, 0.12);
        color: var(--color-text-light);
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 50%;
        cursor: pointer;
        position: relative;
        transition: background 0.2s ease, transform 0.2s ease;
        display: none;
}

.menu-toggle:hover,
.menu-toggle:focus {
        background: rgba(155, 241, 255, 0.3);
        transform: translateY(-2px);
}

.menu-toggle .menu-icon,
.menu-toggle .menu-icon::before,
.menu-toggle .menu-icon::after {
        content: '';
        display: block;
        position: absolute;
        left: 50%;
        width: 1.4rem;
        height: 0.16rem;
        border-radius: 999px;
        background: currentColor;
        transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.menu-toggle .menu-icon {
        top: 50%;
        transform: translate(-50%, -50%);
}

.menu-toggle .menu-icon::before {
        top: -0.45rem;
}

.menu-toggle .menu-icon::after {
        top: 0.45rem;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
        background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
        top: 0;
        transform: translateX(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
        top: 0;
        transform: translateX(-50%) rotate(-45deg);
}

#site-nav {
        margin-left: auto;
}

#site-nav ul {
        list-style: none;
        display: flex;
        gap: 1.75rem;
        margin: 0;
        padding: 0;
}

#site-nav a {
        color: rgba(255, 255, 255, 0.72);
        font-weight: 600;
        font-size: 0.78rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        position: relative;
        padding-bottom: 0.25rem;
}

#site-nav a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        background: var(--color-accent);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.2s ease;
}

#site-nav a:hover::after,
#site-nav a:focus::after,
#site-nav a.active::after {
        transform: scaleX(1);
}

#site-nav a.active {
        color: var(--color-accent);
}

.sr-only {
        position: absolute !important;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
}

@media (max-width: 1024px) {
        :root {
                --header-height: 4.75rem;
        }

        .brand strong {
                font-size: 0.95rem;
        }

        .brand .tagline {
                letter-spacing: 0.1em;
        }
}

@media (max-width: 980px) {
        #site-nav {
                position: absolute;
                top: 100%;
                right: 1.5rem;
                background: rgba(22, 24, 37, 0.97);
                width: min(18rem, calc(100% - 3rem));
                border-radius: 0 0 1.2rem 1.2rem;
                box-shadow: 0 1.5rem 3rem rgba(8, 10, 24, 0.45);
                transform-origin: top;
                transform: scaleY(0.75);
                opacity: 0;
                pointer-events: none;
                transition: transform 0.25s ease, opacity 0.25s ease;
                padding: 0.75rem 0;
        }

        #site-nav.is-open {
                opacity: 1;
                pointer-events: auto;
                transform: scaleY(1);
        }

        #site-nav ul {
                flex-direction: column;
                align-items: stretch;
                gap: 0.35rem;
                padding: 0.5rem 1rem 1rem;
        }

        #site-nav li {
                width: 100%;
        }

        #site-nav a {
                display: block;
                padding: 0.75rem 0.5rem;
        }

        .menu-toggle {
                display: inline-flex;
                align-items: center;
                justify-content: center;
        }
}

@media (max-width: 900px) {
        .hero-grid {
                grid-template-columns: 1fr;
                text-align: center;
        }

        .hero .social-links {
                justify-content: center;
        }

        .brand img {
                width: 48px;
                height: 48px;
        }
}

@media (max-width: 736px) {
        :root {
                --header-height: 4.5rem;
        }

        #main-content {
                padding-top: calc(var(--header-height) + 2.5rem);
        }

        .section {
                width: min(95%, 640px);
                padding: clamp(2rem, 6vw, 2.75rem);
        }

        .company-card {
                padding: 1.5rem;
        }

        .media-card {
                padding: 1.5rem;
        }

        .highlight img {
                max-width: 260px;
        }
}

@media (max-width: 560px) {
        #site-nav {
                right: 1rem;
                width: calc(100% - 2rem);
        }

        .menu-toggle {
                width: 2.5rem;
                height: 2.5rem;
        }

        .menu-toggle .menu-icon,
        .menu-toggle .menu-icon::before,
        .menu-toggle .menu-icon::after {
                width: 1.3rem;
        }
}

@media (prefers-reduced-motion: reduce) {
        html {
                scroll-behavior: auto;
        }

        * {
                animation-duration: 0.001ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.001ms !important;
                scroll-behavior: auto !important;
        }
}
