:root {
    --rv-brown: #4D2017;
    --rv-brown-light: #6B3A2E;
    --rv-crimson: #C8102E;
    --rv-crimson-dark: #9B0D24;
    --rv-crimson-light: #E8435A;
    --rv-beige: #F2ECEA;
    --rv-beige-dark: #E5DCDA;
    --rv-white: #FFFFFF;
    --rv-gray: #8A7E7B;
    --rv-gray-light: #B8AFAC;
    --rv-black: #1A0E0A;
    --rv-font-heading: 'Raleway', Helvetica, Arial, sans-serif;
    --rv-font-body: 'DM Sans', Helvetica, Arial, sans-serif;
    --rv-transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--rv-font-body);
    color: var(--rv-brown);
    background-color: var(--rv-white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--rv-font-heading);
    font-weight: 300;
    line-height: 1.2;
    color: var(--rv-brown);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 200; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); font-weight: 500; }

p {
    margin-bottom: 1rem;
    color: var(--rv-brown-light);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--rv-crimson);
    text-decoration: none;
    transition: color 0.3s var(--rv-transition);
}

a:hover {
    color: var(--rv-crimson-dark);
}

.btn-regivet {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background-color: var(--rv-crimson);
    color: var(--rv-white);
    border: 2px solid var(--rv-crimson);
    border-radius: 0;
    font-family: var(--rv-font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s var(--rv-transition);
    cursor: pointer;
}

.btn-regivet:hover {
    background-color: var(--rv-crimson-dark);
    border-color: var(--rv-crimson-dark);
    color: var(--rv-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.25);
}

.btn-regivet-outline {
    background-color: transparent;
    color: var(--rv-white);
    border-color: var(--rv-white);
}

.btn-regivet-outline:hover {
    background-color: var(--rv-white);
    color: var(--rv-crimson);
    border-color: var(--rv-white);
}

.btn-regivet-brown {
    background-color: transparent;
    color: var(--rv-brown);
    border-color: var(--rv-brown);
}

.btn-regivet-brown:hover {
    background-color: var(--rv-brown);
    color: var(--rv-white);
    border-color: var(--rv-brown);
}

.section-label {
    display: inline-block;
    font-family: var(--rv-font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rv-crimson);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 3rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 2px;
    background-color: var(--rv-crimson);
}

.section-label-centered {
    padding-left: 0;
}

.section-label-centered::before {
    display: none;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-beige {
    background-color: var(--rv-beige);
}

.bg-brown {
    background-color: var(--rv-brown);
}

.text-crimson {
    color: var(--rv-crimson);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--rv-transition), transform 0.8s var(--rv-transition);
}

.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; }

.navbar {
    padding: 1rem 0;
    transition: all 0.4s var(--rv-transition);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(77, 32, 23, 0.07);
    z-index: 1050;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 30px rgba(77, 32, 23, 0.08);
    padding: 0.6rem 0;
}

.navbar-brand img {
    max-height: 44px;
    width: auto;
    transition: all 0.3s var(--rv-transition);
    filter: none;
}

.navbar.scrolled .navbar-brand img {
    max-height: 36px;
    filter: none;
}

.navbar .nav-link {
    font-family: var(--rv-font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--rv-brown);
    padding: 0.55rem 1.1rem;
    letter-spacing: 0.3px;
    transition: all 0.25s var(--rv-transition);
    border-radius: 0;
    margin: 0 0.15rem;
}

.navbar-expand-lg .navbar-nav .nav-link {
    color: var(--rv-brown);
    font-size: 1.05rem;
}

.navbar.scrolled .nav-link:not(.active):not(.nav-link-contact),
.navbar.scrolled .navbar-nav .nav-link:not(.active):not(.nav-link-contact) {
    color: var(--rv-brown);
}

.navbar .nav-link:hover,
.navbar-expand-lg .navbar-nav .nav-link:hover {
    color: var(--rv-crimson);
    background-color: rgba(200, 16, 46, 0.06);
}

.navbar .nav-link.active,
.navbar-expand-lg .navbar-nav .nav-link.active {
    color: var(--rv-crimson) !important;
    font-weight: 700;
    background-color: transparent !important;
    position: relative;
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0.5rem;
    right: 0.5rem;
    height: 2px;
    background-color: var(--rv-crimson);
    display: block;
}

.navbar .nav-cta {
    margin-left: 0.5rem;
}

.navbar .nav-cta .btn-regivet {
    padding: 0.55rem 1.5rem;
    font-size: 0.8rem;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 28px;
    height: 2px;
    background-color: var(--rv-brown);
    background-image: none;
    display: block;
    position: relative;
    transition: background-color 0.3s;
}

