/* ===========================
   1. GENERAL RESET
=========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #fafafa;
  color: #111;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===========================
   2. HEADER STYLING
=========================== */
/* header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  flex-wrap: nowrap; 
  box-sizing: border-box;
} */

/* Logo styling */
/* .logo {
  font-size: 26px;
  font-weight: 400;
  color: #000;
  letter-spacing: 3.5px;
  font-family: 'Montserrat', sans-serif;
  padding: 5px 10px;
  position: relative;
  overflow: hidden;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center;
}

.logo .tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  color: #000;
  margin-top: -2px;
  font-family: 'Montserrat', sans-serif;
  opacity: 0.8;
} */

/* ============================
   3. SHINING ANIMATION
   ============================ */
/* .logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { left: -75%; }
  50% { left: 125%; }
  100% { left: 125%; }
} */

/* Navbar styling */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: #000 !important;
  text-decoration: none;
  font-size: 20px;
  transition: 0.3s ease;
}

.nav-links a:hover {
  transform: scale(1.2);
}

/* ===========================
   3. SEARCH BAR STYLES
=========================== */
.mobile-search-icon { display: none; }

.search-bar {
  display: flex; align-items: center;
  background: #e6e6e6;
  border-radius: 25px;
  padding: 8px 15px;
  flex: 1; max-width: 400px; margin: 0 20px;
}

.search-bar input {
  border: none; background: transparent; outline: none;
  flex: 1; padding: 5px 10px; font-size: 14px; width: 100%;
}

.search-bar button {
  background: transparent; border: none; cursor: pointer; color: #333; font-size: 16px;
}

/* ===========================
   4. TAGLINE (THE LADY WHO LEADS)
=========================== */
#bannerText {
  position: fixed;
  z-index: 998; /* Lower than header so it slides under */
  width: 100%;
  text-align: center;
  background: #434343;
  color: white;
  font-size: 0.7rem;
  letter-spacing: 10px;
  font-weight: 500;
  padding: 12px 0;
  transition: all 0.6s ease;
  opacity: 0.9;
  
  /* Desktop Position: Matches Header Height exactly */
  top: 75px; 
}

#bannerText.hide {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

/* ===========================
   5. ABOUT PAGE STYLING
=========================== */
.about-section {
  /* Desktop Top Padding */
  padding: 160px 20px 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  background: linear-gradient(to bottom, #1a1a1a, #252525);
  color: #f2f2f2;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.about-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent 60%);
  pointer-events: none;
}

.about-section h1 {
    /* --- ADD THESE LINES TO CENTER TEXT PERFECTLY --- */
    display: flex;
    justify-content: center; /* Centers text horizontally (Left to Right) */
    align-items: center;     /* Centers text vertically (Top to Bottom) */
    text-align: center;      /* Ensures text alignment is balanced */
    /* ------------------------------------------------ */
    padding: 20px 0;         /* Optional: Adds space top/bottom if needed */
    width: 100%;             /* Ensures the bar stretches full width */
    border-radius: 15px 15px 0 0; /* Keeps your rounded corners */
}

.about-section h2 {
  font-size: 1.4rem; margin-bottom: 12px; text-align: center;
  color: #ff4081; letter-spacing: 1px; text-transform: uppercase;
}

.about-section p, .about-section li {
  color: #ddd; font-size: 1.3rem; line-height: 1.8; animation: fadeIn 1.2s ease-in-out;
}

.about-section ul { list-style-type: disc; margin-left: 25px; margin-bottom: 30px; }

.brand-info, .terms-section, .mission-section {
  background: rgba(255, 255, 255, 0.08); padding: 25px 30px;
  border-radius: 16px; margin-bottom: 25px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.brand-info:hover, .terms-section:hover, .mission-section:hover {
  transform: translateY(-6px); box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}

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

/* ===========================
   6. SITE FOOTER
=========================== */
.site-footer {
  background-color: darkgreen;
  color: #fff;
  width: 100%;
  text-align: center;
  padding: 15px 20px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
  margin: 0;
  position: relative;
  left: 0; right: 0;
}
.site-footer p { margin: 0; line-height: 1.2; }

/* =======================================================
   📱 MOBILE SPECIFIC RULES (Max-Width 768px) - THE FIX
   ======================================================= */
@media (max-width: 768px) {
  
  /* 1. Header: Force Height to exactly 60px */
  header {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    padding: 0 15px !important;
  }

   .logo {

        font-size: 20px !important;
        color: #000 !important;
        margin: 0 !important;
        /* Reset stack styling from old code */
        flex-direction: row !important;
        display: block !important;
    }
    
    .logo .tagline {
        display: block !important;
    }

  /* 2. Navigation */
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 18px; }

  /* 3. Search Bar Logic */
  .mobile-search-icon { display: inline-block !important; font-size: 20px; cursor: pointer; }
  
  .search-bar {
    display: none;
    position: absolute; top: 100%; left: 0; width: 100%;
    margin: 0; padding: 10px 20px;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 999;
    border-radius: 0;
  }
  .search-bar.active { display: flex; }

  /* 4. 🔥 BANNER TEXT: OVERLAP FIX 🔥 */
  /* We set top to 58px. Since Header is 60px tall and has higher z-index,
     it will cover the top 2px of the banner, guaranteeing they touch visually. */
  #bannerText {
    top: 58px !important; 
    font-size: 10px;
    padding: 8px 0;
    width: 100%;
    white-space: nowrap;
  }

  /* 5. Content Spacing */
  .about-section {
    /* Push content down so it doesn't hide behind banner */
    padding: 40px 15px 40px !important; 
  }
  
  .about-section h1 { font-size: 1.8rem; }
  .about-section h2 { font-size: 1.2rem; }
  .site-footer { font-size: 14px; padding: 12px 10px; }
}

@media (max-width: 480px) {
  .logo { font-size: 18px; }
  .nav-links { gap: 15px; }
  .site-footer { font-size: 13px; padding: 10px 8px; }
}