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

body {
  font-family: "Poppins", sans-serif;
  /* background: #f4f7fb; */
}


/* ===========================
   TOP BAR
=========================== */
.topbar {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: #17379a;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 55px;
  overflow: hidden;
}

.topbar-left {
  position: relative;
  background: #ff6b23;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
  padding: 14px 55px 14px 40px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 45px) 100%, 0 100%);
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-left span {
  font-size: 15px;
  font-weight: 500;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topbar-social a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s ease;
}

.topbar-social a:hover {
  background: #fff;
  color: #ff6b23;
  border-color: #fff;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 10px 40px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  white-space: nowrap;
  min-width: 0;
}

.topbar-item span,
.topbar-item a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.topbar-item i {
  font-size: 15px;
  flex-shrink: 0;
}

/* ===========================
   MAIN HEADER / NAVBAR
=========================== */

.header {
  width: 100%;
  padding: 0;
  background: #fff;
}

.nav-container {
  width: 100%;
  max-width: 1410px;
  margin: auto;
  background: #fff;
  border-radius: 0px 25px 25px 0px;
  display: flex;
  justify-content: flex-start; /* instead of space-between */

  gap: 50px;
  align-items: center;
  padding: 15px 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 210px;
  display: block;
}

/* fallback text logo (used if no image) */
.logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 30px;
  font-weight: 700;
  color: #17379a;
}

.logo-text i {
  color: #ff6b23;
  font-size: 32px;
}

.logo-text .accent {
  color: #ff6b23;
}

.navbar {
  position: relative; /* anchors .navbar-close on mobile */
}

.navbar ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  position: relative;
}

.navbar a {
  color: #17379a;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar a:hover,
.navbar li.active > a {
  color: #ff6b23;
}

.dropdown {
  position: relative;
}

.submenu {
  position: absolute;
  top: 45px;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: 0.35s ease;
  z-index: 999;
  margin: 0;
}

.submenu li {
  width: 100%;
  padding: 0 18px;
}

.submenu li a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  color: #17379a;
  line-height: 1.4;
  border-radius: 8px;
}

.submenu li a:hover {
  background: #f5f7ff;
  color: #ff6b23;
}

.dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.search-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #dfe3ef;
  border-radius: 50%;
  font-size: 18px;
  color: #17379a;
  background: transparent;
  cursor: pointer;
  transition: 0.3s ease;
}

.search-btn:hover {
  background: #17379a;
  color: #fff;
  border-color: #17379a;
}

.search-wrap {
  position: relative;
}

.search-box {
  position: absolute;
  top: 58px;
  right: 0;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  padding: 6px 6px 6px 20px;
  width: 300px;
  max-width: 85vw;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: 0.3s ease;
  z-index: 1000;
}

.search-box.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #17379a;
  background: transparent;
}

.search-box input::placeholder {
  color: #9aa5c5;
}

.search-box button {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff6b23;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
}

.talk-btn {
  background: #ff6b23;
  color: #fff !important;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: 0.3s ease;
}

.talk-btn:hover {
  background: #17379a;
}

.icon-toggle {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #17379a;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  flex-shrink: 0;
  border: none;
}

.mobile-talk {
  display: none;
}

.menu-toggle {
  display: none;
}

/* ---------- Mobile panel close (X) button ---------- */
.navbar-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: #17379a;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 10000;
}

.navbar-close:hover {
  background: #ff6b23;
}

/* ---------- 1200px: tighten spacing before things break ---------- */
@media (max-width: 1200px) {
  .nav-container {
    gap: 28px;
    padding: 15px 25px;
  }

  .navbar ul {
    gap: 20px;
  }

  .navbar a {
    font-size: 16px;
  }

  .nav-right {
    gap: 14px;
  }

  .talk-btn {
    padding: 13px 22px;
    font-size: 14px;
  }
}

