﻿body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f9fff9;
    text-align: center;
}

header {
    background: #2e7d32;
    color: white;
    padding: 20px;
}

.logo {
    max-width: 120px;
}

nav {
    margin: 20px;
}

nav button {
    padding: 15px 25px;
    margin: 10px;
    font-size: 18px;
    background: #4caf50;
    border: none;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

.section button {
    padding: 15px 25px;
    margin: 10px;
    font-size: 18px;
    background: #81c784;
    border: none;
    border-radius: 8px;
}

.hidden {
    display: none;
}

/* Popup */
.popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.popup-content {
    background: white;
    max-width: 400px;
    margin: 80px auto;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}

.popup-content h2 {
    text-align: center;
}

label {
    display: block;
    margin-top: 10px;
}

input, textarea, select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
}

.popup-content button {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background: #2e7d32;
    color: white;
    border: none;
    font-size: 16px;
    border-radius: 6px;
}

.close {
    float: right;
    font-size: 22px;
    cursor: pointer;
}

footer {
    background: #2e7d32;
    color: white;
    padding: 15px;
    margin-top: 40px;
}
body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4fff4;
}

.hero {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    color: white;
    padding: 40px;
    text-align: center;
}

.logo {
    width: 120px;
    margin-bottom: 10px;
}

.product-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-card.disabled {
    opacity: 0.6;
}

.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

footer {
    background: #2e7d32;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 50px;
}
.startup-section {
    background: #f6fff6;
    padding: 70px 20px;
}

.section-title {
    text-align: center;
    font-size: 34px;
    color: #2e7d32;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 10px auto 50px;
    color: #555;
    font-size: 16px;
}

.startup-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.startup-row.reverse {
    flex-direction: row-reverse;
}

.startup-image {
    position: relative;
    flex: 1;
    text-align: center;
}

.startup-image img {
    max-width: 320px;
    width: 100%;
    animation: float 4s ease-in-out infinite;
}

.step-circle {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #4caf50;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.startup-content {
    flex: 1;
}

.startup-content h3 {
    color: #2e7d32;
    font-size: 24px;
    margin-bottom: 10px;
}

.startup-content p {
    color: #555;
    line-height: 1.7;
    font-size: 16px;
}

/* Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Mobile */
@media (max-width: 768px) {
    .startup-row,
    .startup-row.reverse {
        flex-direction: column;
        text-align: center;
    }
}
.hero {
    position: relative;
    height: 40vh;
    background: linear-gradient(
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.45)
    ),
    url('/image/hero-milk.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeUp 1s ease;
}

.logo {
    width: 130px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #f1f1f1;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #4caf50;
    color: #fff;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #43a047;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #fff;
    color: #2e7d32;
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .logo {
        width: 100px;
    }
}
.product-card {
    position: relative;
    background: #fff;
    padding: 35px 20px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.product-card.active:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.product-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.icon {
    font-size: 34px;
    margin-bottom: 10px;
}

.product-card h3 {
    color: #2e7d32;
    font-weight: 600;
}

.product-card p {
    color: #666;
    font-size: 15px;
}

/* Badge */
.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.available {
    background: #4caf50;
    color: #fff;
}

.unavailable {
    background: #ffcdd2;
    color: #c62828;
}

/* Animation */
.fade-in {
    animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.order-btn {
    margin-top: 15px;
    padding: 10px 22px;
    border-radius: 25px;
    border: none;
    background: #4caf50;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.order-btn:hover {
    background: #43a047;
    transform: translateY(-2px);
}

.disabled-btn {
    background: #bdbdbd;
    cursor: not-allowed;
}

.disabled-btn:hover {
    transform: none;
}

/* prevent disabled card click */
.product-card.disabled {
    pointer-events: auto;
}
.site-footer {
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding-top: 50px;
    font-size: 14px;
    color: #555;
}

.footer-top {
    padding-bottom: 30px;
}

.footer-col h5,
.footer-col h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}

.footer-logo {
    width: 140px;
    margin-bottom: 15px;
}

.footer-text {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #555;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #2e7d32;
}

/* Social icons */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #2e7d32;
    color: #fff;
    border-radius: 50%;
    margin-right: 8px;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background: #1b5e20;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding: 15px 0;
    text-align: center;
    font-size: 13px;
    color: #777;
    background: #fafafa;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-col {
        margin-bottom: 30px;
    }
}
.testimonial-section {
    background: #f4fff4;
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 40px;
}