.navbar.scrolled .navbar-toggler-icon {
    background-color: var(--rv-brown);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: inherit;
    left: 0;
}

.navbar-toggler-icon::before { top: -8px; }
.navbar-toggler-icon::after { top: 8px; }

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--rv-brown);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(135deg, rgba(77, 32, 23, 0.92) 0%, rgba(77, 32, 23, 0.7) 50%, rgba(200, 16, 46, 0.3) 100%);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.06);
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    transform: rotate(45deg);
}

.hero-shape-2 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    right: 15%;
    transform: rotate(15deg);
    border-color: rgba(200, 16, 46, 0.15);
}

.hero-shape-3 {
    width: 600px;
    height: 600px;
    bottom: -200px;
    left: -200px;
    border-radius: 50%;
    border-color: rgba(255, 255, 255, 0.03);
}

.hero-animal {
    position: absolute;
    right: 5%;
    bottom: 8%;
    z-index: 4;
    opacity: 0.12;
    width: 350px;
    pointer-events: none;
}

.dna-helix-wrap {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 600px;
    height: 520px;
    width: 160px;
}

.dna-helix {
    position: relative;
    height: 100%;
    width: 100%;
    opacity: 0;
    animation: dnaFadeIn 1.8s ease-out 1s forwards, dnaDrift 8s ease-in-out 2.8s infinite;
    transition: transform 0.15s ease-out;
    transform-style: preserve-3d;
}

@keyframes dnaFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes dnaDrift {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -12px; }
}

.dna-rung {
    position: absolute;
    width: 100%;
    height: 4px;
    left: 0;
}

.dna-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: -3px;
}

.dna-dot-left {
    animation: dnaLeft 3.6s ease-in-out infinite;
}

.dna-dot-right {
    animation: dnaRight 3.6s ease-in-out infinite;
}

.dna-line {
    position: absolute;
    height: 2px;
    top: 1px;
    transform-origin: left center;
    animation: dnaLine 3.6s ease-in-out infinite;
}

@keyframes dnaLeft {
    0%, 100% { left: 10%; opacity: 0.9; transform: scale(1.1); }
    50% { left: 90%; opacity: 0.4; transform: scale(0.7); }
}

@keyframes dnaRight {
    0%, 100% { left: 90%; opacity: 0.4; transform: scale(0.7); }
    50% { left: 10%; opacity: 0.9; transform: scale(1.1); }
}

@keyframes dnaLine {
    0%, 100% { width: 80%; left: 10%; opacity: 0.5; }
    25% { width: 40%; opacity: 0.15; }
    50% { width: 80%; left: 10%; opacity: 0.5; }
    75% { width: 40%; opacity: 0.15; }
}

.dna-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(200, 16, 46, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: dnaGlow 4s ease-in-out infinite;
}

@keyframes dnaGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
}

.hero-content {
    position: relative;
    z-index: 5;
    padding-top: 6rem;
}

.hero-content h1 {
    color: var(--rv-white);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    margin-bottom: 1.5rem;
    font-weight: 200;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero-content h1 span {
    color: var(--rv-crimson-light);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-number {
    font-family: var(--rv-font-heading);
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--rv-white);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.hero-stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.about-section {
    position: relative;
    overflow: hidden;
}

.about-section .about-image-wrapper {
    position: relative;
}

.about-section .about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-section .about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background-color: var(--rv-crimson);
    opacity: 0.1;
    z-index: -1;
}

.about-accent-bar {
    width: 60px;
    height: 4px;
    background-color: var(--rv-crimson);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-feature i {
    color: var(--rv-crimson);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--rv-brown);
}

.services-section {
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110'%3E%3Crect x='5' y='5' width='100' height='100' rx='6' ry='6' fill='none' stroke='white' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 110px 110px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 5%, rgba(0,0,0,0.5) 25%, rgba(0,0,0,0.5) 75%, transparent 95%);
    mask-image: linear-gradient(to bottom, transparent 5%, rgba(0,0,0,0.5) 25%, rgba(0,0,0,0.5) 75%, transparent 95%);
}

.service-card {
    position: relative;
    background: var(--rv-white);
    padding: 2.5rem 2rem;
    height: 100%;
    border: 1px solid var(--rv-beige-dark);
    transition: all 0.5s var(--rv-transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--rv-crimson);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--rv-transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(77, 32, 23, 0.1);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: var(--rv-crimson);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.6rem;
    color: var(--rv-white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: var(--rv-font-body);
    font-weight: 700;
}

.service-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.service-list li {
    font-size: 0.88rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--rv-beige);
    color: var(--rv-brown-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--rv-crimson);
    flex-shrink: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--rv-crimson);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.3s var(--rv-transition);
}

