/* Zarez Consultoría - Main Styles */
/* Variables and Root Settings */
:root {
    --primary-blue: #4773af;
    --secondary-gold: #efc076;
    --dark-blue: #2a4570;
    --light-blue: #6b8fc7;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --border-radius: 12px;
}

/* Preloader Styles */
.preloader-zarez {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.preloader-content {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container-preloader {
    position: relative;
    width: 400px;
    height: 500px;
    overflow: hidden;
}

.image-wrapper-preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
}

#image-100 {
    z-index: 10;
}

.image-wrapper-preloader img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    will-change: transform, opacity;
}

.preloader-percentage {
    position: absolute;
    bottom: 5%;
    left: 2rem;
    font-size: clamp(6rem, 12vw, 14rem);
    color: var(--secondary-gold);
    font-family: 'Prata', serif;
    font-weight: 400;
}

/* Text Lines Container - Preloader */
.text-container-preloader {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    text-align: right;
    z-index: 1000001;
    max-width: 450px;
}

.text-line-preloader {
    padding: 0.3em 0;
    opacity: 0;
    color: #4f4f4f;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* Text Lines Container - Final - HIDDEN to prevent side text */
.text-container-final-preloader {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    text-align: right;
    z-index: 1000001;
    max-width: 450px;
    display: none !important; /* Prevent side text from showing */
    opacity: 0 !important;
}

.text-line-final-preloader {
    padding: 0.3em 0;
    opacity: 0;
    color: #4f4f4f;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* Hero Text (Big Title) Styles */
.big-title-preloader {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000001;
    opacity: 0;
    text-align: left;
    color: var(--secondary-gold);
    font-size: clamp(4rem, 10vw, 12rem);
    line-height: 0.9;
    font-family: 'Prata', serif;
}

.big-title-preloader .title-line-preloader {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.big-title-preloader .title-line-preloader span {
    display: block;
    transform: translateY(100%);
    opacity: 0;
}

/* Responsive styles for preloader - Tablet */
@media (max-width: 768px) {
    .image-container-preloader {
        width: 280px;
        height: 350px;
    }
    
    .preloader-percentage {
        font-size: clamp(5rem, 12vw, 8rem);
        bottom: 10%;
    }
    
    .text-container-preloader,
    .text-container-final-preloader {
        right: 15px;
        max-width: 200px;
    }
    
    .text-line-preloader,
    .text-line-final-preloader {
        font-size: 0.85rem;
        padding: 0.2em 0;
    }
    
    .big-title-preloader {
        font-size: clamp(3rem, 10vw, 6rem);
        left: 15px;
        bottom: 20px;
    }
    
    .floating-word {
        font-size: clamp(2rem, 4vw, 4rem) !important;
    }
}

/* Responsive styles for preloader - Mobile */
@media (max-width: 480px) {
    .image-container-preloader {
        width: 70vw;
        max-width: 280px;
        height: 35vh;
        max-height: 300px;
        margin: 0 auto;
    }
    
    .image-wrapper-preloader img {
        object-fit: cover;
        object-position: center;
    }
    
    .preloader-percentage {
        font-size: clamp(3.5rem, 12vw, 5rem);
        bottom: 20%;
        left: 50% !important;
        transform: translateX(-50%);
        text-shadow: 
            0 0 20px rgba(239, 192, 118, 0.8),
            0 0 40px rgba(239, 192, 118, 0.4);
        z-index: 1000002;
    }
    
    /* Hide side text on mobile for cleaner look */
    .text-container-preloader {
        display: none;
    }
    
    .text-container-final-preloader {
        right: 10px;
        left: 10px;
        max-width: 100%;
        text-align: center;
        top: 20%;
        transform: translateY(0);
    }
    
    .text-line-final-preloader {
        font-size: 0.75rem;
        padding: 0.15em 0;
        letter-spacing: 0.03em;
    }
    
    .big-title-preloader {
        font-size: clamp(2.5rem, 12vw, 4rem);
        left: 10px;
        right: 10px;
        bottom: 30px;
        text-align: center;
        line-height: 0.95;
    }
    
    .big-title-preloader .title-line-preloader {
        margin: 0.1em 0;
    }
    
    /* Floating words mobile adjustments */
    .floating-words-container {
        z-index: 1000010 !important;
    }
    
    .word-group {
        z-index: 1000011 !important;
    }
    
    .floating-word {
        font-size: clamp(1.5rem, 5vw, 2.5rem) !important;
        letter-spacing: 0.03em;
        color: rgba(255, 255, 255, 1) !important;
        text-shadow: 
            0 0 20px rgba(239, 192, 118, 1),
            0 0 40px rgba(239, 192, 118, 0.6),
            2px 2px 4px rgba(0, 0, 0, 0.8) !important;
        z-index: 1000012 !important;
        font-weight: 600;
    }
    
    .floating-word.highlight {
        font-size: clamp(1.8rem, 6vw, 3rem) !important;
        color: #efc076 !important;
    }
    
    /* Adjust word positions for mobile - more centered */
    .word-group[data-phase="0"] .floating-word:nth-child(1) { --x: 50%; --y: 30%; }
    .word-group[data-phase="0"] .floating-word:nth-child(2) { --x: 30%; --y: 50%; }
    .word-group[data-phase="0"] .floating-word:nth-child(3) { --x: 70%; --y: 70%; }
    
    .word-group[data-phase="20"] .floating-word:nth-child(1) { --x: 25%; --y: 30%; }
    .word-group[data-phase="20"] .floating-word:nth-child(2) { --x: 75%; --y: 45%; }
    .word-group[data-phase="20"] .floating-word:nth-child(3) { --x: 45%; --y: 65%; }
    
    .word-group[data-phase="60"] .floating-word:nth-child(1) { --x: 35%; --y: 25%; }
    .word-group[data-phase="60"] .floating-word:nth-child(2) { --x: 65%; --y: 50%; }
    .word-group[data-phase="60"] .floating-word:nth-child(3) { --x: 50%; --y: 70%; }
    
    .word-group[data-phase="80"] .floating-word:nth-child(1) { --x: 40%; --y: 30%; }
    .word-group[data-phase="80"] .floating-word:nth-child(2) { --x: 60%; --y: 55%; }
    .word-group[data-phase="80"] .floating-word:nth-child(3) { --x: 30%; --y: 75%; }
    
    .word-group[data-phase="100"] .floating-word:nth-child(1) { --x: 50%; --y: 35%; }
    .word-group[data-phase="100"] .floating-word:nth-child(2) { --x: 30%; --y: 55%; }
    .word-group[data-phase="100"] .floating-word:nth-child(3) { --x: 70%; --y: 55%; }
}

/* Ultra small devices */
@media (max-width: 360px) {
    .image-container-preloader {
        width: 180px;
        height: 220px;
    }
    
    .preloader-percentage {
        font-size: 3.5rem;
    }
    
    .big-title-preloader {
        font-size: 2rem;
        bottom: 20px;
    }
    
    .floating-word {
        font-size: clamp(1rem, 3.5vw, 1.8rem) !important;
        max-width: 90%;
        padding: 0 5px;
    }
    
    .text-line-final-preloader {
        font-size: 0.7rem;
    }
}

/* Floating Words Styles - Professional Version */
.floating-words-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000010;
    display: block;
}

.word-group {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1000011;
}

.floating-word {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-family: 'Prata', serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transform: translate(-50%, -50%);
    opacity: 0;
    text-shadow: 
        0 0 20px rgba(239, 192, 118, 0.9),
        0 0 40px rgba(239, 192, 118, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 1000012;
    pointer-events: none;
    -webkit-font-smoothing: antialiased;
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    perspective: 1000px;
}

.floating-word.highlight {
    color: var(--secondary-gold);
    font-size: clamp(2.5rem, 5vw, 6rem);
    text-shadow: 
        0 0 40px rgba(239, 192, 118, 0.5),
        0 0 80px rgba(239, 192, 118, 0.3),
        0 0 120px rgba(239, 192, 118, 0.1);
}


/* Glitch effect for floating words */
@keyframes glitch {
    0%, 100% {
        text-shadow: 
            -2px 0 #ff0000,
            2px 0 #00ffff,
            0 0 30px rgba(239, 192, 118, 0.3);
    }
    33% {
        text-shadow: 
            2px 0 #ff0000,
            -2px 0 #00ffff,
            0 0 30px rgba(239, 192, 118, 0.3);
    }
    66% {
        text-shadow: 
            -2px 2px #ff0000,
            2px -2px #00ffff,
            0 0 30px rgba(239, 192, 118, 0.3);
    }
}

.floating-word:hover {
    animation: glitch 0.3s infinite;
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    opacity: 0.3;
    mix-blend-mode: screen;
}

/* Enhanced preloader percentage with glow */
.preloader-percentage {
    position: absolute;
    bottom: 5%;
    left: 2rem;
    font-size: clamp(6rem, 12vw, 14rem);
    color: var(--secondary-gold);
    font-family: 'Prata', serif;
    font-weight: 400;
    text-shadow: 
        0 0 30px rgba(239, 192, 118, 0.5),
        0 0 60px rgba(239, 192, 118, 0.3),
        0 0 90px rgba(239, 192, 118, 0.1);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

/* Blur overlay effect */
.preloader-zarez::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
    animation: rotate-overlay 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes rotate-overlay {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Hide preloader elements initially if JavaScript fails */
.no-js .preloader-zarez,
.no-js .text-container-preloader,
.no-js .text-container-final-preloader,
.no-js .big-title-preloader,
.no-js .floating-words-container,
.no-js #particle-canvas {
    display: none !important;
}

[data-theme="dark"] {
    --text-dark: #f0f0f0;
    --text-light: #b0b0b0;
    --bg-light: #1a1a1a;
    --white: #0a0a0a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Prata', serif;
    line-height: 1.2;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Position theme toggle for desktop */
@media (min-width: 769px) {
    .theme-toggle {
        order: 3;
        margin-left: 1rem;
    }
    
    .nav-menu {
        order: 2;
    }
    
    .menu-toggle {
        display: none;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    transform: none !important;
    transition: color 0.3s ease;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-shape {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Prata', serif;
    font-size: 1.5rem;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
}

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

/* Video Background Styles */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

/* Hide mobile video on desktop, show desktop video */
.desktop-video {
    display: block;
}

.mobile-video {
    display: none;
}

/* Video Overlay for text readability */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(26, 26, 26, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(71, 115, 175, 0.1));
    transform: rotate(45deg);
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-text {
    flex: 0 0 45%;
    max-width: 600px;
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-text .highlight {
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5), 
                 0 0 60px rgba(255, 215, 0, 0.3),
                 0 0 90px rgba(255, 215, 0, 0.2);
    filter: brightness(1.3) contrast(1.2);
    position: relative;
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(71, 115, 175, 0.3);
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(71, 115, 175, 0.4);
}

.btn-secondary {
    background: var(--secondary-gold);
    color: var(--primary-blue);
    border: 2px solid var(--secondary-gold);
    font-weight: 600;
}

.btn-secondary:hover {
    background: #f4d19b;
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(239, 192, 118, 0.4);
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 45%;
}

/* Hero Text Animation Styles - Typewriter Effect */
.typing-text {
    display: inline;
}

.cursor {
    display: inline-block;
    color: var(--secondary-gold);
    font-weight: 300;
    font-size: 1.2em;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Text particles */
.text-particle {
    position: absolute;
    background: var(--secondary-gold);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(239, 192, 118, 0.5);
    z-index: 2;
}

/* Preserve highlight colors */
.hero-text .highlight {
    background: linear-gradient(90deg, var(--secondary-gold), #f4d19b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline;
}

/* Add perspective for 3D effect */
.hero-text {
    perspective: 1000px;
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
}

/* Smooth text rendering */
.hero-text h1,
.hero-text p {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
}

/* Floating Logo Styles */
.floating-logo-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: floatLogo 6s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

/* Subtle floating animation */
@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-15px) scale(1.02);
    }
    50% {
        transform: translateY(0) scale(1);
    }
    75% {
        transform: translateY(-10px) scale(1.01);
    }
}

.geometric-pattern {
    width: 100%;
    height: 400px;
    position: relative;
}

.geo-shape {
    position: absolute;
    border-radius: var(--border-radius);
    opacity: 0.9;
}

.geo-shape-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    top: 20%;
    left: 20%;
    transform: rotate(45deg);
}

.geo-shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--secondary-gold), #f4d19b);
    top: 40%;
    right: 20%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.geo-shape-3 {
    width: 100px;
    height: 100px;
    background: rgba(71, 115, 175, 0.2);
    bottom: 20%;
    left: 30%;
    border-radius: 50%;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    z-index: 1;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-blend-mode: multiply;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--secondary-gold);
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}

/* Why Choose Us */
.why-us {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9)), url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
}

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

.why-us-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

.benefit-list {
    list-style: none;
}

.benefit-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInLeft 0.5s ease forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }

