:root {
  --bs-primary: #0c2340;
  --bs-primary-rgb: 12, 35, 64;
  --bs-body-color: var(--bs-primary);
  --bs-link-color: var(--bs-primary);
  --bs-link-hover-color: #0a1c33;
}

body {
  font-size: 14px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  padding-top: 60px;
}

.navbar {
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

.nav-link.nav-underline.active {
  border-bottom: 2px solid var(--bs-primary);
  padding-bottom: 4px;
}

.btn-darkblue {
  background-color: #0b2a58 !important;
  color: #fff !important;
  border: none;
}

.btn-darkblue:hover {
  background-color: #093067 !important;
  color: #fff !important;
}

.btn-outline-darkblue {
  color: #0d2240;
  border-color: #0d2240;
}

.btn-outline-darkblue:hover {
  background-color: #0d2240;
  color: #fff;
}

.search-bar {
  height: 40px;
  border: 1px solid var(--bs-border-color);
  border-radius: 50px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  background-color: white;
}

.search-bar input {
  border: none;
  outline: none;
  box-shadow: none;
  background-color: transparent;
  width: 200px;
}

.search-bar i {
  color: var(--bs-primary);
}

.floating {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
/* Animated Text Slide */
.animation {
  height: 3.4rem;
  overflow: hidden;
}

.animation > div > div {
  padding: 0.25rem 0.75rem;
  height: 3rem;
  margin-bottom: 3.4rem;
  display: inline-block;
  color: white;
  font-weight: bold;
  font-size: 1rem;
}

.animation div:first-child {
  animation: text-animation 4s infinite;
}

.first div {
  background-color: #f0c536cd;
}

.second div {
  background-color: #041665;
}

.third div {
  background-color: #c10528;
}

@keyframes text-animation {
  0%, 10% {
    margin-top: 0;
  }
  20%, 30% {
    margin-top: -5.62rem;
  }
  40%, 60% {
    margin-top: -11.24rem;
  }
  70%, 80% {
    margin-top: -5.62rem;
  }
  90%, 100% {
    margin-top: 0;
  }
}

/* Animated Map Pins */
.map-pins .pin {
  width: 12px;
  height: 12px;
  background-color: #ff4d4d;
  border-radius: 50%;
  position: absolute;
  transform: scale(0);
  animation: growPin 1.2s ease-out forwards;
}

.map-pins .pin:nth-child(1) { animation-delay: 0.2s; }
.map-pins .pin:nth-child(2) { animation-delay: 0.4s; }
.map-pins .pin:nth-child(3) { animation-delay: 0.6s; }
.map-pins .pin:nth-child(4) { animation-delay: 0.8s; }
.map-pins .pin:nth-child(5) { animation-delay: 1.0s; }
.map-pins .pin:nth-child(6) { animation-delay: 1.2s; }
.map-pins .pin:nth-child(7) { animation-delay: 1.4s; }
.map-pins .pin:nth-child(8) { animation-delay: 1.6s; }
.map-pins .pin:nth-child(9) { animation-delay: 1.8s; }
.map-pins .pin:nth-child(10) { animation-delay: 2.0s; }
.map-pins .pin:nth-child(11) { animation-delay: 2.2s; }
.map-pins .pin:nth-child(12) { animation-delay: 2.4s; }
.map-pins .pin:nth-child(13) { animation-delay: 2.6s; }
.map-pins .pin:nth-child(14) { animation-delay: 2.8s; }
.map-pins .pin:nth-child(15) { animation-delay: 3.0s; }

@keyframes growPin {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.3);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
/* Logo Marquee Scroll */
.logo-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-marquee {
  display: flex;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.logo-marquee img {
  height: 60px;
  margin-right: 50px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .logo-marquee img {
    height: 40px;
    margin-right: 30px;
  }
}

/* Zoom Card */
.zoom-card {
  transition: transform 0.3s ease;
}
.zoom-card:hover {
  transform: scale(0.98);
}

/* Event Card */
.event-card {
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  height: 100%;
}

.event-image-wrapper {
  position: relative;
  width: 100%;
  height: 270px;
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cut-corner-mask {
  position: absolute;
  bottom: -3px;
  right: -1px;
  width: 60px;
  height: 60px;
  background: white;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  z-index: 2;
}

.date-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.8rem;
  text-align: center;
  z-index: 3;
}
.date-badge span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #001f54;
}

.event-footer-line {
  height: 4px;
  background-color: #001f54;
}

.event-btn {
  background-color: #001f54;
  border: none;
  color: white;
}
.event-btn:hover {
  background-color: #003b91;
}
/* Video Section */
.video-box {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
  position: relative;
  height: 100%;
}

.video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.youtube-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  background: red;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.youtube-btn i {
  color: white;
  font-size: 1.5rem;
}

.video-card {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.video-title {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.video-label {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.75rem;
}

.video-image-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  flex-grow: 1;
}

.video-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 200px);
  gap: 20px;
}

.gallery-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: polygon(15% 0%, 100% 0%, 100% 85%, 85% 100%, 0 100%, 0% 15%);
  transition: all 0.4s ease;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.4s ease;
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
  z-index: 1;
}

.gallery-img-wrapper:hover {
  clip-path: none;
  border-radius: 1rem;
}

.gallery-img-wrapper:hover .gallery-img {
  filter: grayscale(0%);
}

.gallery-img-wrapper:hover .gallery-overlay {
  background-color: transparent;
}

.gallery-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-text {
    text-align: center;
    padding: 1rem 0;
  }
}

