/* Base Styles & Variables */
:root {
    --espresso: #3A2E26;
    --taupe: #D2B48C;
    --blush: #F3D5C0;
    --black: #1A1A1A;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --light-taupe: #E8D9C5;
    --dark-espresso: #2A211B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-taupe);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--espresso);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--dark-espresso);
    max-width: 700px;
    margin: 0 auto;
}

.gold-line {
    width: 100px;
    height: 2px;
    background-color: var(--gold);
    margin: 1rem auto;
    transition: transform 0.5s ease;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: var(--espresso);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-logo {
    display: flex;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.preloader-logo .logo-part-1 {
    color: var(--espresso);
}

.preloader-logo .logo-part-2 {
    color: var(--gold);
    margin-left: 0.5rem;
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background-color: var(--blush);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-progress {
    height: 100%;
    width: 0;
    background-color: var(--gold);
    transition: width 0.5s ease;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 1rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    z-index: 1001;
}

.logo-part-1 {
    color: var(--espresso);
}

.logo-part-2 {
    color: var(--gold);
    margin-left: 0.5rem;
}

.hamburger {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger .line {
    width: 100%;
    height: 2px;
    background-color: var(--espresso);
    transition: all 0.3s ease;
}

.hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: rgba(243, 213, 192, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.5s ease;
    z-index: 1000;
}

.nav.active {
    right: 0;
}

.nav-list {
    text-align: center;
    margin-bottom: 3rem;
}

.nav-list li {
    margin: 2rem 0;
}

.nav-list a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--espresso);
    position: relative;
    padding-bottom: 5px;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-social {
    display: flex;
    gap: 1.5rem;
}

.nav-social a {
    font-size: 1.2rem;
    color: var(--espresso);
    transition: transform 0.3s ease;
}

.nav-social a:hover {
    transform: translateY(-3px);
    color: var(--gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-split {
    display: flex;
    height: calc(100vh - 80px);
}

.split-left, .split-right {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: all 0.5s ease;
    overflow: hidden;
}

.split-left::before, .split-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
}

.split-content {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    z-index: 1;
    transform: translateY(30px);
    opacity: 0;
}

.split-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.split-content p {
    font-size: 1.2rem;
    max-width: 400px;
}

.hero-cta {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.cta-button {
    padding: 1rem 2.5rem;
    background-color: var(--gold);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 2px solid var(--gold);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Mobile CTA Button */
.cta-mobile-floating {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 998;
}

.cta-button-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button-mobile i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.cta-button-mobile span {
    position: absolute;
    opacity: 0;
    width: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button-mobile:hover {
    width: auto;
    padding: 0 20px;
    border-radius: 30px;
}

.cta-button-mobile:hover i {
    margin-right: 10px;
}

.cta-button-mobile:hover span {
    opacity: 1;
    width: auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
    margin-bottom: 5px;
}

.wheel {
    width: 5px;
    height: 8px;
    background-color: var(--white);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

.arrow-down {
    width: 15px;
    height: 15px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(-10px); }
    60% { transform: rotate(45deg) translateY(-5px); }
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--white);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--light-taupe), var(--white));
    z-index: 0;
}

.about-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--blush);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.toggle-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--dark-espresso);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.toggle-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.toggle-btn.active {
    color: var(--espresso);
}

.toggle-btn.active::after {
    width: 100%;
}

.about-content {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: flex;
    flex-direction: column;
}

.about-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--espresso);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--dark-espresso);
}

.about-features {
    margin: 2rem 0;
}

.about-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--dark-espresso);
}

.about-features i {
    color: var(--gold);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 0 2rem;
}

.value-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(210, 180, 140, 0.3);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: var(--blush);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--gold);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background-color: var(--gold);
    color: var(--white);
    transform: rotateY(180deg);
}

.value-card h4 {
    margin-bottom: 0.5rem;
    color: var(--espresso);
}