.benefit-icon {
    min-width: 30px;
    height: 30px;
    background: var(--secondary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-weight: bold;
}

.benefit-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.benefit-text p {
    opacity: 0.9;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-gold);
    font-family: 'Prata', serif;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Gallery Scroll Section */
.gallery-scroll {
    position: relative;
    width: 100%;
    background: #000;
}

.gallery-hero,
.gallery-content {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.gallery-images {
    position: absolute;
    width: 100%;
    height: 100%;
}

.gallery-images img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: var(--index);
    will-change: mask-image;
    -webkit-mask-image: linear-gradient(90deg, transparent 50%, transparent 50%, transparent 50%, transparent 50%);
    mask-image: linear-gradient(90deg, transparent 50%, transparent 50%, transparent 50%, transparent 50%);
}

.gallery-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
    color: #fff;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
}

.gallery-content .gallery-top,
.gallery-content .gallery-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
}

.gallery-content .gallery-top p,
.gallery-content .gallery-bottom p {
    font-weight: 300;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.gallery-content .gallery-center {
    width: 100%;
    max-width: clamp(300px, 80vw, 1000px);
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 0 20px;
}

.gallery-content .gallery-center .gallery-top-title {
    font-size: 24px;
    color: var(--secondary-gold);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.gallery-content .gallery-center .gallery-title-center {
    text-align: center;
}

.gallery-content .gallery-center .gallery-title-center h1 {
    font-size: clamp(40px, 7vw, 90px);
    font-family: 'Prata', serif;
    background: linear-gradient(135deg, #fff, var(--secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-content .gallery-center .gallery-title-bottom {
    text-align: right;
    font-size: 24px;
    color: var(--secondary-gold);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Responsive for Gallery */
@media (max-width: 768px) {
    .gallery-content .gallery-top,
    .gallery-content .gallery-bottom {
        padding: 20px;
    }
    
    .gallery-content .gallery-top p,
    .gallery-content .gallery-bottom p {
        font-size: 12px;
    }
    
    .gallery-content .gallery-center {
        gap: 40px;
    }
    
    .gallery-content .gallery-center .gallery-top-title,
    .gallery-content .gallery-center .gallery-title-bottom {
        font-size: 18px;
    }
}

/* Process Section */
.process {
    padding: 80px 0;
    background: var(--bg-light);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-gold));
    z-index: 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.process-step {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

.step-number {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 3px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-gold);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: 'Prata', serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--secondary-gold);
}

.author-info h4 {
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    background: var(--secondary-gold);
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta:hover {
    background: #f4d19b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-blue);
}

/* Contact Form */
.contact {
    padding: 80px 0;
    background: var(--bg-light);
}

/* iPhone Contact Section Styles */
.iphone-contact-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.iphone-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.iphone-section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: 20px;
    font-family: 'Prata', serif;
}

.iphone-section-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
}

.iphone-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

/* Left Info Panel */
.info-panel {
    flex: 1;
    min-width: 300px;
}

.glass-card {
    background: rgba(71, 115, 175, 0.1);
    border: 2px solid var(--primary-blue);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.glass-card h3 {
    color: var(--secondary-gold);
    font-size: 2rem;
    margin-bottom: 30px;
    font-family: 'Prata', serif;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.feature-check {
    background: #25D366;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: white;
}

.schedule-box {
    margin-top: 40px;
    padding: 20px;
    background: rgba(239, 192, 118, 0.1);
    border-radius: 15px;
    border: 1px solid var(--secondary-gold);
}

.schedule-box p {
    color: var(--secondary-gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.schedule-box span {
    color: white;
    line-height: 1.8;
}

/* iPhone Mockup */
.iphone-container {
    flex: 0 0 auto;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.iphone-device {
    width: 380px;
    height: 780px;
    background: linear-gradient(135deg, #6B46C1 0%, #9333EA 50%, #6B46C1 100%);
    border-radius: 45px;
    padding: 12px;
    box-shadow: 
        0 30px 60px rgba(147, 51, 234, 0.3),
        0 0 100px rgba(147, 51, 234, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Dynamic Island */
.dynamic-island {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 35px;
    background: black;
    border-radius: 20px;
    z-index: 10;
}

/* Screen */
.iphone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

/* WhatsApp Header */
.whatsapp-header {
    background: #075E54;
    padding: 50px 20px 15px 20px;
    color: white;
}

.whatsapp-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-profile .profile-pic {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info h4 {
    margin: 0;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
}

.profile-info p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Chat Container */
.chat-container {
    background: #E5DDD5;
    height: calc(100% - 170px);
    padding: 20px;
    overflow-y: auto;
    position: relative;
}

.chat-container::-webkit-scrollbar {
    width: 5px;
}

.chat-container::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 10px;
}

/* Messages */
.message {
    margin-bottom: 15px;
    animation: slideIn 0.3s ease;
}

.message-bot {
    text-align: left;
}

.message-user {
    text-align: right;
}

.message-bubble {
    display: inline-block;
    padding: 12px 15px;
    max-width: 70%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
}

.message-bot .message-bubble {
    background: white;
    border-radius: 0 15px 15px 15px;
}

.message-user .message-bubble {
    background: #DCF8C6;
    border-radius: 15px 0 15px 15px;
}

.message-text {
    margin: 0;
    color: #303030;
    font-size: 14px;
}

.message-time {
    font-size: 11px;
    color: #999;
    margin: 5px;
    display: inline-block;
}

/* Quick Replies */
.quick-replies {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-reply-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.quick-reply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(71, 115, 175, 0.3);
}

.quick-reply-btn.urgent {
    background: var(--secondary-gold);
    color: var(--text-dark);
}

/* Input Bar */
.whatsapp-input-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #e0e0e0;
}

.whatsapp-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.send-btn {
    background: #25D366;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 20px;
    transition: all 0.3s;
}

.send-btn:hover {
    transform: scale(1.1);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #25D366;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 45px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    animation: pulse 2s infinite;
    transition: all 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Right CTA Panel */
.cta-panel {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.cta-panel h3 {
    color: var(--secondary-gold);
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-family: 'Prata', serif;
}

.phone-display {
    background: rgba(239, 192, 118, 0.1);
    border: 2px solid var(--secondary-gold);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.phone-display p {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.phone-number {
    color: var(--secondary-gold);
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.status-indicator {
    margin-top: 30px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.status-indicator .online {
    color: #25D366;
}

/* Background Elements */
.bg-circle {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.bg-circle-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.3), transparent);
}

.bg-circle-2 {
    bottom: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(239, 192, 118, 0.2), transparent);
    animation-direction: reverse;
    animation-duration: 8s;
}

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

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    color: var(--secondary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--secondary-gold);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-gold);
    color: var(--primary-blue);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #f4d19b;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Dark Mode Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    font-size: 20px;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

/* Navigation with theme toggle */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

/* Video Responsive Styles for Mobile */
@media (max-width: 768px) {
    /* Switch videos: hide desktop, show mobile */
    .desktop-video {
        display: none;
    }
    
    .mobile-video {
        display: block;
    }
    
    /* Adjust overlay for mobile */
    .hero-video-overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(26, 26, 26, 0.5) 50%,
            rgba(0, 0, 0, 0.7) 100%
        );
    }
    
    /* Ensure video fills mobile viewport */
    .hero-video {
        min-width: 100vw;
        min-height: 100vh;
    }
}

/* Accessibility: Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
    
    .hero-video-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('images/hero-poster-desktop.jpg');
        background-size: cover;
        background-position: center;
        z-index: -2;
    }
}

@media (max-width: 768px) {
    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 18px;
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .iphone-content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .iphone-device {
        width: 340px;
        height: 700px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        flex: 1 1 auto;
        max-width: 100%;
    }
    
    .hero-visual {
        flex: 1 1 auto;
    }
    
    .floating-logo-container {
        width: 200px;
        height: 200px;
    }
    
    .floating-logo {
        width: 150px;
        height: 150px;
        padding: 15px;
    }

    .why-us-content {
        grid-template-columns: 1fr;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .iphone-device {
        width: 300px;
        height: 620px;
    }

    .iphone-section-header h2 {
        font-size: 2rem;
    }

    .glass-card {
        padding: 25px;
    }

    .cta-panel h3 {
        font-size: 2rem;
    }

    .phone-number {
        font-size: 1.5rem;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
/* Mobile Word Position Fixes - Added for preventing cut-off */
@media (max-width: 480px) {
    /* Fix for CONFIANZA and COMPROMISO words */
    .word-group[data-phase="0"] .floating-word:contains("CONFIANZA"),
    .word-group[data-phase="0"] .floating-word:nth-child(1) { 
        --x: 50% !important; 
        --y: 40% !important; 
    }
    
    .word-group[data-phase="80"] .floating-word:contains("COMPROMISO"),
    .word-group[data-phase="80"] .floating-word:nth-child(1) { 
        --x: 50% !important; 
        --y: 40% !important; 
    }
    
    /* Ensure all words are centered and visible on mobile */
    .floating-word {
        left: 50% !important;
        transform: translateX(-50%) translateY(-50%);
        text-align: center;
        white-space: nowrap;
    }
    
    /* Add padding to word container to prevent edge cut-off */
    .word-group {
        padding: 15px;
    }
    
    /* Optimize zoom effect for mobile */
    .image-wrapper-preloader img {
        will-change: transform;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}
