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

:root {
    --quimera-dark: #0a0a0f;
    --quimera-purple: #482999;
    --quimera-purple-secondary: #28145b;
    --quimera-gold: #fec6a1;
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;
    --border: 240 3.7% 15.9%;
    --radius: 0.75rem;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--quimera-dark);
    color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-feature-settings: "ss01", "ss02", "cv01", "cv02", "cv03";
    -webkit-font-smoothing: antialiased;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(155, 135, 245, 0.1);
}

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

.logo {
    height: 2rem;
    margin: 10px 0 0;
}

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

.nav-links a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--quimera-purple);
}

.cta-button {
    background: var(--quimera-purple);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.875rem;
}

.cta-button:hover {
    background: var(--quimera-purple-secondary);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #d1d5db;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(12px);
    padding: 1rem 1.5rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-bottom: 1px solid rgba(155, 135, 245, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mobile-menu a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.mobile-menu a:hover {
    color: var(--quimera-purple);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    width: 30vw;
    height: 30vw;
    border-radius: 50%;
    background: rgba(155, 135, 245, 0.2);
    filter: blur(100px);
    z-index: -1;
    transform: translateY(-50%);
}

.hero::after {
    content: '';
    position: absolute;
    top: 33%;
    right: 25%;
    width: 25vw;
    height: 25vw;
    border-radius: 50%;
    background: rgba(254, 198, 161, 0.1);
    filter: blur(120px);
    z-index: -1;
    transform: translateY(-50%);
}

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


.hero-text {
    text-align: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-text .gold-text {
    background: linear-gradient(to right, var(--quimera-gold), #fde68a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-top: 0.5rem;
}

.hero-text p {
    color: #d1d5db;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeIn 0.6s ease 0.2s forwards;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.6s ease 0.4s forwards;
}

.btn-primary {
    background: var(--quimera-purple);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--quimera-purple-secondary);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--quimera-gold);
    color: var(--quimera-gold);
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: rgba(254, 198, 161, 0.1);
}

.hero-image {
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: fadeInScale 0.6s ease 0.2s forwards;
}

.hero-image img {
    width: 70%;
    max-width: 70%;
    animation: float 6s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.scroll-indicator:hover {
    color: #d1d5db;
}

.scroll-indicator span {
    font-size: 0.875rem;
}

.chevron-down {
    animation: bounce 2s infinite;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    .hero-text {
        text-align: left;
    }
    .hero-text h1 {
        font-size: 3.75rem;
    }
    .hero-text p {
        margin-left: 0;
        margin-right: 0;
    }
    .hero-buttons {
        justify-content: flex-start;
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 33%;
    width: 30vw;
    height: 40vh;
    border-radius: 50%;
    background: rgba(155, 135, 245, 0.1);
    filter: blur(120px);
    z-index: -1;
}

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

.section-header h2 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-header .gold-text {
    background: linear-gradient(to right, var(--quimera-gold), #fde68a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: #d1d5db;
    font-size: 1.125rem;
    max-width: 32rem;
    margin: 0 auto;
}

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

.service-card {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(155, 135, 245, 0.2);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: rgba(155, 135, 245, 0.5);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    display: block;
}

.service-card:hover .service-icon {
    /* transform: scale(1.1); */
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--quimera-purple);
}

.service-card p {
    color: #9ca3af;
    line-height: 1.6;
}

/* Approach Section */
.approach {
    padding: 6rem 0;
    /* background: linear-gradient(to bottom, var(--quimera-dark), #16161e); */
    position: relative;
}

.approach::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    background: rgba(155, 135, 245, 0.1);
    filter: blur(120px);
    z-index: -1;
    transform: translateY(-50%);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.approach-step {
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.approach-step.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.step-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--quimera-gold), #fde68a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: rgba(155, 135, 245, 0.2);
    z-index: -1;
    transform: translate(-50%, -50%);
}

.approach-step h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.approach-step p {
    color: #9ca3af;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 30vw;
    height: 30vw;
    border-radius: 50%;
    background: rgba(254, 198, 161, 0.1);
    filter: blur(120px);
    z-index: -1;
}

.projects-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.projects-header .section-header {
    text-align: left;
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.projects-link {
    color: var(--quimera-gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.projects-link:hover {
    color: rgba(254, 198, 161, 0.8);
}

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

.projects-grid iframe {
    min-height: 450px;
}   

.project-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.project-item.fade-in.visible {
    opacity: 0.25;
    height: 380px;
    overflow: hidden;
}

.project-item.fade-in.visible:hover {
    opacity: 1;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(147, 51, 234, 0.2), rgba(59, 130, 246, 0.2));
    opacity: 0.2;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.project-card:hover::before {
    opacity: 0.4;
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3), transparent);
    z-index: 2;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    z-index: 3;
}

.project-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: var(--quimera-gold);
}

.project-client {
    font-size: 0.875rem;
    color: #d1d5db;
}

.project-card iframe html {
    overflow: hidden;
}

.logo-slider-wrapper {
  overflow: hidden;
  position: relative;
  padding: 1em 0 5em;
}

.logo-slider {
  display: flex;
  gap: 6rem;
  animation: scroll 40s linear infinite;
  width: max-content;
  align-items: center;
}

.logo-slide {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  max-height: 140px;
}

.logo-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.2);
  transition: filter 0.3s ease;
  opacity: 0.5;
}

.logo-slide.invert {
  filter: grayscale(100%) brightness(1.2) invert(1);
}

.logo-slide img:hover {
  filter: brightness(1.2);
  opacity: 1;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-slider-duplicate {
  display: flex;
  gap: 6rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    /* background: linear-gradient(to bottom, #16161e, var(--quimera-dark)); */
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 33%;
    width: 30vw;
    height: 30vw;
    border-radius: 50%;
    background: rgba(155, 135, 245, 0.1);
    filter: blur(120px);
    z-index: -1;
}

.contact::after {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url(uploads/c96e2b98-5409-4c39-bca6-174decc0d95f.png);
    z-index: -1;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.008;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid rgba(155, 135, 245, 0.3);
    border-radius: 0.375rem;
    padding: 0.75rem;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--quimera-purple);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7280;
}

.form-group textarea {
    resize: none;
    min-height: 150px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item h3 svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--quimera-purple);
}

