/* === Base styles === */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #0b2540;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}



/* === Navbar === */
.site-navbar {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 12px 0;
  z-index: 999;
}
.site-navbar .nav-link {
  color: #0b2540;
  font-weight: 500;
  margin: 0 8px;
  transition: color 0.3s ease;
}
.site-navbar .nav-link:hover {
  color: #f5b400;
}

/* === Hero Section Backgrounds === */
.item-bg1 {
  background: url("img/slide1.jpeg") no-repeat center center/cover;
  height: 100vh;
}
.item-bg2 {
  background: url("img/slide2.png") no-repeat center center/cover;
  height: 100vh;
}
.item-bg3 {
  background: url("img/slide3.png") no-repeat center center/cover;
  height: 100vh;
}

.banner-section {
  position: relative;
  display: table;
  width: 100%;
  height: 60vh; /* Reduced for better proportions */
  background-size: cover;
  background-position: center center;
}
.banner-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}
.banner-content {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;
}
.banner-content h1 {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.3;
}
.banner-content .sub-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  
  margin-bottom: 10px;
  font-weight: 600;
}

/* === Global Buttons === */
.btn, 
.default-btn {
  display: inline-block;
  position: relative;
  font-weight: 600;
  border-radius: 5px;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  margin: 0 5px;
  padding: 12px 28px;
  font-size: 16px;
  background: #0b2540;   /* Dark Blue */
  color: #fff;
  border: none;
}

/* Hover Effect */
.btn:hover, 
.default-btn:hover {
  background: #f5b400;  /* Yellow */
  color: #0b2540;       /* Dark blue text */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Hover animation effect */
.default-btn span {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, 0.3);
  width: 0;
  height: 100%;
  top: 0; left: 0;
  transition: width 0.3s ease-in-out;
  z-index: 1;
}
.default-btn:hover span {
  width: 100%;
}

/* Outline style */
.btn.outline, 
.default-btn.outline {
  background: transparent;
  border: 2px solid #0b2540;
  color: #0b2540;
}
.btn.outline:hover, 
.default-btn.outline:hover {
  background: #f5b400;
  border-color: #f5b400;
  color: #000;
}

/* Override Bootstrap button variations */
.btn-primary, .btn-warning, .btn-dark, .btn-outline-primary {
  background: #0b2540 !important;
  border-color: #0b2540 !important;
  color: #fff !important;
}
.btn-primary:hover, .btn-warning:hover, .btn-dark:hover, .btn-outline-primary:hover {
  background: #f5b400 !important;
  border-color: #f5b400 !important;
  color: #000 !important;
}

/* Smaller buttons in hero */
.btn-box .default-btn {
  font-size: 15px;
  padding: 10px 24px;
}

/* === Coinlib Ticker === */
.coin-ticker {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 1000;
}

/* === About Section === */
.about-section {
  background: #fff;
}
.about-text {
  padding-left: 20px;
}
.about-text .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #f5b400;   /* Yellow */
  margin-bottom: 15px;
}
.about-text .section-subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  color: #0b2540;   /* Dark Blue */
  margin-bottom: 20px;
}
.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
}
.about-img img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* === Responsive tweaks === */
@media (max-width: 768px) {
  .banner-section {
    height: 60vh;
  }
  .banner-content h1 {
    font-size: 1.8rem;
  }
  .banner-content .sub-title {
    font-size: 0.9rem;
  }
  .btn-box .default-btn {
    font-size: 14px;
    padding: 8px 20px;
  }
  .about-text {
    text-align: center;
    padding: 0 10px;
  }
  .about-text .section-title {
    font-size: 1.8rem;
  }
  .about-text .section-subtitle {
    font-size: 1.2rem;
  }
}


/* === Banner/Header === */
.page-banner {
  background: url("img/banner.jpg") center center/cover no-repeat;
  height: 50px;   /* 🔽 Reduced from 300px */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}
.page-banner::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}
.page-banner h1 {
  position: relative;
  font-size: 2rem; /* 🔽 Adjusted smaller since banner is shorter */
  font-weight: 700;
  z-index: 1;
}

/* === Services Section === */
.services-section {
  background: #f9f9f9;
}

/* remove row override! Bootstrap handles it */
.services-section .row {
  margin: 0; /* optional reset */
}

