/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-primary: #d10000;
    --brand-secondary: #d10000;
    --brand-gradient: #d10000;
    --brand-gradient-strong: #d10000;
    --brand-tint-strong: rgba(209, 0, 0, 0.22);
    --brand-tint-soft: rgba(209, 0, 0, 0.14);
    --brand-tint-faint: rgba(209, 0, 0, 0.08);
    --brand-accent: #f4f4f4;
    --ink: #0b0c10;
    --ink-soft: #3a3f4a;
    --ink-muted: #5c6472;
    --surface: #ffffff;
    --surface-alt: #f6f7f9;
    --card: #ffffff;
    --border: #d8dce2;
    --on-dark: #f4f4f4;
    --on-dark-muted: #c7cbd3;
    --nav-bg: rgba(248, 248, 248, 0.92);
    --nav-bg-scrolled: rgba(248, 248, 248, 0.98);
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background-color: var(--surface);
    background-image: none;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.nav-link {
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: var(--brand-gradient-strong);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-gradient);
}

.cta-button {
    background: var(--brand-gradient);
    color: white;
    --btn-bubble: rgba(255, 255, 255, 0.24);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 22px var(--brand-tint-soft);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.cta-button::after,
.cta-button-large::after,
.hero-cta::after,
.submit-button::after,
.apply-button::after {
    content: '';
    position: absolute;
    top: -45%;
    right: -18%;
    width: 52%;
    height: 190%;
    border-radius: 999px;
    background: var(--btn-bubble);
    transform: translateX(0) skewX(-18deg) rotate(-8deg) scale(1);
    transform-origin: right center;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: -1;
}

.cta-button:hover {
    filter: brightness(1.02);
    transform: translateY(-5px);
    box-shadow: 0 12px 22px rgba(209, 0, 0, 0.42);
}

.cta-button:hover::after,
.cta-button-large:hover::after,
.hero-cta:hover::after,
.submit-button:hover::after,
.apply-button:hover::after {
    transform: translateX(-6%) skewX(-18deg) rotate(-8deg) scale(1.16);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--ink);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    background: linear-gradient(rgba(209, 0, 0, 0.68), rgba(209, 0, 0, 0.68)),
                url('https://t4.ftcdn.net/jpg/04/19/26/97/360_F_419269782_9LsP3TQndMVnZ2j3ZhTPhMjaqQpFAth9.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--on-dark);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: none;
    opacity: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    max-width: 800px;
    line-height: 1.2;
    margin-left: auto;
    margin-right: auto;
    color: var(--on-dark);
}

.hero-cta {
    background: #fff;
    color: var(--brand-primary);
    --btn-bubble: rgba(209, 0, 0, 0.16);
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    filter: brightness(1.02);
    transform: translateY(-5px);
    box-shadow: 0 12px 22px rgba(209, 0, 0, 0.42);
}

.appear-up {
    opacity: 0;
    transform: translateY(22px);
    animation: appearUp 0.9s ease forwards;
}

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

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--surface);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--ink);
}

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

.service-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: 1.2s cubic-bezier(0.17, 0.85, 0.438, 0.99);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    border: 1px solid #d6e8f3;
}

.services .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #d10000 0, #ff4a4a 100%);
    opacity: 0;
    transition: 0.8s cubic-bezier(0.17, 0.85, 0.438, 0.99);
}

.services .service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-7.5px);
    box-shadow: 0 18px 38px rgba(209, 0, 0, 0.3);
}

.services .service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.services .service-icon {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
}

.services .service-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: 1.2s cubic-bezier(0.17, 0.85, 0.438, 0.99);
}

.services .service-card:hover .service-icon img {
    transform: scale(1.12);
}

.services .service-card:hover h3,
.services .service-card:hover p {
    color: #fff;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--ink);
}

.service-card p {
    color: var(--ink-soft);
    line-height: 1.6;
}

/* Service Detail Pages */
.service-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--surface), var(--surface-alt));
}

.service-hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.service-hero-text h1 {
    font-size: 3rem;
    margin: 0.8rem 0 1.5rem;
    color: var(--ink);
}

.service-hero-text p {
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--brand-gradient-strong);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.service-hero-media img,
.service-split-media img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.service-section {
    padding: 80px 0;
    background: white;
}

.service-section.alt {
    background: var(--surface);
}

