/*
Theme Name: Elegance SPA Theme
Theme URI: https://elegancespacbr.com
Author: Elegance SPA
Author URI: https://elegancespacbr.com
Description: A luxury spa & wellness landing page theme for Elegance SPA with dynamic Customizer-powered content.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elegance-spa-wellness
Tags: one-column, custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

/* ===========================
   Material Symbols
   =========================== */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ===========================
   Organic Blob Mask
   =========================== */
.organic-mask {
    /* clip-path: url(#organic-blob); */
}

/* ===========================
   Soft Elevation
   =========================== */
.soft-elevation {
    box-shadow: 0 10px 30px -10px rgba(28, 25, 23, 0.04);
}

/* ===========================
   Keyframe Animations
   =========================== */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ===========================
   Scroll Reveal
   =========================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Stagger Items
   =========================== */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.active .stagger-item {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Ambient Glow (Hero)
   =========================== */
.ambient-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle, rgba(81, 156, 143, 0.15) 0%, transparent 70%);
    animation: pulse-glow 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

/* ===========================
   Hero Fade-In (No JS Dependency)
   =========================== */
.hero-fade-in {
    opacity: 0;
    animation: fade-in-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.btn-magnetic {
    transition: box-shadow 0.3s ease;
}

.btn-magnetic:hover {
    box-shadow: 0 0 20px rgba(81, 156, 143, 0.4);
}

/* ===========================
   Card Interactions
   =========================== */
.card-interactive {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.card-interactive:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 50px -12px rgba(28, 25, 23, 0.12);
}

/* ===========================
   Floating Element
   =========================== */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

/* ===========================
   Header / Navigation
   =========================== */
header {
    transition: transform 0.4s ease, backdrop-filter 0.4s ease, background-color 0.4s ease;
}

.header-cta-logo {
    transition: filter 0.3s ease;
}

.transparent-header .header-cta-logo {
    filter: brightness(0) invert(1);
}


.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #519c8f;
    transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

/* ===========================
   WordPress Nav Menu Reset
   =========================== */
.kottakkal-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.kottakkal-nav-menu li {
    margin: 0;
    padding: 0;
}

.kottakkal-nav-menu li a {
    position: relative;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #444936;
    text-decoration: none;
    transition: color 0.3s ease;
}

.kottakkal-nav-menu li a:hover {
    color: #519c8f;
}

.kottakkal-nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #519c8f;
    transition: width 0.3s ease;
}

.kottakkal-nav-menu li a:hover::after {
    width: 100%;
}

.kottakkal-nav-menu li.current-menu-item a {
    color: #519c8f;
    font-weight: 600;
}

.kottakkal-nav-menu li.current-menu-item a::after {
    width: 100%;
}

/* Sub-menus hidden */
.kottakkal-nav-menu .sub-menu {
    display: none;
}

/* ===========================
   Mobile Menu
   =========================== */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 360px;
    height: 100%;
    background: #f9fbea;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 2rem;
    overflow-y: auto;
}

.mobile-menu-panel.open {
    transform: translateX(0);
}

