:root {
    --rw-black: #0a0a0c;
    --rw-dark-gray: #16161a;
    --rw-light-gray: #94a1b2;
    --rw-blue: #2cb67d;
    --rw-blue-main: #2563eb;
    --rw-blue-light: #60a5fa;
    --rw-blue-glow: rgba(37, 99, 235, 0.4);

    --sn-green: #10b981;
    --sn-green-glow: rgba(16, 185, 129, 0.4);
    --sn-light-blue: #38bdf8;
    --sn-teal: #14b8a6;
    --sn-dark-bg: #020617;

    --text-main: #fffffe;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--rw-black);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background-color: var(--rw-black);
}

main,
section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight-blue {
    color: var(--rw-blue-light);
    text-shadow: 0 0 15px var(--rw-blue-glow);
}

.highlight-green {
    color: var(--sn-green);
    text-shadow: 0 0 15px var(--sn-green-glow);
}

/* NAVBAR */

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    width: auto;
    height: 90px;
    max-width: 190px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rw-blue-main);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.nav-sneksoft::after {
    background: var(--sn-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

/* BUTTONS */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-blue {
    background: linear-gradient(135deg, var(--rw-blue-main), var(--rw-blue-light));
    box-shadow: 0 10px 20px var(--rw-blue-glow);
}

.btn-teal {
    background: linear-gradient(135deg, var(--sn-teal), var(--sn-light-blue));
    box-shadow: 0 10px 20px rgba(20, 184, 166, 0.3);
}

/* HERO */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 2rem;
    background-color: var(--rw-black);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--rw-black), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--rw-light-gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 680px;
}

/* ABOUT */

.about {
    padding: 6rem 0;
    background-color: var(--rw-black);
    position: relative;
}

.about h2 {
    font-size: clamp(2.2rem, 6vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.glass {
    background: rgba(22, 22, 26, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
}

.glass:hover {
    transform: translateY(-10px);
    border-color: var(--rw-blue-glow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--rw-blue-light);
}

.about-card p {
    color: var(--rw-light-gray);
    line-height: 1.7;
}

/* SNEKSOFT */

.sneksoft {
    position: relative;
    padding: 8rem 0;
    background-color: var(--sn-dark-bg);
    overflow: hidden;
}

.sneksoft-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/sneksoft-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
    mix-blend-mode: screen;
}

.sneksoft::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, var(--rw-black), transparent);
    z-index: 1;
}

.sneksoft-content {
    position: relative;
    z-index: 2;
}

.sneksoft-header {
    text-align: center;
    margin-bottom: 5rem;
}

.sneksoft-logo-img {
    height: 80px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.3));
}

.sneksoft-header h2 {
    font-size: clamp(2.8rem, 8vw, 4rem);
    background: linear-gradient(135deg, var(--sn-green), var(--sn-light-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sneksoft-header .subtitle {
    font-size: 1.2rem;
    color: var(--sn-light-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 0.5rem;
}

.sneksoft-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.glass-sneksoft {
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
}

.glass-sneksoft:hover {
    transform: translateY(-10px);
    border-color: var(--sn-light-blue);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.2);
}

.glass-sneksoft .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.glass-sneksoft h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.glass-sneksoft p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.sneksoft-cta {
    text-align: center;
    margin-top: 4rem;
}

/* CAREERS */

.careers-hero,
.about-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 2rem;
    background-color: var(--rw-black);
}

.careers-hero {
    min-height: 60vh;
}

.careers-hero::after,
.about-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--rw-black), transparent);
    z-index: 1;
}

.careers-listings {
    padding: 4rem 0 8rem;
    background-color: var(--rw-black);
    position: relative;
}

.careers-listings h2,
.section-title {
    font-size: clamp(2.2rem, 6vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
}

.vacancies-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: flex-start;
}

.vacancy-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.vacancy-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--rw-blue-light);
    box-shadow: 0 15px 40px var(--rw-blue-glow);
    background: rgba(22, 22, 26, 0.85);
}

.vacancy-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1rem;
}

