:root {
    /* Brand Colors - Dark Red, White, Black */
    --primary: #A63D40;
    --primary-light: #B95C60;
    --primary-dark: #8B2F32;
    --secondary: #1A1A1A;
    --accent: #C74B4B;
    --accent-light: #D96666;
    --accent-dark: #9E3333;
    --dark: #121212;
    --light: #ffffff;
    --gray: #F5F5F5;
    --gray-dark: #E8E8E8;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-light: #6B6B6B;
    --text-white: #ffffff;
    
    /* Enhanced Shadows with brand color hints */
    --shadow-sm: 0 4px 6px rgba(166, 61, 64, 0.06);
    --shadow-md: 0 8px 20px rgba(166, 61, 64, 0.08);
    --shadow-lg: 0 20px 40px rgba(166, 61, 64, 0.12);
    --shadow-xl: 0 25px 50px rgba(166, 61, 64, 0.15);
    --shadow-glow: 0 0 40px rgba(166, 61, 64, 0.2);
    
    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #A63D40 0%, #8B2F32 100%);
    --gradient-accent: linear-gradient(135deg, #C74B4B 0%, #A63D40 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    --gradient-elegant: linear-gradient(135deg, #A63D40 0%, #1A1A1A 100%);
    --gradient-hero: linear-gradient(135deg, rgba(166, 61, 64, 0.95) 0%, rgba(26, 26, 26, 0.98) 100%);
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    
    /* Border Radius */
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 28px;
    --border-radius-full: 50px;
    
    /* Transitions - Optimized for smooth feel */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    --border-width: 1px;
    --border-color: rgba(166, 61, 64, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Smooth scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection styling */
::selection {
    background: var(--primary);
    color: var(--light);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    transition: all var(--transition);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--light);
    border: none;
    box-shadow: 0 8px 25px rgba(166, 61, 64, 0.35);
}

.btn-primary:hover {
    background: var(--gradient-primary);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(166, 61, 64, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--light);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--light);
    color: var(--primary);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
    background: var(--gradient-primary);
    color: var(--light);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(166, 61, 64, 0.35);
    border-color: transparent;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    border-radius: var(--border-radius-full);
}

.btn-whatsapp i {
    font-size: 1.6rem;
    transition: transform var(--transition);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:hover i {
    transform: scale(1.15) rotate(-5deg);
}

/* Header */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(166, 61, 64, 0.08);
    padding: 10px 0;
}

header.scrolled .nav-link {
    color: var(--text-primary);
}

/* Logo switching based on scroll state */
.logo-light {
    display: block !important;
}

.logo-dark {
    display: none !important;
}

header.scrolled .logo-light {
    display: none !important;
}

header.scrolled .logo-dark {
    display: block !important;
}

header.scrolled .nav-cta {
    background: var(--gradient-accent);
    color: var(--light);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(166, 61, 64, 0.25);
}

header.scrolled .language-toggle {
    color: var(--dark);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all var(--transition);
    flex-shrink: 0;
}

.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition);
}

.logo:hover {
    transform: scale(1.03);
}

.logo:hover img {
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
}

header.scrolled .logo:hover img {
    filter: drop-shadow(0 4px 12px rgba(166, 61, 64, 0.3));
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--accent-light);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--light);
    padding: 10px 24px;
    border-radius: var(--border-radius-full);
    transition: all var(--transition);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-cta:hover {
    background: var(--light);
    color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--light);
    cursor: pointer;
    margin-left: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.dropdown-content {
    display: block;
    position: absolute;
    background-color: var(--light);
    min-width: 250px;
    box-shadow: var(--shadow-md);
    z-index: 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    top: 100%;
    left: 0;
    margin-top: 10px;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    height: 15px;
    width: 100%;
    background: transparent;
}

.dropdown-content a {
    color: var(--text-primary);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-fast);
}

.dropdown-content a:hover {
    background-color: var(--gray);
    color: var(--accent);
    padding-left: 25px;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .dropdown-toggle {
    color: var(--accent-light);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, rgba(166, 61, 64, 0.92) 0%, rgba(26, 26, 26, 0.95) 100%), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(199, 75, 75, 0.15) 0%, transparent 70%);
    animation: floatGlow 15s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10%, 10%) scale(1.1); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    animation: fadeInUp 1s ease forwards;
    background: linear-gradient(135deg, #ffffff 0%, #f0d0d0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    animation: expandWidth 1s ease 0.8s forwards;
    transform-origin: left;
    transform: scaleX(0);
}