.testimonial-row {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-card {
    background: #fff;
    max-width: 360px;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.review-text {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.user-info span {
    font-size: 12px;
    color: #777;
}

.stars {
    color: #ffb400;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Mobile */
@media (max-width: 768px) {
    .testimonial-row {
        flex-direction: column;
        align-items: center;
    }
}
.order-modal-body {
    padding: 25px;
    background: #f7fff7;
}

.order-header {
    text-align: center;
    margin-bottom: 15px;
}

.order-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    padding: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    margin-bottom: 10px;
}

.order-header h4 {
    margin-bottom: 5px;
    color: #2e7d32;
    font-weight: 600;
}

.order-header p {
    font-size: 13px;
    color: #666;
}

.order-banner {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

#orderForm label {
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
}

#orderForm input,
#orderForm textarea,
#orderForm select {
    border-radius: 10px;
}

#totalPrice {
    background: #e8f5e9;
    font-weight: 600;
    color: #1b5e20;
}
.custom-modal-header {
    justify-content: center;
    border-bottom: none;
    position: relative;
}

.custom-modal-header .btn-close {
    position: absolute;
    right: 15px;
    top: 15px;
}

.popup-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    padding: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
#orderForm label {
    display: inline-block;
    width: 150px;       /* adjust as needed */
    text-align: left; /* 👈 label on right */
    margin-right: 10px;
    font-weight: 600;
}

#orderForm input,
#orderForm textarea,
#orderForm select {
    width: calc(100% - 170px);
    display: inline-block;
}
/* Confirmation Modal */
.confirm-box {
    border-radius: 18px;
    overflow: hidden;
    background: #f8faf7;
}

.confirm-header {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 18px;
    background: #eef5ec;
}

.check-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #2e7d32;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.confirm-header h4 {
    margin: 0;
    color: #1b5e20;
}

.confirm-header p {
    margin: 0;
    font-size: 13px;
    color: #555;
}

.confirm-body {
    padding: 20px;
}

.confirm-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
}

.confirm-item span {
    color: #2e7d32;
    font-weight: bold;
}

.confirm-footer {
    display: flex;
    gap: 12px;
    padding: 15px 20px;
    border-top: 1px solid #ddd;
}
/* Milk options container */
.milk-options-box {
    background: #f3fff6;
    padding: 30px 20px;
    border-radius: 16px;
    max-width: 700px;
    margin: 0 auto;
}

/* Title */
.milk-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1b5e20;
}

/* Button group */
.milk-btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Big buttons */
.milk-big-btn {
    border: none;
    border-radius: 12px;
    padding: 22px 34px;
    min-width: 260px;
    background: #198754;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    transition: all 0.25s ease;
}

/* Hover animation */
.milk-big-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

/* Cow & Buffalo color difference */
.milk-big-btn.cow {
    background: linear-gradient(135deg, #2e7d32, #43a047);
}

.milk-big-btn.buffalo {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
}

/* Text inside */
.milk-name {
    font-size: 22px;
}

.milk-price {
    font-size: 18px;
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 20px;
}
.milk-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.milk-card {
    border: 2px solid #3ba66b;
    border-radius: 12px;
    padding: 14px;
    background: #fff;
    position: relative;
}

.trial-badge {
    background: #ffd66b;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.off-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2ecc71;
    color: #fff;
    font-size: 12px;
    padding: 6px;
    border-radius: 6px;
}

.milk-card-body {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.milk-img {
    width: 70px;
}

.price-row {
    display: flex;
    gap: 10px;
}

.price {
    font-weight: bold;
    font-size: 18px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
}

.add-btn {
    margin-left: auto;
    background: #198754;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
}

.milk-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    font-size: 12px;
    margin-top: 10px;
}

.order-form {
    margin-top: 20px;
}
/* Milk select card */
.milk-select-card {
    background: #198754;
    color: #fff;
    border-radius: 14px;
    padding: 18px;
    max-width: 520px;
    margin: 12px auto;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
}

.milk-select-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.2);
}

/* Header row */
.milk-select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Features grid */
.milk-features-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    font-size: 13px;
    opacity: 0.95;
}

.milk-features-mini i {
    margin-right: 6px;
}
section {
  padding: 50px 0; /* instead of 80–100px */
}

.startup-row {
  margin-bottom: 40px;
}
.tap-hint {
  margin-top: 10px;
  font-size: 20px;
  color:black;
  opacity: 0.9;
}
.testimonial-slider {
  max-width: 650px;
  margin: auto;
  position: relative;
}

