/* Custom CSS for theme and sizing */

/* Base styles */
html, body {
    font-size: 16px;
    background-color: #1a202c; /* Dark background */
    color: #e2e8f0;
}

/* Increase heading sizes */
h1, .text-4xl, .text-5xl, .text-6xl {
    font-size: 2.25rem !important; /* 36px */
    font-weight: 700;
    color: #f7fafc;
}

h2, .text-3xl, .text-2xl {
    font-size: 1.875rem !important; /* 30px */
    font-weight: 600;
    color: #f7fafc;
}

h3, .text-xl, .text-lg {
    font-size: 1.5rem !important; /* 24px */
    font-weight: 600;
    color: #f7fafc;
}

/* Padding and margins */
.p-6 {
    padding: 1.5rem !important;
}

.py-8 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.py-12 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.my-8, .my-12 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

/* Reduce button sizes */
.px-4 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

.py-2 {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4f46e5;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
}

/* Make back-to-top button visible on homepage */
body:has(.hero-section) .back-to-top {
    opacity: 0 !important; /* Initially hidden */
}

body:has(.hero-section) .back-to-top.visible {
    opacity: 1 !important; /* Show when scrolled */
}

/* WhatsApp chat button */
.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 99;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.whatsapp-chat i {
    font-size: 24px;
}