/* 
==================================================
   AVERPLATINUM PREMIUM CSS
   Figma-Inspired, Mobile-First Design
================================================== 
*/

:root {
    --primary-red: #d31212;
    --primary-red-hover: #b50e0e;
    --dark-bg: #111111;
    --darker-bg: #080808;
    --card-bg: #1a1a1a;
    --border-color: #2a2a2a;
    --text-light: #a0a0a0;
    --white: #ffffff;
    --font-main: 'Helvetica Neue', Arial, sans-serif;
    --transition-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --header-height: 100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================== Preloader ================== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--darker-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.loader-ring {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary-red);
    animation: spin 1.5s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-ring::before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-right-color: var(--white);
    animation: spin 2s linear infinite reverse;
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: none;
}

.loader-logo img {
    height: 30px;
    width: auto;
}

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

/* ================== Typography & Common ================== */
.text-red { color: var(--primary-red); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

.section-tag {
    display: inline-block;
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    padding-left: 45px;
}
.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--primary-red);
}
.section-tag-light::before {
    background-color: var(--white);
}
.section-tag-light {
    color: var(--white);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 800;
}

/* ================== Buttons ================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 40px;
    transition: var(--transition-fast);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
    z-index: -1;
}
.btn:hover::before {
    transform: scaleX(1);
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(211, 18, 18, 0.2);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(211, 18, 18, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}
.btn-full {
    width: 100%;
}

/* ================== Header ================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: transparent;
    z-index: 1000;
    transition: all var(--transition-fast);
}
.header.scrolled {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo-container {
    display: flex;
    align-items: center;
}
.logo {
    height: 70px;
    width: auto;
}

.nav {
    display: none;
}
@media (min-width: 992px) {
    .nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color var(--transition-fast);
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--white);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-quote {
    display: none;
}
@media (min-width: 992px) {
    .btn-quote {
        display: inline-flex;
        background: transparent;
        border: 1px solid var(--border-color);
        color: var(--white);
        padding: 10px 24px;
    }
    .btn-quote:hover {
        border-color: var(--primary-red);
        background: var(--primary-red);
    }
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
@media (min-width: 992px) {
    .hamburger {
        display: none;
    }
}
.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-fast);
}
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(15px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}
.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-nav-content {
    text-align: center;
    transform: translateY(30px);
    transition: transform var(--transition-smooth);
}
.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateY(0);
}
.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}
.mobile-nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color var(--transition-fast);
}
.mobile-nav-link:hover {
    color: var(--primary-red);
}

/* ================== Hero Section ================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 10s ease;
}
.hero:hover .hero-bg-image img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0;
    margin-left: 10vw;
    margin-top: 80px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 24px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
}
.title-line {
    display: block;
    overflow: hidden;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
}
.stat-suffix {
    font-size: 2rem;
    color: var(--primary-red);
    font-weight: 800;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        border-top: none;
    }
    .stat-divider { display: none; }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}
.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}
.hero-scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* ================== Features ================== */
.features {
    padding: 100px 0;
    position: relative;
    z-index: 2;
    background-image: url('../images/dark_wood_bg.jpg');
    background-repeat: repeat;
    background-attachment: fixed;
    background-color: var(--darker-bg); /* Fallback */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    z-index: 1;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(211,18,18,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}
.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(211,18,18,0.3);
}
.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(211, 18, 18, 0.1);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}
.feature-card:hover .feature-icon-wrap {
    background: var(--primary-red);
    color: var(--white);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    transition: var(--transition-smooth);
}
.feature-card:hover .feature-number {
    color: rgba(211,18,18,0.1);
}

/* ================== Products Section ================== */
.product-section {
    padding: 120px 0;
    background-color: var(--dark-bg);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}
