/* ==========================================================================
   CHABA DESIGN SYSTEM & CUSTOM PROPERTIES (style.css)
   ========================================================================== */

:root {
    /* Color Palette - Premium Matcha & White */
    --primary: #5E7A5A;          /* Organic Matcha Green */
    --primary-hover: #4A6046;    /* Darker Matcha */
    --primary-light: #EFF3EE;    /* Soft milky matcha light background */
    --secondary: #FAFBF9;        /* Pure Clean Off-white */
    --bg-cream: #F1F4EE;         /* Very light matcha-latte cream */
    --accent-sage: #3C503A;       /* Deep matcha forest accent */
    --accent-sage-light: #E5EAE3;
    --text-charcoal: #2B302A;    /* Dark organic charcoal with a matcha tint */
    --text-muted: #5F665C;       /* Earthy soft green-gray text */
    --white: #FFFFFF;
    --gold: #C5A880;             /* Muted refined gold accent */
    
    /* Shadows */
    --shadow-sm: 0 4px 10px rgba(47, 46, 44, 0.04);
    --shadow-md: 0 10px 30px rgba(47, 46, 44, 0.08);
    --shadow-lg: 0 20px 40px rgba(47, 46, 44, 0.12);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);

    /* Border Radius */
    --radius-sm: 0.5rem;         /* 8px */
    --radius-md: 1rem;          /* 16px */
    --radius-lg: 1.5rem;        /* 24px */
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Mitr', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--secondary);
    color: var(--text-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography & Links */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */

.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.sub-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
}

.sub-title.font-white {
    color: var(--primary-light);
}

.section-title {
    font-size: 2.25rem;
    color: var(--text-charcoal);
    margin-bottom: 1rem;
}

.section-title.font-white {
    color: var(--white);
}

.section-title .highlight {
    color: var(--primary);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-desc.font-white-muted {
    color: rgba(255, 255, 255, 0.85);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Mitr', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(94, 122, 90, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 122, 90, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
}

/* ==========================================================================
   NAVIGATION BAR (Glassmorphism)
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 251, 249, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(94, 122, 90, 0.08);
    box-shadow: var(--shadow-sm);
    transition: background var(--transition-normal);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.paw-logo {
    font-size: 1.6rem;
    transform: rotate(-10deg);
    transition: transform var(--transition-bounce);
}

.logo:hover .paw-logo {
    transform: rotate(15deg) scale(1.1);
}

.nav-menu {
    display: none; /* Hide on mobile by default, toggled by JS */
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-charcoal);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    display: none; /* Hidden on mobile */
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(94, 122, 90, 0.2);
}

.nav-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.hamburger {
    background: none;
    border: none;
    color: var(--text-charcoal);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    display: block;
}

/* Mobile Nav Menu Dropdown */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--secondary);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 2px solid var(--primary-light);
    box-shadow: var(--shadow-md);
    animation: slideDown var(--transition-normal);
}

.nav-btn-mobile {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem;
    border-radius: var(--radius-full);
    text-align: center;
    font-weight: 500;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    padding: 7rem 1.5rem 4rem 1.5rem;
    background: linear-gradient(135deg, var(--secondary) 0%, #E6ECE2 100%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Mobile-first column */
    gap: 3rem;
    align-items: center;
}

.hero-content {
    flex: 1;
    text-align: center;
}

.tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.accent-heart {
    animation: heartBeat 1.2s infinite alternate;
}

.hero-title {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.75rem;
    color: var(--text-charcoal);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-usp {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-usp strong {
    color: var(--primary);
    font-weight: 600;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
}

.hero-image-bg-glow {
    position: absolute;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    background: radial-gradient(circle, rgba(231,111,81,0.2) 0%, rgba(253,248,245,0) 70%);
    border-radius: var(--radius-full);
    z-index: 1;
    filter: blur(10px);
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    transform: rotate(1.5deg);
    border: 8px solid var(--white);
    transition: transform var(--transition-normal);
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 40px;
}

/* ==========================================================================
   WELCOME SET SECTION
   ========================================================================== */

.welcome-set {
    background-color: var(--bg-cream);
    position: relative;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first */
    gap: 1.5rem;
}

.welcome-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(94, 122, 90, 0.03);
    text-align: center;
}

.welcome-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(94, 122, 90, 0.15);
}

.card-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    transition: all var(--transition-bounce);
}