.img-1 { grid-column: 1 / 2; grid-row: 1 / 2; }
.img-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.img-3 { grid-column: 3 / 4; grid-row: 1 / 2; }
.text-block { grid-column: 1 / 2; grid-row: 2 / 3; }
.img-4 { grid-column: 2 / 3; grid-row: 2 / 3; }
.img-5 { grid-column: 3 / 4; grid-row: 2 / 4; }
.img-6 { grid-column: 1 / 3; grid-row: 3 / 4; }
/* Offerings Section */
.offering-card {
  background-color: #ffffff;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
}
.card-top-bar {
  height: 8px;
  width: 100%;
  background-color: #041665;
  position: absolute;
  top: 0;
  left: 0;
}
.icon-box {
  background-color: #041665;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
}

/* Training Overlay */
.training-overlay {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  .training-overlay {
    left: 1rem;
    text-align: left !important;
  }
}

/* See More Link */
.see-more-link {
  font-size: 1rem;
  font-weight: 500;
  color: #212529;
  text-decoration: none;
  transition: color 0.2s;
}
.see-more-link i {
  vertical-align: middle;
  font-size: 0.9rem;
  margin-left: 4px;
}
.see-more-link:hover {
  color: #0056b3;
}

/* Testimonials */
.read-more {
  cursor: pointer;
}
.testimonial-text {
  max-height: 160px;
  overflow: hidden;
}
.read-more.collapsed + .testimonial-text {
  max-height: none;
}

/* Responsive Buttons on Mobile */
@media (max-width: 767.98px) {
  .display-5 {
    font-size: 2rem;
  }
  .btn {
    width: 100%;
    font-size: 1rem;
  }
  .btn.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Hide scrollbar for horizontal video scroll */
.overflow-auto::-webkit-scrollbar {
  display: none;
}
.overflow-auto {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
/* Timeline Section */
.timeline-wrapper {
  position: relative;
}
.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 75%;
  z-index: 0;
}
.timeline-content {
  position: relative;
  z-index: 1;
}
.horizontal-line {
  width: 140px;
  height: auto;
}
.icon-block {
  text-align: center;
}
.icon-block img.icon {
  width: 60px;
}

@media (max-width: 767px) {
  .timeline-line,
  .horizontal-line {
    display: none;
  }
}

/* Why AI Section */
.why-ai-section {
  min-height: 100vh;
  position: relative;
  background-color: #0d1224;
}
.why-ai-section .overlay {
  background: linear-gradient(to right, rgba(10, 20, 40, 0.95) 40%, rgba(10, 20, 40, 0.5));
  z-index: 1;
}
.why-ai-section .bg-image {
  background: url('assets/robotbg.webp') no-repeat right center;
  background-size: contain;
  width: 55%;
  z-index: 0;
  opacity: 0.8;
}
.why-ai-section .container {
  position: relative;
  z-index: 2;
}

/* Event Slider Scroll Hide */
.event-slider::-webkit-scrollbar {
  display: none;
}
.event-slider {
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.event-card {
  width: 300px;
  min-width: 300px;
}
.event-img {
  height: 180px;
  object-fit: cover;
}

/* External Scroll Arrow */
.external-scroll-indicator {
  position: absolute;
  top: 55%;
  right: -10px;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}
.scroll-arrow-img {
  width: 100px;
  opacity: 0.7;
  animation: arrowFloat 1.5s infinite;
}
@keyframes arrowFloat {
  0% {
    transform: translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(10px);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }
}
/* Mentor & Review Sliders */
.mentor-slider {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mentor-slider::-webkit-scrollbar {
  display: none;
}
.mentor-card:hover {
  transform: translateY(-4px);
  transition: 0.2s ease-in-out;
}

.text-darkblue {
  color: #002c6b;
}

.reviews-scroll-container {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews-scroll-container::-webkit-scrollbar {
  display: none;
}

.card {
  border-radius: 0.5rem;
}

/* FAQ Accordion Styling */
.faq-section .accordion-button:not(.collapsed) {
  background-color: #e9f0ff;
}
.faq-section .accordion-button {
  border-radius: 0.3rem;
}

/* Modal Styling */
.modal-content {
  border-radius: 1rem;
}
.btn-darkblue {
  background-color: #002c6b;
  color: #fff;
  border: none;
}
.btn-darkblue:hover {
  background-color: #001d49;
  color: #fff;
}
.btn-outline-darkblue {
  border: 2px solid #002c6b;
  color: #002c6b;
  background-color: transparent;
}
.btn-outline-darkblue:hover {
  background-color: #002c6b;
  color: #fff;
}

/* Tooltip */
.speaker-tooltip {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: #0c2340;
  color: #fff;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 8px;
  width: 250px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 5;
}
.speaker-card:hover .speaker-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Sidebar & Subnav */
.sidebar {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

#call-request-badge {
  top: 118px;
  right: 10px;
  z-index: 1055;
  white-space: nowrap;
  transform: translateX(150%);
  transition: transform 0.8s ease;
}
#call-request-badge.show {
  transform: translateX(0%);
}

.subnav-link {
  color: #002c6b;
  font-weight: 500;
  padding: 4px 6px;
  text-decoration: none;
}
.subnav-link:hover {
  text-decoration: underline;
  color: #1572ff;
}

#sticky-subnav {
  z-index: 1050;
  position: relative;
  transition: top 0.3s ease, box-shadow 0.3s ease;
}
.position-fixed#sticky-subnav {
  z-index: 1050 !important;
}
