:root {
    --color-white: #FAFAFA;
    --color-light-blue: #E8F1F5;
    --color-blue: #005691;
    --color-dark-blue: #004A7C;
    --font-heading: 'Host Grotesk', sans-serif;
    --font-body: 'Mulish', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

body {
    background-color: var(--color-white);
    color: #333;
    line-height: 1.6;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-dark-blue);
    font-weight: 500;
    transition: color 0.3s;
    font-family: var(--font-body);
}

nav ul li a:hover {
    color: var(--color-blue);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    color: var(--color-dark-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-image: url('images/tile_background.png');
    background-repeat: repeat;
    background-color: var(--color-white); /* Fallback color */
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: rgba(250, 250, 250, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Styling for H1 */
.hero-content h1 {
    color: var(--color-dark-blue); /* Or var(--color-blue) if you prefer */
    font-size: 2.8rem; /* Adjust size as needed */
    margin-bottom: 25px;
    font-family: var(--font-heading);
    font-weight: 700; /* Or 800 for bolder */
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Optional subtle shadow */
}

/* Remove or comment out the old .hero h2 style if it's no longer used elsewhere */
/*
.hero h2 { 
    color: var(--color-dark-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
}
*/

/* New style for H2 within hero-content */
.hero-content h2 {
    color: var(--color-blue); /* Slightly different color or same as H1 */
    font-size: 2.0rem; /* Subordinate to H1 */
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 600; /* Slightly less bold than H1 */
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05); /* Optional subtle shadow */
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--color-blue);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--color-dark-blue);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--color-white);
}

.section-title {
    text-align: center;
    color: var(--color-dark-blue);
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
    font-family: var(--font-heading);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-light-blue);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--color-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--color-dark-blue);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--color-light-blue);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content h2 {
    color: var(--color-dark-blue);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.about-content p {
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--color-light-blue);
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    max-width: 600px;
    text-align: center;
}

.contact-info h3 {
    color: var(--color-dark-blue);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    color: var(--color-blue);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-blue);
    color: var(--color-white);
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--color-dark-blue);
}

/* WhatsApp Contact Styling */
.whatsapp-contact {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #25D366;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.whatsapp-contact .contact-icon {
    color: #25D366;
    font-size: 3rem;
    margin-bottom: 15px;
    margin-right: 0;
}

.whatsapp-contact h3 {
    color: var(--color-dark-blue);
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.whatsapp-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.availability {
    margin-top: 5px;
    margin-bottom: 20px;
    font-style: italic;
}

.whatsapp-btn {
    background-color: #25D366;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    font-size: 1.1rem;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

.social-links-container {
    margin-top: 30px;
    margin-bottom: 30px; /* Added margin for spacing */
}

/* 9. Social Sharing Styles */
.social-sharing-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1); /* Optional separator */
}

.social-sharing-container h3 {
    color: var(--color-dark-blue);
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 1.2rem; /* Adjusted size */
}

.social-sharing-links {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
    gap: 10px; /* Space between buttons */
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: var(--color-white);
    font-weight: 500;
    transition: opacity 0.3s;
    font-size: 0.9rem;
}

.social-share-btn i {
    margin-right: 8px;
    font-size: 1.1em; /* Icon size relative to button text */
}

.social-share-btn:hover {
    opacity: 0.85;
}