.welcome-card:hover .card-icon-wrapper {
    border-radius: var(--radius-full);
    background-color: var(--primary);
    color: var(--white);
}

.card-icon {
    font-size: 2rem;
}

.card-title {
    font-size: 1.25rem;
    color: var(--text-charcoal);
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   LOCATIONS & BOOKING SECTION
   ========================================================================== */

.locations {
    background: linear-gradient(135deg, #3A554A 0%, var(--accent-sage) 100%);
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first */
    gap: 2.5rem;
}

.location-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.loc-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.loc-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.location-card:hover .loc-image {
    transform: scale(1.05);
}

.loc-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: var(--white);
    font-family: 'Mitr', sans-serif;
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.loc-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.loc-title {
    font-size: 1.5rem;
    color: var(--text-charcoal);
    margin-bottom: 1rem;
}

.loc-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.loc-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.loc-features span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    background-color: var(--accent-sage-light);
    color: var(--accent-sage);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 500;
}

.loc-features span i {
    font-size: 0.9rem;
}

.btn-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #06C755; /* Official LINE Green */
    color: var(--white);
    font-family: 'Mitr', sans-serif;
    font-weight: 600;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(6, 199, 85, 0.2);
    text-align: center;
}

.btn-book:hover {
    background-color: #05B34C;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(6, 199, 85, 0.35);
}

.btn-line-icon {
    font-size: 1.25rem;
}

/* ==========================================================================
   CHABA CARE / CSR SECTION
   ========================================================================== */

.csr {
    background-color: var(--white);
}

.csr-wrapper {
    display: flex;
    flex-direction: column; /* Mobile first */
    gap: 3rem;
    align-items: center;
}

.csr-image-area {
    flex: 1;
    position: relative;
    width: 100%;
}

.csr-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 6px solid var(--secondary);
}

.csr-stats-badge {
    position: absolute;
    bottom: -1rem;
    right: 1rem;
    background-color: var(--accent-sage);
    color: var(--white);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Mitr', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
}

.csr-stats-badge i {
    font-size: 1.4rem;
}

.csr-text-area {
    flex: 1;
}

