/* Font famliy */
/* === GRIFTER FONT === */
@font-face {
  font-family: "Grifter";
  src: url("../fonts/grifterbold.otf");
  font-weight: 700;
  font-style: normal;
}

/* === SEGOE UI FONTS === */
@font-face {
  font-family: "Segoe UI";
  src: url("../fonts/segoeuithlbd.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Segoe UI";
  src: url("../fonts/segoeuithis.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: "Segoe UI";
  src: url("../fonts/segoeuithi.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Segoe UI";
  src: url("../fonts/segoeuithsz.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

/* Common Css */
.section-heading {
  font-size: 36px;
  line-height: 110%;
  font-weight: 700;
  font-family: "Grifter";
  margin-bottom: 8px;
}

.section-sub-heading {
  font-size: 20px;
  line-height: 160%;
  max-width: 884px;
  margin: 0 auto 50px;
}

.section {
  padding: 80px 0px;
}

.btn-primary {
  background: #1c2f57;
  padding: 16px 40px;
  font-size: 16px;
  line-height: normal;
  color: #fff;
  font-weight: 700;
  border: 1px solid #1c2f57;
  border-radius: 10px;
  font-family: "Grifter";
  position: relative;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
  color: #1c2f57;
  background: #fff;
}

.btn-primary:hover svg path {
  stroke: #1c2f57;
  fill: #1c2f57;
}

.insight-hub .section-sub-heading {
  font-size: 16px;
}

.get-in-touch .section-sub-heading {
  font-size: 16px;
}

/* ============================================
   HERO SECTION - MODERN ANIMATIONS
   ============================================ */

.hero-section {
  overflow: hidden;
  position: relative;
}

/* Subtle animated background */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(187, 147, 55, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(28, 47, 87, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

.hero-section .navbar-nav {
  padding: 33px 0px;
  gap: 30px;
}

.hero-section .container{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.navbar {
  padding: 0;
  position: relative;
  z-index: 10;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Navigation link animations */
.hero-section .nav-link {
  color: #00072d;
  font-size: 16px;
  line-height: 150%;
  text-transform: capitalize;
  position: relative;
  opacity: 0;
  animation: fadeSlideDown 0.6s ease forwards;
  transition: color 0.3s ease, transform 0.3s ease;
}

.hero-section .nav-item:nth-child(1) .nav-link {
  animation-delay: 0.1s;
}
.hero-section .nav-item:nth-child(2) .nav-link {
  animation-delay: 0.15s;
}
.hero-section .nav-item:nth-child(3) .nav-link {
  animation-delay: 0.2s;
}
.hero-section .nav-item:nth-child(4) .nav-link {
  animation-delay: 0.25s;
}
.hero-section .nav-item:nth-child(5) .nav-link {
  animation-delay: 0.3s;
}
.hero-section .nav-item:nth-child(6) .nav-link {
  animation-delay: 0.35s;
}

/* Nav link hover underline effect */
.hero-section .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #bb9337, #d4a84b);
  transition: width 0.3s ease;
}

.hero-section .nav-link:hover::after,
.hero-section .nav-link.active::after {
  width: 100%;
}

.hero-section .nav-link:hover {
  color: #bb9337;
  transform: translateY(-2px);
}

.hero-section .nav-link.active {
  color: #bb9337;
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section .banner {
  padding: 40px 0 0;
  position: relative;
  z-index: 1;
  margin-top: 90px;
  height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  justify-content: end;
}

/* Logo animation - Elegant scale and fade */
.hero-section .banner .banner-logo {
  display: block;
  margin: 0 auto;
  width: 290px;
  opacity: 0;
  animation: logoReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
  filter: drop-shadow(0 8px 25px rgba(28, 47, 87, 0.12));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.hero-section .banner .banner-logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 12px 35px rgba(28, 47, 87, 0.18));
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Banner text animation */
.hero-section .banner .banner-text {
  font-size: 14px;
  line-height: 100%;
  font-style: italic;
  opacity: 0;
  animation: textFadeUp 0.8s ease 0.6s forwards;
  position: relative;
}

.hero-section .banner .banner-text::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #bb9337, transparent);
  animation: lineExpand 0.8s ease 1s forwards;
}

@keyframes textFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineExpand {
  from {
    width: 0;
  }
  to {
    width: 180px;
  }
}

/* Banner image reveal */
.hero-section .banner > img.img-fluid {
  opacity: 0;
  animation: bannerImageReveal 1.2s ease 0.4s forwards;
}

@keyframes bannerImageReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Decorative floating elements */
.hero-section .banner::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(187, 147, 55, 0.25);
  border-radius: 50%;
  top: 15%;
  left: 8%;
  animation: gentleFloat 5s ease-in-out infinite;
}

.hero-section .banner::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(28, 47, 87, 0.2);
  border-radius: 50%;
  top: 35%;
  right: 12%;
  animation: gentleFloat 6s ease-in-out infinite reverse;
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-15px) scale(1.1);
    opacity: 1;
  }
}

/** topline stories **/
.topline-story {
  background: #00072d;
  color: #fff;
}

.topline-story .container {
  max-width: 960px;
}

.topline-story .row {
  --bs-gutter-x: 52px;
}

/* advisory-spectrum */
.advisory-spectrum {
  background: url(../image/advisory-bg.png);
}

.advisory-spectrum .container {
  max-width: 1110px;
}

.small-row {
  row-gap: 46px;
}

.advisory-text {
  font-size: 14px;
  line-height: 120%;
}

.main-row {
  --bs-gutter-x: 80px;
}

/* ============================================
   SERVICE BOOKING SECTION - MODERN HOVER EFFECTS
   ============================================ */

.service-booking {
  background: #00072d;
  color: #fff;
}

.service-booking .container {
  max-width: 1110px;
}

/* 3D Card Transform Container */
.service-card {
  padding: 40px 20px 60px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
  transform: translateY(-15px);
}

.lottie-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Card background with glow effect */
.service-card::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 30px;
  transform: rotateY(0deg);
  z-index: 0;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Glowing border effect on hover */
.service-card::after {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(
    135deg,
    #bb9337 0%,
    #1c2f57 25%,
    #bb9337 50%,
    #1c2f57 75%,
    #bb9337 100%
  );
  background-size: 300% 300%;
  border-radius: 33px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlow 3s linear infinite paused;
}

.service-card:hover::after {
  opacity: 1;
  animation-play-state: running;
}

@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.service-card:hover::before {
  transform: rotateZ(2deg);
  box-shadow: 0px 20px 50px rgba(187, 147, 55, 0.3);
}

/* Service card image with bounce effect */
.service-card img {
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover img {
  transform: scale(1.1) translateY(-5px);
}

/* Service text with slide up effect */
.service-card .service-text {
  font-size: 22px;
  line-height: 120%;
  font-weight: 700;
  font-family: "Grifter";
  margin: 30px 0 20px;
  color: #00072d;
  position: relative;
  z-index: 1;
  text-align: center;
  transition: transform 0.4s ease, color 0.4s ease;
}

.service-card:hover .service-text {
  transform: translateY(-3px);
  color: #1c2f57;
}

.service-info {
  color: #1c1b19;
  font-size: 16px;
  line-height: 160%;
  margin: 20px 0 30px;
  position: relative;
  z-index: 1;
  text-align: center;
  transition: transform 0.4s ease 0.05s;
}

.service-card:hover .service-info {
  transform: translateY(-3px);
}

/* Enhanced Book Now button for service cards */
.service-card .btn-primary {
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.service-card .btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, #bb9337 0%, transparent 70%);
  transition: all 0.5s ease;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.service-card:hover .btn-primary {
  background: #bb9337;
  border-color: #bb9337;
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(187, 147, 55, 0.4);
}

/* ============================================
   INSIGHT HUB SECTION - MODERN HOVER EFFECTS
   ============================================ */

.insight-hub {
  background: url(../image/insight-bg.png);
}

.insight-hub .container {
  max-width: 1110px;
}

/* Insight card with lift and glow effect */
.insight-card {
  padding: 37px 24px 26px;
  background-color: #fff;
  border: 2px solid #1c2f57;
  border-radius: 10px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: visible; /* Keep visible for badge */
}

/* Card hover lift effect */
.insight-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(28, 47, 87, 0.15), 0 0 0 2px #bb9337;
  border-color: #bb9337;
}

/* Image container with zoom effect */
.insight-card .main-image {
  margin-bottom: 20px;
  border-radius: 8px;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: block;
  width: 100%;
}

.insight-card:hover .main-image {
  transform: scale(1.05);
}

/* Badge animation */
.insight-badge {
  padding: 9px 16px;
  border-radius: 40px;
  font-size: 12px;
  line-height: 100%;
  font-weight: 700;
  background: #1c2f57;
  color: #fff;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 3;
}

.insight-card:hover .insight-badge {
  background: linear-gradient(135deg, #bb9337, #1c2f57);
  transform: translateX(-50%) translateY(-5px) scale(1.05);
  box-shadow: 0 5px 15px rgba(187, 147, 55, 0.4);
}

/* Insight text hover effect */
.insight-text {
  font-size: 20px;
  color: #1c2436;
  font-family: "Grifter";
  font-weight: 700;
  transition: color 0.3s ease;
}

.insight-card:hover .insight-text {
  color: #bb9337;
}

.insight-info {
  font-size: 14px;
  color: #667085;
  line-height: 140%;
  margin-bottom: 30px;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  transition: color 0.3s ease;
}

.insight-card:hover .insight-info {
  color: #4a5568;
}

.time-info {
  font-size: 14px;
  color: #1c2f5780;
  line-height: 140%;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.insight-card:hover .time-info {
  color: #1c2f57;
}

/* Insight card button with ripple effect */
.insight-card .btn-primary {
  padding: 16px 17px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.insight-card .btn-primary::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.insight-card .btn-primary:hover::after {
  width: 300px;
  height: 300px;
  opacity: 0;
}

.insight-card:hover .btn-primary {
  background: #bb9337;
  border-color: #bb9337;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(187, 147, 55, 0.3);
}

.insight-card .btn-primary svg {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.insight-card:hover .btn-primary svg {
  transform: translateX(5px);
}

/* Get in touch */
.get-in-touch {
  background: #00072d;
  color: #fff;
}

.get-in-touch .container {
  max-width: 590px;
}

.get-in-touch form {
  max-width: 450px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.get-in-touch label {
  color: #fff;
  font-size: 16px;
  line-height: auto;
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.get-in-touch input,
.get-in-touch textarea {
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid #ffffff80;
  background: #ffffff0d;
  outline: none;
  width: 100%;
  font-size: 16px;
  line-height: 1;
  color: #fff;
}

.get-in-touch textarea {
  min-height: 144px;
}

.get-in-touch input::placeholder,
.get-in-touch textarea::placeholder {
  color: #b3a5a1;
}

.get-in-touch label span {
  color: #ff483d;
}

.btn-white {
  padding: 18px 20px;
  color: #00072d;
  font-size: 16px;
  font-weight: 700;
  line-height: 100%;
  border: 1px solid #fff;
  background: #fff;
  border-radius: 5px;
  font-family: "Grifter";
  transition: all 0.3s ease-in-out;
}

.btn-white:hover {
  background: transparent;
  color: #fff;
}

/* footer */
.footer {
  padding: 60px 0 43px;
}

.footer .container {
  max-width: 1110px;
}

.footer .footer-logo {
  max-width: 170px;
}

.footer .footer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-main {
  margin-bottom: 50px;
}

.footer .footer-content h6 {
  font-family: "Tenor Sans", sans-serif;
  font-size: 18px;
  line-height: 130%;
  color: #1c2f57;
}

.footer .footer-content ul {
  list-style: none;
}

.footer .footer-content ul li a {
  text-decoration: none;
  font-size: 14px;
  line-height: 200%;
  color: #1c2f57;
}

.footer .footer-content ul li a:hover {
  color: #bb9337;
}

.footer-bottom {
  border-top: 1px solid #00072d1a;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  line-height: normal;
  color: #1c2f57;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for cards */
.service-booking .col-12:nth-child(1) .service-card {
  transition-delay: 0s;
}
.service-booking .col-12:nth-child(2) .service-card {
  transition-delay: 0.15s;
}
.service-booking .col-12:nth-child(3) .service-card {
  transition-delay: 0.3s;
}

.insight-hub .col-12:nth-child(1) .insight-card {
  transition-delay: 0s;
}
.insight-hub .col-12:nth-child(2) .insight-card {
  transition-delay: 0.15s;
}
.insight-hub .col-12:nth-child(3) .insight-card {
  transition-delay: 0.3s;
}

/* media query */

@media only screen and (max-width: 1199px) {
  .topline-story .row {
    --bs-gutter-x: 24px;
  }

  .main-row {
    --bs-gutter-x: 24px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .service-card .service-text {
    font-size: 21px;
  }

  .service-info {
    font-size: 14px;
  }
}

@media only screen and (max-width: 991px) {
  .navbar {
    padding: 10px;
  }

  .hero-section .banner {
    margin-top: 55px;
    height: auto;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .hero-section .banner .banner-logo {
    transform: translateX(0);
  }

  .navbar-collapse {
    position: absolute;
    top: 55px;
    left: 0;
    background: #ffff;
    width: 100%;
    padding: 20px;
    z-index: 11;
  }

  .hero-section .navbar-nav {
    padding: 0;
    gap: 16px;
  }

  /* Reset nav animations for mobile */
  .hero-section .nav-link {
    opacity: 1;
    animation: none;
  }

  .service-booking .row {
    row-gap: 20px;
  }

  .main-row {
    --bs-gutter-x: 0;
    gap: 20px;
  }

  .topline-story .row {
    row-gap: 20px;
    --bs-gutter-x: 0;
  }

  .main-row {
    row-gap: 20px;
  }
  .service-card {
    padding: 30px 20px;
  }

  /* Reduce hover effects on touch devices */
  .service-card:hover {
    transform: translateY(-8px);
  }

  .insight-card:hover {
    transform: translateY(-8px) scale(1.01);
  }
}

@media only screen and (max-width: 767px) {
  .section-heading {
    font-size: 32px;
  }

  .section {
    padding: 50px 0px;
  }

  .small-row {
    row-gap: 24px;
  }

  .service-booking .row {
    --bs-gutter-x: 0;
  }

  .service-info {
    margin: 10px 0;
  }

  .service-card .service-text {
    margin: 20px 0 16px;
  }

  /* Hide floating particles on smaller screens */
  .hero-section .banner::before,
  .hero-section .banner::after {
    display: none;
  }

  .insight-hub .row {
    row-gap: 30px;
  }
}

@media only screen and (max-width: 575px) {
  .section-sub-heading {
    font-size: 18px;
    line-height: 120%;
    margin: 0 auto 30px;
  }

  .section-heading {
    font-size: 28px;
  }

  .section {
    padding: 30px 0px;
  }

  .btn-primary {
    padding: 10px 16px;
  }

  .service-card {
    padding: 20px 16px;
  }

  .service-card .service-text {
    font-size: 20px;
    line-height: 100%;
  }

  .service-card img {
    max-width: 80px;
  }

  .service-info {
    font-size: 14px;
    line-height: 1.1;
  }

  .insight-card {
    padding: 30px 16px 20px;
  }

  .insight-card .main-image {
    margin-bottom: 10px;
  }

  .insight-text {
    font-size: 18px;
  }

  .insight-card .btn-primary {
    padding: 10px 16px;
  }

  .insight-info {
    margin-bottom: 20px;
  }

  .get-in-touch input,
  .get-in-touch textarea {
    padding: 10px 16px;
  }

  .btn-white {
    padding: 10px 16px;
  }

  .footer {
    padding: 30px 0 20px;
  }

  .footer-main {
    margin-bottom: 30px;
  }

  .footer-main .footer-content.footer-logo-div {
    width: 100%;
  }

  .footer .footer-content {
    gap: 10px;
    width: 160px;
  }

  /* Simplify animations on mobile */
  .hero-section .banner .banner-logo {
    animation: fadeIn 0.8s ease forwards;
  }

  .hero-section .banner .banner-text::after {
    display: none;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-section .nav-link,
  .hero-section .banner .banner-logo,
  .hero-section .banner .banner-text,
  .hero-section .banner > img.img-fluid {
    opacity: 1;
    transform: none;
  }
}

@keyframes gentleFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}