@keyframes expandWidth {
    to { transform: scaleX(1); }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 400;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease forwards 0.6s;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease forwards 0.3s;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Trust Bar */
.trust-bar {
    background: var(--light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.trust-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.trust-bar-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.trust-bar-title:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.trust-logo {
    width: 220px;
    height: 120px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition);
    padding: 20px;
    background: rgba(166, 61, 64, 0.02);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(166, 61, 64, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.trust-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08) translateY(-5px);
    background: rgba(166, 61, 64, 0.05);
    box-shadow: var(--shadow-md);
    border-color: rgba(166, 61, 64, 0.15);
}

.trust-logos-container {
    max-width: 1000px;
    margin: 0 auto;
}

.trust-description {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Services Section - Modern Redesign */
.services {
    padding: 100px 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.section-padding {
    padding: 40px 0;
}

/* New Modern Services Layout */
.services-modern {
    margin-bottom: 60px;
}

.service-item {
    margin-bottom: 80px;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-item-inner.reverse {
    direction: rtl;
}

.service-item-inner.reverse .service-item-content {
    direction: ltr;
}

.service-item-content {
    padding: 30px 0;
}

.service-icon-wrapper {
    margin-bottom: 20px;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    color: var(--light);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(166, 61, 64, 0.25);
    transition: all var(--transition);
}

.service-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(166, 61, 64, 0.35);
}

.service-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    gap: 10px;
    transition: all var(--transition);
    position: relative;
    padding-bottom: 3px;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.service-link i {
    transition: transform var(--transition);
}

.service-link:hover {
    color: var(--accent);
}

.service-link:hover::after {
    width: 100%;
}

.service-link:hover i {
    transform: translateX(8px);
}

.service-item-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    height: 100%;
    min-height: 350px;
}

.service-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-item:hover .service-item-image img {
    transform: scale(1.05);
}

/* Signature Plan */
.signature-plan {
    background: linear-gradient(135deg, rgba(166, 61, 64, 0.95) 0%, rgba(26, 26, 26, 0.98) 100%), url('https://images.unsplash.com/photo-1579532537598-459ecdaf39cc?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    padding: 60px;
    border-radius: var(--border-radius-xl);
    color: var(--light);
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.signature-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent), transparent);
    opacity: 0.08;
}

.signature-content {
    position: relative;
    z-index: 2;
}

.signature-label {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--light);
    padding: 10px 20px;
    border-radius: var(--border-radius-full);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(199, 75, 75, 0.3);
}

.signature-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.signature-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.signature-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.feature-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Results Section */
.results {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--gray) 0%, var(--light) 100%);
    position: relative;
}

.results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--primary), transparent);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 30px;
    margin-top: 60px;
}

.result-card {
    background: var(--light);
    border-radius: var(--border-radius-xl);
    padding: 45px;
    transition: all var(--transition);
    border: 1px solid rgba(166, 61, 64, 0.08);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-accent);
    transition: height var(--transition);
}

.result-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(166, 61, 64, 0.15);
}

.result-card:hover::before {
    height: 100%;
}

