* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Global ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    font-size: clamp(14px, 1.2vw, 16px);
}

/* ===== Top Bar ===== */
.top-bar {
    background: #2c3e50;
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 0.95em;
}

/* ===== Header ===== */
.header {
    padding: clamp(40px, 6vw, 70px) 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.header h1 {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 1px;
}

.header p {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: #7f8c8d;
    margin-bottom: 20px;
}

.online-notice {
    display: inline-block;
    background: #ecf0f1;
    color: #2c3e50;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.95em;
    border-left: 3px solid #3498db;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    width: 100%;
    margin: clamp(0vw, 0vw, 0vw) auto;
    padding-inline: clamp(15px, 4vw, 30px);
}

/* ===== Main Content ===== */
.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(30px, 5vw, 60px);
    background: white;
    padding: clamp(30px, 5vw, 60px);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* ===== Sections Titles ===== */
.contact-info h2,
.contact-form h2 {
    color: #2c3e50;
    margin-bottom: 35px;
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 400;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

/* ===== Contact Info ===== */
.info-item {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ecf0f1;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item h3 {
    color: #34495e;
    margin-bottom: 12px;
    font-size: 1.05em;
    font-weight: 500;
}

.info-item p {
    color: #7f8c8d;
    margin: 5px 0;
    font-size: 0.95em;
}

/* ===== Form ===== */
.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #34495e;
    font-weight: 500;
    font-size: 0.95em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 0.95em;
    transition: 0.3s ease;
    font-family: inherit;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

/* ===== Button ===== */
.submit-btn {
    background: #2c3e50;
    color: white;
    width: 100%;
    max-width: 260px;
    padding: 14px;
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: #34495e;
}

.submit-btn:active {
    background: #1a252f;
}

/* ===== Info Section ===== */
.info-section {
    background: white;
    padding: clamp(30px, 5vw, 60px);
    margin-top: 50px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(20px, 4vw, 40px);
    margin-top: 30px;
}

.info-card {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #ecf0f1;
    border-radius: 4px;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.05em;
    font-weight: 500;
}

.info-card p {
    color: #7f8c8d;
    font-size: 0.95em;
}

/* ===== Footer ===== */
.footer {
    background: #2c3e50;
    color: black;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer h3 {
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 1.2em;
}

.social-links {    color: black;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 3px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255,255,255,0.1);
    border-color: black;
}

/* ===== Success Message ===== */
.success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 3px;
    margin-bottom: 20px;
    border-right: 3px solid #28a745;
}

/* ===== Extra Large Screens ===== */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
}
   /* ====== Mobile Bottom Bar ====== */
.bottom-bar{
  display:none;
}

/* موبايل */
@media (max-width: 820px){

  /* اخفاء منيو الهيدر العلوية */
  #navbar{ display:none; }

  /* تقليل الهيدر */
  .header_top{
    padding-bottom: 10px;
  }

  /* نخفي زر السلة العلوي (اختياري) */
  #cartBtnTop{ display:none; }

  /* نظبط مساحة المحتوى عشان البار اللي تحت */
  body{
    padding-bottom: 78px; /* نفس ارتفاع البار تقريباً */
  }

  .bottom-bar{
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;

    height: 64px;
    padding: 8px 10px;

    background: rgba(255,255,255,.92);
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 18px;
    box-shadow: 0 18px 35px rgba(2,8,23,.14);

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;

    backdrop-filter: blur(10px);
    z-index: 9998;
  }

  .bb-item{
    position: relative;
    text-decoration: none;
    border: 0;
    background: transparent;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;
    color: #111827;
    font-size: 11px;
    cursor: pointer;
    border-radius: 14px;
  }

  .bb-item ion-icon{
    font-size: 20px;
  }

  .bb-active{
    background: rgba(17,24,39,.08);
    font-weight: 600;
  }

  .bb-cart{
    outline: none;
  }

  .bb-badge{
    position: absolute;
    top: 6px;
    right: 18px;

    min-width: 18px;
    height: 18px;
    padding: 0 5px;

    background: #111827;
    color: #fff;
    font-size: 10px;
    line-height: 18px;
    border-radius: 999px;
    font-style: normal;
  }
}
/* ===== Contact form status ===== */
.success-message {
  display: none;
  margin: 10px 0 15px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #e8fff0;
  border: 1px solid #b8f0cd;
  color: #14532d;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.error-message {
  display: none;
  margin: 10px 0 15px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #7f1d1d;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

/* submit loading feel */
.submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.75;
  filter: grayscale(0.1);
}

/* Better textarea */
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
