/* css/home.css */

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;  /* Changed from height: 100vh to min-height */
    height: auto;        /* Allow height to expand */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--color-black);
    padding-bottom: 2rem; /* Add bottom padding */
}

.hero .container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Video Background */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Adjust so text is readable */
}

.hero-bg-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* Ensure text stays above video */
.hero .container {
  position: relative;
  z-index: 2;
}


.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== VIDEO PERFORMANCE OPTIMIZATIONS ===== */

/* Prevent video from causing layout shifts */
.hero-bg-video video,
.hero-bg-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    will-change: transform; /* Hint to browser for optimization */
}

/* On mobile, use lower opacity to reduce GPU load */
@media (max-width: 768px) {
    .hero-bg-video video,
    .hero-bg-video img {
        opacity: 0.25;
    }
}

/* For very low-end devices, completely remove video */
@media (max-width: 480px) and (max-height: 700px) {
    .hero-bg-video video {
        display: none !important;
    }
    .hero-bg-video {
        background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    }
}

/* Ensure video container doesn't cause repaints */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    transform: translateZ(0); /* Force GPU acceleration */
    backface-visibility: hidden;
}

/* ===== SCROLL ANIMATION - CSS only for better performance ===== */
@keyframes scrollClients {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.clients-track {
    will-change: transform;
    animation: scrollClients 30s linear infinite;
}

/* Mobile slower animation */
@media (max-width: 768px) {
    @keyframes scrollClientsMobile {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(-50%);
        }
    }
    
    .clients-track {
        animation-name: scrollClientsMobile;
        animation-duration: 45s;
    }
}

/* Pause animation when page is hidden for battery saving */
.page-hidden .clients-track {
    animation-play-state: paused;
}

.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-top: 80px;
    padding-bottom: 2rem; /* Add bottom padding */
    min-height: 90vh;     /* Ensure minimum height but allow growth */
}

/* ===== CENTERED HEADLINE ===== */
.hero-headline-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    margin-top: 0;
    padding-top: 2rem;
    position: relative;
    text-align: center;
    width: 100%;
    min-height: 250px;
}

/* Container for all rotating content */
.rotating-content-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
}

/* ===== STATIC "WE" FOR INLINE PHRASES ===== */
.static-we-inline {
    color: var(--color-white);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    animation: weGlowWhite 3s ease-in-out infinite;
    font-weight: 800;
    display: inline-block;
    white-space: nowrap;
    margin-right: 0.5rem;
    z-index: 5;
    position: relative;
    font-size: clamp(3.5rem, 8vw, 5.5rem);
}

/* Container for rotating inline phrases */
.rotating-phrases-inline {
    position: relative;
    display: inline-block;
    min-width: 350px;
    height: 1.2em;
    text-align: left;
}

/* Inline rotating phrases */
.rotating-phrases-inline .phrase {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    white-space: nowrap;
    width: 100%;
    color: var(--color-red);
    font-weight: 800;
    display: flex;
    align-items: center;
    height: 100%;
    font-size: clamp(3.5rem, 8vw, 5.5rem);
}

.rotating-phrases-inline .phrase.active {
    opacity: 1;
    position: relative;
}

/* ===== BELOW LAYOUT (Phrase 1 - with its own We) ===== */
.below-layout-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.below-layout-container.active {
    opacity: 1;
    z-index: 20;
}

.below-layout-container .we-part {
    color: var(--color-white);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    animation: weGlowWhite 3s ease-in-out infinite;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
    font-size: clamp(3.5rem, 8vw, 5.5rem);
}

.below-layout-container .text-part {
    color: var(--color-red);
    font-weight: 800;
    display: block;
    font-size: clamp(3.5rem, 8vw, 5.5rem);
}


/* We Glow Animation */
@keyframes weGlowWhite {
    0%, 100% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.3); }
    50% { text-shadow: 0 0 60px rgba(255, 255, 255, 0.8); }
}

/* Highlight Text */
.highlight-text {
    color: var(--color-red);
    position: relative;
    display: inline-block;
    font-weight: 800;
    padding-left: 1rem;
}
.brand{
  padding-left: 1rem;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--color-red);
    opacity: 0.2;
    filter: blur(10px);
    z-index: -1;
    animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { opacity: 0.2; filter: blur(10px); }
    50% { opacity: 0.4; filter: blur(15px); }
}

/* ===== CONTENT BELOW HEADLINE ===== */
.hero-content-below {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin-top: 2rem;
    z-index: 30;
    position: relative;
}

/* Extra spacing when below layout is active */
.below-layout-container.active ~ .hero-content-below {
    margin-top: 4rem;
}

/* ===== FIX FOR DOUBLE WE ISSUE ===== */

/* Method 1: Direct sibling control - make sure this has high specificity */
.rotating-content-wrapper .below-layout-container.active ~ .static-we-inline {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
}

