/* Custom styles for the animations and hero background */
.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Custom scrollbar styles for WebKit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 12px;
    background-color: transparent;
}

::-webkit-scrollbar-track {
    background-color: #38040e; /* Matches card-bg */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #ad2831; /* Matches primary-color */
    border-radius: 10px;
    border: 3px solid #38040e; /* Matches card-bg */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #800e13; /* Matches secondary-color */
}

/* For Firefox, the scrollbar-color and scrollbar-width properties are used */
body {
    scrollbar-color: #ad2831 #38040e; /* thumb color and track color */
    scrollbar-width: thin; /* 'auto' | 'thin' | 'none' */
}

/* Hero section background image with overlay */
.hero-bg {
    background-image: url('https://images.unsplash.com/photo-1505691938895-1758d7feb511');
}

/* New fade-in and zoom-in animation */
.scroll-animate {
    opacity: 0;
    transform: scale(0.9); /* Starts slightly zoomed out */
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.in-view {
    opacity: 1;
    transform: scale(1); /* Zooms in to its normal size */
}

/* Modern form field styles */
.modern-input {
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.modern-input:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.modern-input:focus {
    outline: none; /* Removes the default outline */
    border-color: #ad2831; /* Adds a border color on focus */
    box-shadow: 0 0 0 3px rgba(173, 40, 49, 0.5); /* Focus ring */
}

/* Specific styling for Welcome to LEEWAY REALTY to keep it on one line on larger screens */
@media (min-width: 768px) {
    #hero h1 {
        white-space: nowrap;
    }
}
/* Add this CSS to your style.css file */

.goog-te-gadget {
    display: none;
}

/* Optional: Hide the Google bar that appears at the top */
body > .skiptranslate {
    display: none;
}
/* Ensure the mobile dropdown is centered and takes full width */
#translator-container-mobile {
    width: 100%;
}

#translator-container-mobile select {
    width: 80%; /* Adjust to make it look good inside the menu */
    margin: 0 auto; /* Center it */
}

/* Optional: Add some padding to the mobile nav links for better spacing */
#nav-links ul {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
/* This ensures the mobile menu doesn't get cut off on small phones */
#nav-links {
    max-height: 85vh;
    overflow-y: auto;
}
/* Custom Card Shapes & Effects */
.card-glass {
    background: rgba(56, 4, 14, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(173, 40, 49, 0.2);
    border-radius: 20px 5px 20px 5px; /* Unique professional shape */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-glass:hover {
    border-radius: 5px 20px 5px 20px; /* Shifts shape on hover */
    border-color: #ad2831;
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(173, 40, 49, 0.1);
}

/* Icon Container Styling */
.icon-box {
    background: linear-gradient(135deg, #38040e 0%, #640d14 100%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(173, 40, 49, 0.3);
}

/* Review Card Specifics */
.review-card {
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 8rem;
    color: rgba(173, 40, 49, 0.1);
    font-family: serif;
}
/* Form Specific Polish */
.modern-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(5px);
}

.modern-input:focus {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: #ad2831 !important;
}

/* Fix for Select arrow visibility in Chrome */
select.modern-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ad2831'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
}

/* Contact Card Icon Box Fix */
.icon-box.shrink-0 {
    margin-bottom: 0 !important;
}
/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* WhatsApp Green */
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Pulse Effect */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.9); opacity: 0.7; }
    70% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(0.9); opacity: 0; }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e; /* Darker WhatsApp Green */
}

/* Tooltip text */
.tooltip-text {
    position: absolute;
    right: 75px;
    background-color: #38040e;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    white-space: nowrap;
    border: 1px solid rgba(173, 40, 49, 0.3);
}

.whatsapp-float:hover .tooltip-text {
    opacity: 1;
}

/* Move button higher on mobile to avoid covering content */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease-out;
}

/* Alternate entry for a professional look */
.scroll-animate:nth-child(even) {
    transform: translateY(40px);
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}