.service-section h2 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.service-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-split.reverse .service-split-media {
    order: -1;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.step-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--brand-gradient);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.cta-button-large {
    background: var(--brand-gradient);
    color: #fff;
    --btn-bubble: rgba(255, 255, 255, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 22px var(--brand-tint-soft);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.cta-button-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(209, 0, 0, 0.42);
}

.cta-section .cta-button-large {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #121212;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 800;
}

.about-text {
    max-width: 620px;
}

.about-text p {
    color: #d6d6d6;
    margin-bottom: 0;
    line-height: 1.8;
    text-align: left;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Founder Section */
.founder {
    padding: 100px 0;
    background: var(--surface);
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.founder-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.founder-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--ink);
}

.founder-text p {
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: left;
}

/* Software Section */
.software-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.software-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--ink);
}

.software-content {
    position: relative;
    display: inline-block;
}

.software-image {
    position: relative;
}

.video-frame {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 600px;
}

.software-image video {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(11, 31, 42, 0.1);
    display: block;
    background: #000;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: none;
    background: rgba(18, 181, 166, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 12px 30px rgba(18, 181, 166, 0.35);
}

.video-play i {
    font-size: 2.6rem;
    margin-left: 4px;
}

.video-play:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.video-play.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.92);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--surface);
}

.stats-title {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 3.5rem;
    color: var(--ink);
    letter-spacing: 0.02em;
}

.stats-title span {
    background: var(--brand-gradient-strong);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: #1b1b1d;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: var(--brand-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.stat-icon i {
    color: white;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.stat-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--brand-tint-soft), rgba(255, 255, 255, 0.96));
    text-align: center;
    color: var(--ink);
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.final-cta .cta-button-large {
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: 0 10px 30px var(--brand-tint-soft);
}

.final-cta .cta-button-large:hover {
    box-shadow: 0 12px 24px rgba(209, 0, 0, 0.42);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--surface);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--ink);
}

.contact p {
    text-align: center;
    color: var(--ink-soft);
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: transparent;
    border-image: var(--brand-gradient) 1;
}

.contact-form textarea {
    width: 100%;
    resize: vertical;
}

.submit-button {
    background: var(--brand-gradient);
    color: white;
    --btn-bubble: rgba(255, 255, 255, 0.24);
    border: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    filter: brightness(1.02);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(209, 0, 0, 0.42);
}

/* Footer */
.footer {
    background: var(--ink-soft);
    color: var(--on-dark);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 2rem;
    gap: 2rem;
}

.footer-logo img {
    height: 100px;
    margin-bottom: 1rem;
}

.footer-logo {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    /* box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18); */
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #f2f4f7;
    font-weight: 800;
    text-shadow: none;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--on-dark-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    background: var(--brand-gradient-strong);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e4e8ef;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--on-dark-muted);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.contact-info i {
    color: #dde2ea;
    -webkit-text-fill-color: #dde2ea;
    margin-right: 0;
    width: 18px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--ink-muted);
    padding-top: 2rem;
    text-align: center;
    color: var(--on-dark-muted);
}

/* Floating Contact Buttons */
.floating-contact-desktop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-contact-mobile {
    display: none;
}

.floating-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 170px;
    padding: 12px 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.floating-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.floating-contact-btn.call {
    background: var(--brand-primary);
    color: #fff;
}

.floating-contact-btn.whatsapp {
    background: #fff;
    color: #1c1f28;
}

.floating-contact-btn.whatsapp i {
    color: #25d366;
}

/* Careers Specific Styles */
.careers-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--surface), var(--surface-alt));
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.careers-text h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--ink);
}

.careers-text p {
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.apply-button {
    background: var(--brand-gradient);
    color: white;
    --btn-bubble: rgba(255, 255, 255, 0.24);
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.apply-button:hover {
    filter: brightness(1.02);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(209, 0, 0, 0.42);
}

.cta-button,
.cta-button-large,
.hero-cta,
.submit-button,
.apply-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.careers-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-choose {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.why-choose h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--ink);
}

.why-choose h3 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.why-choose p {
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.office-section {
    padding: 80px 0;
    background: var(--surface);
    text-align: center;
}

.office-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--ink);
}

.office-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.values-section {
    padding: 80px 0;
    background: white;
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--ink);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid transparent;
    border-image: var(--brand-gradient) 1;
    transition: 1.2s cubic-bezier(0.17, 0.85, 0.438, 0.99);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #d10000 0, #ff4a4a 100%);
    opacity: 0;
    transition: 0.8s cubic-bezier(0.17, 0.85, 0.438, 0.99);
}

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