.value-card p {
    color: var(--dark-espresso);
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--light-taupe);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), var(--light-taupe));
    z-index: 0;
}

.service-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: none;
    border: 1px solid var(--taupe);
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--espresso);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.filter-btn:hover:not(.active) {
    background-color: var(--blush);
    border-color: var(--blush);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    z-index: 1;
    border: 1px solid rgba(210, 180, 140, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--blush) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card:hover::before {
    opacity: 0.1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--blush);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--gold);
    transition: all 0.3s ease;
}

.service-card:hover .card-icon {
    background-color: var(--gold);
    color: var(--white);
    transform: rotate(15deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--espresso);
}

.service-card p {
    color: var(--dark-espresso);
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.card-hover {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.service-card:hover .card-hover {
    max-height: 300px;
}

.card-hover ul {
    margin-bottom: 1.5rem;
}

.card-hover li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    color: var(--dark-espresso);
    font-size: 0.9rem;
}

.card-hover i {
    color: var(--gold);
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.service-cta {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.service-cta:hover {
    background-color: var(--gold);
    color: var(--white);
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background-color: var(--white);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--light-taupe), var(--white));
    z-index: 0;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.port-filter-btn {
    padding: 0.7rem 1.5rem;
    background: none;
    border: 1px solid var(--taupe);
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--espresso);
    cursor: pointer;
    transition: all 0.3s ease;
}

.port-filter-btn.active {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.port-filter-btn:hover:not(.active) {
    background-color: var(--blush);
    border-color: var(--blush);
}

.masonry-grid {
    column-count: 1;
    column-gap: 1.5rem;
    padding: 0 2rem;
    margin-bottom: 3rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.masonry-item:hover {
    transform: scale(1.02);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(58,46,38,0.9));
    color: white;
    transition: bottom 0.4s ease;
}

.masonry-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.portfolio-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .portfolio-zoom {
    opacity: 1;
}

.client-logos {
    text-align: center;
    margin-top: 4rem;
}

.client-logos h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--espresso);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.client-logos h4::before, .client-logos h4::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background-color: var(--taupe);
}

.client-logos h4::before {
    left: -60px;
}

.client-logos h4::after {
    right: -60px;
}

.logo-carousel {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 0 2rem;
    margin-top: 2rem;
}

.logo-slide {
    height: 60px;
    display: flex;
    align-items: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-slide:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.logo-slide img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--light-taupe);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), var(--light-taupe));
    z-index: 0;
}

.testimonial-carousel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonial-slide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonial-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.testimonial-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.testimonial-content {
    padding: 2rem;
}

.client-rating {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark-espresso);
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--blush);
    position: absolute;
    top: -20px;
    left: -15px;
    line-height: 1;
    z-index: -1;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--blush);
}

.client-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--espresso);
    margin-bottom: 0.3rem;
}

.client-info p {
    font-size: 0.8rem;
    color: var(--taupe);
}

.case-studies {
    margin-top: 4rem;
    padding: 0 2rem;
}

.case-studies h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--espresso);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
}

.case-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.case-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.case-content {
    padding: 1.5rem;
}

.case-content h4 {
    color: var(--espresso);
    margin-bottom: 0.5rem;
}