.service-link:hover {
    gap: 0.8rem;
    color: var(--rv-crimson-dark);
}

.approach-section {
    position: relative;
    background-color: var(--rv-brown);
    overflow: hidden;
}

.approach-section h2 {
    color: var(--rv-white);
}

.approach-section .section-label {
    color: var(--rv-crimson-light);
}

.approach-section .section-label::before {
    background-color: var(--rv-crimson-light);
}

.approach-section p {
    color: rgba(255, 255, 255, 0.7);
}

.approach-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 0;
}

.approach-item + .approach-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.approach-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(200, 16, 46, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.approach-icon i {
    color: var(--rv-crimson-light);
    font-size: 1.2rem;
}

.approach-item h4 {
    color: var(--rv-white);
    font-family: var(--rv-font-body);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.approach-item p {
    font-size: 0.88rem;
    margin-bottom: 0;
}

.approach-animals {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    min-height: 400px;
}

.approach-animals img {
    max-height: 280px;
}

.global-section {
    position: relative;
    overflow: hidden;
}

.map-container {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.map-container svg {
    width: 100%;
    height: auto;
    display: block;
}

.global-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.global-stat {
    text-align: center;
}

.global-stat-number {
    font-family: var(--rv-font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--rv-crimson);
    line-height: 1;
}

.global-stat-label {
    font-size: 0.85rem;
    color: var(--rv-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-top: 0.5rem;
}

.lab-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1rem;
}

.lab-gallery-item {
    position: relative;
    overflow: hidden;
}

.lab-gallery-item:first-child {
    grid-row: span 2;
}

.lab-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--rv-transition);
}

.lab-gallery-item:hover img {
    transform: scale(1.05);
}

.lab-gallery-item .lab-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(77, 32, 23, 0.8));
    color: var(--rv-white);
    font-size: 0.88rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--rv-transition);
}

.lab-gallery-item:hover .lab-caption {
    opacity: 1;
    transform: translateY(0);
}

.mia-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 2rem;
    background-color: var(--rv-crimson);
    color: var(--rv-white);
    text-align: center;
}

.mia-badge-number {
    font-family: var(--rv-font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.mia-badge-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-top: 0.3rem;
}

.cta-section {
    position: relative;
    background-color: var(--rv-brown);
    overflow: hidden;
}

.cta-section h2 {
    color: var(--rv-white);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
}

.cta-pattern {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    overflow: hidden;
    pointer-events: none;
}

.cta-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(200, 16, 46, 0.2) 1px, transparent 1px);
    background-size: 24px 24px;
}

.contact-info-card {
    background: var(--rv-beige);
    padding: 2.5rem;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
}

.contact-info-item + .contact-info-item {
    border-top: 1px solid var(--rv-beige-dark);
}

.contact-info-item i {
    color: var(--rv-crimson);
    font-size: 1.2rem;
    margin-top: 2px;
}

.contact-info-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--rv-brown);
    margin-bottom: 0.2rem;
}

.contact-info-item span {
    font-size: 0.88rem;
    color: var(--rv-gray);
    line-height: 1.6;
}

.contact-form {
    background: var(--rv-white);
    padding: 2.5rem;
    border: 1px solid var(--rv-beige-dark);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--rv-beige-dark);
    border-radius: 0;
    padding: 0.85rem 1rem;
    font-family: var(--rv-font-body);
    font-size: 0.92rem;
    color: var(--rv-brown);
    transition: border-color 0.3s var(--rv-transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--rv-crimson);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.08);
}

.contact-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rv-brown);
    margin-bottom: 0.4rem;
}

.footer {
    background-color: var(--rv-black);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 2rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer h5 {
    color: var(--rv-white);
    font-family: var(--rv-font-body);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    transition: color 0.3s var(--rv-transition);
}

.footer a:hover {
    color: var(--rv-crimson-light);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
    padding-top: 2rem;
    font-size: 0.82rem;
}

.footer-logo {
    max-height: 44px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: none;
    display: block;
    background: rgba(255,255,255,0.92);
    padding: 8px 14px;
    border-radius: 4px;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background-color: var(--rv-crimson);
    color: var(--rv-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--rv-transition);
    cursor: pointer;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--rv-crimson-dark);
    transform: translateY(-3px);
}

