@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Manrope", sans-serif;
  }
  
  body {
    background-color: #0a0a0a;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  a {
    text-decoration: none;
    color: whitesmoke;
    font-size: 18px;
  }

  img{
    max-width: 100%;
    height: auto;
  }
  


  .nav-links {
    z-index: 9999; 
}
.logo {
    z-index: 9999;
}
  
  .navbar {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.896);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;;
    z-index: 1000;
  }
  
  
 .logo img{
    width: 160px;
    padding-left: 10px;
 }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
  }
  
  .nav-links a:hover {
    text-decoration: none;
    color: #f5c54d;
  }

  /* Basic styling */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

  /* HERO AREA */
  

  .hero-image {
    background: url('./images/jmj\ homepage\ new\ 3.png') no-repeat center center/cover;
    height: 110vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 100%;
  }

  .hero-text {
    padding: 4rem;
    width: 600px;
    max-width: 100%;
    padding-top: 170px;
  }
  
  .hero-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .hero-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #ffd700;
    color: #000;
    font-weight: bold;
    border-radius: 5px;
  }

  .cta-btn:hover{
    transform: scale(1.1);
  }



  /* About */

   .about {
    padding: 4rem 2rem;
    background: #111;
  }
  
  .about-content {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 2rem;
    align-items: center;
  }
  
  .about-content img {
    max-width: 50%;
    border-radius: 10px;
    flex: 1 1 40%;
  }
  
  .about-content div {
    flex: 1 1 50%;
  }

  .about-content a{
    margin-top: 10px;
  }

  .about-content h2{
    color: #f9b233;
  }

  

  /* Services */
  
  section.services {
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .services h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #f9b233;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .card {
    background: #1c1c1c;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  .card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    /* object-fit: contain; */
    border-radius: 6px;
    margin-bottom: 1rem;
  }
  
 
  /* Testimonials */
.testimonials {
    padding: 60px 20px;
    background-color: #111111;
    text-align: center;
}

.testimonials h2 {
    color: #f9b233;
     font-size: 2rem;
      margin-bottom: 2rem;
    /* font-weight: 600; */
    /* text-transform: uppercase; */
    /* letter-spacing: 2px; */
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: #1a1a1a;
    padding: 30px 20px;
    border-radius: 10px;
    color: #ffffff;
}

.testimonial-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

.testimonial-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #dddddd;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    font-size: 16px;
    margin: 0;
}

.testimonial-card span {
    font-size: 12px;
    color: #999999;
}

.testimonial-card:hover{
     transform: translateY(-5px);
}


/* Past results section */
.results-section {
  padding: 40px 20px;
  background-color: #111;
  text-align: center;
}

.slider {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto; 
  scroll-snap-type: x mandatory; 
  -webkit-overflow-scrolling: touch; 
  scrollbar-width: none; 
  cursor: grab;
}

.slider::-webkit-scrollbar {
  display: none; 
}

.slide-track {
  display: flex;
  gap: 15px; 
  padding: 10px 0;
  width: max-content; 
}

.slide-track img {
  scroll-snap-align: start; /* Snap each image */
  width: 250px;
  border-radius: 10px;
  transition: transform 0.3s ease;
  flex-shrink: 0; /* Prevent shrinking */
}

.slide-track img:hover {
  transform: scale(1.05); /* Slightly smaller hover effect */
}

/* Auto-scroll animation (optional) */
@keyframes autoscroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% + 900px)); }
}

/* Apply auto-scroll only when not hovering */
.slide-track:not(:hover) {
  animation: autoscroll 70s linear infinite; /* Increased from 20s */
}