.case-content p {
    color: var(--dark-espresso);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.case-link {
    display: inline-flex;
    align-items: center;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.case-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.case-link:hover {
    color: var(--espresso);
}

.case-link:hover i {
    transform: translateX(5px);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--light-taupe), var(--white));
    z-index: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background-color: var(--light-taupe);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(210, 180, 140, 0.5);
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-card h4 {
    color: var(--espresso);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--dark-espresso);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.info-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-link:hover {
    background-color: var(--espresso);
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(210, 180, 140, 0.3);
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    text-align: center;
    color: var(--espresso);
    margin-bottom: 2rem;
}

.form-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-card {
    position: relative;
}

.option-card input {
    position: absolute;
    opacity: 0;
}

.option-card input:checked + .option-content {
    border-color: var(--gold);
    background-color: rgba(212, 175, 55, 0.1);
}

.option-content {
    padding: 1.5rem 1rem;
    border: 1px solid var(--blush);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.option-content:hover {
    border-color: var(--taupe);
}

.option-content i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.option-content span {
    color: var(--espresso);
    font-weight: 600;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--blush);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
}

.form-prev {
    padding: 0.8rem 1.5rem;
    background: none;
    border: 1px solid var(--taupe);
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--espresso);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-prev:hover {
    background-color: var(--blush);
    border-color: var(--blush);
}

.form-submit {
    padding: 0.8rem 1.5rem;
    background-color: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background-color: var(--espresso);
}

/* FormSubmit.co Success Message */
.form-success {
    text-align: center;
    padding: 2rem;
    background-color: rgba(243, 213, 192, 0.3);
    border-radius: 10px;
    margin-top: 1rem;
}

.form-success i {
    color: var(--gold);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.form-success h3 {
    color: var(--espresso);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--dark-espresso);
    margin-bottom: 1.5rem;
}

.form-close {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-close:hover {
    background-color: var(--espresso);
}

.contact-map {
    margin-top: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background-color: var(--espresso);
    color: var(--light-taupe);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-part-1 {
    color: var(--white);
}

.footer-logo .logo-part-2 {
    color: var(--gold);
    margin-left: 0.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-services h4,
.footer-newsletter h4 {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-services a {
    color: var(--light-taupe);
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--gold);
    opacity: 1;
    padding-left: 5px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 30px 0 0 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.newsletter-form button {
    width: 50px;
    background-color: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--dark-espresso);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.8rem;
    color: var(--light-taupe);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--gold);
    opacity: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--espresso);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (min-width: 768px) {
    /* Tablet styles */
    .hero-split {
        flex-direction: row;
    }
    
    .split-left, .split-right {
        height: 100%;
    }
    
    .split-content h1 {
        font-size: 3.5rem;
    }
    
    .about-content {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
    
    .about-image {
        flex: 1;
        margin-bottom: 0;
    }
    
    .about-text {
        flex: 1;
    }
    
    .testimonial-slide {
        grid-template-columns: 1fr 1fr;
    }
    
    .testimonial-video {
        padding-bottom: 0;
        height: 100%;
    }
    
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 767px) {
    .hero-cta .cta-button {
        display: none;
    }
    
    .cta-mobile-floating {
        display: block;
    }
    
    /* Adjust form steps for mobile */
    .form-options {
        grid-template-columns: 1fr !important;
    }
    
    .option-content {
        padding: 1rem !important;
    }
    
    /* Adjust testimonial layout */
    .testimonial-slide {
        grid-template-columns: 1fr !important;
    }
    
    /* Adjust contact info layout */
    .contact-info {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 1024px) {
    /* Desktop styles */
    .hamburger {
        display: none;
    }
    
    .nav {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        backdrop-filter: none;
        flex-direction: row;
        justify-content: flex-end;
    }
    
    .nav-list {
        display: flex;
        margin-bottom: 0;
    }
    
    .nav-list li {
        margin: 0 1.5rem;
    }
    
    .nav-list a {
        font-size: 1rem;
    }
    
    .nav-social {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
    
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .masonry-grid {
        column-count: 3;
    }
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Lightbox Overrides */
.lightbox .lb-image {
    border: 10px solid var(--white);
    border-radius: 5px;
}

.lb-data .lb-close {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23D4AF37"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>') no-repeat center center;
}

.lb-data .lb-number {
    color: var(--gold);
}

/* Legal Pages Styling */
.legal-page {
    padding: 6rem 0 4rem;
    background-color: var(--white);
}

.legal-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-section h1 {
    font-size: 2.5rem;
    color: var(--espresso);
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--taupe);
    margin-bottom: 3rem;
    font-style: italic;
}

.policy-article {
    margin-bottom: 3rem;
}

.policy-article h2 {
    font-size: 1.5rem;
    color: var(--espresso);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.policy-article h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--gold);
}

.policy-article p, 
.policy-article ul {
    margin-bottom: 1rem;
    color: var(--dark-espresso);
    line-height: 1.7;
}

.policy-article ul {
    padding-left: 1.5rem;
}

.policy-article li {
    margin-bottom: 0.5rem;
}

.policy-article address {
    font-style: normal;
    margin-top: 1rem;
}

.policy-article a {
    color: var(--gold);
    text-decoration: underline;
}

.policy-article a:hover {
    color: var(--espresso);
}

@media (max-width: 768px) {
    .legal-section {
        padding: 0 1.5rem;
    }
    
    .legal-section h1 {
        font-size: 2rem;
    }
    
    .policy-article h2 {
        font-size: 1.3rem;
    }
}

/* Service Page Styles */
.service-hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.service-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.service-hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.service-details {
    padding: 5rem 0;
    background-color: var(--white);
}

.service-overview {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.service-overview h2 {
    font-size: 2.2rem;
    color: var(--espresso);
    margin-bottom: 1.5rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--light-taupe);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--espresso);
}

.type-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
}

.type-card.reverse {
    direction: rtl;
}

.type-card.reverse > * {
    direction: ltr;
}

.type-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.type-content h3 {
    font-size: 1.8rem;
    color: var(--espresso);
    margin-bottom: 1rem;
}

.type-content ul {
    margin: 1.5rem 0;
}

.type-content li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.type-content i {
    color: var(--gold);
    margin-right: 0.5rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-taupe);
    border-radius: 10px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(58,46,38,0.9));
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.platform-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-taupe);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-10px);
}

