/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: #f8f8f8;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: #484848;
  background: #f8f8f8;
}

#page {
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

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

a:hover {
  outline: 0;
}

/* ===== WRAPPER ===== */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ===== TOP BAR ===== */
#top-menu {
  background-color: #1B4332;
  padding: 14px 0;
}

#top-menu .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#top-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

#top-menu ul li {
  float: left;
  font-weight: 400;
  font-size: 14px;
  color: #fff;
  display: flex;
  align-items: center;
}

.secondary-menu {
  float: left;
  color: #f6f7fb;
}

.secondary-menu ul li:not(:last-child) {
  margin-right: 20px;
}

.secondary-menu ul li i {
  color: #FFCA29;
  margin-right: 8px;
  font-size: 13px;
}

.secondary-menu a {
  font-weight: 400;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.secondary-menu a:hover {
  color: #FFCA29;
}

.social-menu {
  float: right;
}

.social-menu ul li:not(:last-child) {
  margin-right: 20px;
}

.social-menu ul li a {
  color: #fff;
  font-size: 14px;
  transition: color 0.2s;
}

.social-menu ul li a:hover,
.social-menu ul li a:focus {
  color: #FFCA29;
}

/* ===== HEADER ===== */
#masthead {
  background: #fff;
  width: 100%;
  z-index: 3000;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

.site-menu {
  width: 100%;
}

.site-menu .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Site branding */
.site-branding {
  display: flex;
  align-items: center;
  height: 100px;
  float: left;
}

.site-title {
  font-size: 2rem;
  margin: 0;
  line-height: 1;
}

.site-title a {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 1px;
  color: #1B4332;
}

.site-title a:hover {
  color: #FFCA29;
}

.site-description {
  margin: 8px 0 0;
  color: #696969;
  line-height: 1;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Main navigation */
.main-navigation {
  float: right;
}

.main-navigation ul.nav-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.main-navigation ul.nav-menu > li > a {
  padding: 0 15px;
  line-height: 100px;
  display: block;
}

.main-navigation a {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  color: #696969;
  transition: color 0.2s;
}

.main-navigation a:hover {
  color: #1B4332;
}

.main-navigation ul.menu li.current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a {
  color: #696969;
  font-weight: 600;
}

/* Visually hidden but accessible to screen readers */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Mobile menu toggle — hidden on desktop */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle svg rect {
  fill: #1B4332;
}

/* ===== HERO / BANNER SLIDER ===== */
#custom-header {
  position: relative;
}

.custom-header-content-wrapper {
  position: relative;
  min-height: auto;
  background-color: #1B4332;
  display: flex;
  align-items: center;
}

.custom-header-content-wrapper img {
  width: 100%;
  min-height: 500px;
  height: 500px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.custom-header-content-wrapper .overlay {
  width: 100%;
  height: 100%;
  background: #1B4332;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.custom-header-content-wrapper .wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.custom-header-content {
  max-width: 100%;
  text-align: left;
  padding: 0;
}

.hero-label {
  color: #FFCA29;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.custom-header-content p.sub-title {
  color: #FFCA29;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 22px;
  font-style: italic;
  display: block;
}

.hero-intro {
  color: rgba(255,255,255,0.92);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.hero-tagline {
  color: rgba(255,255,255,0.92);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 22px;
}

.hero-tagline strong {
  color: #FFCA29;
  font-weight: 700;
}

.hero-services {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.hero-services li {
  color: rgba(255,255,255,0.88);
  font-size: 14.5px;
  line-height: 1.6;
  padding: 5px 0 5px 26px;
  position: relative;
}

.hero-services li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #FFCA29;
  font-weight: 700;
}

/* Hero button */
.custom-header-content-wrapper.slide-item .custom-header-content .read-more a {
  font-size: 16px;
  margin-top: 10px;
  background: #FFCA29;
  color: #1B4332;
  border-radius: 5px;
  display: inline-block;
  text-transform: capitalize;
  font-weight: 600;
  padding: 17px 35px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease-in-out;
}

.custom-header-content-wrapper.slide-item .custom-header-content .read-more a:hover {
  background: #fff;
  color: #1B4332;
}

/* ===== SERVICES SECTION ===== */
#our-services {
  padding: 80px 0;
  background: #fff;
}

#our-services .section-header {
  text-align: center;
  margin-bottom: 50px;
}

#our-services .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1B4332;
  margin-bottom: 14px;
}

#our-services .section-description {
  font-size: 16px;
  color: #696969;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-item {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 30px 16px 26px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(27, 67, 50, 0.12);
  background: #fff;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: #1B4332;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.service-icon i {
  font-size: 1.3rem;
  color: #FFCA29;
}

.service-detail h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1B4332;
  margin: 0 0 10px;
  line-height: 1.3;
  letter-spacing: 0.2px;
}

.service-detail p {
  font-size: 12.5px;
  color: #696969;
  line-height: 1.6;
  margin: 0;
}

/* ===== ABOUT THE NAME ===== */
#about-the-name {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid #eee;
}

.about-name-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.about-name-belief {
  font-size: 1.35rem;
  font-weight: 600;
  color: #1B4332;
  line-height: 1.5;
  margin-bottom: 32px;
}