@media (max-width: 991px) {
    .section-padding { padding: 4rem 0; }
    .hero-content h1 { font-size: clamp(2rem, 5vw, 3rem); }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .hero-stat-number { font-size: 2rem; }
    .hero-animal { display: none; }
    .global-stats { gap: 2rem; }
}

@media (max-width: 767px) {
    .navbar .navbar-collapse {
        background-color: var(--rv-white);
        padding: 1rem;
        margin-top: 0.5rem;
    }
    .navbar .navbar-collapse .nav-link {
        color: var(--rv-brown);
    }
    .hero-content { padding-top: 4rem; }
    .about-section .about-image-wrapper img { height: 350px; }
    .about-features { grid-template-columns: 1fr; }
    .lab-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .lab-gallery-item { height: 250px; }
    .lab-gallery-item:first-child { grid-row: span 1; }
}

.navbar-brand-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    transition: all 0.3s var(--rv-transition);
}

.navbar-brand img {
    max-height: 58px;
    width: auto;
    display: block;
    filter: none;
    transition: all 0.3s var(--rv-transition);
}

.navbar.scrolled .navbar-brand img {
    max-height: 48px;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

.dna-helix-wrap {
    display: none;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-card .service-list {
    flex-grow: 1;
}

.service-card .service-link {
    margin-top: auto;
}

.btn-brochure {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 2.5rem;
    background-color: var(--rv-crimson);
    color: var(--rv-white);
    font-family: var(--rv-font-body);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--rv-crimson);
    transition: all 0.4s var(--rv-transition);
}

.btn-brochure:hover {
    background-color: var(--rv-crimson-dark);
    border-color: var(--rv-crimson-dark);
    color: var(--rv-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.25);
}

.btn-brochure i {
    font-size: 1rem;
}

.service-icon {
    width: 72px;
    height: 72px;
    background-color: var(--rv-crimson);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.service-icon img {
    width: 82px;
    height: 82px;
    object-fit: contain;
}

@media (min-width: 992px) and (max-width: 1280px) {
    .section-padding { padding: 4rem 0; }
    .hero-content { padding-top: 5rem; }
    .hero-content h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
    .hero-stats { gap: 1.8rem; margin-top: 2.5rem; padding-top: 1.8rem; }
    .hero-stat-number { font-size: 2.2rem; }
    .about-section .about-image-wrapper img { height: 420px; }
    .service-card { padding: 2rem 1.5rem; }
    .service-card h3 { font-size: 1.1rem; }
    .lab-gallery { grid-template-rows: repeat(2, 230px); }
    .approach-animals img { max-height: 240px; }
    .global-stats { gap: 2.5rem; }
    .global-stat-number { font-size: 2.4rem; }
    .dna-helix-wrap { display: none; }
    .contact-form { padding: 2rem; }
    .contact-info-card { padding: 2rem; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .section-padding { padding: 3.5rem 0; }
    .hero-content h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
    .hero-stat-number { font-size: 2rem; }
    .lab-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .lab-gallery-item { height: 220px; }
    .lab-gallery-item:first-child { grid-row: span 1; }
    .global-stats { gap: 2rem; }
}

@media (max-width: 767px) {
    .section-padding { padding: 3rem 0; }
    .navbar-brand-wrap { padding: 0.25rem 0.5rem; }
    .navbar-brand img { max-height: 48px; }
}

.page-hero-spacer {
    height: 100px;
    background-color: var(--rv-brown);
}

@media (max-width: 991px) {
    .page-hero-spacer { height: 80px; }
    .page-title-section { padding: 9rem 0 3.5rem; }
}

.navbar .dropdown-menu {
    border: none;
    border-radius: 0;
    background-color: var(--rv-white);
    box-shadow: 0 8px 30px rgba(77, 32, 23, 0.12);
    padding: 0.5rem 0;
    min-width: 230px;
    margin-top: 0;
    border-top: 3px solid var(--rv-crimson);
    animation: dropFadeIn 0.22s var(--rv-transition);
}

@keyframes dropFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.navbar .dropdown-item {
    font-family: var(--rv-font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--rv-brown);
    padding: 0.65rem 1.4rem;
    transition: all 0.2s var(--rv-transition);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid var(--rv-beige);
}

.navbar .dropdown-item:last-child { border-bottom: none; }

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: var(--rv-beige);
    color: var(--rv-crimson);
    padding-left: 1.8rem;
}

.navbar .dropdown-item i {
    font-size: 1rem;
    color: var(--rv-crimson);
    width: 18px;
    flex-shrink: 0;
}

.navbar .nav-item.dropdown .nav-link::after {
    display: inline-block;
    margin-left: 0.3rem;
    vertical-align: 0.05em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform 0.2s var(--rv-transition);
}

.navbar .nav-item.dropdown.show .nav-link::after {
    transform: rotate(180deg);
}

.page-title-section {
    background-color: var(--rv-brown);
    padding: 11rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.page-title-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(200, 16, 46, 0.12) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.page-title-section .section-label { color: var(--rv-crimson-light); }
.page-title-section .section-label::before { background-color: var(--rv-crimson-light); }
.page-title-section h1 { color: var(--rv-white); font-size: clamp(2rem, 5vw, 3.2rem); }
.page-title-section p  { color: rgba(255,255,255,0.75); max-width: 620px; }

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-team-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--rv-white);
    border: 1px solid var(--rv-beige-dark);
    transition: all 0.4s var(--rv-transition);
}

.about-team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(77, 32, 23, 0.1);
}