.platform-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.service-cta {
    padding: 4rem 0;
    background-color: var(--espresso);
    color: var(--white);
    text-align: center;
}

.service-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.service-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .type-card {
        grid-template-columns: 1fr 1fr;
    }
    
    .service-hero-content h1 {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .service-hero-content h1 {
        font-size: 5rem;
    }
}

/* Updated Hero Section */
.hero {
    height: 100vh;
    min-height: 600px; /* Prevent content squeezing on small screens */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    overflow: hidden; /* Prevent any scrolling artifacts */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.4) 0%, 
        rgba(0,0,0,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: rgba(0,0,0,0.3); /* Slight background for text */
    border-radius: 10px;
}

.hero-branding {
    margin-bottom: 2rem;
}

.hero-branding h1 {
    font-size: clamp(2.5rem, 6vw, 4rem); /* Responsive font scaling */
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    letter-spacing: 1px;
    padding: 0 10px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    padding: 0 20px;
}

/* CTA Button Styling */
.hero-cta {
    margin-top: 2rem;
    position: relative;
    z-index: 3;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-shadow: none;
    font-size: 1rem;
    border: 2px solid var(--gold);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--gold);
    transform: translateY(-3px);
}

/* Mobile CTA Button */
.cta-mobile-floating {
    display: none;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
    
    .hero-content {
        width: 95%;
        padding: 30px 15px;
    }
    
    .hero-branding h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .cta-mobile-floating {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }
}

@media (max-width: 480px) {
    .hero-branding h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta .cta-button {
        display: none;
    }
}

/* Updated Hero Section */
.hero {
    height: 100vh;
    min-height: 600px; /* Prevent content squeezing on small screens */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    overflow: hidden; /* Prevent any scrolling artifacts */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.4) 0%, 
        rgba(0,0,0,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: rgba(0,0,0,0.3); /* Slight background for text */
    border-radius: 10px;
}

.hero-branding {
    margin-bottom: 2rem;
}