.result-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.result-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.result-subtext {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Testimonial Section */
.testimonials {
    padding: 100px 0;
    background: var(--gradient-elegant);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><path fill="rgba(255,255,255,0.02)" d="M20 20h20v20H20V20zm40 0h20v20H60V20zm0 40h20v20H60V60zm-40 0h20v20H20V60z"/></svg>');
    background-size: 80px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.testimonial-content {
    position: relative;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--accent);
    position: absolute;
    left: -15px;
    top: -30px;
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-details p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(166, 61, 64, 0.92) 0%, rgba(26, 26, 26, 0.95) 100%), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light);
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(199, 75, 75, 0.15) 0%, transparent 70%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--light);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 1.5rem;
    display: block;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--light);
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--gradient-accent);
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(166, 61, 64, 0.4);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.bottom-links a:hover {
    color: var(--accent-light);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .signature-plan {
        padding: 40px;
    }

    .service-item-inner {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    header.scrolled {
        padding: 8px 0;
    }

    .header-container {
        min-height: 40px;
    }

    .logo img {
        height: 35px;
    }

    .mobile-toggle {
        display: block;
        padding: 8px;
        font-size: 1.2rem;
    }

    .fa-times {
        color: #ffffff !important;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
        flex-direction: column;
        align-items: flex-start;
        padding: 70px 30px 30px;
        z-index: 1000;
        transition: right var(--transition);
        overflow-y: auto;
    }

    .nav-list.active {
        right: 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-item {
        width: 100%;
    }

    .nav-list .nav-link {
        color: var(--light) !important;
        font-size: 1rem;
        padding: 12px 0;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-cta {
        margin-top: 15px;
        text-align: center;
        display: block;
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .language-toggle {
        margin: 15px 0 0 0;
        padding: 10px 0;
    }

    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        transform: none;
        opacity: 1;
        visibility: visible;
        margin-top: 0;
        padding-left: 15px;
    }

    .dropdown-content a {
        color: var(--light) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 12px 15px;
    }

    .dropdown-content a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-light) !important;
    }

    .dropdown.open .dropdown-content {
        display: block;
        margin-top: 10px;
    }

    .dropdown-toggle i {
        transition: transform var(--transition);
    }

    .dropdown.open .dropdown-toggle i {
        transform: rotate(180deg);
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .hero-image {
        max-height: 250px;
        order: -1;
    }

    .hero-image img {
        max-height: 250px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .signature-plan {
        padding: 30px;
    }

    .signature-features {
        grid-template-columns: 1fr;
    }

    .service-item-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-item-inner.reverse {
        direction: ltr;
    }

    .service-item-image {
        order: -1;
    }

    .service-title {
        font-size: 1.8rem;
    }

    .results-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    header {
        padding: 8px 0;
    }

    .logo img {
        height: 30px;
    }

    .hero {
        padding: 80px 0 50px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .testimonial-card {
        padding: 25px 15px;
    }

    .result-card,
    .benefit-card {
        padding: 25px 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .bottom-links {
        margin-top: 10px;
    }

    .bottom-links a {
        margin: 0 8px;
        font-size: 0.8rem;
    }

    .signature-plan {
        padding: 25px 15px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .trust-logos {
        gap: 20px;
    }

    .trust-logo {
        height: 60px;
        padding: 10px;
    }

    .trust-logo img {
        max-height: 40px;
    }

    /* Mobile cards and grids */
    .services-grid,
    .benefits-grid {
        gap: 15px;
    }

    .service-card {
        padding: 20px 15px;
    }

    .benefit-card {
        padding: 20px 15px;
    }

    /* Trust bar mobile */
    .trust-bar {
        padding: 40px 0;
    }

    .trust-bar-title {
        font-size: 1.1rem;
    }

    .trust-description {
        font-size: 0.85rem;
    }

    /* CTA section mobile */
    .cta-section {
        padding: 50px 0;
    }

    .cta-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .service-item-image {
        min-height: 200px;
    }

    .result-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .cta-title {
        font-size: 1.3rem;
    }

    .nav-list {
        width: 85%;
        padding: 60px 20px 20px;
    }

    .nav-list .nav-link {
        font-size: 0.9rem;
        padding: 10px 0;
    }
}

/* Safari specific fixes */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        .service-item-image {
            height: 350px;
        }

        .service-item-inner.reverse {
            direction: ltr;
        }

        .service-item-inner.reverse .service-item-content {
            order: 2;
        }

        .service-item-inner.reverse .service-item-image {
            order: 1;
        }
    }
}

/* IE fixes */
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .service-item-inner.reverse {
        display: flex;
        flex-direction: row-reverse;
    }

    .service-item-inner {
        display: flex;
    }

    .service-item-content,
    .service-item-image {
        width: 50%;
    }
}

/* Ensure icons are colored correctly */
header.scrolled .fas {
    color: black !important;
}

.fas {
    color: white !important;
}

/* Fix for Firefox backdrop-filter */
@-moz-document url-prefix() {
    .testimonial-card {
        background: rgba(166, 61, 64, 0.85);
    }
}

/* Nexprime Section */
.nexprime-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.nexprime-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.nexprime-section .star {
    position: absolute;
    top: 80px;
    right: 150px;
    width: 30px;
    height: 30px;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    z-index: 10;
}

.nexprime-section .images-section {
    align-self: start;
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.nexprime-section .main-image {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
    transform-style: preserve-3d;
}

.nexprime-section .main-image:hover {
    transform: rotateY(-8deg) rotateX(5deg) translateZ(30px) scale(1.02);
    box-shadow: 30px 30px 50px rgba(0, 0, 0, 0.2);
}

.nexprime-section .main-image img {
    border: none;
    border-radius: 20px;
    object-fit: cover;
    display: block;
}

.nexprime-section .secondary-image {
    position: absolute;
    bottom: -132px;
    right: -66px;
    width: 350px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    z-index: 2;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
    transform-style: preserve-3d;
}

.nexprime-section .secondary-image:hover {
    transform: rotateY(8deg) rotateX(-5deg) translateZ(30px) scale(1.02);
    box-shadow: -30px 30px 50px rgba(0, 0, 0, 0.2);
}

.nexprime-section .secondary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.nexprime-section .content-section {
    padding-left: 20px;
}

.nexprime-section .title {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 24px;
    line-height: 1.2;
}

.nexprime-section .description {
    font-size: 16px;
    color: #6b7280;
}

.nexprime-section .features {
    list-style: none;
    margin-bottom: 40px;
}

.nexprime-section .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    padding: 5px 0;
}

.nexprime-section .feature-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.nexprime-section .feature-text {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.nexprime-section .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all var(--transition);
    box-shadow: 0 8px 25px rgba(166, 61, 64, 0.35);
}

.nexprime-section .cta-button:hover {
    background: var(--gradient-primary);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(166, 61, 64, 0.45);
}

.nexprime-section .arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.nexprime-section .cta-button:hover .arrow {
    transform: translateX(3px);
}

/* Responsive Design for Nexprime Section */
@media (max-width: 768px) {
    .nexprime-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .nexprime-section .images-section {
        height: 350px;
        order: 2;
        perspective: 800px;
    }

    .nexprime-section .main-image {
        width: 280px;
        height: 200px;
    }

    .nexprime-section .main-image:hover,
    .nexprime-section .secondary-image:hover {
        transform: rotateY(-5deg) rotateX(3deg) translateZ(15px) scale(1.02);
    }

    .nexprime-section .secondary-image {
        width: 220px;
        height: 150px;
        bottom: -20px;
        right: -20px;
    }

    .nexprime-section .title {
        font-size: 28px;
    }

    .nexprime-section .star {
        top: 40px;
        right: 40px;
        width: 24px;
        height: 24px;
    }

    .nexprime-section .content-section {
        padding-left: 0;
        order: 1;
    }
}

@media (max-width: 480px) {
    .nexprime-section {
        padding: 60px 0;
    }

    .nexprime-section .images-section {
        height: 300px;
    }

    .nexprime-section .main-image {
        width: 250px;
        height: 180px;
    }

    .nexprime-section .secondary-image {
        width: 220px;
        height: 150px;
        bottom: -20px;
        right: -30px;
    }

    .nexprime-section .title {
        font-size: 28px;
    }
}

.hero-section {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 20px;
    color: #64748b;
    line-height: 1.6;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    color: var(--secondary);
    padding: 40px 30px 70px 30px;
    border-radius: var(--border-radius-xl);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(166, 61, 64, 0.08);
    border: 1px solid rgba(166, 61, 64, 0.08);
}

.service-card.blue {
    background: var(--gradient-primary);
    color: #fff;
}

.service-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.service-card p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    transform: translateY(0);
    transition: transform 0.4s ease 0.1s;
    margin-bottom: 20px;
}

.discover-more {
    position: absolute;
    bottom: 20px;
    left: 30px;
    background: rgba(166, 61, 64, 0.1);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: var(--border-radius-full);
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(166, 61, 64, 0.15);
}

.service-card.blue .discover-more {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(166, 61, 64, 0.18);
}

.service-card:hover .discover-more {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover h2 {
    transform: translateY(-10px);
}

.service-card:hover p {
    transform: translateY(-10px);
}

/* Color inversion on hover */
.service-card:hover {
    background: var(--gradient-primary);
    color: #fff;
}

.service-card.blue:hover {
    background: #fff;
    color: var(--secondary);
}

.service-card:hover .discover-more {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card.blue:hover .discover-more {
    background: rgba(166, 61, 64, 0.1);
    color: var(--primary);
    border: 1px solid rgba(166, 61, 64, 0.15);
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 28px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }

    .service-card {
        padding: 25px 20px 55px 20px;
    }

    .service-card h2 {
        font-size: 20px;
    }

    .service-card p {
        font-size: 14px;
    }

    .discover-more {
        left: 20px;
        font-size: 12px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 24px;
    }

    .hero-section p {
        font-size: 14px;
    }

    .service-card {
        padding: 20px 15px 50px 15px;
    }

    .service-card h2 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 13px;
    }

    .discover-more {
        left: 15px;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover::before {
    transform: translateX(100%);
}

/* ============================================
   ENHANCED ANIMATIONS & AESTHETIC EFFECTS
   Modern, jaw-dropping visual enhancements
   ============================================ */

/* Smooth Page Load Animation */
@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: pageLoad 0.6s ease-out;
}

/* Enhanced Section Reveal Animations */
[data-aos="fade-up"] {
    transform: translateY(60px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* Elegant Floating Animation */
@keyframes elegantFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
    }
    75% {
        transform: translateY(8px) rotate(-1deg);
    }
}

/* Subtle Pulse Glow */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(166, 61, 64, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(166, 61, 64, 0);
    }
}

/* Gradient Text Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Apply Animated Gradient to Section Titles */
.section-title {
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}

/* Magnetic Button Effect */
.btn {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Card 3D Tilt Effect */
.result-card,
.value-card,
.team-card,
.feature-card {
    transition: all var(--transition), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.result-card:hover,
.value-card:hover,
.team-card:hover,
.feature-card:hover {
    transform: translateY(-12px) perspective(1000px) rotateX(2deg) rotateY(-2deg);
}

/* Glowing Border Animation */
@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(166, 61, 64, 0.2);
    }
    50% {
        border-color: rgba(166, 61, 64, 0.5);
    }
}

/* Image Reveal Animation */
.hero-image img,
.about-image img,
.service-item-image img {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) contrast(1);
}

.hero-image:hover img,
.about-image:hover img,
.service-item-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.05) contrast(1.02);
}

