/*
Theme Name: NewTech Digital
Theme URI: https://newtechdigital.org
Author: NewTech Digital
Author URI: https://newtechdigital.org
Description: Modern, conversion-optimized WordPress theme for digital marketing agency with glassmorphic design, smooth animations, and mobile-first approach.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newtech-digital
Tags: digital-marketing, agency, modern, responsive, glassmorphism
*/

/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #fe004a;
    --secondary-color: #000000;
    --white: #ffffff;
    --gray-dark: #1a1a1a;
    --gray-medium: #333333;
    --gray-light: #f5f5f5;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary-color);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white); /* Ensure all headings are white by default */
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 2rem); }
h5 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.85); /* Ensure paragraphs are white by default */
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section h2,
.section h3,
.section h4,
.section p {
    color: var(--white);
}

.section-dark {
    background: var(--secondary-color);
    color: var(--white);
}

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

.text-primary {
    color: var(--primary-color);
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(254, 0, 74, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(254, 0, 74, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--secondary-color);
    border-color: var(--white);
}

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

/* ===================================
   ANIMATED GRADIENT BACKGROUND
   =================================== */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    z-index: -2;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(254, 0, 74, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.gradient-bg::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(254, 0, 74, 0.1) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.site-header.scrolled .site-logo img {
    height: 40px;
}

/* ===================================
   DESKTOP NAVIGATION — Horizontal inline menu
   =================================== */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul,
.main-navigation .nav-menu {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    display: block;
    padding: 8px 14px;
    white-space: nowrap;
    border-radius: 6px;
    transition: var(--transition);
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--primary-color);
    background: rgba(254, 0, 74, 0.08);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 70%;
}

/* Get Started button in nav */
.main-navigation .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* MOBILE MENU TOGGLE — hidden on desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    margin: 4px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background: transparent;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
    font-weight: 400;
}

.hero-tagline {
    color: var(--primary-color);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 600;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Particle overlay */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
}

/* ===================================
   GLASSMORPHIC CARDS
   =================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(254, 0, 74, 0.15) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(254, 0, 74, 0.6);
    box-shadow: 0 20px 60px rgba(254, 0, 74, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.glass-card:hover::before {
    opacity: 1;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 20px;
    font-size: 2.5rem;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(254, 0, 74, 0.5);
}

.service-title {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 10px;
}

/* ===================================
   STATS COUNTER SECTION
   =================================== */