.hero-branding h1 {
    font-size: clamp(2.5rem, 6vw, 4rem); /* Responsive font scaling */
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    letter-spacing: 1px;
    padding: 0 10px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    padding: 0 20px;
}

/* CTA Button Styling */
.hero-cta {
    margin-top: 2rem;
    position: relative;
    z-index: 3;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-shadow: none;
    font-size: 1rem;
    border: 2px solid var(--gold);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--gold);
    transform: translateY(-3px);
}

/* Mobile CTA Button */
.cta-mobile-floating {
    display: none;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
    
    .hero-content {
        width: 95%;
        padding: 30px 15px;
    }
    
    .hero-branding h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .cta-mobile-floating {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }
}

@media (max-width: 480px) {
    .hero-branding h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta .cta-button {
        display: none;
    }
}

/* Case Study Pages */
.case-study-page .header {
    background-color: rgba(255,255,255,0.98);
}

.case-hero {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
}

.case-header {
    position: relative;
    z-index: 2;
    padding-bottom: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-category {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.case-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.case-excerpt {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.case-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--taupe);
    border-bottom: 1px solid var(--taupe);
}

.meta-item h4 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-content h2 {
    color: var(--espresso);
    margin: 3rem 0 1.5rem;
    font-size: 1.8rem;
}

.case-features {
    margin: 2rem 0;
}

.case-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.case-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item p {
    margin-top: 0.5rem;
    font-style: italic;
    color: var(--taupe);
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-taupe);
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--espresso);
}

.case-testimonial {
    padding: 2rem;
    margin: 3rem 0;
    border-left: 3px solid var(--gold);
    background-color: var(--light-taupe);
    font-style: italic;
}

.case-testimonial cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--espresso);
}

.case-cta {
    padding: 5rem 0;
    background-color: var(--espresso);
    color: var(--white);
    text-align: center;
}

.case-cta h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .case-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .case-header {
        padding-bottom: 2rem;
    }
    
    .case-meta {
        grid-template-columns: 1fr 1fr;
    }
}

/* Base Styles & Variables */
:root {
    --espresso: #3A2E26;
    --taupe: #D2B48C;
    --blush: #F3D5C0;
    --black: #1A1A1A;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --light-taupe: #E8D9C5;
    --dark-espresso: #2A211B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-taupe);
    overscroll-behavior-y: contain;
}

/* Critical above-the-fold styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero {
    height: 100vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Rest of your CSS remains the same, but add this for logo colors */
.logo-slide {
    height: 60px;
    display: flex;
    align-items: center;
    filter: none; /* Remove grayscale filter */
    opacity: 1; /* Full opacity */
    transition: transform 0.3s ease;
}

.logo-slide:hover {
    transform: scale(1.1);
}