/* ---------- 991px: collapse main nav into slide-in panel ---------- */
@media (max-width: 991px) {
  .nav-container {
    justify-content: space-between;
    padding: 15px 20px;
    gap: 0;
    position: relative;
  }

  .logo img {
    width: 170px;
  }

  .navbar {
    position: fixed;

    top: 0;

    right: -100%;

    width: 300px;

    max-width: 85%;

    height: 100vh;

    background: #fff;

    padding: 90px 25px 30px;

    transition: 0.35s;

    z-index: 9999;

    overflow-y: auto;

    display: block;
  }

  .navbar.show {
    right: 0;
  }

  .navbar-close {
    display: flex;
  }

  .navbar ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .navbar ul li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .navbar ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
  }

  .submenu {
    position: static;

    display: none !important;

    opacity: 1;

    visibility: visible;

    transform: none;

    box-shadow: none;

    background: #f8f8f8;

    padding: 0;

    min-width: 100%;
  }

  .dropdown.menu-open > .submenu {
    display: block !important;
  }

  .dropdown.menu-open > a i.fa-chevron-down {
    transform: rotate(180deg);
  }

  .navbar ul li a i {
    transition: 0.25s ease;
  }

  .submenu li {
    border: none;
  }

  .submenu li a {
    padding: 12px 20px;
    font-size: 14px;
  }

  .nav-right .talk-btn {
    display: none;
  }

  .search-wrap {
    display: block;
  }

  .search-box {
    right: -40px;
  }

  .menu-toggle {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    background: #17379a;

    color: #fff;

    border-radius: 50%;

    cursor: pointer;
  }

  .mobile-talk {
    display: block;
    margin-top: 20px;
  }

  .mobile-talk .talk-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- 768px: mobile landscape ---------- */