/* Bootcamp Section Styles */
.bootcamp-section {
  background: #111; /* Match your site’s dark background */
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

.bootcamp-section .container {
  max-width: 100%;
  margin: auto;
  padding: 0 20px;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  color: #f9b233;
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #ccc;
  margin-bottom: 40px;
}

.bootcamp-slider {
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.bootcamp-card {
  flex: 0 0 300px;
  background-color: #1a1a1a;
  padding: 1.5rem;
  border-radius: 10px;
  scroll-snap-align: start;
  min-width: 300px;
  transition: transform 0.3s ease;
   box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.bootcamp-card:hover {
  transform: scale(1.03);
}

.bootcamp-icon {
  font-size: 32px;
  color: #3399ff;
  margin-bottom: 15px;
}

.bootcamp-card h3 {
  font-size: 20px;
  color: #f9b233;
}

.bootcamp-level {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 15px;
}

.bootcamp-card ul {
  padding-left: 18px;
  line-height: 1.6;
  color: #ddd;
}

.bootcamp-live {
  margin-top: 40px;
  background: #222;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  color: #ddd;
}

.bootcamp-cta {
  text-align: center;
  margin-top: 30px;
}

.bootcamp-cta .deadline {
  font-weight: bold;
  color: #ff4444;
  margin-bottom: 10px;
}

.btn-join {
  display: inline-block;
  background: #3399ff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-join:hover {
  background: #2673cc;
}

/* Mobile scroll adjustments */
@media (max-width: 768px) {
  .bootcamp-card {
    flex: 0 0 80%;
  }
}

/* .telegram-highlight {
  background-color: #0088cc;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  display: inline-block;
  margin-top: 1rem;
  font-weight: bold;
}

.telegram-highlight:hover {
  background-color: #006da8;
} */
 /* footer */

.site-footer {
    background-color: #0e0e0e;
    color: #ffffff;
    padding: 60px 20px 30px;
    font-family: Arial, sans-serif;
}

/* .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
} */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  background-color: #111;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col h2, .footer-col h3 {
    margin-bottom: 15px;
    color: #f5c54d;
    font-size: 18px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #f5c54d;
}

.footer-col.social-links a {
    margin-right: 10px;
    display: inline-block;
}

.footer-col.social-links img {
    width: 24px;
    height: 24px;
    /* filter: brightness(0) invert(1); */
    transition: transform 0.3s ease;
}

.footer-col.social-links img:hover {
    transform: scale(1.1);
    /* filter: brightness(0) saturate(100%) invert(69%) sepia(63%) saturate(455%) hue-rotate(9deg) brightness(95%) contrast(90%); */
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: #888;
}


  
/* Responsive Styles */
body.menu-open {
  overflow: hidden;
}

@media (max-width: 768px) {

  .navbar {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
  }

   .hamburger {
    display: block;
    z-index: 1001;
    order: 2;
  }

  .nav-links {
    display: none;
    position: fixed;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70%;
    height: auto;
    max-height: 60vh;
    background-color: #111;
    top:80px;
    left: 0;
    right: -100%;
    z-index: 10;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding-top: 80px;
  }

  .nav-links.show {
    display: flex;
    right: 0;
    transform: translateX(0);
  }

  .nav-links li {
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    margin: 15px 0;
    width: 100%;
  }

  .nav-links ::-webkit-scrollbar{
    width: 5px;
  }

 .logo img {
    width: 120px;
  } 
  .logo {
    order: 1;
  }

  .hero-image{
    background-image: url('./images/jmj\ homepage\ mobile.png');
    height: 80vh;
    margin-top: 100px;
  }

  .hero-text{
    padding: 2rem;
    padding-top: 300px;
    width: 100%;
  }

  .hero-text h2 {
    font-size: 3rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  /* .grid, 
  .testimonial-grid,
  .bootcamp-slider {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  } */

  .about-content {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .about-content img {
    width: 100%;
    margin-bottom: 2rem;
    
  }

  .testimonial-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .slider .slide-track {
    animation-duration: 80s;
  }

  .bootcamp-slider{
    gap: 1rem;
  }

  .bootcamp-card {
   flex: 0 0 280px;
   min-height: 380px;
  }

  .bootcamp-live{
    padding: 15px;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-col {
    flex: 1 1 100%;
    margin-bottom: 2rem;
    text-align: center;  
  }

  .footer-col.social-links{
    justify-content: center;
  }
}

@media (max-width: 480px) {
 .navbar{
  padding: 1rem;
 }

 .nav-links {
    display: none;
    position: fixed;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70%;
    height: auto;
    max-height: 60vh;
    background-color: #111;
    top:80px;
    left: 0;
    right: -100%;
    z-index: 10;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding-top: 80px;
  }

  .nav-links.show {
    display: flex;
    right: 0;
    transform: translateX(0);
  }

  .nav-links li {
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    margin: 15px 0;
    width: 100%;
  }

  .nav-links ::-webkit-scrollbar{
    width: 5px;
  }

 .logo img{
  width: 100px;
 }

 .hamburger{
  font-size: 24px;
 }

 .nav-links{
  width: 80%;
 }

 .hero-image{
  background-image: url('./images/jmj\ homepage\ mobile.png');
  height: 70vh;
 }

 .hero-text{
  padding: 1.5rem;
  padding-top: 100px;
 }

 .hero-text h2{
  font-size: 3rem;
 }

 .cta-btn{
  padding: 0.6rem 1rem;
 }

 .grid{
  grid-template-columns: 1fr;
  gap: 1rem;
 }

 .card{
  padding: 1rem;
 }

 .card img{
  width: 80px;
  height: 80px;
 }

 .testimonial-card{
  padding: 20px 15px;
 }

 .testimonial-card img{
  width: 50px;
  height: 50px;
 }

 .slide-track img{
  width: 150px;
  margin: 0 5px;
 }

 .section-title{
  font-size: 1.5rem;
 }

 .section-subtitle{
  font-size: 1rem;
 }

 .bootcamp-card{
  flex: 0 0 85vw;
  min-height: auto;
  padding: 1rem;
 }

  .bootcamp-card h3{
    font-size: 1.2rem;
  }

  .bootcamp-card ul{
    font-size: 0.9rem;
  }

  .bootcamp-live{
    margin-top: 20px;
  }

  .btn-join{
    padding: 10px 20px;
    font-size: 0.9rem;
  }
 .footer-container{
  gap: 1rem;
 }

 .footer-col h3{
  font-size: 16px;
 }

 .footer-col.social-links img{
  width: 20px;
  height: 20px;
 }
}

@media (max-width: 1024px) {

  .hero-image{
    background-image: url('./images/jmj\ homepage\ mobile.png');
    height: 120vh;
    margin-top: 100px;
  }
}