/* Animated Underline for Links */
.footer-links a {
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Staggered Animation Delays */
.results-grid .result-card:nth-child(1),
.features-grid .feature-card:nth-child(1),
.values-grid .value-card:nth-child(1) {
    transition-delay: 0.1s;
}

.results-grid .result-card:nth-child(2),
.features-grid .feature-card:nth-child(2),
.values-grid .value-card:nth-child(2) {
    transition-delay: 0.2s;
}

.results-grid .result-card:nth-child(3),
.features-grid .feature-card:nth-child(3),
.values-grid .value-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Glassmorphism Enhancement */
.testimonial-card,
.dropdown-content {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Smooth Focus States */
.form-control:focus,
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(166, 61, 64, 0.25);
}

/* Enhanced Icon Animations */
.service-icon,
.value-icon,
.contact-icon,
.feature-card-icon {
    transition: all var(--transition);
    position: relative;
}

.service-icon::before,
.value-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: var(--gradient-accent);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    filter: blur(15px);
    transition: opacity var(--transition);
}

.service-icon:hover::before,
.value-icon:hover::before {
    opacity: 0.4;
}

/* Parallax Scroll Effect Enhancement */
.hero,
.cta,
.testimonials {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .hero,
    .cta,
    .testimonials {
        background-attachment: scroll;
    }
}