.about-team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    border: 3px solid var(--rv-beige-dark);
}

.about-team-card h4 {
    font-family: var(--rv-font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.about-team-card .team-role {
    font-size: 0.82rem;
    color: var(--rv-crimson);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 575px) { .about-values-grid { grid-template-columns: 1fr; } }

.about-value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--rv-white);
    border: 1px solid var(--rv-beige-dark);
}

.about-value-icon {
    width: 44px;
    height: 44px;
    background-color: var(--rv-crimson);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-value-icon i { color: var(--rv-white); font-size: 1.1rem; }
.about-value-item h5 { font-family: var(--rv-font-body); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.about-value-item p  { font-size: 0.85rem; margin-bottom: 0; }

.lab-tour-wrapper {
    position: relative;
    background: var(--rv-brown);
    border-radius: 0;
    overflow: hidden;
    min-height: 560px;
}

.lab-tour-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: opacity 0.6s var(--rv-transition);
}

.lab-tour-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.lab-tour-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(77,32,23,0.95) 40%, rgba(77,32,23,0.4) 100%);
    z-index: 1;
}

.lab-tour-content {
    position: relative;
    z-index: 2;
    padding: 3.5rem;
    max-width: 520px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lab-tour-step-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rv-crimson-light);
    margin-bottom: 0.75rem;
}

.lab-tour-content h3 {
    color: var(--rv-white);
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.lab-tour-content p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.8;
}

.lab-tour-nav {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.lab-tour-btn {
    padding: 0.55rem 1.2rem;
    font-size: 0.82rem;
    font-family: var(--rv-font-body);
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,0.35);
    background: transparent;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s var(--rv-transition);
}

.lab-tour-btn.active,
.lab-tour-btn:hover {
    border-color: var(--rv-crimson);
    background: var(--rv-crimson);
    color: var(--rv-white);
}

.lab-tour-arrows {
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    z-index: 3;
    display: flex;
    gap: 0.5rem;
}

.lab-tour-arrow {
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255,255,255,0.3);
    background: transparent;
    color: var(--rv-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--rv-transition);
    font-size: 1rem;
}

.lab-tour-arrow:hover {
    background: var(--rv-crimson);
    border-color: var(--rv-crimson);
}

.lab-progress {
    display: flex;
    gap: 0.4rem;
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    z-index: 3;
}

.lab-progress-dot {
    width: 28px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.3s;
}

.lab-progress-dot.active { background: var(--rv-crimson); }

.jmp-section {
    background: var(--rv-brown);
    color: var(--rv-white);
}

.jmp-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 2.5rem;
}

.jmp-icon {
    width: 80px;
    height: 80px;
    background: var(--rv-crimson);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 2rem;
    color: var(--rv-white);
}

.jmp-card h3 {
    color: var(--rv-white);
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.jmp-card p { color: rgba(255,255,255,0.7); font-size: 0.92rem; margin-bottom: 0; }

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    background: var(--rv-crimson);
    color: var(--rv-white);
    font-family: var(--rv-font-body);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--rv-crimson);
    transition: all 0.3s var(--rv-transition);
    flex-shrink: 0;
}

.btn-download:hover {
    background: transparent;
    color: var(--rv-white);
    border-color: var(--rv-white);
}

@media (max-width: 767px) {
    .jmp-card { flex-direction: column; text-align: center; }
    .lab-tour-content { padding: 2rem 1.5rem; }
    .lab-tour-arrows { display: none; }
}