.mobile-nav-menu {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li a {
    display: block;
    padding: 1rem 0;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #1a1d13;
    text-decoration: none;
    border-bottom: 1px solid #c4c9b1;
    transition: color 0.3s ease;
}

.mobile-nav-menu li a:hover {
    color: #519c8f;
}

.mobile-nav-menu .sub-menu {
    display: none;
}

/* ===========================
   Star Icon Fill
   =========================== */
.star-filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ===========================
   Testimonial Slider
   =========================== */
.testimonial-slider {
    position: relative;
}

.testimonial-track {
    will-change: transform;
}

/* .testimonial-slider:hover .testimonial-track {
    Pause auto-slide on hover handled via JS
} */

.slider-dot {
    cursor: pointer;
    border: none;
    outline: none;
}

.slider-dot:hover {
    opacity: 0.8;
}

/* ===========================
   FAQ Accordion
   =========================== */
.faq-item {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(196, 201, 177, 0.5);
}

.faq-item.open {
    box-shadow: 0 10px 40px -10px rgba(28, 25, 23, 0.08);
    border-color: rgba(81, 156, 143, 0.4);
}

.faq-toggle {
    cursor: pointer;
    background: none;
    border: none;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===========================
/* ===========================
   Flying Leaves (Hero Background)
   =========================== */
.leaf-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.flying-leaf {
    position: absolute;
    left: -50px;
    width: 32px;
    height: 32px;
    opacity: 0;
    pointer-events: none;
}

.flying-leaf svg {
    width: 100%;
    height: 100%;
    fill: var(--md-sys-color-primary, #519c8f);
    opacity: 0.85;
}

@keyframes leaf-fly-1 {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.65);
        left: -50px;
        opacity: 0;
    }

    10% {
        opacity: 0.9;
    }

    50% {
        transform: translateY(50px) rotate(180deg) scale(0.65);
    }

    90% {
        opacity: 0.9;
    }

    100% {
        transform: translateY(-25px) rotate(360deg) scale(0.65);
        left: 105%;
        opacity: 0;
    }
}

@keyframes leaf-fly-2 {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.9);
        left: -50px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    40% {
        transform: translateY(-70px) rotate(-120deg) scale(0.9);
    }

    80% {
        transform: translateY(30px) rotate(-240deg) scale(0.9);
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(0) rotate(-360deg) scale(0.9);
        left: 105%;
        opacity: 0;
    }
}

@keyframes leaf-fly-3 {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.75);
        left: -50px;
        opacity: 0;
    }

    10% {
        opacity: 0.85;
    }

    30% {
        transform: translateY(40px) rotate(90deg) scale(0.75);
    }

    70% {
        transform: translateY(-50px) rotate(270deg) scale(0.75);
    }

    90% {
        opacity: 0.85;
    }

    100% {
        transform: translateY(10px) rotate(360deg) scale(0.75);
        left: 105%;
        opacity: 0;
    }
}

.leaf-1 {
    top: 15%;
    animation: leaf-fly-1 14s linear infinite;
    animation-delay: 0s;
}

.leaf-2 {
    top: 30%;
    animation: leaf-fly-2 18s linear infinite;
    animation-delay: 3s;
}

.leaf-3 {
    top: 48%;
    animation: leaf-fly-3 12s linear infinite;
    animation-delay: 6s;
}

.leaf-4 {
    top: 65%;
    animation: leaf-fly-1 16s linear infinite;
    animation-delay: 1.5s;
}

.leaf-5 {
    top: 78%;
    animation: leaf-fly-2 13s linear infinite;
    animation-delay: 8s;
}

.leaf-6 {
    top: 22%;
    animation: leaf-fly-3 15s linear infinite;
    animation-delay: 4.5s;
}

/* ===========================
   Reduced Motion
   =========================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }

    .stagger-item {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===========================
   Disable Entrance Animations on Mobile / Tablet
   =========================== */
