/* =============================================================
* Project Name: Fremido Stores website
* Project URL: https://fremidostores.com/
* Author: Silvabizhub | Afribrainy | Dynatech Hub 4 Creativity
* License: GNU/
============================================================== */

:root {
  --blue:#e6ffe7;
  --green:#328c3f;
  --gold: rgb(229, 159, 55);
  --white: #fff;
  --black: rgb(0, 0, 0);
  --gray-light: #e9e9e9;
  --gray-darker: #444444;
  --gray-dark: #e0e0e0;
   --animationSpeed: 0.25s;
}

html {
  overflow:auto;
  scrollbar-width:none;
  overflow-x:hidden;
  font-size:clamp(8px, 6vw, 14px);
  font-family: "Lato", sans-serif;
  font-weight: 200;
  font-style: normal;
  background-color: var(--white);
}

* {
  box-sizing:border-box;
  margin:0;
}

::-webkit-scrollbar {
  display:none;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* background-color:#b4a3a3; */
  background-color: #e3e3e3;
  overflow-x:hidden;
  line-height:1.3;
  background-repeat:repeat;
  background-size:auto;
  max-width:100%;
}

.container {
  max-width: 80%;
  margin: 0 auto;
  overflow: auto;
  padding: 0;
  overflow-x: hidden;
}

/* =================== TOP BAR =================== */
.top_bar {
  width: 100%;
  height: 20px;
  background-color: var(--green);
  text-decoration: none;
}

.top_bar .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: var(--green);
  padding-top: 3px; 
  padding-bottom: 3px;
}

.top_bar p {
  color: var(--white);
  text-decoration: none;
  font-size:clamp(8px, 6vw, 10px);
}

.top_bar a {
  text-decoration: none;
  color: var(--white);
}

.top_bar_socials {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  margin-left: 10px;
}

.fa-brands {
  margin-left: 10px;
}

/* =================== NAVIGATION STRIP =================== */
.nav_strip {
  background-color: var(--blue);
}

.nav_strip .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* =================== LOGO & LEFT NAV =================== */
.logo_left {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
  margin-left: 0;
}

.logo_left img {
  width: clamp(15px, 6vw, 20px);
  height: auto;
  display: block;
  margin-left: 0;
  align-content: left;
}


.logo_left h4 {
  font-family: "Gurmukhi MN", serif;
  font-size: clamp(15px, 6vw, 20px);
  color: var(--black);
  margin-right: 20px;
  font-size: 1.4rem;
  text-decoration: none;
  padding-left: 15px;
}

.logo_left h4 a {
  text-decoration: none;  
  color: var(--green);    
}


.logo_left li {
  list-style-type: none;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.logo_left li a {
  text-decoration: none;
  color: var(--black);
  padding-right: 13px;
  padding-left: 0;
  display: flex;          /* flex so it can fill parent height */
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.logo_left li a:hover {
  background-color: var(--blue);
  color: var(--green);
  border-radius: 0px;
}

/* =================== RIGHT NAV =================== */
.right_nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}

.right_nav a {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  margin: 2px;
  font-size: 15px;
  text-decoration: none;
  color: var(--black);
}

/* =================== DROPDOWN MENU =================== */
.dropdown {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  list-style: none;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  z-index: 2000;
}

/* Show dropdown on hover (PC) */
.logo_left li:hover > .dropdown {
  max-height: 500px;
  opacity: 1;
}

/* Dropdown items stacked vertically */
.dropdown li {
  display: block;
  width: 100%;
}

.dropdown li a {
  display: block;
  padding: 10px 15px;
  color: var(--black);
  font-size: 14px;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.dropdown li a:hover {
  background: var(--green);
  color: var(--white);
}

/* Dropdown show class for JS toggle (mobile/tablet) */
.dropdown.show {
  max-height: 500px;
  opacity: 1;
}

/* Top-level nav horizontal */
.logo_left > ul {
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* Fix dropdown stacking */
.nav_strip,
.logo_left {
  position: relative;
  z-index: 1000;
}

.nav_strip,
.logo_left,
.container {
  overflow: visible !important;
}

/* =================== MAIN =================== */
main {
  flex: 1;
  background-color: rgb(246, 246, 246);
}

.search_bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
  margin-left: 0;
  margin-top: 10px;
}

.search-box {
    position: relative;
    width: 145px;                /* default width */
    transition: width 0.3s ease; /* smooth animation */
}

.search-box.expanded {
    width: 210px; /* expanded size */
}

.search-box .search-icon {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size:clamp(8px, 6vw, 16px);
    color: var(--green);
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding: 3px 0px 3px 20px; /* space for icon */
    font-size: 1rem;
    border: 2px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.search-box input:focus {
    border-color: var(--green);    /* our green theme */
    background: #f7fff8;
}


/* =================== FOOTER =================== */
.bottom_bar {
  background-color: var(--green);
  color: white;
  font-size: 14px;
  padding: 10px 0;
}

.bottom_bar p {
  font-size: 12px;
}

.bottom_bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottom_left, .bottom_right {
  margin: 0;
}

.bottom_right a {
  color: white;
  text-decoration: none;
}

.bottom_right a:hover {
  text-decoration: underline;
}

.scroll-top-btn {
  display: none;
    }

/* PRODUCT PAGE LAYOUT */
.product-page {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px;
}

.product-gallery {
    flex: 1 1 45%;
}

.product-details {
    flex: 1 1 45%;
}

/* MAIN SLIDER */
.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    background: #f8f8f8;
}

.slider-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 400px;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ARROWS */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 12px 16px;
    font-size: 22px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.7);
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

/* THUMBNAILS */
.thumb-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.2s;
}