.service-box {
  background: #fff;
  border-radius: 8px;
  transition: all 0.3s ease;
  max-width: 100%;     /* ✅ let Bootstrap control width */
  padding: 25px;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.service-box h4 {
  color: #0b2540;
}

.service-box p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.service-box:hover {
  background: #0b2540;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-box:hover h4,
.service-box:hover p {
  color: #fff;
}



/* === Solutions Section (with dark-blue hover) === */
.solutions-section {
  background: #fff;
  padding: 40px 0;
}

.solution-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* icon */
.solution-card .icon img {
  width: 64px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* typography */
.solution-card h4 {
  color: #0b2540;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.solution-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
  transition: color 0.3s ease;
}

/* learn link */
.solution-card .learn-link {
  color: #0b2540;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.2s ease;
}

/* Hover state — dark blue background, white text & link */
.solution-card:hover {
  background: #0b2540;        /* your dark-blue */
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.solution-card:hover h4,
.solution-card:hover p,
.solution-card:hover .learn-link {
  color: #fff !important;
}

/* Optional: make the icon stand out on hover (slight lift or color invert if SVG) */
.solution-card:hover .icon img {
  transform: translateY(-4px);
  /* if using SVG icons you can also invert color via filter when needed:
     filter: brightness(0) invert(1); */
}

/* Responsive spacing */
@media (max-width: 767px) {
  .solution-card { padding: 20px; }
  .solution-card .icon img { width: 52px; margin-bottom: 12px; }
}







/* === Benefits Section === */

/* Desktop 50/50 equal height */
@media (min-width: 992px) {
  .benefits-section .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch; /* force equal height */
  }

  .benefits-section .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
  }

  .benefits-carousel,
  .benefits-carousel .item,
  .benefits-carousel .item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}

/* Right background */
.benefits-bg {
  background: url("img/benefit-bg.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}
.benefits-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11,37,64,0.9);
  z-index: 0;
}
.benefits-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2rem;
}

/* Spacing for section titles */
.benefits-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.benefits-content h5 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}
.benefits-content p {
  margin-bottom: 2rem;
}

/* Benefits list styling */
.benefits-list li {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.95rem;
}
.benefits-list i {
  color: #f5b400;
  margin-right: 8px;
}

/* Owl nav (arrows only, no dots) */
.benefits-carousel .owl-dots {
  display: none !important;
}
.benefits-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 15px;
  pointer-events: none;
}
.benefits-carousel .owl-nav button {
  background: rgba(11,37,64,0.6) !important;
  color: #fff !important;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem !important;
  line-height: 40px;
  transition: background 0.3s ease;
  pointer-events: all;
}
.benefits-carousel .owl-nav button:hover {
  background: #f5b400 !important;
  color: #0b2540 !important;
}

/* Mobile fix */
@media (max-width: 991px) {
  .benefits-carousel .item img,
  .benefits-bg {
    min-height: 300px;
  }
}
/* Benefits list - card style */
.benefits-list li {
  margin-bottom: 2rem;
  text-align: left;
}

.benefits-list i {
  display: block;
  font-size: 2rem;
  color: #f5b400;
  margin-bottom: 0.8rem;
}

.benefits-list h6 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.benefits-list p {
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}





/* === Investment Plans (slim banner + card) === */
.plan-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* slim banner at top */
.plan-banner {
  height: 60px; /* slim banner height */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.plan-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11,37,64,0.45); /* subtle dark overlay so title is readable */
}
.plan-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* body */
.plan-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.75rem;
  min-height: 230px; /* keep uniform heights */
}
.plan-percent {
  color: #0b2540;        /* your dark-blue */
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
}

/* invest button as link (white bg, yellow text; hover -> yellow bg) */
.plan-btn {
  display: inline-block;
  background: #ffffff;
  color: #f5b400;
  border: 2px solid #f5b400;
  padding: 8px 18px;
  border-radius: 24px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}
.plan-btn:hover,
.plan-btn:focus {
  background: #f5b400;
  color: #0b2540;
  text-decoration: none;
}

/* details */
.plan-details li {
  color: #0b2540;        /* your dark-blue */
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.text-darkblue {
  color: #0b2540 !important; /* dark navy blue */
}

/* responsive tweaks */
@media (max-width: 991px) {
  .plan-banner { height: 80px; } /* slightly taller on smaller screens for legibility */
  .plan-body { min-height: auto; }
}


/* === Testimonial Section === */
.testimonial-section {
  background: #f9f9f9;
}

.testimonial-section h2 {
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
  font-style: italic;
}

.testimonial-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  opacity: 0.8;
  transition: transform 0.3s ease;
}
.testimonial-logo:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Carousel arrows */
.testimonial-carousel .owl-nav {
  position: absolute;
  top: 40%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.testimonial-carousel .owl-nav button {
  pointer-events: all;
  background: rgba(11,37,64,0.7) !important;
  color: #fff !important;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem !important;
  transition: background 0.3s ease;
}
.testimonial-carousel .owl-nav button:hover {
  background: #f5b400 !important;
  color: #0b2540 !important;
}

/* Remove dots */
.testimonial-carousel .owl-dots {
  display: none !important;
}






/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffc107; /* yellow */
  color: #0b2540; /* dark blue text */
  border: none;
  padding: 12px 18px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  background: #0b2540; /* dark blue */
  color: #ffc107; /* yellow */
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}



.faq-section .accordion-button {
  background: #f8f9fa;
  font-weight: 600;
  color: #0b2540;
}
.faq-section .accordion-button:not(.collapsed) {
  background: #f5b400;
  color: #fff;
}
.faq-section .accordion-body {
  background: #ffffff;
  color: #333;
}



.contact-section .form-control {
  border-radius: 10px;
  padding: 12px;
}
.contact-section button {
  border-radius: 25px;
  transition: 0.3s;
}
.contact-section button:hover {
  background: #0b2540;
  color: #f5b400;
}
.map-container iframe {
  border-radius: 10px;
}



.mgm.middle-right {
  top: 50%;
  right: 20px;
  transform: translateY(-50%) translateX(100px);
}

.mgm.show.middle-right {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
}