.navbar .nav-link-contact {
    color: var(--rv-white) !important;
    font-weight: 500;
    background-color: var(--rv-crimson) !important;
    border-radius: 0;
    margin-left: 0.5rem;
}

.navbar .nav-link-contact:hover {
    background-color: var(--rv-crimson-dark) !important;
    color: var(--rv-white) !important;
}

.navbar .nav-link-contact.active {
    background-color: var(--rv-crimson-dark) !important;
    color: var(--rv-white) !important;
}

.navbar .nav-link-contact::after,
.navbar .nav-link-contact.active::after {
    display: none !important;
}

.brochure-highlight-section {
    background: var(--rv-crimson);
    overflow: hidden;
    position: relative;
}

.brochure-highlight-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 3rem;
    min-height: 280px;
}

@media (max-width: 991px) {
    .brochure-highlight-inner {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
        gap: 2rem;
        text-align: center;
    }
    .brochure-highlight-left,
    .brochure-hl-visual { display: none; }
}

.brochure-highlight-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 0;
}

.brochure-hl-icon {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--rv-white);
    border: 2px solid rgba(255,255,255,0.25);
}

.brochure-hl-dots {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.brochure-hl-dots span {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
}

.brochure-hl-content {
    padding: 3rem 0;
}

.brochure-hl-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.75rem;
}

.brochure-hl-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--rv-white);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.brochure-hl-text {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.brochure-hl-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 2rem;
    background: var(--rv-white);
    color: var(--rv-crimson);
    font-family: var(--rv-font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.35s var(--rv-transition);
    position: relative;
    overflow: hidden;
}

.brochure-hl-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s var(--rv-transition);
}

.brochure-hl-btn small {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(200,16,46,0.6);
    padding: 0.15rem 0.5rem;
    background: var(--rv-beige);
    border-radius: 2px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.brochure-hl-btn:hover {
    background: var(--rv-brown);
    color: var(--rv-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.brochure-hl-btn:hover i {
    transform: translateY(2px);
}

.brochure-hl-btn:hover small {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
}

.brochure-hl-visual {
    position: relative;
    padding: 3rem 3rem 3rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brochure-hl-page {
    width: 130px;
    height: 175px;
    background: var(--rv-white);
    padding: 1.2rem 1rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transform: rotate(-2deg);
    transition: transform 0.4s var(--rv-transition);
}

.brochure-highlight-section:hover .brochure-hl-page {
    transform: rotate(0deg) translateY(-4px);
}

.brochure-hl-page-logo img {
    filter: none;
    max-width: 70px;
}

.brochure-hl-page-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: auto;
}

.brochure-hl-page-lines span {
    display: block;
    height: 3px;
    background: var(--rv-beige-dark);
    border-radius: 2px;
}

.brochure-hl-page-lines span:first-child { width: 100%; }
.brochure-hl-page-lines span:nth-child(2) { width: 85%; }
.brochure-hl-page-lines span:nth-child(3) { width: 90%; }
.brochure-hl-page-lines span:nth-child(4) { width: 75%; }
.brochure-hl-page-lines span:nth-child(5) { width: 95%; }
.brochure-hl-page-lines span:nth-child(6) { width: 65%; }

.brochure-hl-page-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--rv-crimson);
}

.brochure-hl-shadow {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 130px;
    height: 20px;
    background: rgba(0,0,0,0.2);
    filter: blur(8px);
    z-index: 1;
}

.bg-brown .section-label { color: var(--rv-crimson-light); }
.bg-brown .section-label::before { background-color: var(--rv-crimson-light); }
.bg-brown .section-title,
.bg-brown h2 { color: var(--rv-white); }
.bg-brown p { color: rgba(255, 255, 255, 0.72); }


.vac-count {
    font-size: 0.85rem;
    color: var(--rv-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0;
}

.vac-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vac-card {
    background: var(--rv-white);
    border: 1px solid var(--rv-beige-dark);
    border-left: 4px solid var(--rv-crimson);
    transition: all 0.35s var(--rv-transition);
    overflow: hidden;
}

.vac-card:hover {
    box-shadow: 0 12px 40px rgba(77, 32, 23, 0.1);
    transform: translateY(-3px);
    border-left-color: var(--rv-brown);
}

.vac-card-header { padding: 2rem 2rem 1.25rem; }

.vac-dept {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rv-crimson);
    margin-bottom: 0.5rem;
}

.vac-title {
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 300;
    color: var(--rv-brown);
    margin-bottom: 1rem;
    font-family: var(--rv-font-heading);
    line-height: 1.2;
}

.vac-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.vac-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.84rem;
    color: var(--rv-gray);
    font-weight: 500;
}

