/* ------------------- 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; 
}
/* ---------------- Page Title ---------------- */
.page-intro { padding: 48px 6% 10px; text-align:center; }
.page-intro h1 { font-size:32px; margin-bottom:8px; font-weight:700; color: rgb(116, 113, 113); letter-spacing:1px; }
.page-intro p { color:#666; margin-bottom:28px; }

 hr {
  width: 100px;
  height: 3px;
  background: #e91e63;
  border: none;
  margin: 10px auto;
}

/* ---------------- Main Card Grid ---------------- */
.card-container {
  display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px; padding: 0 6% 60px;
}
.card {
  background:#fff; border-radius:14px; overflow:hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06); transition: transform .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 14px 30px rgba(0,0,0,0.10); }
.card .thumb {
  width:100%; height:300px; object-fit:cover; display:block; transition: transform .45s;
}
.card:hover .thumb { transform: scale(1.06); }
.card .caption {
  padding:18px; text-align:center; font-weight:400; color:#444; letter-spacing:0.6px;
}

/* ---------------- Overlay Section ---------------- */
.overlay-section { padding: 30px 6%; background: #fafafa; border-top: 1px solid #f0f0f0; }
.overlay-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap:22px; }
.overlay-card { position:relative; border-radius:12px; overflow:hidden; box-shadow: 0 8px 22px rgba(0,0,0,0.06); }
.overlay-card img { width:100%; height:320px; object-fit:cover; display:block; transition: transform .45s ease; }
.overlay-card .overlay {
  position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.6) 100%);
  display:flex; align-items:flex-end; justify-content:center; padding:20px; opacity:0; transition: opacity .35s;
}
.overlay-card:hover img { transform: scale(1.07); }
.overlay-card:hover .overlay { opacity:1; }
.overlay-card .overlay p { color:#fff; font-weight:700; text-align:center; letter-spacing:1px; }

/* ---------------- Masonry Section ---------------- */
.masonry-section { padding: 36px 6%; }
.masonry-container { column-count:3; column-gap:20px; }
.masonry-container img {
  width:100%; margin-bottom:18px; break-inside:avoid; border-radius:12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06); transition: transform .25s;
}
.masonry-container img:hover { transform: scale(1.03); }

/* -------- 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: c; text-align:justify;
}

/* ---------------- 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; }

/* ---------------- 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;
}
/* ----text---- */

.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;
}

/* ---------------- 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;}

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .masonry-container { column-count:2; }
}
@media (max-width: 820px) {
  .masonry-container { column-count:1; }
  .card .thumb, .overlay-card img { height:220px; }
}
@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; }

  /* Text resize */
  .page-intro h1 { font-size:24px; }
  .text p, .text2 p { padding:0 20px; }

  /* Social icons bottom on mobile */
  /* .social-icons { 
    top: auto; bottom: 10%; 
    flex-direction: row; 
    left: 50%; transform: translateX(-50%); 
  } */

  /* Custom scrollbar (optional) */
  .navbar::-webkit-scrollbar { width: 6px; }
  .navbar::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
}