.testimonial-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  animation: fade 0.6s ease-in-out;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.review-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-info img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  color: #f5a623;
  font-size: 18px;
}

.testimonial-controls {
  margin-top: 15px;
}

.testimonial-controls button {
  background: #198754;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 50%;
  font-size: 18px;
  margin: 0 5px;
  cursor: pointer;
}

.testimonial-controls button:hover {
  background: #146c43;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #1e7f4f;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1e7f4f;
}

.user-details {
    text-align: left;
    line-height: 1.2;
}

.user-name {
    font-weight: 600;
    font-size: 15px;
    color: #fff;
}

.user-role {
    font-size: 12px;
    color: #e6ffe9;
}
.hero {
    position: relative;
    height: 420px;
    background: #6e726f; /* your bg or image */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* overlay stays same */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

/* center content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

/* RIGHT SIDE USER */
.hero-user {
    position: absolute;
    top: 16px;
    right: 24px;
    z-index: 3;
}

/* user box */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    padding: 8px 12px;
    border-radius: 30px;
    backdrop-filter: blur(6px);
}

/* avatar */
.user-avatar {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #1e7f4f;
    border-radius: 50%;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* text */
.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.user-role {
    font-size: 12px;
    color: #d9ffe8;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    padding: 8px 14px;
    border-radius: 30px;
    backdrop-filter: blur(6px);
    position: relative;
}

/* LEFT STATUS DOT */
.status-dot {
    width: 10px;
    height: 10px;
    background: #2ecc71; /* online green */
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.25);
}
/* TOP USER BAR */
.top-user-bar {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* USER INFO */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    padding: 8px 14px;
    border-radius: 30px;
    backdrop-filter: blur(6px);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
}

.user-avatar {
    width: 34px;
    height: 34px;
    background: #1b8f4d;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
}

.user-role {
    font-size: 12px;
    opacity: 0.8;
}

/* WALLET */
.wallet-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 8px 14px;
    border-radius: 30px;
    cursor: pointer;
}

.wallet-info i {
    color: #1b8f4d;
    font-size: 18px;
}

.wallet-title {
    font-size: 12px;
    opacity: 0.8;
}

.wallet-points {
    font-size: 14px;
    font-weight: bold;
    color: #1b8f4d;
}
/* USER BAR */
.header-user-bar {
    position: absolute;
    top: 18px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* WALLET */
/* .wallet-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #2ecc71;
    background: rgba(255,255,255,0.15);
    padding: 6px 12px;
    border-radius: 20px;
} */
.wallet-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    color: white;
    background: rgba(0,0,255,0.15);
    padding: 6px 12px;
    border-radius: 20px;
}
/* USER */
.user-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 6px 12px;
    border-radius: 20px;
}

.avatar {
    width: 30px;
    height: 30px;
    background: #2ecc71;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.name {
    font-size: 13px;
    font-weight: 500;
}

