
/* Global Styles */
:root {
  --accent-color: #fa513a;
  --dark-blue: #0d0a2c;
  --blue: #09143e;
  --light-blue: #122056;
  --white: #ffffff;
}

body {
  font-family: 'Sora', sans-serif;
  background-color: var(--dark-blue);
  color: var(--white);
  overflow-x: hidden;
}

.text-accent {
  color: var(--accent-color) !important;
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  font-weight: 600;
}

.btn-accent:hover {
  background-color: #e4452f;
  color: var(--white);
}

.section-title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 40px;
}

.tracking-wide {
  letter-spacing: 2px;
}

/* Navbar */
.navbar {
  background-color: rgba(13, 10, 44, 0.8);
  backdrop-filter: blur(10px);
}

.navbar-brand img {
  height: 54px;
}

.nav-link {
  color: var(--white);
  font-weight: 600;
  font-size: 17px;
  margin: 0 10px;
}

.nav-link:hover {
  color: var(--accent-color);
}

/* Hero Section */
.hero-content{
  background-color: rgba(255, 255, 255, .1);
  padding: 10px;
  border-radius: 10px;
}
.hero-section {
  background-image: url('../assets/hero-bg.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  background-color: var(--dark-blue);
  padding: 60px 0 30px;
  position: relative;
}

.overlay {

  border-radius: 5px;
  padding: 30px;
  margin-bottom: 50px;
}

.hero-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 800;
}

.main-heading {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 30px;
}
.heroimage-wrap{
  position: relative;
}
.hero-image {
  object-fit: contain;
}
.hero-anchor {
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  z-index: 2;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
}

.testimonial-card {
  background-color: var(--blue);
  border-radius: 25px;
  padding: 30px;
  height: 100%;
  border: 2px solid var(--light-blue);
  position: relative;
}

.testimonial-name {
  font-size: 25px;
  font-weight: 700;
  margin: 20px 0;
}

.testimonial-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}

.video-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}




/* Do You Relate Section */
.relate-section {
  padding: 80px 0;
}

.relate-image{
  background: url('../assets/Background.png') no-repeat center center;
  background-size: cover;
}

.relate-title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 40px;
}

