html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}



/*footer-------------------*/
/* --- LOWER SITE AREA (MO&CHA THEME) --- */
.lower-site-area-wrap {
    width: 100%;
    background-color: #FFF0F5; /* Back to the soft Pink-White base */
    padding: 80px 0 20px 0;
    /* Elegant Matcha Green top border */
    border-top: 6px solid #2d6a4f;
    font-family: 'Playfair Display', serif;
    position: relative;
    /* Subtle Gold Tint over the pink */
    background-image: linear-gradient(to bottom, rgba(212, 175, 55, 0.05), transparent);
}

.lower-site-area-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
}

/* Brand Area */
.lower-site-area-logo {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1b4332; /* Deep Matcha Green */
    letter-spacing: 2px;
    margin: 0;
}

.lower-site-area-accent {
    color: #ffb7c5; /* Sakura Pink */
}

.lower-site-area-tagline {
    color: #2d6a4f;
    font-size: 1rem;
    margin-top: 10px;
    font-style: italic;
}

/* Headings */
.lower-site-area-heading {
    color: #1b4332;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    margin-bottom: 25px;
    border-bottom: 1px solid #ffb7c5;
    display: inline-block;
    padding-bottom: 5px;
}

/* Links List */
.lower-site-area-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lower-site-area-link {
    display: block;
    color: #4a4a4a;
    text-decoration: none;
    margin-bottom: 12px;
    font-family: sans-serif;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

    .lower-site-area-link:hover {
        color: #ffb7c5;
        padding-left: 8px;
    }

/* Newsletter Form */
.lower-site-area-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.lower-site-area-input {
    flex: 1;
    background: #ffffff;
    border: 1px solid #ffb7c5;
    padding: 12px;
    border-radius: 4px;
    outline: none;
}

.lower-site-area-submit {
    background: #2d6a4f; /* Matcha Green */
    color: #ffffff;
    border: none;
    padding: 0 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.lower-site-area-socials {
    display: flex;
    gap: 20px;
}

.lower-site-area-social-icon {
    color: #1b4332;
    font-size: 1.4rem;
    transition: 0.3s;
}

    .lower-site-area-social-icon:hover {
        color: #ffb7c5;
        transform: translateY(-3px);
    }

/* Bottom Bar */
.lower-site-area-bottom {
    margin-top: 60px;
    padding: 20px 5% 0 5%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.lower-site-area-copy {
    color: #888;
    font-size: 0.85rem;
    font-family: sans-serif;
}

.lower-site-area-gold {
    color: #d4af37; /* Software Firm Gold Hint */
    font-weight: bold;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .lower-site-area-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lower-site-area-socials {
        justify-content: center;
    }
}




/* ==========================================================================
   THE MATCHA SPOT: FULL HEIGHT EDGE-TO-EDGE NAVBAR
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,700;0,900;1,400&display=swap');

/* --- NAVBAR-MATCHA NAVIGATION WRAPPER --- */
.navbar-matcha-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03) 0%, rgba(255, 255, 255, 0.75) 50%, rgba(212, 175, 55, 0.03) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* FIX: Removed top padding so the logo can touch the absolute top edge */
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* The Signature Pink Line - Full Width Base Component */
.navbar-matcha-bottom-line {
    width: 100%;
    height: 3px;
    background-color: #ffb7c5; /* Elegant Sakura Pink */
    /* FIX: Removed margin-top to eliminate the gap before the line */
    margin-top: 0;
    box-shadow: 0 2px 10px rgba(255, 183, 197, 0.3);
}

.navbar-matcha-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    /* FIX: Force container to a fixed height to anchor the full-height image */
    height: 70px;
}

/* --- LOGO IMAGE CONSTRAINT LAYOUT (FLUSH EDGE) --- */
.navbar-matcha-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* FIX: Force anchor to fill the exact 100% height of the navbar container */
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

.navbar-matcha-logo-img {
    /* FIX: Forces image to perfectly fill the navbar from top to bottom line */
    height: 100%;
    width: auto; /* Prevents horizontal distortion stretching */
    max-width: 220px;
    /* FIX: Forces image to fit nicely within bounds without borders or gaps */
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    border: none; /* Eradicates any default ghost borders */
}

/* --- NAV MENU AND NAVIGATION TRACK LINKS --- */
.navbar-matcha-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

.navbar-matcha-link {
    text-decoration: none;
    color: #2d6a4f;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

    .navbar-matcha-link:hover {
        color: #d4af37; /* Gold */
    }

/* --- BUTTONS --- */
.navbar-matcha-btn {
    background: #2d6a4f;
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid #d4af37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

    .navbar-matcha-btn:hover {
        background: #1b4332;
        transform: scale(1.04) translateY(-1px);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
    }

/* --- MOBILE TOGGLE HAMBURGER --- */
.navbar-matcha-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.navbar-matcha-bar {
    width: 24px;
    height: 2px;
    background-color: #1b4332;
    border-radius: 2px;
}

/* --- RESPONSIVE MOBILE SYSTEM --- */
@media (max-width: 768px) {
    .navbar-matcha-container {
        /* Slightly shorter header height profile rules on mobile viewports */
        height: 60px;
    }

    .navbar-matcha-toggle {
        display: flex;
    }

    .navbar-matcha-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        padding: 24px 0;
        gap: 18px;
        border-bottom: 3px solid #ffb7c5;
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

        .navbar-matcha-menu.active {
            display: flex;
            opacity: 1;
            transform: translateY(0);
        }
}