.rotating-content-wrapper .below-layout-container.active ~ .rotating-phrases-inline {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
}

/* Method 2: Also hide the static we when below layout is active, regardless of structure */
.below-layout-container.active .static-we-inline {
    opacity: 0 !important;
    display: none !important;
}

/* Method 3: Ensure the below layout's own We is visible */
.below-layout-container.active .we-part {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Method 4: Hide any other We elements when below layout is active */
.below-layout-container.active ~ * .we-part,
.below-layout-container.active .we-part:not(.below-layout-container .we-part) {
    display: none !important;
}

/* Method 5: JavaScript fallback style - this will be set by JS */
.hide-static-we .static-we-inline,
.hide-static-we .rotating-phrases-inline {
    display: none !important;
    opacity: 0 !important;
}

.show-below-layout .below-layout-container {
    display: flex !important;
    opacity: 1 !important;
}

/* ===== FLOATING ACCENTS - AROUND HEADLINE ===== */
.headline-accent-centered {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.accent-dot-1 {
  width: 16px;
  height: 16px;
  background: var(--color-red);
  border-radius: 50%;
  position: absolute;
  top: -30px;
  left: 20%;
  animation: floatDot1 6s ease-in-out infinite;
  box-shadow: 0 0 30px var(--color-red);
  opacity: 0.5;
}

.accent-dot-2 {
  width: 12px;
  height: 12px;
  background: var(--color-red);
  border-radius: 50%;
  position: absolute;
  bottom: -20px;
  right: 25%;
  animation: floatDot2 7s ease-in-out infinite;
  box-shadow: 0 0 30px var(--color-red);
  opacity: 0.5;
}

.accent-line-1 {
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-red), transparent);
  position: absolute;
  top: 40%;
  left: -100px;
  transform: rotate(15deg);
  animation: pulseLine1 4s ease-in-out infinite;
  opacity: 0.3;
}

.accent-line-2 {
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-red), transparent);
  position: absolute;
  bottom: 30%;
  right: -80px;
  transform: rotate(-10deg);
  animation: pulseLine2 5s ease-in-out infinite;
  opacity: 0.3;
}

@keyframes floatDot1 {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  50% { transform: translate(20px, 20px); opacity: 0.8; }
}

@keyframes floatDot2 {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  50% { transform: translate(-20px, -20px); opacity: 0.8; }
}

@keyframes pulseLine1 {
  0%, 100% { opacity: 0.2; width: 150px; }
  50% { opacity: 0.6; width: 250px; }
}

@keyframes pulseLine2 {
  0%, 100% { opacity: 0.2; width: 100px; }
  50% { opacity: 0.6; width: 200px; }
}

/* ===== CONTENT BELOW HEADLINE ===== */
/* .hero-content-below {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 800px;
  margin-top: 1rem;
  z-index: 5;
} */

.hero-subheadline-centered {
  font-size: 1.3rem;
  color: var(--color-gray-light);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
  border-left: none;
  padding-left: 0;
  position: relative;
}

.hero-subheadline-centered::before,
.hero-subheadline-centered::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background: var(--color-red);
  opacity: 0.3;
}

.hero-subheadline-centered::before {
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-subheadline-centered::after {
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-cta-centered {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Trust Badge - Centered */
.hero-trust-badge-centered {
    text-align: center;
    margin-top: 3rem;  /* Increased from 1rem to 3rem */
    margin-bottom: 2rem; /* Added bottom margin */
    padding-bottom: 1rem; /* Added padding */
}

.trust-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray-mid);
    display: block;
    margin-bottom: var(--space-sm); /* Increased from var(--space-xs) */
}

.trust-dots {
    display: flex;
    gap: 10px; /* Slightly increased from 8px */
    justify-content: center;
}

.trust-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red);
  opacity: 0.3;
  animation: dotPulse 2s ease-in-out infinite;
}

.trust-dots span:nth-child(2) { animation-delay: 0.2s; }
.trust-dots span:nth-child(3) { animation-delay: 0.4s; }
.trust-dots span:nth-child(4) { animation-delay: 0.6s; }
.trust-dots span:nth-child(5) { animation-delay: 0.8s; }

@keyframes dotPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ===== BUTTON STYLES ===== */
.btn-secondary {
  padding: 1.2rem 2.5rem;
  font-size: 1rem;
  border: 2px solid var(--color-red);
  background: transparent;
  color: var(--color-white);
  transition: var(--transition-base);
}

.btn-secondary:hover {
  background: var(--color-red);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px var(--color-red);
}

.btn-link {
  background: transparent;
  color: var(--color-white);
  border: none;
  font-size: 1rem;
  padding: 1.2rem 1rem;
  position: relative;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: var(--transition-base);
}

.btn-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: var(--transition-base);
}

.btn-link:hover {
  color: var(--color-red);
  transform: translateX(5px);
}