.thumb:hover,
.thumb.active {
    opacity: 1;
    outline: 3px solid var(--green);
}

/* PRODUCT DETAILS */
.product-details h4 {
    margin-bottom: 10px;
    font-size: 15px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: var(--green);
    margin-bottom: 10px;
}

.add-to-cart {
    display: inline-block;
    background: var(--green);
    padding: 15px 25px;
    color: white;
    border-radius: 10px;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.add-to-cart:hover {
    background: #3d9444;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .product-page {
        flex-direction: column;
    }
    .slider-container {
        height: 300px;
    }
    .slide {
        height: 300px;
    }
}

/* ========= CARD PRODUCTS SHOWCASE ==============*/

.cards-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(1, 1fr);
}

/* CARD STYLE */
.card {
  width: 100%;             
  max-width: 360px;       
  min-width: 0;           
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,.1);
  transition: .3s;
  margin: 20px auto;      
  overflow: hidden;
  position: relative;
  cursor: pointer;
  pointer-events: auto; /* ensure card itself is NOT blocking children */
}

.card:hover .img img{ transform:scale(1.05) }
.info{ padding:20px }
.cat{ font-size:11px; font-weight:600; letter-spacing:1px; text-transform:uppercase; color:#71717A; margin-bottom:5px }
.title{ font-size:18px; font-weight:500; color:#18181B; margin:0 0 10px; letter-spacing:-.5px }
.desc{ font-size:13px; color:#52525B; line-height:1.4; margin-bottom:12px }
.feats{ display:flex; gap:6px; margin-bottom:15px }
.feat{ font-size:12px; background: var(--blue); color:#71717A; padding:3px 8px; border-radius:8px; font-weight:500 }
.bottom{ display:flex; justify-content:space-between; align-items:center; margin-bottom:12px }
.price{ display:flex; flex-direction:column }
.old{ font-size:13px; text-decoration:line-through; color:#A1A1AA; margin-bottom:2px }
.new{ font-size:13px; font-weight:400; color:#18181B }
.btn{ background:var(--green); color:#fff; border:none; border-radius:10px; padding:8px 15px; font-size:13px; font-weight:400; cursor:pointer; display:flex; align-items:center; gap:6px; transition:.3s; box-shadow:0 3px 10px rgba(0,0,0,.1); position:relative; overflow:hidden; text-decoration:none; }
.btn:hover{ background:var(--blue); color: var(--black); transform:translateY(-2px); box-shadow:0 5px 15px rgba(0,0,0,.15) }
.btn:before{ content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg,transparent,rgba(255,255,255,.1),transparent); transition:.5s }
.btn:hover:before{ left:100% }
.icon{ transition:transform .3s }
.btn:hover .icon{ transform:rotate(-10deg) scale(1.1) }
.meta{ display:flex; justify-content:space-between; align-items:center; border-top:1px solid #F4F4F5; padding-top:12px }
.rating{ display:flex; align-items:center; gap:2px }
.rcount{ margin-left:6px; font-size:11px; color:#71717A }
.stock{ font-size:11px; font-weight:600; color:#22C55E }
.img img{ width:100%; height:200px; object-fit:cover; transition:transform .5s; display:block }
.card:hover .img img{ transform:scale(1.05) }

.action {
    color: var(--green);      /* your green color */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
    padding: 5px 0;
}

.bottom {
    display: flex;
    align-items: center;
    gap: 5px;      /* space between items */
}

.stock a {
  text-decoration: none;
  font-size: 14px;
  color: #22C55E;
  padding: 0;
  margin: 0;
  list-style: none;
}


.card .btn,
.card .stock a {
    pointer-events: auto; /* make sure buttons/links respond */
}


@media (max-width:600px){
  .card{ width:100% }      /* keeps internal spacing on tiny phones */
  .title{ font-size:16px }
  .img{ height:180px }
  .bottom{ flex-direction:column; align-items:flex-start; gap:10px }
  .price{ margin-bottom:5px }
  .btn{ width:100%; justify-content:center }
}

.card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.card p {
    color: #555;
}

/* TABLET — 2 COLUMNS (600px+) */
@media (min-width: 600px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MID SCREEN — 3 COLUMNS (900px+) */
@media (min-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* LARGE SCREEN — 4 COLUMNS (1200px+) */
@media (min-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============== END OF PRODUCTS CARDS =================*/

/* ============== CART FOR USER =============*/
.cart-container {
    width: 95%;
    max-width: 900px;
    margin: 30px auto;
    padding-bottom: 60px;
}

.cart-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Alerts */
.alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 600;
}

.alert.success { background: #d4f5d4; color: #1a7f1a; }
.alert.error { background: #ffd6d6; color: #b70000; }

/* Empty cart */
.empty-cart {
    background: #fff;
    padding: 25px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.empty-cart .btn {
    margin-top: 10px;
}

/* Cart item */
.cart-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.item-info h3 {
    margin: 0 0 5px;
    font-size: 16px;
}

.item-info p {
    margin: 3px 0;
    font-size: 15px;
}

.item-action {
    display: flex;
    align-items: center;
}

.cart-total-box {
    background: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 12px;
    text-align: right;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cart-total-box span {
    font-weight: 500;
    color: var(--green);
}

/* WhatsApp form */
.whatsapp-box {
    margin-top: 25px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.whatsapp-box textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    margin-top: 5px;
}

.actions {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

.btn.success {
    background: var(--green);
}

.btn.danger {
    background: #d00000;
}

.btn.outline {
    background: transparent;
    border: 2px solid #555;
    color: #333;
}


/*  ========= LOGIN FORM ===========*/
/* Page Wrapper */
.auth-wrapper {
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Login Card */
.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.12);
    text-align: center;
}

/* Title */
.auth-title {
    margin-bottom: 18px;
    font-size: 26px;
    font-weight: 700;
    color: #222;
}

/* Input Groups */
.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: 0.2s;
}

.input-group input:focus {
    border-color: var(--green);
    outline: none;
    box-shadow: 0 0 4px rgba(0,180,10,0.4);
}

/* Error */
.error-msg {
    font-size: 13px;
    color: red;
}

/* Remember + Forgot Password */
.remember-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.forgot-link {
    font-size: 14px;
    text-decoration: none;
    color: var(--green);
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Login Button */
.auth-btn {
    width: 100%;
    background: var(--green);
    padding: 12px;
    border-radius: 10px;
    border: none;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    transition: 0.2s;
}

.auth-btn:hover {
    background: #0aa90f;
}

/* Separator */
.separator {
    margin: 20px 0;
    color: #999;
    font-size: 14px;
}

/* Google Login Button */
.google-btn {
    display: block;
    width: 100%;
    background: #dd4b39;
    color: white;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 16px;
}

.google-btn:hover {
    background: #c23321;
}

/* Register Text */
.register-text {
    font-size: 14px;
    margin-top: 8px;
}

.register-text a {
    color: var(--green);
    text-decoration: none;
}

.register-text a:hover {
    text-decoration: underline;
}

/*   ------------- Admin Panel -------------*/

/* Wrapper */
.admin-wrapper {
    width: 95%;
    max-width: 1200px;
    margin: 40px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-header h4 {
    font-size: 15px;
    color: #222;
}

.btn-primary {
    background: var(--green);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #0aa90f;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.success-alert {
    background-color: #d4edda;
    color: #155724;
}

/* Table */
.table-wrapper {
    overflow-x: auto;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
}

.custom-table th, .custom-table td {
    padding: 5px 15px;
    text-align: left;
}

.custom-table thead {
    background: var(--green);
    color: #fff;
}

.custom-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.custom-table tbody tr:hover {
    background: #f1fdf1;
}

.product-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

/* Buttons inside table */
.actions {
    display: flex;
    gap: 8px;
}

.btn-edit {
    background: #ffc107;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.btn-edit:hover {
    background: #e0a800;
}

.inline-form {
    display: inline;
}

.btn-delete {
    background: #dc3545;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-delete:hover {
    background: #c82333;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 20px;
    text-align: right;
}

.pagination-wrapper nav a,
.pagination-wrapper nav span {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--green);
    border: 1px solid var(--green);
    transition: 0.2s;
}

.pagination-wrapper nav a:hover {
    background: var(--green);
    color: #fff;
}

.pagination-wrapper nav .active span {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .custom-table th, .custom-table td {
        padding: 10px 8px;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .actions {
        flex-direction: column;
        gap: 4px;
    }
}

/* ----  Cart Badge -----*/
.cart-link {
    position: relative;
    display: inline-block;
    padding: 8px 16px;
    color: #fff;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.cart-link:hover {
    background-color: var(--white);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -2px;
    background-color: red;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
    line-height: 1;
}


/* ------- UPLOAD PRODUCT ----------*/
/* Wrapper */
.upload-wrapper {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Heading */
.upload-wrapper h4 {
    font-size: 25px;
    margin-bottom: 25px;
    color: #222;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background-color: #fde2e2;
    color: #b00020;
}

/* Grid 2 columns */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media screen and (max-width: 700px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Form group */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 14px;
    transition: 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 5px rgba(13,187,19,0.3);
}

/* File input small text */
.form-group small {
    margin-top: 4px;
    color: #555;
    font-size: 12px;
}

/* Submit button */
.btn-submit {
    background-color: var(--green);
    color: #fff;
    font-weight: 600;
    padding: 12px 25px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: #0aa90f;
}

/* --------- edit Product ----------*/
.edit-wrapper {
    max-width: 700px;
    margin: 40px auto;
    background: #fff;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.edit-wrapper h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #222;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 14px;
    transition: 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 5px rgba(13,187,19,0.3);
}

/* Preview Images */
.preview-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 10px;
    margin-right: 10px;
    border: 1px solid #ccc;
}

/* Submit Button */
.btn-submit {
    background-color: var(--green);
    color: #fff;
    font-weight: 600;
    padding: 12px 25px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: #0aa90f;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .preview-image {
        width: 100px;
        height: 100px;
    }
}


/* ON very LARGE screens */
@media only screen and (max-width: 10000px) and (min-width: 675px) {
  .topbar_mobo {
  display: none;
}

.menu {
  display: none;
}
}

/* ON VERY SMALL SCREENS  -  HEY, BUDDY LET'S HELP THEM SEE NICELY */
@media only screen and (max-width: 674px) and (min-width: 20px) {
/* Navigation menu */
  .nav_strip {
    display: none;
  }

  .logo_left {
    display: none;
  }

  .right_nav {
    display: none;
  }

.topbar_mobo {
    width: 100%;
    height: 60px; /* FIX: consistent height */
    background: var(--blue);
    color: var(--green);
    display: flex;
    align-items: center; /* vertically center items */
    justify-content: space-between; /* left + right */
    padding: 0 0;
    position: static;
    top: 19px;
    left: 0;
    z-index: 600;
    white-space: nowrap; /* prevent wrapping */
}

.topbar_mobo .container {
    width: 80% !important;
    margin: 0 auto;
    position: relative; /* IMPORTANT */
    display: flex;
    align-items: center;
    justify-content: space-between; /* logo left, hamburger right */
    height: 60px; /* optional but recommended */
}

.topbar_mobo .container a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
        text-decoration: none; /* removes underline */
}

.donati {
    position: relative;
}

.topbar_mobo img {
  height: 35px;
}

.top_bar p {
  color: var(--white);
  text-decoration: none;
  font-size: 10px;
}

main {
  padding-top: 10px;
  width: 100%;
}

main ,.container {
  width: 100%;
}


.top_bar .container {
  width: 100%;
}

main .container {
  width: 100%;
}

.bottom_bar .container {
  width: 100%;
}

.bottom_bar p {
  font-size: 10px;
}

/* Menu container */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 80px;
    background: none;
    transform: translateX(-100%);
    transition: 0.3s ease;
    z-index: 999;
}

/* Each link becomes a full-width sliding block */
.menu-item {
    display: block;
    width: 100%;
    padding: 11px 10px;
    font-size: 14px;
    color: white;
    text-decoration: none;
    background: var(--green);
    border-bottom: 1px solid var(--blue);
    transform: translateX(-120%);
    opacity: 0;
    position: relative;
}

/* When sliding in */
.menu-item.show {
    transform: translateX(0);
    opacity: 1;
    transition: 0.55s ease;
}

/* Sub-links (hidden by default) */
.sub-links {
    display: none;
    background: rgb(63, 106, 63);
    padding-left: 30px;
}

/* Each sub-link styling */
.sub-links a {
  display: block;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--blue);
}

/* Show sub-links */
.sub-links.show {
  display: block;
}

/* NEW MODERN HAMBURGER */
.hamburger {
  position: relative;
  width: 15px;
  height: 13px;
  cursor: pointer;
  color: #000;
  z-index: 20000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 1px;
  background: currentColor;
  border-radius: 1px;
  transition: 0.3s ease;
}

/* OPEN STATE (X) */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Make bottom line shorter */
.hamburger-line:nth-child(3) {
  width: 70%;
  align-self: flex-end;
}

/* When open (X) → restore to full width */
.hamburger.active .hamburger-line:nth-child(1),
.hamburger.active .hamburger-line:nth-child(3) {
  width: 100%;
}

/* SCROLL to TOP */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--blue);
    padding: 15px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--green);  
    border: none;         
    outline: none;        
    cursor: pointer;
}




  }