/* LOGO BIG */
.logo-large {
    width: 110px;
    margin-bottom: 14px;
}
/* ===== NEW HERO HEADER ===== */
.hero-new {
  position: relative;
  height: 420px;
  background: url('/image/bg-farm.jpg') center/cover no-repeat;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* Top bar */
.hero-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

/* Brand mini */
.brand-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.brand-mini img {
  width: 38px;
}

/* User bar */
.user-bar {
  display: flex;
  gap: 14px;
  align-items: center;
}

.wallet {
  background: rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.wallet i {
  margin-right: 4px;
  color: #9dffb3;
}

/* User */
.user {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: 30px;
}

.avatar {
  width: 34px;
  height: 34px;
  background: #2ecc71;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user .info {
  line-height: 1.1;
}

.user strong {
  font-size: 13px;
}

.user small {
  font-size: 11px;
  opacity: 0.85;
}

/* Center content */
.hero-center {
  position: relative;
  z-index: 2;
  height: calc(100% - 70px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
}

.hero-logo {
  width: 140px;
  margin-bottom: 14px;
}

.hero-center h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-center p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 22px;
}

.hero-cta {
  background: #2ecc71;
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

/*.hero-cta:hover {
  background: #27ae60;
  transform: translateY(-2px);
}*/

/* Mobile */
@media (max-width: 768px) {
  .hero-new {
    height: 360px;
  }

  .hero-logo {
    width: 110px;
  }

  .hero-center h1 {
    font-size: 28px;
  }

  .hero-center p {
    font-size: 15px;
  }

  .user .info {
    display: none;
  }
}
/* ===== FORCE DROPDOWN ARROW FOR SELECT ===== */
select.form-control {
  appearance: none;           /* Chrome, Edge */
  -webkit-appearance: none;   /* Safari */
  -moz-appearance: none;      /* Firefox */

  background-image:
    url("data:image/svg+xml;utf8,<svg fill='%2366aa77' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;

  padding-right: 42px; /* space for arrow */
  cursor: pointer;
}
#chatbotBtn{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#198754;
  color:#fff;
  font-size:24px;
  padding:12px 16px;
  border-radius:50%;
  cursor:pointer;
  z-index:9999;
}

#chatbotBox{
  position:fixed;
  bottom:80px;
  right:20px;
  width:320px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.2);
  display:none;
  z-index:9999;
}

.chat-header{
  background:#198754;
  color:#fff;
  padding:12px;
  font-weight:600;
  display:flex;
  justify-content:space-between;
  border-radius:12px 12px 0 0;
}

.chat-body{
  padding:12px;
  max-height:260px;
  overflow-y:auto;
  font-size:14px;
}

.bot-msg{
  background:#e9f7ef;
  padding:8px;
  border-radius:8px;
  margin-bottom:8px;
}

.user-msg{
  background:#198754;
  color:#fff;
  padding:8px;
  border-radius:8px;
  text-align:right;
  margin-bottom:8px;
}

.chat-options{
  padding:10px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.chat-options button{
  border:none;
  padding:8px;
  border-radius:6px;
  background:#198754;
  color:#fff;
  font-size:12px;
  cursor:pointer;
}
#chatInput{
  width:100%;
  border:none;
  padding:10px;
  border-top:1px solid #ddd;
}

#waToast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #198754;
  color: #fff;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 14px;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.quantity-options button {
    margin: 5px;
    padding: 8px 14px;
    border: none;
    background: #25D366;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.quantity-options button:hover {
    background: #1ebe5d;
}
.yes-no-btns button,
.milk-btns button {
    margin: 5px;
    padding: 8px 16px;
    border-radius: 18px;
    border: none;
    background: #25D366;
    color: #fff;
    cursor: pointer;
}

.yes-no-btns button:last-child {
    background: #d9534f;
}
/* =========================
   AUTH CARD (REGISTER)
========================= */

.auth-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 26px;
    width: 100%;
    max-width: 420px;
    margin: auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    animation: fadeUp 0.4s ease;
    font-family: 'Segoe UI', sans-serif;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.auth-card .logo {
    text-align: center;
    margin-bottom: 12px;
}

.auth-card .logo img {
    height: 65px;
}

/* Title */
.auth-card h2 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 18px;
    color: #2c3e50;
}

/* Form group */
.auth-card .form-group {
    margin-bottom: 14px;
}

.auth-card label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    display: block;
}

/* Inputs */
.auth-card input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: 0.3s;
}

.auth-card input:focus { 
    border-color: #28a745; 
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.15);
    outline: none; 

}



/* Show password */
.show-password-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 13px;
  
}

/* Register button */
.auth-card button {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #28a745, #218838);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.auth-card button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(40, 167, 69, 0.35);
}

/* Messages */
#userMsg,
#userMsg1,
#passwordMsg,
#passwordMsg1 {
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Links */
.auth-card .links {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
}

.auth-card .links a {
    color: #28a745;
    font-weight: 600;
    text-decoration: none;
}

.auth-card .links a:hover {
    text-decoration: underline;
}

/* =========================
   MODAL FIXES
========================= */

.modal-content.auth-card {
    padding: 22px 20px;
}

.modal-header {
    border-bottom: none;
}

/* Mobile */
@media (max-width: 480px) {
    .auth-card {
        padding: 22px 18px;
    }

    .auth-card h2 {
        font-size: 20px;
    }
}


    .error-msg {
        color: red;
        font-size: 13px;
        margin-top: 4px;
        display: block;
    }
     .login-box {
            max-width: 400px;
            margin: 80px auto;
            padding: 30px;
            background: #ffffff;
            border-radius: 10px;
            box-shadow: 0 0 15px rgba(0,0,0,0.1);
        }
        .toggle-password {
            cursor: pointer;
        }.btn-group-custom {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-group-custom button {
    flex: 1;
    height: 45px;
    border-radius: 10px;
}