.tags-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.vacancy-tag {
    background: rgba(44, 182, 125, 0.2);
    color: var(--sn-green);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tag-sneksoft {
    background: rgba(56, 189, 248, 0.15);
    color: var(--sn-light-blue);
}

.tag-rizewolf {
    background: rgba(96, 165, 250, 0.15);
    color: var(--rw-blue-light);
}

.vacancy-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.vacancy-meta {
    font-size: 0.85rem;
    color: var(--rw-light-gray);
    margin-bottom: 1rem;
    font-weight: 600;
}

.vacancy-description {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.vacancy-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
}

.vacancy-card.expanded .vacancy-details {
    max-height: 800px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.details-content h4 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.details-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style-type: disc;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.details-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.expand-icon {
    transition: transform 0.3s;
}

.vacancy-card.expanded .expand-icon {
    transform: rotate(180deg);
}

.vacancy-card.expanded .vacancy-link {
    display: none;
}

.vacancy-link {
    font-size: 0.9rem;
    color: var(--rw-blue-main);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vacancy-link::after {
    content: '→';
    transition: transform 0.3s;
}

.vacancy-card:hover .vacancy-link::after {
    transform: translateX(5px);
}

/* ABOUT PAGE */

.mission-section {
    padding: 4rem 0;
    background-color: var(--rw-black);
    position: relative;
}

.mission-card {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.mission-card h2 {
    font-size: clamp(2rem, 6vw, 2.5rem);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff, var(--rw-blue-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mission-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.team-section {
    padding: 6rem 0;
    background-color: var(--rw-black);
}

.team-member {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--rw-dark-gray), #2a2a35);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.avatar-1 {
    background-image: url('assets/logan.png');
    background-size: cover;
    background-position: center;
}

.avatar-2 {
    background-image: url('assets/dan.png');
    background-size: cover;
    background-position: center;
}

.avatar-3 {
    background: linear-gradient(135deg, #8b5cf6, #5b21b6);
}

.team-role {
    color: var(--rw-blue-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.team-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CONTACT */

.contact-section {
    padding: 6rem 0 8rem;
    background-color: var(--rw-black);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: clamp(2.2rem, 6vw, 3rem);
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.method i {
    color: var(--rw-blue-light);
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rw-light-gray);
}

.form-group input,
.form-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rw-blue-light);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.2);
}

/* FOOTER */

.rizewolf-footer {
    background-color: var(--rw-dark-gray);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-brand p,
.footer-links a,
.footer-contact p,
.footer-bottom {
    color: var(--rw-light-gray);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--rw-blue-light);
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.built-by {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--sn-light-blue);
    opacity: 0.8;
}

/* ANIMATIONS */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

.slide-up {
    opacity: 1;
    transform: translateY(0);
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .logo-img {
        height: 62px;
        max-width: 130px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82vw;
        max-width: 320px;
        height: 100vh;
        height: 100svh;
        background: rgba(22, 22, 26, 0.97);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding: 6.5rem 1rem 2rem;
    }

    .hero-background {
        background-size: cover;
        background-position: center;
    }

    .hero-content {
        max-width: 92vw;
    }

    .hero h1 {
        font-size: clamp(2.6rem, 13vw, 3.6rem);
        line-height: 1.05;
        margin-bottom: 1.25rem;
    }

    .hero p {
        font-size: 1.05rem;
        line-height: 1.6;
        max-width: 92vw;
        margin-bottom: 2rem;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        padding: 1rem 1.2rem;
        font-size: 0.82rem;
    }

    .scroll-indicator {
        display: none;
    }

    .container {
        padding: 0 1rem;
    }

    .about,
    .team-section,
    .contact-section {
        padding: 4rem 0;
    }

    .sneksoft {
        padding: 5rem 0;
    }

    .about h2,
    .careers-listings h2,
    .section-title {
        margin-bottom: 2.5rem;
    }

    .about-grid,
    .sneksoft-features,
    .vacancies-grid,
    .team-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .glass,
    .glass-sneksoft {
        padding: 1.5rem;
    }

    .sneksoft-header {
        margin-bottom: 3rem;
    }

    .sneksoft-logo-img {
        height: 64px;
        max-width: 180px;
    }

    .sneksoft-header .subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        gap: 2rem;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: clamp(2.4rem, 12vw, 3.2rem);
    }

    .hero p {
        font-size: 1rem;
    }

    .logo-img {
        height: 56px;
        max-width: 120px;
    }

    .nav-links {
        width: 86vw;
    }
}
.hamburger {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 16px;
    background: rgba(22, 22, 26, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 0 20px rgba(37, 99, 235, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2147483647;
    pointer-events: auto;
    touch-action: manipulation;
    transition: all 0.25s ease;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--rw-blue-light), var(--sn-light-blue));
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
    transition: all 0.25s ease;
}

.hamburger:hover,
.hamburger.active {
    border-color: rgba(56, 189, 248, 0.75);
    background: rgba(2, 6, 23, 0.75);
    box-shadow:
        0 0 28px rgba(56, 189, 248, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }
}