.product-image-card img {
    width: 100%;
    display: block;
    transition: transform 1s ease;
}
.product-image-card:hover img {
    transform: scale(1.05);
}
.product-image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-red);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.product-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.spec-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}
.spec-card:hover {
    border-color: var(--primary-red);
    transform: translateX(5px);
}
.spec-card svg {
    color: var(--primary-red);
}
.spec-card span {
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
@media (max-width: 576px) {
    .product-specs {
        grid-template-columns: 1fr;
    }
}

/* ================== Applications ================== */
.applications-section {
    padding: 100px 0;
    background-image: url('../images/dark_wood_bg.jpg');
    background-repeat: repeat;
    background-attachment: fixed;
    background-color: var(--darker-bg);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.app-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    group: hover;
}

.app-card-img {
    position: relative;
    height: 350px;
    overflow: hidden;
}
.app-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}
.app-card:hover .app-card-img img {
    transform: scale(1.1);
}
.app-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
}

.app-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    transform: translateY(20px);
    transition: transform var(--transition-smooth);
}
.app-card:hover .app-card-body {
    transform: translateY(0);
}

.app-card h4 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
}
.app-card h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background: var(--primary-red);
    transition: width var(--transition-smooth);
}
.app-card:hover h4::after {
    width: 100%;
}

.app-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity var(--transition-smooth) 0.1s;
}
.app-card:hover p {
    opacity: 1;
}


/* ================== Contact Section ================== */
.contact-section {
    padding: 120px 0;
    background-color: var(--dark-bg);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 60px;
    border: 1px solid var(--border-color);
}

.contact-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
}
.contact-subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.contact-list li {
    display: flex;
    align-items: center;
    gap: 20px;
}
.contact-icon-wrap {
    width: 50px;
    height: 50px;
    background: rgba(211,18,18,0.1);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-list li strong {
    font-size: 1.1rem;
    color: var(--white);
}
.contact-list li div:last-child {
    color: var(--text-light);
}

/* Form Styles */
.form-heading {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-full {
    grid-column: 1 / -1;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}
.form-group.form-full {
    margin-bottom: 30px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition-fast);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-red);
}

.form-group label {
    position: absolute;
    left: 0;
    top: 15px;
    color: var(--text-light);
    pointer-events: none;
    transition: var(--transition-fast);
}

/* Floating Label Magic */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
    top: -10px;
    font-size: 0.75rem;
    color: var(--primary-red);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
    }
}
@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        padding: 30px 20px;
    }
}

/* ================== Footer ================== */
.footer {
    background-image: url('../images/dark_wood_bg.jpg');
    background-repeat: repeat;
    background-attachment: fixed;
    background-color: transparent;
    border-top: none;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 90px;
    margin-bottom: 20px;
}
.footer-tagline {
    color: var(--text-light);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}
.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-red);
}

.footer ul {
    list-style: none;
}
.footer ul li {
    margin-bottom: 12px;
}
.footer ul a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer ul a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}
.footer-contact svg {
    color: var(--primary-red);
}

.social-icons {
    display: flex;
    gap: 15px;
}
.social-icon {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
}
.social-icon:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    background: transparent;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}
.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 15px;
    transition: color var(--transition-fast);
}
.footer-links a:hover {
    color: var(--primary-red);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-links a {
        margin: 0 10px;
    }
}

/* ================== Utilities: WhatsApp & Back to Top ================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 100;
    transition: transform var(--transition-fast);
    text-decoration: none;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    z-index: 2;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-pulse, .whatsapp-pulse-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    animation: pulse 2s infinite ease-out;
}
.whatsapp-pulse-2 {
    animation-delay: 1s;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: var(--card-bg);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--border-color);
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 85px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-fast);
    z-index: 99;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ================== Reveal Animations (JS Triggered) ================== */
.reveal-fade {
    opacity: 0;
    transition: opacity 1s ease;
}
.reveal-fade.active {
    opacity: 1;
}

.reveal-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-slide-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-slide {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-slide.active {
    opacity: 1;
    transform: translateX(0);
}