.facebook-share { background-color: #3b5998; }
.twitter-share { background-color: #1da1f2; }
.whatsapp-share-page { background-color: #25d366; } /* Different class for page share vs contact */
.email-share { background-color: #777; }


/* Footer */
footer {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    padding: 40px 0;
}

/* Footer adjustment for 3-column layout */
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.footer-col ul {
    list-style: none;
}

/* Make sure the coverage zones list is styled properly */
.footer-col ul li {
    margin-bottom: 8px; /* Slightly reduced margin for tighter list */
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--color-white);
}

.copyright {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    /* Ensure pricing cards stack properly */
    .pricing-card {
        width: 100%;
        min-width: 250px; /* Smaller minimum width for better mobile fit */
    }
    
    /* Fix text overflow in section titles */
    .section-title h2 {
        font-size: 1.8rem;
        word-wrap: break-word;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        padding: 10px 30px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    /* Ensure content fits within viewport */
    .container {
        width: 90%;
        padding: 0 10px;
    }
    
    /* Make sure buttons are large enough for touch */
    .btn {
        padding: 12px 20px;
        min-height: 44px; /* Minimum touch target size */
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Small mobile screens */
@media screen and (max-width: 480px) {
    /* Fix hero section for very small screens */
    .hero {
        padding: 120px 0 70px;
    }
    
    .hero-content {
        padding: 20px 15px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Ensure flip cards are usable on small screens */
    .flip-card {
        min-height: 240px; /* Shorter for mobile */
    }
    
    .flip-card-front i {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }
    
    .flip-card-front h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .flip-card-front p,
    .flip-card-back p {
        font-size: 0.9rem;
    }
    
    /* Fix WhatsApp contact box for small screens */
    .whatsapp-contact {
        padding: 15px;
    }
    
    .whatsapp-number {
        font-size: 1.2rem;
        word-break: break-all;
    }
}

/* Fix for extremely small screens */
@media screen and (max-width: 320px) {
    .logo img {
        max-height: 50px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .container {
        width: 95%;
        padding: 0 5px;
    }
}

/* Coverage Map Section */
.coverage {
    padding: 80px 0;
    background-color: var(--color-light-blue);
}

.coverage-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

#map {
    height: 500px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 1; /* Ensure proper layering */
}

/* Fix potential issues with Leaflet popups */
.leaflet-popup-content {
    font-family: 'Arial', sans-serif;
    color: #333;
}

.leaflet-popup-content b {
    color: var(--color-dark-blue);
}

.coverage-areas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.area-item {
    background-color: var(--color-white);
    padding: 10px 15px;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.area-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background-color: rgba(0, 86, 145, 0.05);
}

.area-item:active {
    transform: translateY(-1px);
}

.area-item i {
    color: var(--color-blue);
    margin-right: 8px;
}

.area-item span {
    color: var(--color-dark-blue);
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--color-white);
}

/* Updated Pricing Container for better layout and equal card sizes */
.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--color-light-blue);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: calc(50% - 15px); /* Equal width accounting for gap */
    max-width: 450px;
    min-width: 280px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: auto; /* Let the content determine the height */
    margin-bottom: 20px; /* Add space between cards on mobile */
}

.pricing-header {
    padding: 30px 20px; /* Reduced horizontal padding */
    text-align: center;
    background-color: var(--color-blue);
    color: var(--color-white);
    height: auto; /* Remove fixed height */
    min-height: 180px; /* Set minimum height instead */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-header h3 {
    font-size: 1.4rem; /* Smaller font size for better fit */
    margin-bottom: 15px;
    font-family: var(--font-heading);
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    height: auto; /* Remove fixed height */
    min-height: 40px; /* Use minimum height */
}

@media (max-width: 768px) {
    .pricing-card {
        width: 100%;
    }
}

.pricing-header {
    padding: 30px;
    text-align: center;
    background-color: var(--color-blue);
    color: var(--color-white);
    height: 200px; /* Fixed exact height instead of min-height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-header h3 {
    font-size: 1.5rem; /* Further standardized font size */
    margin-bottom: 20px;
    font-family: var(--font-heading);
    line-height: 1.3;
    height: 50px; /* Fixed height instead of min-height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0; /* Remove any possible margin top */
}

.price {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.currency {
    font-size: 1.8rem;
    vertical-align: top;
    position: relative;
    top: 0.5rem;
}

.price-subtitle {
    font-size: 1rem;
    opacity: 0.8;
}

.pricing-features {
    padding: 30px;
    padding-top: 40px; /* Increased top padding for more separation */
    color: #333;
    flex-grow: 1; /* Make this section expand to fill available space */
    display: flex;
    flex-direction: column;
}

.pricing-features p {
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1; /* Make the list grow to ensure consistent spacing */
    min-height: 120px; /* Set minimum height for list to ensure consistency */
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-features li i {
    color: var(--color-blue);
    margin-right: 10px;
}

.pricing-note {
    font-style: italic;
    opacity: 0.8;
    text-align: center;
    margin-top: 20px;
}

.pricing-btn {
    display: block;
    margin: 0 30px 30px;
    text-align: center;
}

.price .amount {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* WhatsApp Contact Styling */
.whatsapp-contact {
    background-color: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #25D366;
}

.whatsapp-contact .contact-icon {
    color: #25D366;
    font-size: 2rem;
}

.whatsapp-contact h4 {
    color: var(--color-dark-blue);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.availability {
    margin-top: 5px;
    margin-bottom: 15px;
    font-style: italic;
}

.whatsapp-btn {
    background-color: #25D366;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

.contact-form h3 {
    color: var(--color-dark-blue);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.contact-form > p {
    margin-bottom: 20px;
}

/* Footer updates */
.footer-col li i.fab.fa-whatsapp {
    color: #25D366;
    margin-right: 5px;
}

/* Accessibility Improvements */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: var(--color-dark-blue);
    color: white;
    padding: 10px;
    z-index: 1001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Improve text readability for SEO and accessibility */
p, li {
    max-width: 70ch; /* Improves readability */
    margin-left: auto;
    margin-right: auto;
}

/* Add focus styles for accessibility */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--color-blue);
    outline-offset: 3px;
}

/* Print styles for SEO - search engines consider print-friendly pages more user-friendly */
@media print {
    header, footer, .contact-container, #map {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background-color: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .container {
        width: 100%;
    }
}

/* Flip Card Styling - Clean implementation */
.flip-card {
    perspective: 1000px;
    cursor: pointer;
    min-height: 280px;
    position: relative;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Only apply transform when explicitly flipped */
.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg) !important; /* The !important ensures this takes precedence */
}

/* Simple hover effect - only lifts the card */
.flip-card:hover .flip-card-inner {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

/* Front card styling - enlarged elements */
.flip-card-front {
    background-color: var(--color-light-blue);
    text-align: center;
    z-index: 2;
    padding: 30px 20px;
    justify-content: center;
    cursor: pointer;
}

.flip-card-front i {
    font-size: 3.5rem; /* Larger icon */
    color: var(--color-blue);
    margin-bottom: 25px; /* More space below icon */
}

.flip-card-front h3 {
    color: var(--color-dark-blue);
    margin-bottom: 18px;
    font-family: var(--font-heading);
    font-size: 1.5rem; /* Larger heading */
    line-height: 1.3;
}

.flip-card-front p {
    font-size: 1.15rem; /* Larger text */
    margin-bottom: 0;
    line-height: 1.4;
    padding: 0 10px; /* Add some horizontal padding */
}

/* Back card styling - remove "Click para volver" text */
.flip-card-back {
    background-color: var(--color-light-blue);
    transform: rotateY(180deg);
    text-align: left;
    padding: 25px; /* Increased padding for better readability */
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.flip-card-back p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    padding-bottom: 5px; /* Add some bottom padding for better spacing */
}

/* Remove the :after pseudo-element that was creating the "Click para volver" text */
.flip-card-back:after {
    content: none; /* Remove the "Click para volver" text */
}

/* Billing Information Section */
.billing-info {
    margin-top: 40px;
    background-color: var(--color-light-blue);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--color-blue);
}

.billing-info .billing-icon {
    margin-bottom: 15px;
}

.billing-info .billing-icon i {
    font-size: 2rem;
    color: var(--color-blue);
}

.billing-info h3 {
    margin-bottom: 10px;
    color: var(--color-dark-blue);
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.billing-info p {
    margin-bottom: 0;
    text-align: center;
}

/* Payment Methods Section */
.payment-info {
    margin-top: 30px;
    background-color: var(--color-light-blue);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--color-blue);
}

.payment-icon {
    margin-bottom: 15px;
}

.payment-icon i {
    font-size: 2rem;
    color: var(--color-blue);
}

.payment-info h3 {
    margin-bottom: 20px;
    color: var(--color-dark-blue);
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

/* Payment Methods Section - Improved alignment */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px; /* Fixed width for consistency */
}

.payment-method i {
    font-size: 2rem;
    color: var(--color-blue);
    background-color: rgba(255, 255, 255, 0.7);
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.payment-method span {
    font-weight: 500;
    text-align: center;
    display: block; /* Ensures text is centered below icon */
}

.payment-note {
    font-style: italic;
    margin-top: 10px;
    color: #555;
}

/* Scroll Animation Styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px); /* Start slightly lower */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 10px 20px 10px 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    margin-right: 10px;
}

.whatsapp-icon i {
    color: #25D366;
    font-size: 24px;
}

.whatsapp-text {
    font-weight: 600;
    font-family: var(--font-body);
}

/* For mobile screens, just show the icon */
@media screen and (max-width: 600px) {
    .floating-whatsapp {
        padding: 0;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        justify-content: center;
    }
    
    .whatsapp-icon {
        margin-right: 0;
    }
    
    .whatsapp-text {
        display: none;
    }
}
