/* =====================================================
   TENTECI.NET - VISUAL PERFECTION ENHANCEMENTS
   Header Fix + Visual Polish + Modern UI Improvements
   ===================================================== */

/* ===== HEADER FIX - Critical Issues ===== */
.header {
    height: 80px !important;
}

.header.scrolled {
    height: 70px !important;
}

.header-container {
    max-width: 1200px !important;
    gap: 1rem;
}

.logo {
    flex-shrink: 0;
    font-size: 1.3rem !important;
    white-space: nowrap;
}

.logo-img {
    height: 40px !important;
}

/* Navigation spacing fix */
.nav-list {
    gap: 1.25rem !important;
}

.nav-link {
    font-size: 0.9rem !important;
    white-space: nowrap;
}

/* Header CTA button fix */
.header-cta {
    padding: 0.6rem 1.25rem !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== WIDER CONTAINER ===== */
.container {
    max-width: 1200px !important;
}

/* ===== ENHANCED SECTION HEADERS ===== */
.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    font-size: 0.8rem !important;
    border-radius: 25px !important;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1rem !important;
    max-width: 600px;
}

/* ===== VIDEO HERO IMPROVEMENTS ===== */
.video-hero {
    min-height: 100vh;
    position: relative;
}

.video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(58, 66, 48, 0.92) 0%,
            rgba(74, 82, 64, 0.85) 50%,
            rgba(44, 44, 44, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 120px 1rem 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-badge-animated {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(201, 169, 98, 0.2);
    border: 1px solid rgba(201, 169, 98, 0.4);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

.hero-title-animated {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #e5d4a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-animated {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Hero CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(201, 169, 98, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201, 169, 98, 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    margin: 0 auto 0.5rem;
    position: relative;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.3;
    }
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 0.75rem 0;
    position: relative;
    overflow: hidden;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.announcement-tag {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.announcement-text {
    color: white;
    font-size: 0.9rem;
}

.announcement-text .highlight {
    color: var(--accent);
    font-weight: 700;
}

.announcement-btn {
    background: white;
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s;
}

.announcement-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ===== SERVICES SHOWCASE ===== */
.services-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card-premium {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(74, 82, 64, 0.08);
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-card-premium:hover::before {
    transform: scaleX(1);
}

.service-card-premium.featured {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    grid-row: span 2;
}

.service-card-premium.featured::before {
    background: var(--accent);
    transform: scaleX(1);
}

.card-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-icon-wrap {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.15), rgba(201, 169, 98, 0.25));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-card-premium.featured .card-icon-wrap {
    background: rgba(255, 255, 255, 0.15);
}

.card-icon {
    font-size: 1.75rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.service-card-premium.featured .card-title {
    color: white;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-card-premium.featured .card-text {
    color: rgba(255, 255, 255, 0.85);
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.card-features li {
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: all 0.3s;
}

.service-card-premium.featured .card-btn {
    background: white;
    color: var(--primary-dark);
}

.card-btn:hover {
    transform: translateX(5px);
}

/* ===== MARQUEE BAND ===== */
.marquee-band {
    background: var(--primary-dark);
    padding: 1rem 0;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== WHY US GRID ===== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.why-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.why-card:hover::after {
    transform: scaleX(1);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(74, 82, 64, 0.08), rgba(201, 169, 98, 0.15));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.25rem;
    transition: all 0.4s;
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(5deg);
}

.why-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.why-text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.why-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(74, 82, 64, 0.05);
    line-height: 1;
}

/* ===== STATS SHOWCASE ===== */
.stats-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 20px;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.stat-box .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

/* ===== PROCESS SECTION ===== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 25px rgba(74, 82, 64, 0.3);
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card-premium {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-quote {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: rgba(201, 169, 98, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== BLOG GRID ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card-premium {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.blog-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card-premium:hover .blog-image img {
    transform: scale(1.1);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-light), var(--bg));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-overlay {
    position: absolute;
    inset: 0;
    background: rgba(74, 82, 64, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.blog-card-premium:hover .blog-overlay {
    opacity: 1;
}

.blog-overlay span {
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid white;
    border-radius: 25px;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.blog-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== CTA SECTION PREMIUM ===== */
.cta-section-premium {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: white;
    bottom: -50px;
    right: 10%;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent);
    top: 50%;
    right: -50px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(201, 169, 98, 0.4);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201, 169, 98, 0.5);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #25D366;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.cta-btn-secondary:hover {
    transform: translateY(-3px);
    background: #1da851;
}

.cta-btn-tertiary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.cta-btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    .hero-title-animated {
        font-size: 2.25rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .stat-divider {
        display: none;
    }

    .services-showcase {
        grid-template-columns: 1fr;
    }

    .service-card-premium.featured {
        grid-row: auto;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-header-content {
        padding: 2rem 0;
    }

    .page-title {
        font-size: 2rem !important;
    }
}

/* ===== PAGE HEADER ENHANCED ===== */
.page-header {
    position: relative;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    overflow: hidden;
    min-height: 45vh;
    display: flex;
    align-items: center;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(58, 66, 48, 0.95) 0%,
            rgba(74, 82, 64, 0.9) 100%);
    z-index: 1;
}

.page-header-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(201, 169, 98, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.page-header .page-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(201, 169, 98, 0.2);
    border: 1px solid rgba(201, 169, 98, 0.4);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.page-header .page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-header .page-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== CONTENT SECTION ===== */
.content-section {
    padding: 4rem 0;
}

/* ===== GRID UTILITIES ===== */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMATION ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== WHATSAPP WIDGET ENHANCEMENT ===== */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    font-size: 1.75rem;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6), 0 0 0 15px rgba(37, 211, 102, 0.1);
    }
}

/* ===== SERVICES GRID ENHANCED ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* ===== SERVICE CARD NEW DESIGN ===== */
.service-card-new {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.service-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light), var(--bg));
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-new:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
}

.service-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.service-card-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.service-card-tags {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.service-tag {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.service-card-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.service-features li {
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

.service-card-footer {
    margin-top: auto;
    display: flex;
    gap: 0.75rem;
}

.service-btn-detail {
    flex: 1;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: all 0.3s;
}

.service-btn-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 82, 64, 0.3);
}

.service-btn-whatsapp {
    width: 45px;
    height: 45px;
    background: #25D366;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s;
}

.service-btn-whatsapp:hover {
    transform: scale(1.05);
    background: #1da851;
}

/* ===== MOBILE MENU FIX - CRITICAL ===== */
@media (max-width: 1024px) {

    /* Force show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1100;
    }

    /* Mobile menu panel */
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 380px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: white !important;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3) !important;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        padding: 100px 2rem 2rem !important;
        z-index: 1050 !important;
        overflow-y: auto !important;
        display: block !important;
    }

    .nav-menu.active {
        right: 0 !important;
    }

    /* Ensure nav-list is visible */
    .nav-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .nav-list li {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(74, 82, 64, 0.12) !important;
    }

    .nav-link {
        display: block !important;
        padding: 1.25rem 0.5rem !important;
        font-size: 1.15rem !important;
        font-weight: 600 !important;
        color: var(--primary-dark) !important;
        text-decoration: none !important;
        white-space: normal !important;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--accent) !important;
        background: rgba(74, 82, 64, 0.05) !important;
    }

    /* Body scroll lock when menu open */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }

    /* Mobile overlay */
    .nav-menu::before {
        content: '' !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.6) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
        pointer-events: none !important;
        z-index: -1 !important;
    }

    .nav-menu.active::before {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Hide header CTA on mobile */
    .header-cta {
        display: none !important;
    }
}