/* Loading Skeleton Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Number Counter Animation (for result numbers) */
.result-number {
    display: inline-block;
    position: relative;
}

/* Smooth Section Transitions */
section {
    position: relative;
    transition: background-color 0.4s ease;
}

/* Navigation Active State Enhancement */
.nav-link.active {
    color: var(--accent) !important;
}

.nav-link.active::after {
    width: 100%;
}

/* Card Shine Effect on Hover */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 40%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.05) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(-45deg) translateY(-100%);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.service-card:hover::after {
    transform: rotate(-45deg) translateY(100%);
}

/* Testimonial Quote Animation */
.testimonial-content::before {
    transition: all var(--transition);
}

.testimonial-card:hover .testimonial-content::before {
    transform: scale(1.2);
    opacity: 0.7;
}

/* CTA Button Pulse */
.btn-primary {
    animation: pulseGlow 3s infinite;
}

.btn-primary:hover {
    animation: none;
}

/* Trust Logo Subtle Float */
.trust-logo {
    animation: elegantFloat 6s ease-in-out infinite;
}

.trust-logo:nth-child(2) {
    animation-delay: 1s;
}

.trust-logo:nth-child(3) {
    animation-delay: 2s;
}

/* Nexprime Feature Bullet Animation */
.nexprime-section .feature-bullet {
    background: var(--gradient-accent);
    animation: pulseGlow 2s infinite;
}

/* Performance Optimizations */
.btn,
.service-card,
.result-card,
.testimonial-card,
.trust-logo,
img {
    will-change: transform;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .trust-logo {
        animation: none;
    }
    
    .btn-primary {
        animation: none;
    }
}