.value-card:hover {
    transform: translateY(-7.5px);
    box-shadow: 0 18px 38px rgba(209, 0, 0, 0.3);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card h3 {
    color: var(--ink);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-card p {
    color: var(--ink-soft);
    line-height: 1.6;
}

.value-card:hover h3,
.value-card:hover p {
    color: #fff;
}

.environment-section {
    padding: 80px 0;
    background: var(--surface);
}

.environment-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--ink);
}

.environment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.env-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: 1.2s cubic-bezier(0.17, 0.85, 0.438, 0.99);
    position: relative;
    overflow: hidden;
}

.env-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #d10000 0, #ff4a4a 100%);
    opacity: 0;
    transition: 0.8s cubic-bezier(0.17, 0.85, 0.438, 0.99);
}

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

.env-card:hover {
    transform: translateY(-7.5px);
    box-shadow: 0 18px 38px rgba(209, 0, 0, 0.3);
}

.env-card:hover::before {
    opacity: 1;
}

.env-card h3 {
    background: var(--brand-gradient-strong);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.env-card p {
    color: var(--ink-soft);
    line-height: 1.6;
}

.env-card:hover h3,
.env-card:hover p {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.job-openings {
    padding: 80px 0;
    background: white;
}

.job-openings h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--ink);
}

.job-openings > p {
    text-align: center;
    color: var(--ink-soft);
    margin-bottom: 3rem;
}

.job-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.job-category {
    background: var(--surface);
    padding: 2rem;
    border-radius: 15px;
    border-top: 4px solid transparent;
    border-image: var(--brand-gradient) 1;
}

.job-category h3 {
    color: var(--ink);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.job-category ul {
    list-style: none;
}

.job-category ul li {
    color: var(--ink-soft);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.job-category ul li::before {
    content: '•';
    background: var(--brand-gradient-strong);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: absolute;
    left: 0;
}

.application-form {
    padding: 80px 0;
    background: var(--surface);
}

.career-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.career-form input,
.career-form textarea,
.career-form select {
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    background: #fff;
}

.career-form input:focus,
.career-form textarea:focus,
.career-form select:focus {
    outline: none;
    border-color: transparent;
    border-image: var(--brand-gradient) 1;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.15);
}

.career-form textarea {
    width: 100%;
    resize: vertical;
}

.file-upload {
    margin: 1rem 0;
}

.file-upload label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--ink);
    font-weight: 500;
}

.file-upload input[type="file"] {
    width: 100%;
    padding: 15px;
    border: 2px dashed transparent;
    border-image: var(--brand-gradient) 1;
    border-radius: 10px;
    background: var(--card);
    cursor: pointer;
}

img.image-fade {
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .cta-button {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .hero {
        height: auto;
        min-height: 80vh;
        padding: 140px 20px 80px;
    }
    
    .about-content,
    .founder-content,
    .careers-content,
    .service-hero-content,
    .service-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-split.reverse {
        grid-template-columns: 1fr;
    }

    .service-split.reverse .service-split-media {
        order: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .values-grid,
    .environment-grid {
        grid-template-columns: 1fr;
    }
    
    .job-categories {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto;
    }

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

    .contact-info p {
        justify-content: center;
        text-align: left;
    }

    h2 {
        font-size: 2rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    .services h2,
    .contact h2,
    .final-cta h2 {
        font-size: 2rem;
    }

    .service-hero-text h1 {
        font-size: 2.5rem;
    }

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

    .cta-button-large {
        font-size: 1rem;
        padding: 14px 32px;
    }

    .container {
        padding: 0 16px;
    }

    .floating-contact-desktop {
        display: none;
    }

    .floating-contact-mobile {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1100;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 10px 12px;
        background: #1f2432;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .floating-contact-mobile .floating-contact-btn {
        min-width: 0;
        width: 100%;
        border-radius: 8px;
        font-size: 0.9rem;
        box-shadow: none;
        padding: 10px 12px;
    }

    body {
        padding-bottom: 74px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .careers-text h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 12px;
    }

    .service-hero-text h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    .cta-button-large {
        font-size: 0.95rem;
        padding: 12px 28px;
    }

    .hero-cta,
    .apply-button {
        font-size: 1rem;
        padding: 14px 28px;
    }

    .service-card {
        padding: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .appear-up {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