.csr-copy {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.csr-copy strong {
    color: var(--primary);
    font-weight: 600;
}

.csr-values {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.value-icon {
    font-size: 1.5rem;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 0.75rem;
    border-radius: var(--radius-md);
}

.value-item h4 {
    font-size: 1.1rem;
    color: var(--text-charcoal);
    margin-bottom: 0.25rem;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   REVIEWS & GALLERY SECTION
   ========================================================================== */

.reviews {
    background-color: var(--bg-cream);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile First */
    gap: 2rem;
}

.review-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(94, 122, 90, 0.02);
}

.review-image-holder {
    height: 220px;
    overflow: hidden;
}

.review-image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.review-card:hover .review-image-holder img {
    transform: scale(1.04);
}

.review-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.review-stars {
    color: #FFC107;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.25rem;
}

.review-quote {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid rgba(47, 46, 44, 0.05);
    padding-top: 1rem;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.author-name {
    font-size: 0.95rem;
    color: var(--text-charcoal);
    font-weight: 600;
}

.author-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CHABA CLUB MEMBERSHIP FORM
   ========================================================================== */

.membership {
    background-color: var(--white);
}

.membership-card {
    background-color: var(--bg-cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.membership-left {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.club-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.club-crown {
    color: var(--gold);
}

.membership-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.membership-highlight {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefits-list li {
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.benefits-list li i {
    margin-top: 0.25rem;
}

.text-orange {
    color: #FFF3E0;
}

.membership-illustration {
    display: none; /* Hide decorative icon on mobile to save space */
}

.membership-right {
    padding: 3rem 2rem;
    background-color: var(--white);
}

.form-heading {
    font-size: 1.5rem;
    color: var(--text-charcoal);
    margin-bottom: 0.5rem;
}

.form-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Form Styles */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-charcoal);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-label-icon {
    color: var(--primary);
    font-size: 0.95rem;
}

.signup-form input {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid #D6D5D2;
    background-color: var(--white);
    color: var(--text-charcoal);
    transition: all var(--transition-fast);
}

.signup-form input::placeholder {
    color: #A2A09C;
}

.signup-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Form input errors */
.signup-form input.invalid-input {
    border-color: #E74C3C;
    background-color: #FDEDEC;
    animation: shake 0.4s ease-in-out;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.btn-submit {
    background-color: var(--primary);
    color: var(--white);
    width: 100%;
    margin-top: 1rem;
    font-weight: 600;
    position: relative;
    padding: 0.95rem;
    box-shadow: 0 4px 15px rgba(94, 122, 90, 0.35);
}

.btn-submit:hover {
    background-color: var(--primary-hover);
}

.btn-spinner {
    display: none;
}

/* Form submit loading state */
.btn-submit.loading .btn-text {
    visibility: hidden;
    opacity: 0;
}

.btn-submit.loading .btn-spinner {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background-color: var(--text-charcoal);
    color: #A2A09C;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-top: 4px solid var(--primary);
}

.footer-bottom p {
    font-size: 0.85rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================================
   GLASSMORPHIC SUCCESS MODAL
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(47, 46, 44, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 50px -12px rgba(47, 46, 44, 0.25);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    padding: 2.5rem 2rem;
    position: relative;
    text-align: center;
    transform: scale(0.9);
    transition: transform var(--transition-bounce);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #E8F8F5;
    color: #2ECC71;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.modal-success-icon {
    font-size: 3rem;
}

.modal-title {
    font-size: 1.85rem;
    color: var(--accent-sage);
    margin-bottom: 0.5rem;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.highlight-pet {
    color: var(--primary);
    font-weight: 600;
}

.coupon-box {
    background: linear-gradient(135deg, #F5F8F4 0%, #EBF1EA 100%);
    border: 2px dashed var(--gold);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.coupon-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.coupon-code {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.coupon-discount {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold);
}

.modal-alert-box {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    text-align: left;
    margin-bottom: 1.75rem;
}

.modal-alert-icon {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.15rem;
}

.modal-alert-text {
    font-size: 0.85rem;
    color: var(--text-charcoal);
    line-height: 1.5;
}

.btn-close-modal {
    background-color: var(--primary);
    color: var(--white);
    width: 100%;
    font-weight: 600;
    padding: 0.85rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(94, 122, 90, 0.2);
    font-family: inherit;
    font-size: 0.95rem;
}

.btn-close-modal:hover {
    background-color: #05B34C !important;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animate-success {
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleUp {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==========================================================================
   MEDIA QUERIES (Responsive Tablet & Desktop Breakpoints)
   ========================================================================== */

/* Tablet & Smaller Desktop Devices (768px and up) */
@media (min-width: 768px) {
    .section-container {
        padding: 5rem 2rem;
    }
    
    .section-title {
        font-size: 2.75rem;
    }

    /* Navbar styling updates */
    .hamburger {
        display: none; /* Hide hamburger on tablet+ */
    }
    
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .nav-btn-mobile {
        display: none;
    }
    
    .nav-btn {
        display: inline-flex;
    }

    /* Hero Section updates */
    .hero {
        padding: 8rem 2rem 5rem 2rem;
    }
    
    .hero-container {
        flex-direction: row;
        text-align: left;
        gap: 4rem;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 2.25rem;
    }
    
    .hero-usp {
        font-size: 1.15rem;
    }

    .hero-image-wrapper {
        max-width: 500px;
    }

    /* Welcome Grid updates */
    .welcome-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Locations Section updates */
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .loc-image-wrapper {
        height: 220px;
    }

    /* CSR Section updates */
    .csr-wrapper {
        flex-direction: row;
        gap: 4rem;
    }
    
    .csr-stats-badge {
        bottom: 1.5rem;
        right: -1.5rem;
    }

    /* Reviews Section updates */
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-image-holder {
        height: 250px;
    }

    /* Membership Section updates */
    .membership-card {
        flex-direction: row;
    }
    
    .membership-left {
        flex: 1;
        padding: 4rem 3rem;
    }
    
    .membership-right {
        flex: 1.2;
        padding: 4rem 3rem;
    }
    
    .form-row {
        flex-direction: row;
    }
    
    .form-row .form-group {
        flex: 1;
    }
}

/* Large Desktop Devices (1024px and up) */
@media (min-width: 1024px) {
    .section-container {
        padding: 6rem 2rem;
    }

    .welcome-grid {
        grid-template-columns: repeat(5, 1fr); /* Elegant 5 columns */
    }
    
    .welcome-card {
        padding: 2rem 1rem;
    }
    
    .welcome-card:nth-child(4) {
        grid-column: span 1;
    }

    .membership-left {
        padding: 4.5rem;
    }
    
    .membership-right {
        padding: 4.5rem;
    }
    
    .membership-illustration {
        display: block;
        position: absolute;
        bottom: 2rem;
        right: 2rem;
        opacity: 0.15;
    }
    
    .decoration-icon {
        font-size: 8rem;
    }
    
    .modal-card {
        max-width: 550px;
        padding: 3rem;
    }
}

/* ==========================================================================
   MEMBER LOGIN, DASHBOARD, DIGITAL CARD & REWARDS CUSTOM STYLES
   ========================================================================== */

/* Auth Switch Tabs */
.auth-tabs {
    display: flex;
    background: var(--primary-light);
    border-radius: var(--radius-full);
    padding: 5px;
    margin-bottom: 25px;
    gap: 5px;
}

.auth-tab-btn {
    flex: 1;
    background: none;
    border: none;
    font-family: 'Mitr', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 10px 15px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.auth-tab-btn:hover {
    color: var(--primary);
}

.auth-tab-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.auth-tab-btn.active:hover {
    color: var(--white);
}

/* Dashboard Headers */
.dashboard-header-title {
    margin-bottom: 20px;
    text-align: left;
}

.dashboard-header-title h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-charcoal);
}

.dashboard-header-title p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.text-green {
    color: var(--primary) !important;
}

.badge-tier {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.badge-tier.silver {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-tier.gold {
    background: #FAF3E3;
    color: var(--gold);
}

.badge-tier.platinum {
    background: #EAEFFF;
    color: #4facfe;
}

/* 3D Glassmorphic Member Card */
.member-card {
    position: relative;
    background: linear-gradient(135deg, #5E7A5A 0%, #3C503A 100%);
    border-radius: 20px;
    padding: 25px;
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(94, 122, 90, 0.25);
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    text-align: left;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(94, 122, 90, 0.35);
}

.member-card.gold-card {
    background: linear-gradient(135deg, #C5A880 0%, #8E6F43 100%);
    box-shadow: 0 15px 30px rgba(197, 168, 128, 0.25);
}

.member-card.gold-card:hover {
    box-shadow: 0 20px 40px rgba(197, 168, 128, 0.35);
}

.member-card.platinum-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 15px 30px rgba(79, 172, 254, 0.25);
}

.member-card.platinum-card:hover {
    box-shadow: 0 20px 40px rgba(79, 172, 254, 0.35);
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.card-brand {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tier-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

.card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}

.lbl {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0.7;
    display: block;
    margin-bottom: 5px;
}

.val {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.05em;
}

.pts-lbl {
    font-size: 0.85rem;
    font-weight: 500;
}

.card-footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 15px;
}

.member-name {
    font-size: 1.05rem;
    font-weight: 600;
}

.member-pet {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Points Simulation section */
.points-claim-section {
    background: var(--primary-light);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(94, 122, 90, 0.08);
    text-align: left;
}

.points-claim-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-charcoal);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.points-claim-section .section-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.form-row-simulate {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.form-row-simulate input {
    flex: 1;
    border: 1px solid rgba(94, 122, 90, 0.15);
    border-radius: 12px;
    padding: 10px 15px;
    font-family: 'Outfit', 'Mitr', sans-serif;
    font-size: 0.9rem;
    outline: none;
    background: var(--white);
    transition: border 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-row-simulate input:focus {
    border-color: var(--primary);
}

.form-row-simulate button {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    white-space: nowrap;
    width: 100%;
    margin: 0;
}

@media (min-width: 768px) {
    .form-row-simulate {
        flex-direction: row;
    }
    .form-row-simulate button {
        width: auto;
    }
}

/* Rewards Redeem Section */
.rewards-redeem-section {
    margin-bottom: 25px;
    text-align: left;
}

.rewards-redeem-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-charcoal);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.rewards-list-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reward-item-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border: 1px solid rgba(94, 122, 90, 0.06);
    border-radius: 16px;
    padding: 12px 16px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.reward-item-mini:hover {
    border-color: var(--primary);
    transform: translateX(3px);
}

.reward-icon-mini {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.reward-details-mini {
    flex: 1;
}

.reward-details-mini h5 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-charcoal);
    margin-bottom: 2px;
}

.reward-details-mini p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-redeem-mini {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 99px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Outfit', 'Mitr', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(94, 122, 90, 0.15);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-redeem-mini:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

}

/* ==========================================================================
   UPGRADED FEATURES STYLES (Pet Passport, Share, PWA Install Banner)
   ========================================================================== */

/* Card Photo Columns */
.card-photo-right {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.card-pet-photo-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
    background: rgba(255, 255, 255, 0.15);
}

#cardPetPhoto {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Custom File Upload Input */
.file-input-custom {
    display: block;
    width: 100%;
    font-family: 'Outfit', 'Mitr', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--white);
    border: 1px dashed rgba(94, 122, 90, 0.3);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.file-input-custom:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

/* Download Member Card Button */
.btn-download-card {
    background-color: var(--white);
    color: var(--primary);
    border: 1.5px solid var(--primary);
    font-family: 'Mitr', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    width: 100%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.btn-download-card:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* PWA Installation Slide-up Banner */
.pwa-install-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    width: calc(100% - 30px);
    max-width: 480px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(94, 122, 90, 0.12);
    border-radius: 20px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    box-shadow: 0 12px 35px rgba(43, 48, 42, 0.15);
    z-index: 9999;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pwa-install-banner.show {
    transform: translateX(-50%) translateY(0);
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pwa-banner-icon {
    width: 38px;
    height: 38px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transform: rotate(-10deg);
}

.pwa-banner-text {
    text-align: left;
}

.pwa-banner-text h6 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-charcoal);
    margin-bottom: 2px;
}

.pwa-banner-text p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.25;
}

.pwa-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-pwa-install {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    padding: 7px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Outfit', 'Mitr', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(94, 122, 90, 0.15);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-pwa-install:hover {
    background-color: var(--primary-hover);
}

.btn-pwa-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-pwa-close:hover {
    color: var(--text-charcoal);
}

/* Logout Button */
.btn-logout-dash {
    background: none;
    border: 1.5px solid #e76f51;
    color: #e76f51;
    font-family: 'Mitr', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    width: 100%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.btn-logout-dash:hover {
    background: rgba(231, 111, 81, 0.08);
    color: #d15637;
    border-color: #d15637;
}