.relate-item {
  background-color: var(--light-blue);
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.relate-check {
  color: var(--accent-color);
  margin-right: 15px;
}

.relate-item p {
  margin-bottom: 0;
  font-weight: 600;
  font-size: 17px;
}

/* Why Join CareerMil Section */
.why-join-section {
  padding: 80px 0;
}

.join-image-container {
    background: url('../assets/Background.png') no-repeat center center;
    background-size: cover;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.join-image {
  height: 100%;
  position: relative;
  z-index: 1;
}

.accent-image {
  position: absolute;
  cursor: pointer;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  z-index: 2;
}

.benefit-card {
  background-color: var(--light-blue);
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  height: 100%;
}

.benefit-check {
  color: var(--accent-color);
  margin-right: 15px;
  margin-top: 5px;
}

.benefit-card p {
  margin-bottom: 0;
  font-weight: 600;
  font-size: 16px;
}

.benefit-note {
  font-size: 20px;
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto;
}

/* Trainer Section */
.trainer-section {
  padding: 80px 0;
}

.trainer-card {
  background: linear-gradient(to right, #000122, #1b2c85, #6b196b);
  border-radius: 30px;
  padding: 40px;
}

.trainer-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
}

.trainer-bio {
  font-size: 16px;
  line-height: 1.6;
}

.trainer-image {
  max-height: 500px;
  object-fit: cover;
}

.trainer-stats {
  padding: 40px 20px;
}

.stat-item {
  margin-bottom: 40px;
}

.stat-number {
  font-size: 39px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-text {
  font-size: 16px;
  font-weight: 600;
}

/* Credentials Section */
.credentials-section {
  padding: 80px 0;
}

.credentials-card {
  background-color: transparent;
  border: 2px solid var(--light-blue);
  border-radius: 25px;
  padding: 40px 20px;
  position: relative;
}

.credentials-header {
  position: absolute;
  top: -18px;
  left: 20px;
  width: 87%;
  background-color: #09143e;
  border-color: #122056;
  border-radius: 24px;
  border: 2px solid 24px;
}

.badge-accent {
  color: var(--white);
  font-size: 16px;
  padding: 10px 10px;
  margin-bottom: 0;
  width: 100%;
  font-weight: 300;
  line-height: 24px;
}

.credentials-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
}

.credentials-logos img {
  max-height: 80px;
  margin: 10px;
  object-fit: contain;
}

/* Who Is This For Section */
.who-for-section {
  padding: 80px 0;
  background-image: url('../assets/whomesection-bg.png');
  background-size: cover;
  background-position: center;
}

.role-card {
  background-color: var(--blue);
  border: 2px solid var(--light-blue);
  border-radius: 10px;
  padding: 15px 20px;
  position: relative;
  margin-bottom: 15px;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.role-card.highlight {
  background-color: var(--light-blue);
  border: 2px solid #6b8ff1;
}

.role-icon {
  position: absolute;
  right: -10px;
  top: -10px;
  background-color: #6b8ff1;
  border-radius: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

@media (max-width: 576px) {
  .role-icon {
    right: auto;
    left: -10px;
  }
}

.role-icon.highlight {
  background-color: var(--accent-color);
}

.role-card p {
  margin-left: 30px;
  margin-bottom: 0;
  font-size: 16px;
}

/* Marquee effect for credentials logos */
.credentials-logos {
    overflow: hidden;
    position: relative;
    width: 100%;
    background: transparent;
    padding: 10px 0;
}

.credentials-logos .row {
    display: flex;
    flex-wrap: nowrap;
    animation: marquee 20s linear infinite;
    /* Adjust duration for speed */
}

.credentials-logos .col {
    flex: 0 0 auto;
    width: auto;
    margin-right: 32px; /* space between logos */
    display: flex;
    align-items: center;
}

.credentials-logos img {
    max-height: 90px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}

/* Duplicate the row in HTML for seamless loop if needed */

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



/* Bonuses Section */
.bonuses-section {
  padding: 80px 0;
}

.bonus-image {
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background-color: var(--light-blue);
  background-image: url('assets/section2.png');
  background-size: cover;
  background-position: center;
  padding: 40px 0;
  padding-bottom: 220px;
}

/* CTA Bar */
.cta-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--accent-color);
  background-image: url('../assets/footer-bg.jpg');
  background-size: cover;
  padding: 40px 0;
  z-index: 300;
}
.cta-bar .container {
  position: relative;

}
.cta-bar .pop-img{
  position: absolute;
    left: 0;
    bottom: -15px;
    width: 100px;
}
.cta-bar p{
  margin-left: 100px;
}
.cta-bar .btn{
  background-color: #fff;
    display: inline-block;
    padding: 20px  25px!important;
    color: #fa513a;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-section {
      padding: 150px 0 50px;
  }
  
  .main-heading {
      font-size: 36px;
  }
  
  .section-title {
      font-size: 36px;
  }
  
  .trainer-title {
      font-size: 36px;
  }
}

@media (max-width: 768px) {
  .hero-section {
      padding: 80px 0 40px;
  }
  
  .main-heading {
      font-size: 28px;
  }
  
  .section-title {
      font-size: 28px;
  }
  
  .trainer-title {
      font-size: 28px;
  }
  
  .testimonial-card {
      margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .hero-title, .hero-subtitle {
      font-size: 20px;
  }
  
  .main-heading {
      font-size: 24px;
  }
  
  .section-title {
      font-size: 24px;
  }
}


@media (max-width: 767.98px) {
  .pop-img {
    display: none !important;
  }
  .cta-bar p{
    display: none;
  }
  .cta-bar .btn{
    display: block;
  }

  .overlay{
    padding: 0;
  }
}