.vac-meta i { color: var(--rv-crimson); font-size: 0.9rem; }

.vac-card-body {
    padding: 0 2rem 1.5rem;
    border-top: 1px solid var(--rv-beige);
}

.vac-description {
    padding-top: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--rv-brown-light);
    max-height: 160px;
    overflow: hidden;
    position: relative;
}

.vac-description::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, var(--rv-white));
}

.vac-card-footer {
    padding: 1.25rem 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: var(--rv-beige);
    border-top: 1px solid var(--rv-beige-dark);
}

.vac-open-application {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--rv-beige);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.vac-open-application p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--rv-brown);
}

.vac-empty {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--rv-beige);
}

.vac-empty-icon {
    width: 80px;
    height: 80px;
    background: var(--rv-white);
    border: 2px solid var(--rv-beige-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--rv-gray);
    margin: 0 auto 1.5rem;
}

.vac-empty h3 { margin-bottom: 0.75rem; }
.vac-empty p  { margin-bottom: 2rem; color: var(--rv-gray); }

#vacModal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(26, 14, 10, 0.78) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.5rem !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#vacModal.active {
    opacity: 1 !important;
    pointer-events: all !important;
}

.vac-modal {
    background: var(--rv-white);
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    overflow: hidden;
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    position: relative;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.35s ease;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    border-radius: 0;
}

#vacModal.active .vac-modal {
    transform: translateY(0) scale(1);
}

.vac-modal-close {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    width: 36px !important;
    height: 36px !important;
    background: rgba(255,255,255,0.18) !important;
    border: none !important;
    color: var(--rv-white) !important;
    font-size: 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    border-radius: 0 !important;
    line-height: 1 !important;
    padding: 0 !important;
    transition: background 0.2s !important;
}

.vac-modal-close:hover { background: rgba(255,255,255,0.3) !important; }

.vac-modal-left {
    background: var(--rv-brown);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
}

.vac-modal-left::before {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.1);
    pointer-events: none;
}

.vac-modal-brand img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    max-width: 120px;
    height: auto;
    display: block;
}

.vac-modal-dept {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rv-crimson-light);
    margin-bottom: 0.4rem;
}

.vac-modal-jobtitle {
    font-size: 1.35rem;
    font-weight: 300;
    color: var(--rv-white);
    line-height: 1.25;
    margin-bottom: 1rem;
    font-family: var(--rv-font-heading);
}

.vac-modal-tags {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vac-modal-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
}

.vac-modal-tag i { color: var(--rv-crimson-light); font-size: 0.85rem; }

.vac-modal-why h4 {
    font-family: var(--rv-font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 0.75rem;
}

.vac-modal-why ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vac-modal-why li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.4;
}

.vac-modal-why li i { color: var(--rv-crimson-light); margin-top: 2px; flex-shrink: 0; }
.vac-modal-why li::before { display: none !important; }

.vac-modal-right {
    padding: 2.5rem;
    overflow-y: auto;
    max-height: 90vh;
}

.vac-modal-form-title {
    font-family: var(--rv-font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--rv-brown);
    margin-bottom: 0.3rem;
}

.vac-modal-form-sub {
    font-size: 0.87rem;
    color: var(--rv-gray);
    margin-bottom: 1.75rem;
}

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

.vac-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.vac-form-group > label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--rv-brown);
    margin-bottom: 0.4rem;
    display: block;
}

.vac-form-group label span { color: var(--rv-crimson); }

.vac-label-hint {
    font-weight: 400 !important;
    color: var(--rv-gray) !important;
    font-size: 0.73rem !important;
    margin-left: 0.25rem;
}

.vac-form-group input[type="text"],
.vac-form-group input[type="email"],
.vac-form-group input[type="tel"],
.vac-form-group textarea {
    border: 1.5px solid var(--rv-beige-dark) !important;
    border-radius: 0 !important;
    padding: 0.72rem 0.9rem !important;
    font-family: var(--rv-font-body) !important;
    font-size: 0.88rem !important;
    color: var(--rv-brown) !important;
    background: var(--rv-white) !important;
    width: 100% !important;
    box-shadow: none !important;
    transition: border-color 0.25s !important;
    resize: vertical;
}

.vac-form-group input:focus,
.vac-form-group textarea:focus {
    outline: none !important;
    border-color: var(--rv-crimson) !important;
    box-shadow: 0 0 0 3px rgba(200,16,46,0.07) !important;
}

.vac-file-label input[type="file"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0.1px !important;
    height: 0.1px !important;
    overflow: hidden !important;
    z-index: -1 !important;
}