.contact-item a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--quimera-gold);
}

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

.social-links a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--quimera-gold);
}

.cta-card {
    background: rgba(155, 135, 245, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(155, 135, 245, 0.2);
}

.cta-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.cta-card p {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.btn-gold {
    background: var(--quimera-gold);
    color: var(--quimera-dark);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: rgba(254, 198, 161, 0.9);
}

.error-section {
    display: flex;
    justify-content: center;
    padding-top: 3em;
}

.video-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    display: flex;
    opacity: 0.25;
}

.video-frame video {
    min-width: 100%;
    min-height: 100%;
    mix-blend-mode: difference;
}

@media (max-width: 768px) {
    .projects-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
    .hero-text h1 {
        margin-top: 2em;
    }
    .hero-content {
      padding-bottom: 7rem;
    }
    .services {
      padding: 1em 0 0;
    }
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 2fr 2fr;
        max-width: 70%;
        justify-items: center;
        justify-self: center;
    }
    .projects-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: end;
    }
}

/* Footer */
.footer {
    background: var(--quimera-dark);
    border-top: 1px solid rgba(155, 135, 245, 0.1);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30vw;
    height: 20vw;
    border-radius: 50%;
    background: rgba(155, 135, 245, 0.05);
    filter: blur(120px);
    z-index: -1;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20vw;
    height: 20vw;
    border-radius: 50%;
    background: rgba(254, 198, 161, 0.05);
    filter: blur(100px);
    z-index: -1;
}

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

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
    max-width: 18rem;
}

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

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--quimera-purple);
}

.footer-links svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(155, 135, 245, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-bottom-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--quimera-purple);
}

.EmbedShareProjectCover-moreInfo-K3q {
    display: none !important;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

@keyframes bounce {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(8px); 
    }
}

/* Utilities */
.hidden {
    display: none;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
iframe .xpWfed {
    display: none !important;
}

.mb-1 {
  margin-bottom: 1em;
}