.about-name-inner p {
  font-size: 15.5px;
  color: #696969;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-name-inner p strong {
  color: #1B4332;
  font-weight: 700;
}

/* ===== FOOTER ===== */
#colophon {
  background-color: #fff;
  border-top: 1px solid #e8e8e8;
}

.footer-widgets-area {
  padding: 40px 0 30px;
}

.footer-widgets-area .wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-col .widget-title {
  font-size: 20px;
  font-weight: 600;
  color: #1B4332;
  margin: 0 0 12px;
}

.footer-tagline {
  font-size: 14px;
  color: #696969;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

.footer-col .textwidget,
.footer-widgets-area p,
.footer-widgets-area a,
.footer-widgets-area li {
  color: #696969;
  font-size: 15px;
  line-height: 1.8;
}

.footer-widgets-area a:hover {
  color: #1B4332;
}

.footer-widgets-area ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widgets-area ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #696969;
  font-size: 15px;
}

.footer-widgets-area ul li i {
  color: #FFCA29;
  margin-right: 10px;
  font-size: 14px;
  width: 16px;
}

.footer-widgets-area ul li a {
  color: #696969;
  display: flex;
  align-items: center;
}

.footer-widgets-area ul li a:hover {
  color: #1B4332;
}

/* Footer bottom bar */
.site-info {
  background-color: #f8f8f8;
  color: #696969;
  padding: 20px 0;
  border-top: 1px solid #e8e8e8;
}

.site-info-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-info p {
  margin: 0;
  color: #696969;
  font-size: 14px;
  line-height: 24px;
}

.site-info a {
  color: #696969;
  font-weight: 400;
}

.site-info a:hover {
  color: #1B4332;
  border-bottom: 1px solid #1B4332;
}

#footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0;
}

.site-info #footer-menu li {
  list-style: none;
  float: left;
  margin-right: 15px;
  line-height: 24px;
  font-size: 14px;
}

.site-info #footer-menu li:last-child {
  margin: 0;
}

.footer-social-icons a {
  color: #696969;
  font-size: 16px;
  margin-left: 14px;
  transition: color 0.2s;
}

.footer-social-icons a:hover {
  color: #FFCA29;
}

/* ===== BACK TO TOP ===== */
.backtotop {
  background-color: #FFCA29;
  z-index: 9999;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 18px;
  text-align: center;
  position: fixed;
  bottom: 25px;
  right: 25px;
  border-radius: 5px;
  cursor: pointer;
  display: none;
  color: #fff;
  transition: background-color 0.3s;
}

.backtotop:hover {
  background-color: #1B4332;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .custom-header-content p.sub-title {
    font-size: 16px;
  }

  .hero-intro,
  .hero-tagline {
    font-size: 14.5px;
  }

  .hero-services li {
    font-size: 13.5px;
  }
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Top bar */
  #top-menu .wrapper {
    flex-direction: column;
    gap: 8px;
  }

  .secondary-menu {
    display: none;
  }

  /* Mobile nav toggle */
  .menu-toggle {
    display: block;
  }

  .main-navigation ul.nav-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
  }

  .main-navigation ul.nav-menu.nav-open {
    display: flex;
  }

  .main-navigation ul.nav-menu > li > a {
    line-height: 1.5;
    padding: 14px 30px;
  }

  #masthead {
    position: relative;
  }

  .site-menu .container {
    flex-wrap: wrap;
    position: relative;
  }

  /* Branding */
  .site-branding {
    height: 80px;
  }

  .site-title a {
    font-size: 1.4rem;
  }

  .site-description {
    font-size: 12px;
  }

  /* Hero section */
  .custom-header-content-wrapper img {
    min-height: 400px;
    height: 400px;
  }

  .custom-header-content p.sub-title {
    font-size: 15px;
  }

  .hero-intro,
  .hero-tagline {
    font-size: 14px;
  }

  .hero-services li {
    font-size: 13px;
  }

  /* Page hero (inner pages) */
  .page-hero {
    min-height: 140px;
    padding: 30px 0;
  }

  .page-hero-content h1 {
    font-size: 28px;
  }

  .page-hero-content p {
    font-size: 14px;
  }

  /* How We Work steps */
  .hww-steps {
    gap: 20px;
  }

  .hww-step {
    flex-direction: column;
    gap: 10px;
  }

  /* Contract layout */
  .contract-layout {
    flex-direction: column;
  }

  .contract-image-col {
    display: none;
  }

  /* Insights */
  .insight-card {
    flex-direction: column;
    gap: 16px;
  }

  /* Footer */
  .site-info-inner {
    flex-direction: column;
    text-align: center;
  }

  #footer-menu {
    justify-content: center;
  }

  .footer-social-icons {
    margin-top: 4px;
  }

  .footer-social-icons a:first-child {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .wrapper {
    padding: 0 16px;
  }

  .site-title a {
    font-size: 1.2rem;
  }

  .custom-header-content-wrapper img {
    min-height: 320px;
    height: 320px;
  }

  #our-services {
    padding: 50px 0;
  }

  #our-services .section-title {
    font-size: 26px;
  }

  .about-name-belief {
    font-size: 1.1rem;
  }

  .hww-step-number {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .contract-term h3 {
    font-size: 15px;
  }
}