@media (max-width: 1023px) {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .stagger-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .hero-fade-in {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .whatsapp-widget-animate {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* ===========================
   Contact Form 7 Custom Styles
   =========================== */
.wpcf7-response-output {
    margin: 1.5rem 0 0 0 !important;
    padding: 1rem 1.25rem !important;
    border-radius: 12px !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    border: 1px solid #519c8f !important;
    animation: fade-in-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    text-align: center;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    justify-content: center;
    background: #f9fbea;
}

.init .wpcf7-response-output,
.submitting .wpcf7-response-output {
    display: none !important;
}

/* Success status */
.wpcf7-response-output.wpcf7-mail-sent-ok {
    background-color: #f3f7e6 !important;
    border-color: rgba(81, 156, 143, 0.2) !important;
    color: #7a1228 !important;
}

.wpcf7-response-output.wpcf7-mail-sent-ok::before {
    content: "✓" !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    background-color: #519c8f !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

/* Error/Validation status */
.wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-mail-sent-ng,
.wpcf7-response-output.wpcf7-spam-blocked {
    background-color: #fdf2f2 !important;
    border-color: rgba(186, 26, 26, 0.2) !important;
    color: #ba1a1a !important;
}

.wpcf7-response-output.wpcf7-validation-errors::before,
.wpcf7-response-output.wpcf7-mail-sent-ng::before,
.wpcf7-response-output.wpcf7-spam-blocked::before {
    content: "!" !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    background-color: #ba1a1a !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

/* Invalid inputs */
.wpcf7-not-valid {
    border-color: #ba1a1a !important;
    background-color: #fdf2f2 !important;
}

/* Validation errors under individual fields */
.wpcf7-not-valid-tip {
    color: #ba1a1a !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin-top: 0.375rem !important;
    display: block !important;
    animation: fade-in-up 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Spinner loader style override */
.wpcf7 form.submitting::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.17);
    backdrop-filter: blur(4px);
    z-index: 99998;
}

.wpcf7 form.submitting::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;

    border: 4px solid rgba(81, 156, 143, .15);
    border-top-color: #519c8f;
    border-radius: 50%;

    animation: cf7-loader-spin .8s linear infinite;
    z-index: 99999;
}

.wpcf7-spinner {
    display: none !important;
}

@keyframes cf7-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===========================
   Typography Overrides
   =========================== */
@media (min-width: 1024px) {
    h1 {
        font-size: 38px !important;
    }

    .contact-h2 {
        font-size: 34px !important;
    }
}

/* ===========================
   WhatsApp Floating Widget
   =========================== */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    pointer-events: auto;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    /* WhatsApp Green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    cursor: pointer;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid #25D366;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

/* Hover and active states */
.whatsapp-widget:hover .whatsapp-button {
    transform: scale(1.1);
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-widget:hover .whatsapp-button svg {
    transform: scale(1.05) rotate(5deg);
}

.whatsapp-widget:hover .whatsapp-button::before {
    opacity: 1;
    transform: scale(1);
}

.whatsapp-widget:active .whatsapp-button {
    transform: scale(0.95);
}

/* Tooltip / Label */
.whatsapp-tooltip {
    background-color: #1a1d13;
    /* Elegant dark label matching theme style */
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    font-family: 'Manrope', sans-serif;
}

.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Animation for the widget entrance */
@keyframes whatsapp-entrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.whatsapp-widget-animate {
    animation: whatsapp-entrance 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s forwards;
    opacity: 0;
    /* starts invisible, animated in after 1s */
}

/* ===========================
   Call Floating Widget
   =========================== */
.call-widget {
    position: fixed !important;
    bottom: 104px !important;
    right: 30px !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    pointer-events: auto !important;
    opacity: 1 !important;
}

.call-button {
    width: 60px;
    height: 60px;
    background-color: #519c8f;
    border: 2px solid #519c8f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    cursor: pointer;
}

.call-button::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid #519c8f;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.call-button svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

.call-widget:hover .call-button {
    transform: scale(1.08);
    background-color: #519c8f;
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.7);
}

.call-widget:hover .call-button svg {
    transform: rotate(12deg) scale(1.1);
}

.call-widget:hover .call-button::before {
    opacity: 0.8;
}

.call-widget:active .call-button {
    transform: scale(0.95);
}

.call-tooltip {
    background-color: #111827;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    order: -1;
}

.call-widget:hover .call-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Ring pulse animation */
@keyframes whatsapp-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.15);
        opacity: 0;
    }

    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

/* Hide hero description on mobile */
@media (max-width: 767px) {
    .hero-desc {
        display: none !important;
    }
}

/* Responsive adjustment for small screens */
@media (max-width: 767px) {
    .call-widget {
        bottom: 84px !important;
        right: 20px !important;
        gap: 8px;
    }

    .call-button {
        width: 52px;
        height: 52px;
    }

    .call-button svg {
        width: 24px;
        height: 24px;
    }

    .call-tooltip {
        display: none;
    }

    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }

    .whatsapp-button {
        width: 52px;
        height: 52px;
    }

    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
        /* Hide label on mobile to avoid overlapping content */
    }
}

/* ============================================================
   Hero Banner Custom Overlapping Style Rules
   ============================================================ */
.aspect-hero-canvas {
    aspect-ratio: 4 / 3.2;
}

@media (min-width: 640px) {
    .sm\:aspect-hero-canvas {
        aspect-ratio: 4 / 3;
    }
}

@media (min-width: 768px) {
    .md\:aspect-hero-canvas {
        aspect-ratio: 1.1;
    }
}