.btn-link:hover::after {
  width: 100%;
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy {
    background: var(--color-off-black);
    padding: var(--space-xl) 0;
}

.philosophy-header {
    text-align: left;
    margin-bottom: var(--space-xl);
    max-width: 800px;
}

.philosophy-headline {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    margin-bottom: var(--space-md);
    color: var(--color-white);
}

.philosophy-intro {
    color: var(--color-gray-light);
    font-size: 1.2rem;
    position: relative;
    padding-left: var(--space-md);
    border-left: 3px solid var(--color-red);
}

.philosophy-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 900px;
}

/* Philosophy Card */
.philo-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 59, 59, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-base);
    cursor: pointer;
}

.philo-card:hover {
    border-color: rgba(255, 59, 59, 0.3);
    background: rgba(255, 59, 59, 0.02);
}

.card-trigger {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    position: relative;
    transition: var(--transition-base);
}

.card-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-red);
    opacity: 0.5;
    min-width: 50px;
}

.card-title {
    font-size: clamp(1.25rem, 4vw, 1.8rem);
    font-weight: 600;
    flex: 1;
    color: var(--color-white);
    transition: var(--transition-base);
}

.philo-card:hover .card-title {
    color: var(--color-red);
    transform: translateX(5px);
}

.card-icon {
    width: 30px;
    height: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-base);
}

.icon-line {
    width: 20px;
    height: 2px;
    background: var(--color-red);
    transition: var(--transition-base);
    position: absolute;
}

.icon-line:first-child { transform: rotate(90deg); }

.philo-card.active .icon-line:first-child { transform: rotate(180deg); }
.philo-card.active .icon-line:last-child { transform: rotate(90deg); }

.card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(255, 59, 59, 0.02);
}

.philo-card.active .card-content {
    max-height: 1000px;
}

.card-content-inner {
    padding: 0 var(--space-lg) var(--space-lg) calc(var(--space-lg) + 50px);
}

.card-main {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.card-details {
    color: var(--color-gray-light);
    border-left: 2px solid var(--color-red);
    padding-left: var(--space-md);
    margin-top: var(--space-md);
}

.card-details h4 {
    color: var(--color-red);
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-details ul {
    list-style: none;
    margin-bottom: var(--space-md);
}

.card-details li {
    margin-bottom: var(--space-xs);
    position: relative;
    padding-left: var(--space-md);
    line-height: 1.7;
}

.card-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-red);
}

.card-details li strong { color: var(--color-white); }

.card-highlight {
    background: rgba(255, 59, 59, 0.1);
    padding: var(--space-md);
    border-radius: 4px;
    color: var(--color-white);
    font-weight: 500;
    margin-top: var(--space-md);
}

.card-link {
    color: var(--color-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: var(--space-sm);
    transition: var(--transition-base);
}

.card-link:hover { transform: translateX(5px); }

.philo-card {
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeIn 0.6s forwards;
}

.philo-card:nth-child(1) { animation-delay: 0.1s; }
.philo-card:nth-child(2) { animation-delay: 0.2s; }
.philo-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes cardFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ===== PHILOSOPHY HIGHLIGHT SECTION - MATCHES CARD STYLE ===== */
.philosophy-highlight {
    margin: var(--space-md) 0;
    width: 100%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 59, 59, 0.1);
    border-radius: 8px;
    padding: var(--space-lg);
    transition: var(--transition-base);
}

.philosophy-highlight:hover {
    border-color: rgba(255, 59, 59, 0.3);
    background: rgba(255, 59, 59, 0.02);
}

.highlight-quote {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    color: var(--color-white);
    margin: 0;
    position: relative;
    font-style: italic;
}

.highlight-quote::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: -10px;
    font-size: 3rem;
    color: var(--color-red);
    opacity: 0.3;
    font-family: serif;
}

.highlight-quote::after {
    content: '"';
    position: absolute;
    bottom: -25px;
    right: -10px;
    font-size: 3rem;
    color: var(--color-red);
    opacity: 0.3;
    font-family: serif;
}

/* ===== PHILOSOPHY CTA CARD - MATCHES CARD STYLE ===== */
.philosophy-cta-card {
    width: 100%;
    max-width: 900px; /* Same as .philosophy-cards */
    margin: var(--space-md) 0 0 0; /* Left aligned, no auto margins */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 59, 59, 0.1);
    border-radius: 8px;
    padding: var(--space-lg);
    transition: var(--transition-base);
}

.philosophy-cta-card:hover {
    border-color: rgba(255, 59, 59, 0.3);
    background: rgba(255, 59, 59, 0.02);
}

.cta-card-content {
    position: relative;
    z-index: 2;
}

.cta-card-header {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 59, 59, 0.15);
}

.cta-card-title {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
    letter-spacing: -0.02em;
}

.cta-card-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cta-card-main {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-gray-light);
    font-weight: 500;
    margin-bottom: 0;
}