.stats-section {
    background: var(--secondary-color);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   PRICING SECTION
   =================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(254, 0, 74, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.pricing-title {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.pricing-price {
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-period {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 30px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 30px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ===================================
   BRANDS MARQUEE SECTION
   =================================== */
.brands-marquee-section {
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    padding: 60px 0;
}

.brands-marquee-wrapper {
    overflow: hidden;
    margin-top: 40px;
    padding: 20px 0;
    position: relative;
}

.brands-marquee-wrapper::before,
.brands-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.brands-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(0,0,0,1), transparent);
}

.brands-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(0,0,0,1), transparent);
}

.brands-marquee {
    display: flex;
    gap: 60px;
    animation: marqueeScroll 40s linear infinite;
    width: fit-content;
}

.brand-item {
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(254, 0, 74, 0.3);
    border-radius: 15px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.brand-item:hover {
    background: rgba(254, 0, 74, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(254, 0, 74, 0.4);
}

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

/* Pause animation on hover */
.brands-marquee:hover {
    animation-play-state: paused;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .brand-item {
        font-size: 1.2rem;
        padding: 15px 30px;
    }
    
    .brands-marquee {
        gap: 40px;
    }
}

/* ===================================
   TESTIMONIALS SECTION — No shake / no layout shift
   Uses fixed min-height (set by JS) + absolute positioning for all cards
   Only active card has opacity:1, rest are invisible but take no space
   =================================== */
.testimonials-slider {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
    /* min-height set dynamically by JS to tallest card height */
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    /* Always absolute — no position toggling that causes reflow */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: none;
    /* will-change avoids compositing glitches */
    will-change: opacity;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* Do NOT change position to relative — that causes layout reflow = shake */
}

.testimonial-text {
    color: var(--white);
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-info {
    text-align: left;
}

.testimonial-name {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-position {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Testimonial Navigation Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.testimonial-dot.active {
    background: var(--primary-color);
    border-color: var(--white);
    transform: scale(1.2);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--white);
    margin-bottom: 5px;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

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

/* ===================================
   BRANDS MARQUEE SECTION
   =================================== */
.brands-marquee-section {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    padding: 60px 0;
}

.marquee-wrapper {
    overflow: hidden;
    position: relative;
    margin-top: 40px;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.brand-item {
    display: inline-block;
    padding: 20px 40px;
    margin: 0 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}

.brand-item:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

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

/* ===================================
   WHATSAPP FLOAT BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

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

/* ===================================
   BACK TO TOP BUTTON
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 110px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(254, 0, 74, 0.5);
    z-index: 999;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(254, 0, 74, 0.6);
}

.back-to-top.show {
    display: flex;
}

/* Mobile adjustments for floating buttons */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
    
    .back-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
    background: #000000;
    color: var(--white);
    padding: 60px 0 20px;
    border-top: 3px solid var(--primary-color);
    position: relative;
    z-index: 10;
    margin-top: 80px;
}

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

.footer-widget h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-widget a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

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

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

.fade-in-up {
    animation: fadeInUp 0.8s ease both;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN — MOBILE FIXES
   =================================== */

/* ---- Tablet / Small Desktop ---- */
@media (max-width: 1024px) {
    .main-navigation a {
        font-size: 0.88rem;
        padding: 7px 10px;
    }
}

/* ---- Mobile: Hamburger Menu ---- */
@media (max-width: 768px) {

    /* Show hamburger, hide inline nav */
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
        border-top: 1px solid rgba(254, 0, 74, 0.3);
        z-index: 999;
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul,
    .main-navigation .nav-menu {
        flex-direction: column;
        gap: 5px;
        align-items: stretch;
    }

    .main-navigation li {
        width: 100%;
    }

    .main-navigation a {
        font-size: 1rem;
        padding: 12px 20px;
        border-radius: 10px;
        display: block;
        color: var(--white);
        text-align: left;
        border: 1px solid transparent;
    }

    .main-navigation a:hover,
    .main-navigation a.active {
        background: rgba(254, 0, 74, 0.15);
        border-color: rgba(254, 0, 74, 0.3);
        color: var(--primary-color);
    }

    .main-navigation a::after {
        display: none;
    }

    .main-navigation .btn {
        display: block;
        text-align: center;
        margin-top: 10px;
        padding: 12px 20px;
        width: 100%;
    }

    /* Hero */
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    /* Grids */
    .services-grid,
    .pricing-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Pricing featured card — no scale on mobile */
    .pricing-card.featured {
        transform: scale(1);
    }

    /* Cards — touch-active state (replaces :hover on mobile) */
    .glass-card.touch-active,
    .service-card.touch-active {
        transform: translateY(-8px);
        border-color: rgba(254, 0, 74, 0.6);
        box-shadow: 0 16px 50px rgba(254, 0, 74, 0.35);
        background: rgba(255, 255, 255, 0.12);
    }

    .pricing-card.touch-active {
        transform: translateY(-8px);
        border-color: var(--primary-color);
        box-shadow: 0 16px 50px rgba(254, 0, 74, 0.3);
    }

    /* Testimonials mobile */
    .testimonial-card {
        padding: 25px 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    /* Stats counter on mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    /* Back to top — mobile position */
    .back-to-top {
        bottom: 90px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    /* WhatsApp button on mobile */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .glass-card {
        padding: 25px 18px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

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

    .hero-title {
        font-size: 2rem;
    }
}

/* ===================================
   CUSTOM CURSOR (Desktop only)
   =================================== */
@media (min-width: 769px) {
    .custom-cursor {
        width: 20px;
        height: 20px;
        border: 2px solid var(--primary-color);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        transition: all 0.1s ease;
        transform: translate(-50%, -50%);
        mix-blend-mode: difference;
    }
    
    .custom-cursor::after {
        content: '';
        width: 40px;
        height: 40px;
        border: 1px solid rgba(254, 0, 74, 0.3);
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
    }
    
    .custom-cursor.hover {
        width: 60px;
        height: 60px;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .site-header,
    .whatsapp-float,
    .site-footer,
    .gradient-bg {
        display: none !important;
    }
}