@media (min-width: 1024px) {
    .lg\:aspect-hero-canvas {
        aspect-ratio: 1.15;
    }
}

.aspect-hero-woman {
    aspect-ratio: 3 / 4.2;
}

.aspect-hero-massage {
    aspect-ratio: 4 / 3;
}

.pos-hero-arch {
    right: 4%;
    top: 2%;
    width: 42%;
}

.pos-hero-woman {
    left: 6%;
    top: 8%;
    width: 48%;
}

.pos-hero-massage {
    right: 2%;
    top: 33%;
    width: 52%;
}

.pos-hero-flower {
    left: 26%;
    top: 1%;
    width: 16%;
}

.pos-hero-leaf {
    left: 1%;
    top: 68%;
    width: 18%;
}

.size-hero-quote {
    width: 78%;
    margin-right: 6%;
}

.border-l-quote {
    border-left-width: 2px;
}

.animate-spin-slow {
    animation: spin 25s linear infinite;
}

.drop-shadow-flower {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.drop-shadow-leaf {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.z-20 {
    z-index: 20;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-arch-outline {
    position: absolute;
    width: 80%;
    height: 90%;
    border-width: 2px;
    border-style: solid;
    border-top-left-radius: 9999px;
    border-top-right-radius: 9999px;
    transform: translateY(-1rem);
}

.fill-primary-60 {
    fill: rgba(81, 156, 143, 0.6);
}

.hero-spinning-text {
    font-size: 7px;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ============================================================
   Transparent Header & Dark Overlay Overrides
   ============================================================ */
.transparent-header .kottakkal-nav-menu li a {
    color: #ffffff !important;
    font-weight: 500;
}

.transparent-header .kottakkal-nav-menu li a::after {
    background-color: #ffffff !important;
}

.transparent-header .kottakkal-nav-menu li a:hover {
    color: #2EB82E !important;
}

.transparent-header .kottakkal-nav-menu li.current-menu-item a {
    color: #ffffff !important;
    font-weight: 600;
}

.transparent-header span.text-primary {
    color: #ffffff !important;
}

/* Add custom focus states and transitions for the header button elements */
.transparent-header a.inline-flex:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Custom support classes for redesigned hero and transparent header */
.bg-call-dark {
    background-color: #234E43 !important;
}

.bg-call-dark:hover {
    background-color: #1a3a31 !important;
}

.bg-whatsapp-bright {
    background-color: #2EB82E !important;
}

.bg-whatsapp-bright:hover {
    background-color: #259725 !important;
}

.bg-overlay-dark {
    background: linear-gradient(180deg, rgb(0 0 0 / 66%) 0%, rgb(0 0 0 / 58%) 45%, rgb(0 0 0 / 57%) 100%) !important;
}

@media (max-width: 639px) {
    .flex-col-reverse {
        flex-direction: column-reverse !important;
    }
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-white-90 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-pt-pb {
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
}

/* ============================================================
   Scrolled Header Interactions
   ============================================================ */
#siteHeader {
    transition: background-color 0.4s ease, padding 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

#siteHeader.scrolled-header {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

@media (min-width: 768px) {
    #siteHeader.scrolled-header {
        padding-top: 0.625rem !important;
        padding-bottom: 0.625rem !important;
    }
}

@media (min-width: 1024px) {
    #siteHeader.scrolled-header {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
}

/* ============================================================
   Tablet Override: 1024px – 1366px
   Show logo + hamburger only (same as mobile), hide full desktop header.
   Desktop (1367px+) and mobile (<1024px) are unaffected.
   ============================================================ */
@media (min-width: 1024px) and (max-width: 1366px) {

    /* Hide desktop nav links */
    #siteHeader nav {
        display: none !important;
    }

    /* Hide desktop contacts row + CTA button */
    #siteHeader .header-contacts-row {
        display: none !important;
    }

    /* Show the hamburger button */
    #mobileMenuToggle {
        display: flex !important;
    }

    /* Shrink logo to mobile size */
    #siteHeader img {
        height: 2.5rem !important;
        /* h-10 */
        max-width: 140px !important;
    }

    /* Tighten header padding to match mobile */
    #siteHeader {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    /* Show the bottom tab bar */
    #mobileTabBar {
        display: block !important;
    }

    /* Add bottom padding to main so content isn't hidden behind tab bar */
    main {
        padding-bottom: 68px !important;
    }
}

