/* ------------------- Reset ------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {   font-family: 'Nunito';
    /* padding-top: 70px; */
    letter-spacing: 2px;
    color: #1c1c1c;  }

/* ------------------- Header ------------------- */
.header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0px 5%; background: #fff;

  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky; top: 0; z-index: 1000;
}
.header img { height: 90px; max-width: 100%; }

/* ------------------- Navbar ------------------- */
.navbar ul { display: flex; list-style: none; }
.navbar ul li { margin-left: 45px; }
.navbar ul li a {
  text-decoration: none; color: #444; font-weight: 500; transition: color 0.3s;
}
.navbar ul li a:hover, .navbar ul li.active a { color: #f58432; }

/* ------------------- Hamburger ------------------- */
.hamburger { 
  display: none; font-size: 28px; cursor: pointer; 
  color: #333; z-index: 1100; 
}
.hamburger.open i::before { 
  content: "\f00d"; 
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; 
}

@media (max-width: 768px) {
  /* Navbar Mobile */
  .navbar {
    display: none;               /* hide by default */
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 220px;
    max-height: 70vh;            /* menu height limit */
    overflow-y: auto;            /* enable scroll */
    padding: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 100;
  }
  .navbar.active { display: flex; }

  .navbar ul { flex-direction: column; width: 100%; }
  .navbar ul li { width: 100%; margin: 0; }
  .navbar ul li a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    color: #333;
  }
  .navbar ul li a:hover { background: #f5f5f5; }

  .hamburger { display: block; font-size: 24px; cursor: pointer; }
}
   


/* content------------- */


h1 { font-size:32px; margin-bottom:8px; font-weight:700; color: rgb(116, 113, 113); letter-spacing:1px; 
    padding: 48px 6% 10px ; text-align:center; }

 hr {
  width: 100px;
  height: 3px;
  background: #e91e63;
  border: none;
  margin: 10px auto;
  /* padding-bottom: 20px; */
}

    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      max-width: 1200px;
      margin: 30px auto;
    }

    .card {
      position: relative;
      overflow: hidden;
      border-radius: 15px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
      background: #fff;
    }

    .card img {
      width: 100%;
      height: 240px;
      object-fit: cover;
      border-radius: 15px;
      transition: transform 0.5s ease;
    }

    .card:hover img {
      transform: scale(1.1);
      filter: brightness(70%);
    }

    /* Overlay text */
    .overlay {
      position: absolute;
      bottom: -100%;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.1));
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: center;
      padding: 25px;
      text-align: center;
      transition: bottom 0.5s ease;
    }

    .overlay h3 {
      color: #fff;
      font-size: 1.3rem;
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .overlay p {
      color: #ddd;
      font-size: 0.9rem;
      margin-bottom: 15px;
    }

    .overlay a {
      display: inline-block;
      padding: 10px 20px;
      border-radius: 25px;
      background: #ff6b6b;
      color: #fff;
      text-decoration: none;
      font-size: 0.9rem;
      transition: background 0.3s ease;
    }

    .overlay a:hover {
      background: #ff4757;
    }

    .card:hover .overlay {
      bottom: 0;
    }

    .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    }


/* -------- Text Sections -------- */
.text, .text2 { width:100%; padding:20px; }
.text h2, .text2 h2 { text-align:center; margin-bottom:20px;  color: rgb(116, 113, 113);}
.text p, .text2 p {
  padding: 0 60px; line-height:1.9;   color: rgb(116, 113, 113); text-align:justify;
}




  /* ---------------- Floating Social Icons ---------------- */
.social-icons {
  position: fixed;
  top: 40%;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}
.social-icons a {
  background: #f58432;
  color: #fff;
  padding: 12px 15px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}
.social-icons a:hover {
  background: #f58432;
  padding-left: 20px;
}


/* ---------------- Map ---------------- */
.map {
  width: 100%; background-color:#fafafa; border-top: 1px solid #f0f0f0; display: flex;
  justify-content: space-around; padding: 20px; flex-wrap: wrap; gap: 20px;
}
.map1, .map2 { flex: 1 1 400px; }    
.map1 h2 { margin-bottom: 15px; color: #222; padding: 10px 30px;}
.map1 p { margin: 8px 0; font-size: 15px; display: flex; align-items: center;  padding-left: 30px;}
.map1 i { color: #2563eb; margin-right: 8px; font-size: 16px; }
.map2 iframe { width: 100%; height: 350px; border: none; border-radius: 8px; }


/* ---------------- Branches ---------------- */
.branches { padding: 50px 5%; background: #222; }
.branches h2 { text-align:center; font-size:28px; margin-bottom:30px; color:#f0f0f0; }
.branches-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:25px; }
.branch {
  background:#333; color:#f0f0f0;
  padding:20px; border-radius:10px; transition:0.3s;
}
.branch:hover { background:#f0f0f0; color:#222; }


#branch_anchr{
  color:#f0f0f0 ;}
  #branch_anchr:hover{color:#222;}


    @media(max-width: 600px) {
      h1 { font-size: 2rem; }
      .overlay h3 { font-size: 1rem; }
      .overlay p { font-size: 0.8rem; }
    }