@media (max-width: 768px) {
  /* topbar becomes two stacked rows */
  .topbar {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    overflow: visible; /* don't clip wrapped items */
  }

  .topbar-left {
    clip-path: none;
    /* justify-content: center; */
    padding: 10px 20px;
    width: 100%;
    text-align: center;
  }

 

  .topbar-right {
    /* justify-content: center; */
    flex-wrap: wrap;
    row-gap: 8px;
    column-gap: 20px;
    padding: 10px 16px;
    width: 100%;
  }

  /* let the clock/time item wrap instead of forcing nowrap off-screen */
  .topbar-item {
    white-space: normal;
    text-align: center;
  }

  .topbar-item span,
  .topbar-item a {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .nav-container {
    padding: 12px 16px;
    border-radius: 0;
  }

  .logo img {
    width: 140px;
  }

  .nav-right {
    gap: 10px;
  }

  .search-btn,
  .icon-toggle,
  .menu-toggle {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .search-box {
    right: -10px;
    width: 260px;
  }
}

/* ---------- 480px: small mobile ---------- */
@media (max-width: 480px) {
  .topbar-left span {
    font-size: 13px;
  }

  .topbar-item {
    font-size: 12px;
  }

  .logo img {
    width: 120px;
  }

  .navbar {
    width: 85vw;
    padding: 80px 18px 25px;
  }

  .search-box {
    width: 250px;
    right: -45px;
    padding: 5px 5px 5px 16px;
  }

  .search-box input {
    font-size: 14px;
  }
}





/*=========================================
        GALLERY SECTION
=========================================*/

.gallery-section {
  padding: 40px 0;
  background: #fff;
  position: relative;
}

.gallery-container {
  width: 90%;
  max-width: 1320px;
  margin: auto;
}

/*=========================================
        HEADING
=========================================*/

.gallery-heading {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff3ec;
  padding: 10px 22px;
  border-radius: 50px;
  color: #ff6d2c;
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 22px;
}

.gallery-tag i {
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ff6d2c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-heading h2 {
  font-size: 45px;
  color: #2d43a6;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

/*=========================================
        GRID
=========================================*/

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.gallery-right {
  display: grid;

  gap: 24px;
}

/*=========================================
        IMAGE BOX
=========================================*/

.gallery-item {
  position: relative;

  overflow: hidden;

  border-radius: 30px;

  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Sizes */

.gallery-small {
  height: 400px;
}

.gallery-large {
  height: 530px;
}

.gallery-half {
  height: 253px;
}

/*=========================================
        HOVER
=========================================*/

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 74, 153, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-plus {
  width: 70px;
  height: 70px;
  border: none;
  border-radius: 50%;
  background: #ff6d2c;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transform: scale(0.3) rotate(-180deg);
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-plus {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/*=========================================
        LIGHTBOX
=========================================*/

.gallery-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
  z-index: 9999;
}

.gallery-lightbox.active {
  opacity: 1;

  visibility: visible;
}

.gallery-lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 20px;
  transform: scale(0.7);
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox.active img {
  transform: scale(1);

  opacity: 1;
}

.gallery-close {
  transition: 0.4s;
}

.gallery-close:hover {
  transform: rotate(180deg);
}

.gallery-close {
  position: absolute;

  top: 40px;

  right: 45px;

  width: 55px;

  height: 55px;

  background: #ff6d2c;

  color: #fff;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 24px;

  cursor: pointer;

  transition: 0.3s;

  z-index: 10001;
}

.gallery-close:hover {
  transform: rotate(90deg);

  background: #fff;

  color: #ff6d2c;
}

/*=========================================
        LIGHTBOX ARROWS & COUNTER
=========================================*/

.gallery-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10000;
}

.gallery-lightbox-arrow:hover {
  background: #ff6d2c;
}

.gallery-prev {
  left: 40px;
}

.gallery-next {
  right: 40px;
}

.gallery-counter {
  position: absolute;
  bottom: 30px;
  right: 45px;
  color: #fff;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 16px;
  border-radius: 30px;
  z-index: 10000;
}

/*=========================================
        RESPONSIVE
=========================================*/

/* Tablet */

@media (max-width: 991px) {
  .gallery-section {
    padding: 80px 0;
  }

  .gallery-container {
    width: 92%;
  }

  .gallery-heading {
    margin-bottom: 45px;
  }

  .gallery-heading h2 {
    font-size: 40px;
    line-height: 1.3;
  }

  .gallery-tag {
    font-size: 15px;
    padding: 8px 18px;
  }

  .gallery-tag i {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .gallery-right {
    gap: 18px;
  }

  .gallery-small,
  .gallery-large {
    height: 360px;
  }

  .gallery-half {
    height: 170px;
  }

  .gallery-plus {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }
}

/* Mobile */

@media (max-width: 767px) {
  .gallery-section {
    padding: 60px 0;
  }

  .gallery-container {
    width: 94%;
  }

  .gallery-heading {
    margin-bottom: 35px;
  }

  .gallery-heading h2 {
    font-size: 32px;
    line-height: 1.3;
  }

  .gallery-tag {
    font-size: 14px;
    padding: 7px 16px;
  }

  .gallery-tag i {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-small,
  .gallery-large,
  .gallery-half {
    height: 260px;
  }

  .gallery-item {
    border-radius: 22px;
  }

  .gallery-plus {
    width: 55px;
    height: 55px;
    font-size: 18px;
  }

  .gallery-lightbox-arrow {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .gallery-prev {
    left: 15px;
  }

  .gallery-next {
    right: 15px;
  }

  .gallery-counter {
    right: 20px;
    bottom: 20px;
    font-size: 13px;
  }
}

/* Small Mobile */

@media (max-width: 480px) {
  .gallery-section {
    padding: 30px 0;
  }

  .gallery-heading h2 {
    font-size: 24px;
  }

  .gallery-tag {
    font-size: 13px;
    padding: 6px 15px;
  }

  .gallery-tag i {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .gallery-small,
  .gallery-large,
  .gallery-half {
    height: 220px;
  }

  .gallery-item {
    border-radius: 18px;
  }

  .gallery-plus {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .gallery-close {
    width: 45px;
    height: 45px;
    right: 20px;
    top: 20px;
    font-size: 18px;
  }
}