/* Mobile viewport fix */
@media (max-width: 767px) {
    body {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
    
    html {
        height: -webkit-fill-available;
    }
    
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Video Background Styles */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

/* Optimized Hero Section */
.hero {
    height: 100vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    overflow: hidden;
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    .video-background video {
        /* Adjust video sizing for mobile */
        width: 100%;
        height: 100%;
        min-width: auto;
        min-height: auto;
    }
    
    .hero {
        min-height: 100vh;
    }
}


/* Experience Badge Styles */
.experience-badge {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gold);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.experience-pill {
    display: inline-block;
    background-color: var(--gold);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.8rem;
    vertical-align: middle;
    line-height: 1.4;
}

.experience-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

/* Hero Counter Styles */
.experience-counter {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.counter-item {
    text-align: center;
    padding: 1rem;
    min-width: 120px;
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.counter-item p {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Timeline Section Styles */
.timeline-section {
    max-width: 1200px;
    margin: 5rem auto 0;
    padding: 0 2rem;
}

.timeline-section h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--espresso);
    margin-bottom: 3rem;
    position: relative;
}

.timeline-section h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background-color: var(--taupe);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.timeline-year {
    width: 80px;
    height: 80px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.timeline-content {
    position: absolute;
    top: 0;
    width: calc(50% - 100px);
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    right: 0;
    text-align: left;
}

.timeline-content h4 {
    color: var(--espresso);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--dark-espresso);
    font-size: 0.9rem;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        justify-content: flex-start;
        padding-left: 80px;
    }
    
    .timeline-year {
        left: 0;
        position: absolute;
    }
    
    .timeline-content {
        width: 100%;
        position: relative;
        left: auto !important;
        right: auto !important;
        text-align: left !important;
        margin-top: 1rem;
    }
}

/* Preloader Experience Badge */
.preloader-logo {
    position: relative;
}

.preloader .experience-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    padding: 0.3rem 1rem;
}

/* Footer Year Range */
.footer-bottom p:first-child {
    position: relative;
    padding-left: 30px;
}

.footer-bottom p:first-child::before {
    content: '2016-';
    position: absolute;
    left: 0;
}

/* Header Logo with Experience Pill */
.logo-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .experience-counter {
        gap: 1rem;
    }
    
    .counter-item {
        min-width: 100px;
        padding: 0.5rem;
    }
    
    .counter {
        font-size: 2rem;
    }
    
    .experience-pill {
        display: none; /* Hide on mobile if space is tight */
    }
}

/* Animation for counters */
@keyframes countUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.counter-item {
    animation: countUp 0.6s ease forwards;
    opacity: 0;
}

.counter-item:nth-child(1) { animation-delay: 0.2s; }
.counter-item:nth-child(2) { animation-delay: 0.4s; }
.counter-item:nth-child(3) { animation-delay: 0.6s; }

/* Legal Pages Styling */
.legal-page {
    padding: 6rem 0 4rem;
    background-color: var(--white);
}

.legal-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-section h1 {
    font-size: 2.5rem;
    color: var(--espresso);
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--taupe);
    margin-bottom: 3rem;
    font-style: italic;
}

.policy-article {
    margin-bottom: 3rem;
}

.policy-article h2 {
    font-size: 1.5rem;
    color: var(--espresso);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.policy-article h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--gold);
}

.policy-article p, 
.policy-article ul {
    margin-bottom: 1rem;
    color: var(--dark-espresso);
    line-height: 1.7;
}

.policy-article ul {
    padding-left: 1.5rem;
}

.policy-article li {
    margin-bottom: 0.5rem;
}

.policy-article address {
    font-style: normal;
    margin-top: 1rem;
}

.policy-article a {
    color: var(--gold);
    text-decoration: underline;
}

.policy-article a:hover {
    color: var(--espresso);
}

.policy-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.policy-article th, 
.policy-article td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--taupe);
}

.policy-article th {
    background-color: var(--light-taupe);
    color: var(--espresso);
}

@media (max-width: 768px) {
    .legal-section {
        padding: 0 1.5rem;
    }
    
    .legal-section h1 {
        font-size: 2rem;
    }
    
    .policy-article h2 {
        font-size: 1.3rem;
    }
    
    .policy-article table {
        display: block;
        overflow-x: auto;
    }
}

/* Enhanced Services Section */
.service-process {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 2rem;
    text-align: center;
}

.service-process h3 {
    font-size: 1.8rem;
    color: var(--espresso);
    margin-bottom: 2rem;
    position: relative;
}

.service-process h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.step {
    background-color: var(--white);
    padding: 1.5rem 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease;
    border: 1px solid rgba(210, 180, 140, 0.3);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h4 {
    font-size: 1.1rem;
    color: var(--espresso);
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.8rem;
    color: var(--dark-espresso);
}

/* New Filter Category */
.filter-btn[data-filter="staffing"] {
    background-color: var(--taupe);
    border-color: var(--taupe);
}

.filter-btn[data-filter="staffing"].active {
    background-color: var(--espresso);
    border-color: var(--espresso);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-filters {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        margin-bottom: 0.5rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}