.cta-card-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cta-card-details p {
    color: var(--color-gray-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Custom CTA Button */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-red);
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    width: fit-content;
}

.btn-cta:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--color-red);
}

.btn-cta::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-cta:hover::after {
    transform: translateX(5px);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .philosophy-highlight {
        padding: var(--space-md);
        /* margin-top: 2rem; */
    }
    
    .philosophy-cta-card {
        padding: var(--space-md);
        margin-top: 2rem;
    }
    
    .highlight-quote {
        font-size: 1.1rem;
    }
    
    .cta-card-title {
        font-size: 1.3rem;
    }
    
    .cta-card-main {
        font-size: 1rem;
    }
    
    .btn-cta {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .philosophy-highlight {
        padding: var(--space-sm);
    }
    
    .philosophy-cta-card {
        padding: var(--space-sm);
    }
    
    .highlight-quote {
        font-size: 1rem;
    }
    
    .btn-cta {
        font-size: 0.8rem;
        padding: 0.7rem 1rem;
    }
}
/* ===== SERVICES OVERVIEW ===== */
.services-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.services-header h2 { 
  margin-bottom: var(--space-sm); 
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.services-header p {
  color: var(--color-gray-light);
  font-size: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

/* Service Card Link */
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
  height: 100%;
}

.service-card-link:hover {
  transform: translateY(-10px);
}

/* Service Card */
.service-card {
  background: var(--color-charcoal);
  padding: var(--space-lg);
  border-radius: 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(255, 59, 59, 0.1);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
  border-color: var(--color-red);
  box-shadow: 0 20px 40px -10px rgba(255, 59, 59, 0.3);
  background: linear-gradient(145deg, var(--color-charcoal), var(--color-off-black));
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-red);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 0.03;
}

/* Card Number */
.service-card-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 2;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-card-number {
  opacity: 1;
}

/* Card Title */
.service-card h3 {
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-white);
}

.service-card .accent-text {
  color: var(--color-red);
  display: block;
  font-size: 1.8rem;
  margin-top: 0.2rem;
}

/* Strong Description */
.service-strong {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 2;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  opacity: 0.9;
}

/* Highlights List */
.service-highlights {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 2;
}