/* Mobile toggle button and contact icons dynamic color logic */
#mobileMenuToggle,
.mobile-header-contact {
    color: #1b2e2b !important;
    transition: color 0.3s ease;
}

.transparent-header #mobileMenuToggle,
.transparent-header .mobile-header-contact {
    color: #ffffff !important;
}

/* Header Contact Items Layout & Colors (Dynamic text and icon coloring) */
.header-contact-item {
    color: #444936 !important;
    /* scrolled dark slate/olive color */
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.625rem !important;
    font-size: 15px !important;
    transition: color 0.3s ease;
}

.header-contact-item svg.header-contact-icon {
    fill: #519c8f !important;
    /* primary theme color for icon on solid scroll background */
    transition: fill 0.3s ease;
}

.transparent-header .header-contact-item {
    color: #ffffff !important;
    /* white color on transparent background at the top */
}

.transparent-header .header-contact-item svg.header-contact-icon {
    fill: #ffffff !important;
    /* white icons on transparent background at the top */
}

/* Tablet CTA button color logic */
.header-tablet-cta {
    color: #444936 !important;
    background-color: var(--md-sys-color-primary-container, #cae9e5) !important;
    transition: all 0.3s ease;
}

.transparent-header .header-tablet-cta {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(4px);
}

.transparent-header .header-tablet-cta:hover {
    background-color: rgba(255, 255, 255, 0.28) !important;
}

/* ============================================================
   Hero Redesigned Buttons
   ============================================================ */
.btn-hero-primary {
    background-color: #519c8f !important;
    color: #ffffff !important;
    border: 1px solid #519c8f !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    padding: 16px 36px !important;
    box-shadow: 0 10px 25px -5px rgba(81, 156, 143, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-hero-primary:hover {
    background-color: #43857a !important;
    border-color: #43857a !important;
    box-shadow: 0 15px 30px -5px rgba(81, 156, 143, 0.5) !important;
    transform: translateY(-2px) scale(1.03) !important;
}

.btn-hero-primary:active {
    transform: translateY(0) scale(0.97) !important;
}

.btn-hero-secondary {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    padding: 16px 36px !important;
    box-shadow: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-2px) scale(1.03) !important;
}

.btn-hero-secondary:active {
    transform: translateY(0) scale(0.97) !important;
}

.btn-hero-secondary svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
    transition: transform 0.3s ease !important;
}

.btn-hero-secondary:hover svg {
    transform: translateX(4px) !important;
}

/* ============================================================
   Hero H1 First Line — Desktop font size override
   ============================================================ */
@media (min-width: 1024px) {
    .hero-h1-text {
        font-size: 60px !important;
        line-height: 1.1 !important;
        font-weight: 600;
    }
}

/* ============================================================
   Hero H2 Second Line — Mobile font size override
   ============================================================ */
@media (max-width: 767px) {
    .hero-h2-text {
        font-size: 22px !important;
        line-height: 1.3 !important;
        display: block !important;
        margin-top: 4px;
    }
}

/* ===========================
   Mobile Bottom Tab Bar
   =========================== */
.mobile-tab-bar {
    background-color: rgba(249, 251, 234, 0.93);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(196, 201, 177, 0.25);
    box-shadow: 0 -4px 20px rgba(28, 25, 23, 0.06);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 0.25rem);
}

.mobile-tab-item {
    color: #a3a898;
    text-decoration: none !important;
    position: relative;
    transition: color 0.2s ease, background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    min-width: 56px;
}

.mobile-tab-item:hover,
.mobile-tab-item:focus-visible {
    color: #519c8f;
    background-color: rgba(81, 156, 143, 0.06);
    outline: none;
}

.mobile-tab-item.active {
    color: #519c8f;
}

.mobile-tab-item.active .material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.mobile-tab-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2.5px;
    background-color: #519c8f;
    border-radius: 0 0 4px 4px;
}

/* ============================================================
   Mobile Hero Height Override (phones only, max 767px)
   ============================================================ */
@media (max-width: 767px) {
    .min-h-screen {
        min-height: 70vh;
    }
}