/* ========================
   GLOBAL STYLES
   ======================== */

:root {
    --primary-color: #DC143C;
    --secondary-color: #FFD700;
    --dark-bg: #1a1a1a;
    --light-bg: #f9f9f9;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.15s ease;
    --whatsapp-green: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================
   NAVIGATION
   ======================== */

.navbar {
    background: var(--dark-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    color: var(--secondary-color);
}

.logo i {
    font-size: 2rem;
}

.logo-img {
    height: 40px;
    width: auto;
    max-height: 50px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================
   EMERGENCY BANNER
   ======================== */

.emergency-banner {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* ========================
   HERO SECTION
   ======================== */

.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: slideInDown 0.5s ease;
}

.hero-title .danger {
    color: var(--primary-color);
    display: block;
    font-size: 4rem;
}

.hero-title .calm {
    color: var(--secondary-color);
    display: block;
    font-size: 2.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: slideInUp 0.5s ease 0.2s both;
}

@keyframes slideInDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 0.5s ease 0.4s both;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #b0102f;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(220, 20, 60, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #ffed4e;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* ========================
   QUICK INFO SECTION
   ======================== */

.quick-info {
    background: var(--dark-bg);
    color: var(--white);
    padding: 3rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.info-item:hover {
    background: rgba(220, 20, 60, 0.2);
    transform: translateY(-10px);
}

.info-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #aaa;
}

/* ========================
   SECTION TITLE
   ======================== */

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* ========================
   ABOUT SECTION
   ======================== */

.about {
    padding: 4rem 0;
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    padding: 0.8rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.features-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* ========================
   SERVICES SECTION
   ======================== */

.services {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-img {
    height: 80px;
    width: 80px;
    object-fit: contain;
    max-width: 100%;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
    gap: 12px;
}

/* ========================
   STATS SECTION
   ======================== */

.stats {
    background: linear-gradient(135deg, var(--dark-bg), #2a2a2a);
    color: var(--white);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(220, 20, 60, 0.15);
    transform: scale(1.05);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #aaa;
}

/* ========================
   GALLERY SECTION
   ======================== */

.gallery {
    padding: 4rem 0;
    background: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 20, 60, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.gallery-btn:hover {
    transform: scale(1.2);
    background: var(--secondary-color);
}

/* ========================
   LIGHTBOX
   ======================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
    transition: var(--transition);
    transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(220, 20, 60, 0.8);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* ========================
   TESTIMONIALS SECTION
   ======================== */

.testimonials {
    padding: 4rem 0;
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.stars {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.stars i {
    font-size: 1rem;
}

.testimonial-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-name {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.testimonial-role {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.carousel-prev,
.carousel-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ========================
   CONTACT SECTION
   ======================== */

.contact {
    padding: 4rem 0;
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 50px;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    margin: 0.3rem 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ========================
   FOOTER
   ======================== */

.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p {
    color: #aaa;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    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: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-bottom i {
    color: var(--primary-color);
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title .danger {
        font-size: 2.5rem;
    }

    .hero-title .calm {
        font-size: 1.8rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 400px;
    }

    .services-grid,
    .gallery-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .testimonials-carousel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-title .danger,
    .hero-title .calm {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 5px 10px;
        font-size: 1.5rem;
    }
}

/* ========================
   ANIMATIONS
   ======================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ========================
   BLOG STYLES
   ======================== */

/* Header for standalone pages like blog */
.site-header {
    background: var(--dark-bg);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.site-header .nav-wrapper {
    padding: 12px 0;
    align-items: center;
}

.site-header .logo img.logo-img { height: 38px; }

.blog-nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
}

.blog-nav a { color: #fff; text-decoration: none; font-weight: 600; }
.blog-nav a.active { color: var(--secondary-color); }

.blog-container {
    max-width: 980px;
    margin: 28px auto;
    padding: 28px 20px;
    background: var(--light-bg);
    border-radius: 10px;
}

.blog-intro h1 {
    font-size: 34px;
    color: var(--dark-bg);
    margin-bottom: 6px;
}

.blog-intro p { color: var(--text-light); margin-bottom: 18px; }

.blog-article {
    background: #fff;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin-bottom: 28px;
}

.blog-article h2 { color: var(--primary-color); font-size: 26px; margin-bottom: 8px; }
.blog-article .meta { color: #777; font-size: 13px; margin-bottom: 12px; }

.blog-article p, .blog-article ul, .blog-article ol { color: var(--text-dark); margin-bottom: 14px; line-height: 1.8; }
.blog-article ul { list-style: disc; margin-left: 22px; }

.blog-article h3 { font-size: 20px; color: var(--dark-bg); margin-top: 14px; margin-bottom: 8px; }

.blog-article .btn { display: inline-block; background: var(--primary-color); color: #fff; padding: 10px 14px; border-radius: 6px; text-decoration: none; }

.blog-article hr { border: none; height: 1px; background: #eee; margin: 20px 0; }

.back { text-align: left; margin-top: 12px; }

/* Improve readability on small screens */
@media (max-width: 768px) {
    .blog-container { padding: 20px 14px; margin: 18px 12px; }
    .blog-intro h1 { font-size: 26px; }
    .blog-article { padding: 18px; }
}


/* Blog grid (card view) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0 2.5rem;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-title { font-size: 1.05rem; color: var(--primary-color); margin-bottom: 4px; }
.card-meta { font-size: 0.85rem; color: #888; }
.card-excerpt { color: var(--text-dark); flex: 1; }
.read-more { align-self: flex-start; margin-top: 8px; }

/* Modal for reading full article */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal[aria-hidden="false"], .modal.active {
    display: flex;
}
.modal-dialog {
    background: #fff;
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    max-height: 90vh;
    overflow: auto;
    position: relative;
}
.modal-close {
    position: absolute;
    right: 18px;
    top: 14px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}
.modal-body { margin-top: 8px; line-height: 1.8; color: var(--text-dark); }

.share-buttons { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 6px; text-decoration: none; color: #fff; font-weight: 600; }
.share-fb { background: #1877f2; }
.share-wa { background: var(--whatsapp-green); }
.share-tw { background: #1da1f2; }
.share-copy { background: #666; border: none; cursor: pointer; color: #fff; padding: 8px 12px; border-radius: 6px; }

@media (max-width: 768px) {
    .card-thumb { height: 140px; }
    .modal-dialog { padding: 18px; }
}


/* ========================
   FLOATING WHATSAPP BUTTON
   ======================== */

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp:active {
    transform: scale(0.95);
}

/* Pulse animation */
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--whatsapp-green);
    animation: whatsapp-pulse-animation 2s infinite;
}

@keyframes whatsapp-pulse-animation {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* ========================
   RESPONSE TIME WIDGET
   ======================== */

.response-widget {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 998;
    min-width: 220px;
    border-left: 4px solid var(--whatsapp-green);
    animation: response-widget-animation 20s ease-in-out infinite;
}

.response-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.status-light {
    width: 12px;
    height: 12px;
    background: var(--whatsapp-green);
    border-radius: 50%;
    animation: blink 2s infinite;
    flex-shrink: 0;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.status-text {
    flex: 1;
}

.status-text p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

.status-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px !important;
}

.status-time {
    color: #666;
    font-size: 11px;
}

.status-cta {
    display: block;
    background: var(--whatsapp-green);
    color: white;
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.status-cta:hover {
    background: #1eae4e;
    transform: translateY(-2px);
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Response Widget Show/Hide Animation */
@keyframes response-widget-animation {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    40% {
        opacity: 1;
        transform: translateX(0);
    }
    50% {
        opacity: 0;
        transform: translateX(100px);
        pointer-events: none;
    }
    90% {
        opacity: 0;
        transform: translateX(100px);
        pointer-events: none;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================
   RESPONSIVE FLOATING BUTTONS
   ======================== */

@media (max-width: 768px) {
    .floating-whatsapp {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
    
    .response-widget {
        top: 80px;
        right: 10px;
        width: 200px;
        font-size: 11px;
    }
    
    .status-cta {
        padding: 6px 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .response-widget {
        top: 75px;
        right: 5px;
        width: 180px;
        min-width: auto;
        padding: 12px 15px;
    }
    
    .status-text p {
        font-size: 10px;
    }
}