.service-highlights li {
  color: var(--color-gray-light);
  margin-bottom: 0.6rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-highlights li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Tagline */
.service-tagline {
  color: var(--color-gray-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 59, 59, 0.15);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.service-card:hover .service-tagline {
  border-top-color: var(--color-red);
  letter-spacing: 0.15em;
  color: var(--color-white);
}

.service-tagline .highlight-text {
  color: var(--color-red);
  font-weight: 600;
}

/* Arrow */
.service-arrow {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  font-size: 1.8rem;
  color: var(--color-red);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  z-index: 3;
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Remove any conflicting styles */
/* .service-card p:not(.service-strong) { */
  /* This ensures only the specific paragraph gets styled */
/* } */

/* .service-card h3 span:not(.accent-text) { */
  /* Remove the old span styles if they exist */
/* } */

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet - 2 columns */
@media (max-width: 1024px) {
  .services-grid { 
      grid-template-columns: repeat(2, 1fr); 
      gap: calc(var(--space-md) * 0.8);
  }
  
  .service-card {
      padding: calc(var(--space-lg) * 0.8);
  }
  
  .service-card h3 {
      font-size: 1.4rem;
  }
  
  .service-card .accent-text {
      font-size: 1.6rem;
  }
}

/* Mobile Landscape */
@media (max-width: 768px) {
  .services-grid { 
      grid-template-columns: repeat(2, 1fr); 
      gap: var(--space-sm);
  }
  
  .service-card {
      padding: var(--space-md);
  }
  
  .service-card-number {
      font-size: 2.2rem;
      margin-bottom: calc(var(--space-sm) * 0.8);
  }
  
  .service-card h3 {
      font-size: 1.2rem;
      margin-bottom: calc(var(--space-sm) * 0.8);
  }
  
  .service-card .accent-text {
      font-size: 1.4rem;
  }
  
  .service-strong {
      font-size: 0.95rem;
      margin-bottom: var(--space-sm);
  }
  
  .service-highlights li {
      font-size: 0.9rem;
      margin-bottom: 0.4rem;
  }
  
  .service-tagline {
      font-size: 0.8rem;
  }
  
  .service-arrow {
      font-size: 1.5rem;
      bottom: var(--space-md);
      right: var(--space-md);
  }
}

/* Mobile Portrait - 1 column */
@media (max-width: 580px) {
  .services-grid { 
      grid-template-columns: 1fr; 
      gap: var(--space-md);
      max-width: 450px;
      margin-left: auto;
      margin-right: auto;
  }
  
  .service-card {
      padding: var(--space-lg);
  }
  
  .service-card-number {
      font-size: 2.5rem;
  }
  
  .service-card h3 {
      font-size: 1.5rem;
  }
  
  .service-card .accent-text {
      font-size: 1.8rem;
  }
  
  .service-strong {
      font-size: 1rem;
  }
}

/* Small Mobile */
@media (max-width: 400px) {
  .service-card {
      padding: var(--space-md);
  }
  
  .service-card-number {
      font-size: 2.2rem;
  }
  
  .service-card h3 {
      font-size: 1.3rem;
  }
  
  .service-card .accent-text {
      font-size: 1.5rem;
  }
  
  .service-strong {
      font-size: 0.95rem;
  }
  
  .service-highlights li {
      font-size: 0.85rem;
  }
}

/* ===== CLICKABLE SERVICE CARDS ===== */
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.service-card-link:hover {
  transform: translateY(-5px);
}

/* Ensure the card hover effects still work */
.service-card-link:hover .service-card {
  border-color: rgba(255, 59, 59, 0.3);
  box-shadow: 0 20px 30px -10px rgba(255, 59, 59, 0.2);
}

.service-card-link:hover .service-card::before {
  opacity: 0.05;
}

.service-card-link:hover .service-card-number {
  opacity: 1;
  transform: scale(1.05) translateX(5px);
}

.service-card-link:hover .service-tagline {
  border-top-color: var(--color-red);
  letter-spacing: 0.15em;
}

/* Optional: Add a subtle indicator that cards are clickable */
.service-card {
  transition: all 0.3s ease;
  position: relative;
}

.service-card::after {
  content: '→';
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 1.2rem;
  color: var(--color-red);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  z-index: 3;
}

.service-card-link:hover .service-card::after {
  opacity: 1;
  transform: translateX(0);
}

/* Remove the arrow on smaller screens if desired */
@media (max-width: 768px) {
  .service-card::after {
      display: none;
  }
}



/* ===== CLIENTS SECTION ===== */
.clients {
  background: var(--color-off-black);
  padding: var(--space-xl) 0;
}

.clients-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.clients-header p {
  color: var(--color-gray-light);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

@media (max-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 300px;
    margin: 0 auto;
  }
}

/* ===== SCROLLING CLIENTS LOGOS ===== */
.clients-scroll {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    background: var(--color-off-black);
    position: relative;
}

/* Gradient fade edges for better UX */
.clients-scroll::before,
.clients-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.clients-scroll::before {
    left: 0;
    background: linear-gradient(to right, var(--color-off-black), transparent);
}

.clients-scroll::after {
    right: 0;
    background: linear-gradient(to left, var(--color-off-black), transparent);
}

.clients-track {
    display: flex;
    gap: 40px;
    width: max-content;
    will-change: transform;
}

/* Desktop - Normal speed */
@media (min-width: 769px) {
    .clients-track {
        animation: scrollClients 30s linear infinite;
    }
    
    .clients-track:hover {
        animation-play-state: paused;
    }
    
    .client-logo {
        min-width: 140px;
    }
    
    .client-logo img {
        max-width: 100px;
    }
}

/* Mobile - Slower animation to reduce CPU load */
@media (max-width: 768px) {
    .clients-scroll {
        padding: 20px 0;
    }
    
    .clients-scroll::before,
    .clients-scroll::after {
        width: 40px;
    }
    
    .clients-track {
        gap: 25px;
        animation: scrollClientsMobile 45s linear infinite;
        /* Slower animation = less CPU usage */
    }
    
    .client-logo {
        min-width: 100px;
    }
    
    .client-logo img {
        max-width: 70px;
    }
    
    .client-logo span {
        font-size: 0.7rem;
    }
}

/* Very Small Mobile - Even slower animation */
@media (max-width: 480px) {
    .clients-track {
        animation: scrollClientsMobile 55s linear infinite;
        gap: 20px;
    }
    
    .client-logo {
        min-width: 85px;
    }
    
    .client-logo img {
        max-width: 60px;
    }
}

@keyframes scrollClients {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes scrollClientsMobile {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 150px;
  opacity: 0.7;
  transition: var(--transition-base);
  filter: grayscale(1);
  flex-shrink: 0;
  margin: 0 10px;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.05);
}

.client-logo img {
  width: 100%;
  max-width: 120px;
  height: auto;
  transition: var(--transition-base);
  display: block;
}

.client-logo span {
  color: var(--color-gray-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  white-space: nowrap;
}

.clients-cta-top {
  margin: 30px 0 50px;
  text-align: center;
}

.clients-cta-top .btn-secondary {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-card h3 {
      font-size: 1.4rem;
  }
  
  .service-card .accent-text {
      font-size: 1.8rem;
  }
  
  .service-strong {
      font-size: 1rem;
  }
  
  .service-highlights li {
      font-size: 0.9rem;
  }
  
  .clients-track {
      gap: 40px;
      animation-duration: 20s;
  }
  
  .client-logo {
      min-width: 120px;
  }
  
  .client-logo img {
      max-width: 100px;
  }
}

@media (max-width: 480px) {
  .service-card h3 {
      font-size: 1.2rem;
  }
  
  .service-card .accent-text {
      font-size: 1.5rem;
  }
  
  .clients-track {
      gap: 30px;
      animation-duration: 15s;
  }
  
  .client-logo {
      min-width: 100px;
  }
  
  .client-logo img {
      max-width: 80px;
  }
  
  .client-logo span {
      font-size: 0.7rem;
  }
}


/* ===== APPROACH SECTION ===== */
.approach {
  padding: var(--space-xl) 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

@media (max-width: 1024px) { .approach-grid { gap: var(--space-md); } }
@media (max-width: 768px) {
  .approach-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

.approach-column {
  padding: var(--space-lg);
  background: var(--color-charcoal);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) { .approach-column { padding: var(--space-md); } }

.approach-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-red);
}

.approach-column h3 {
  margin-bottom: var(--space-md);
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.approach-column.most h3 { color: var(--color-gray-mid); }
.approach-column.rio h3 { color: var(--color-red); }
.approach-column.result h3 { color: var(--color-white); }

.approach-list {
  list-style: none;
}

.approach-list li {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
  position: relative;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.approach-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-red);
}

/* ===== FINAL CTA SECTION ===== */
.final-cta {
  text-align: center;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--color-red) 0%, transparent 70%);
  opacity: 0.1;
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.final-cta h2 { margin-bottom: var(--space-md); }
.final-cta p {
  color: var(--color-gray-light);
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-off-black);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Background Pattern (subtle) */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 59, 59, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Footer Grid - Desktop Default */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  position: relative;
  z-index: 2;
}

/* Footer Info Section */
.footer-info {
  max-width: 350px;
}

.footer-info .logo {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: inline-block;
  transition: var(--transition-base);
}

.footer-info .logo:hover {
  color: var(--color-red);
}

.footer-info p {
  color: var(--color-gray-light);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.footer-legal {
  color: var(--color-gray-mid);
  font-size: 0.85rem;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Links Sections */
.footer-links h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: var(--space-xs);
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-red);
  transition: width var(--transition-base);
}

.footer-links h4:hover::after {
  width: 50px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
  transition: var(--transition-fast);
}

.footer-links a {
  color: var(--color-gray-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a:hover {
  color: var(--color-red);
  transform: translateX(8px);
}

/* Arrow animation on hover */
.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: var(--transition-fast);
  color: var(--color-red);
}

.footer-links a:hover::before {
  opacity: 1;
  left: -25px;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {
  .footer {
    padding: calc(var(--space-xl) * 1.2) 0 var(--space-xl);
  }
  
  .footer-grid {
    gap: calc(var(--space-lg) * 1.2);
  }
  
  .footer-info {
    max-width: 400px;
  }
  
  .footer-info .logo {
    font-size: 2.2rem;
  }
  
  .footer-info p {
    font-size: 1rem;
  }
  
  .footer-links h4 {
    font-size: 1.2rem;
  }
  
  .footer-links a {
    font-size: 1rem;
  }
}

/* Standard Desktop (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .footer-grid {
    gap: var(--space-md);
  }
  
  .footer-info {
    max-width: 320px;
  }
}

/* Small Desktop / Large Tablet (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .footer {
    padding: calc(var(--space-xl) * 0.9) 0 var(--space-lg);
  }
  
  .footer-grid {
    gap: var(--space-md);
  }
  
  .footer-info {
    max-width: 300px;
  }
  
  .footer-info .logo {
    font-size: 1.8rem;
  }
  
  .footer-info p {
    font-size: 0.9rem;
  }
  
  .footer-links h4 {
    font-size: 1rem;
    margin-bottom: calc(var(--space-md) * 0.8);
  }
  
  .footer-links a {
    font-size: 0.9rem;
  }
}

/* Tablet Landscape (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .footer {
    padding: calc(var(--space-xl) * 0.8) 0 var(--space-lg);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg) var(--space-md);
  }
  
  .footer-info {
    grid-column: 1 / -1;
    max-width: 100%;
    text-align: center;
    margin-bottom: var(--space-md);
  }
  
  .footer-info .logo {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
  }
  
  .footer-links h4:hover::after {
    width: 60px;
  }
  
  .footer-links a:hover {
    transform: translateY(-2px) translateX(0);
  }
  
  .footer-links a::before {
    display: none; /* Remove arrow on tablet for cleaner look */
  }
  
  .footer-legal {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: var(--space-md);
  }
}

/* Mobile Landscape (480px to 767px) */
@media (min-width: 480px) and (max-width: 767px) {
  .footer {
    padding: calc(var(--space-xl) * 0.7) 0 var(--space-md);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  
  .footer-info {
    grid-column: 1 / -1;
    max-width: 100%;
    text-align: center;
    margin-bottom: var(--space-md);
  }
  
  .footer-info .logo {
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
  }
  
  .footer-info p {
    font-size: 0.9rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links h4 {
    font-size: 1rem;
    margin-bottom: calc(var(--space-md) * 0.7);
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
  }
  
  .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links li {
    margin-bottom: calc(var(--space-sm) * 0.8);
  }
  
  .footer-links a {
    font-size: 0.9rem;
  }
  
  .footer-links a:hover {
    transform: translateY(-2px) translateX(0);
    color: var(--color-red);
  }
  
  .footer-links a::before {
    display: none;
  }
  
  .footer-legal {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: var(--space-md);
    font-size: 0.8rem;
  }
}

/* Mobile Portrait (up to 479px) */
@media (max-width: 479px) {
  .footer {
    padding: calc(var(--space-xl) * 0.6) 0 var(--space-sm);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-info {
    max-width: 100%;
    text-align: center;
  }
  
  .footer-info .logo {
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
  }
  
  .footer-info p {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
    padding: 0 var(--space-sm);
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links h4 {
    font-size: 1rem;
    margin-bottom: calc(var(--space-md) * 0.6);
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
  }
  
  .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links li {
    margin-bottom: calc(var(--space-sm) * 0.7);
  }
  
  .footer-links a {
    font-size: 0.85rem;
  }
  
  .footer-links a:hover {
    transform: translateY(-2px) translateX(0);
  }
  
  .footer-links a::before {
    display: none;
  }
  
  .footer-legal {
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    font-size: 0.75rem;
  }
}

/* Very Small Mobile (up to 360px) */
@media (max-width: 360px) {
  .footer {
    padding: calc(var(--space-xl) * 0.5) 0 var(--space-sm);
  }
  
  .footer-info .logo {
    font-size: 1.5rem;
  }
  
  .footer-info p {
    font-size: 0.8rem;
    padding: 0 0.5rem;
  }
  
  .footer-links h4 {
    font-size: 0.95rem;
  }
  
  .footer-links a {
    font-size: 0.8rem;
  }
  
  .footer-legal {
    font-size: 0.7rem;
  }
}

/* Landscape Mode on Mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .footer {
    padding: var(--space-md) 0;
  }
  
  .footer-grid {
    gap: var(--space-md);
  }
  
  .footer-info {
    max-width: 300px;
  }
  
  .footer-info p {
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
  }
}

/* High-resolution screens (4K and above) */
@media (min-width: 2560px) {
  .footer {
    padding: calc(var(--space-2xl)) 0 calc(var(--space-xl) * 1.5);
  }
  
  .footer-grid {
    max-width: 1600px;
    margin: 0 auto;
    gap: calc(var(--space-xl) * 1.5);
  }
  
  .footer-info {
    max-width: 500px;
  }
  
  .footer-info .logo {
    font-size: 2.8rem;
  }
  
  .footer-info p {
    font-size: 1.2rem;
    line-height: 2;
  }
  
  .footer-links h4 {
    font-size: 1.5rem;
  }
  
  .footer-links a {
    font-size: 1.2rem;
  }
  
  .footer-legal {
    font-size: 1rem;
  }
}

/* Print Styles */
@media print {
  .footer {
    background: none;
    border-top: 1px solid #000;
    color: #000;
    padding: 2rem 0;
  }
  
  .footer a {
    color: #000 !important;
    text-decoration: underline;
  }
  
  .footer::before,
  .footer-links h4::after,
  .footer-links a::before {
    display: none;
  }
}

/* Dark Mode Support - Already in your dark-mode.css */
[data-theme="light"] .footer {
  background: var(--bg-secondary);
  border-top-color: var(--border-color);
}

[data-theme="light"] .footer-links a {
  color: var(--text-secondary);
}

[data-theme="light"] .footer-links a:hover {
  color: var(--color-red);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideUp {
  to { transform: translateY(0); }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large Desktop */
@media (min-width: 1400px) {
  .hero-headline-centered {
    font-size: 7rem;
  }
  .rotating-phrases-centered {
    min-width: 600px;
  }
  .hero-subheadline-centered {
    font-size: 1.4rem;
    max-width: 800px;
  }
}

/* Standard Desktop */
@media (min-width: 1200px) and (max-width: 1399px) {
 .hero-headline-centered {
    font-size: 6rem;
  }
  .rotating-phrases-centered {
    min-width: 520px;
  }
}

/* Small Desktop */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-headline-centered {
    font-size: 5.5rem;
  }
  .rotating-phrases-centered {
    min-width: 480px;
  }
  .hero-subheadline-centered {
    font-size: 1.2rem;
  }
}

/* Tablet Landscape */
@media (min-width: 768px) and (max-width: 991px) {
   .hero-headline-centered {
    font-size: 4.5rem;
    flex-direction: column;
    gap: 0.2rem;
  }
  
  .rotating-phrases-centered {
    min-width: 400px;
    text-align: center;
  }
  
  .rotating-phrases-centered .phrase {
    text-align: center;
  }
  
  .accent-dot-1, .accent-dot-2,
  .accent-line-1, .accent-line-2 {
    display: none;
  }
  
  .hero-subheadline-centered {
    font-size: 1.2rem;
    padding: 0 1rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
    .hero {
    align-items: center;
    padding-bottom: 2rem;
  }

  
  .hero-centered {
    padding-top: 60px; /* Slightly less top padding on mobile */
  }
  
  .hero-headline-centered {
    font-size: 3.2rem;
    flex-direction: column;
    gap: 0.1rem;
    margin-bottom: 1.5rem;
  }
  
  .static-we-white {
    font-size: 3.2rem;
    margin-bottom: 0.2rem;
  }
  
  .hero-headline-centered {
        font-size: 2.8rem !important;
        padding-left: 1rem;
        padding-right: 1rem;
        min-height: auto;
    }
    
    .static-we-inline {
        font-size: 2.8rem !important;
        margin-right: 0.3rem;
    }
    
    .rotating-phrases-inline {
        min-width: 280px;
    }
    
    .rotating-phrases-inline .phrase {
        font-size: 2.8rem !important;
    }
    
    .below-layout-container .we-part,
    .below-layout-container .text-part {
        font-size: 2.8rem !important;
    }
    
    .rotating-content-wrapper {
        min-height: 160px;
        flex-wrap: wrap;
        padding: 0 0.5rem;
    }
  
  .accent-dot-1, .accent-dot-2,
  .accent-line-1, .accent-line-2 {
    display: none;
  }
  
  .hero-subheadline-centered {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }
  
  .hero-subheadline-centered::before,
  .hero-subheadline-centered::after {
    width: 30px;
  }
  
  .hero-cta-centered {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    padding: 0 1rem;
  }
  
  .btn-secondary, .btn-link {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }
  
  .hero-trust-badge-centered {
    display: none;
  }

  .philosophy-header { text-align: center; }
  .philosophy-intro { text-align: left; }
  .card-number { font-size: 1.2rem; min-width: 40px; }
  .card-main { font-size: 1.1rem; }
  .card-details { font-size: 0.95rem; }

  
}

/* Small Mobile */
@media (max-width: 480px) {
   .hero-centered {
    padding-top: 50px; /* Even less on very small screens */
  }

  .hero-headline-centered {
        font-size: 2rem !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .static-we-inline {
        font-size: 2rem !important;
        margin-right: 0.2rem;
        white-space: normal;
    }
    
    .rotating-phrases-inline {
        min-width: 220px;
        height: auto;
        display: flex;
        justify-content: center;
    }
    
    .rotating-phrases-inline .phrase {
        font-size: 2rem !important;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
        width: 100%;
        justify-content: center;
    }
    
    .below-layout-container {
        position: relative;
        transform: none;
        top: 0;
        left: 0;
        margin-top: 0.25rem;
    }
    
    .below-layout-container .we-part,
    .below-layout-container .text-part {
        font-size: 2rem !important;
    }
    
    .below-layout-container .we-part {
        margin-bottom: 0.2rem;
    }
    
    .rotating-content-wrapper {
        min-height: 130px;
        flex-direction: column;
        gap: 0.25rem;
    }
    
  
  .rotating-phrases-centered {
    min-width: 220px;
  }
  
  .rotating-phrases-centered .phrase {
    font-size: 1.8rem;
  }
  
  .hero-subheadline-centered {
    font-size: 0.95rem;
  }

  .card-trigger { padding: var(--space-sm); }
  .card-number { display: none; }
  .card-title { font-size: 1.1rem; }
  .card-content-inner { padding: 0 var(--space-sm) var(--space-sm) var(--space-sm); }
  .card-details { padding-left: var(--space-sm); }
  
  .final-cta .btn { width: 100%; }
}

/* Small Mobile (up to 380px) */
@media (max-width: 380px) {
    .hero-headline-centered {
        font-size: 1.6rem !important;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .static-we-inline {
        font-size: 1.6rem !important;
    }
    
    .rotating-phrases-inline {
        min-width: 180px;
    }
    
    .rotating-phrases-inline .phrase {
        font-size: 1.6rem !important;
    }
    
    .below-layout-container .we-part,
    .below-layout-container .text-part {
        font-size: 1.6rem !important;
    }
    
    .rotating-content-wrapper {
        min-height: 110px;
    }
}

/* Tablet/Mobile responsive for philosophy cards */
@media (max-width: 768px) {
  .card-trigger {
    padding: var(--space-md);
    gap: var(--space-sm);
  }
  .card-content-inner {
    padding: 0 var(--space-md) var(--space-md) calc(var(--space-md) + 40px);
  }
}

@media (max-width: 480px) {
  .card-trigger { flex-wrap: wrap; }
}