.vac-file-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.72rem 0.9rem;
    border: 1.5px dashed var(--rv-beige-dark);
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--rv-gray);
    background: var(--rv-beige);
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.vac-file-label:hover {
    border-color: var(--rv-crimson);
    color: var(--rv-brown);
    background: var(--rv-white);
}

.vac-file-label i { font-size: 1rem; flex-shrink: 0; }

.vac-form-error {
    background: rgba(200,16,46,0.06);
    border: 1px solid rgba(200,16,46,0.2);
    color: #9b0d24;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    border-radius: 0;
}

.vac-submit-btn {
    width: 100% !important;
    justify-content: center !important;
    margin-top: 0.5rem !important;
}

@keyframes vac-spin { to { transform: rotate(360deg); } }
.vac-spin { display: inline-block; animation: vac-spin 0.8s linear infinite; }

.vac-success-msg {
    text-align: center;
    padding: 3.5rem 1.5rem;
}

.vac-success-msg i {
    font-size: 3.5rem;
    color: #27ae60;
    display: block;
    margin-bottom: 1rem;
}

.vac-success-msg strong {
    display: block;
    font-size: 1.2rem;
    font-family: var(--rv-font-heading);
    color: var(--rv-brown);
    margin-bottom: 0.5rem;
}

.vac-success-msg p { color: var(--rv-gray); font-size: 0.92rem; }

@media (max-width: 767px) {
    .vac-modal {
        grid-template-columns: 1fr !important;
        max-height: 95vh;
    }
    .vac-modal-left { display: none !important; }
    .vac-modal-close {
        background: var(--rv-beige-dark) !important;
        color: var(--rv-brown) !important;
    }
    .vac-form-row { grid-template-columns: 1fr; }
    .vac-modal-right { padding: 2rem 1.5rem; max-height: 95vh; }
    .vac-card-header,
    .vac-card-body,
    .vac-card-footer { padding-left: 1.25rem; padding-right: 1.25rem; }
    .vac-open-application { flex-direction: column; text-align: center; }
}

@media (max-width: 991px) {
    .page-title-section { padding: 7rem 0 3rem; }
}

.navbar .navbar-nav .nav-link.active,
.navbar .nav-link.active,
.navbar.scrolled .navbar-nav .nav-link.active,
.navbar.scrolled .nav-link.active {
    color: var(--rv-crimson) !important;
    background-color: transparent !important;
    font-weight: 700 !important;
}

.navbar .navbar-nav .nav-link.active::after,
.navbar .nav-link.active::after,
.navbar.scrolled .navbar-nav .nav-link.active::after,
.navbar.scrolled .nav-link.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: 4px !important;
    left: 0.5rem !important;
    right: 0.5rem !important;
    height: 2px !important;
    background-color: var(--rv-crimson) !important;
    display: block !important;
}

.qc-cert-card {
    display: flex;
    flex-direction: column;
    background: var(--rv-beige);
    border: 1px solid var(--rv-beige-dark);
    padding: 2.5rem;
    width: 100%;
    height: 100%;
}

.qc-cert-icon {
    width: 64px;
    height: 64px;
    background: var(--rv-crimson);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 1.25rem;
}

.qc-cert-icon i {
    font-size: 1.8rem;
    color: var(--rv-white);
}

.qc-cert-card h3 {
    font-size: 1.15rem;
    font-family: var(--rv-font-body);
    font-weight: 700;
    margin-bottom: 0.75rem;
    white-space: nowrap;
}

.qc-cert-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    flex-grow: 1;
}

.qc-cert-btn {
    align-self: flex-start;
    margin-top: auto;
}

.jmp-card-light {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--rv-beige);
    border: 1px solid var(--rv-beige-dark);
    padding: 2.5rem;
}

.jmp-card-light h3 {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: var(--rv-brown);
}

.jmp-card-light p {
    font-size: 0.92rem;
    margin-bottom: 0;
    color: var(--rv-brown-light);
}

.btn-download-light {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    background: var(--rv-crimson);
    color: var(--rv-white);
    font-family: var(--rv-font-body);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--rv-crimson);
    transition: all 0.3s var(--rv-transition);
    flex-shrink: 0;
}

.btn-download-light:hover {
    background: var(--rv-brown);
    color: var(--rv-white);
    border-color: var(--rv-brown);
}

@media (max-width: 767px) {
    .jmp-card-light { flex-direction: column; text-align: center; }
    .qc-cert-card h3 { white-space: normal; }
}
