/* ========== Global Body Styles ========== */
body {
  font-family: 'Inter', sans-serif;
  padding-top: 160px;
  margin: 0;
  box-sizing: border-box;
  color: #333;
  background-color: #343a40; /* changed from #F8F9FA to gray */
  line-height: 1.6;
}


/* ========== Navbar ========== */
.main-nav {
  background-color: #000; /* Changed to black */
  padding: 18px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.logo-container {
  display: flex;
  align-items: center;
  height: 80px;
  padding: 0 20px;
}

.logo-container img {
  height: 60px;
  max-width: 100%;
  object-fit: contain;
}

/* ========== Hamburger Menu ========== */
.menu-toggle {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* ========== Navigation Links ========== */
#nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 769px) {
  #nav-links {
    display: flex;
  }

  #nav-links li {
    margin-left: 40px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    background-color: #000; /* black for mobile menu too */
    padding-bottom: 15px;
  }

  #nav-links.active {
    display: flex;
  }

  #nav-links li {
    margin: 15px 0;
    text-align: center;
  }

  #nav-links li a {
    font-size: 18px;
  }
}

.main-nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: #e60000; /* red hover and active color */
  transform: translateY(-4px);
}

/* ========== Hero Section ========== */
.hero-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 120px;
}

.changing-text-container {
  font-size: 1.8rem;
  font-weight: 500;
  height: 40px;
  overflow: hidden;
}

.changing-text {
  display: inline-block;
  opacity: 1;
  transition: opacity 0.6s ease-in-out;
  color: #4a90e2;
}

/* ========== Projects Showcase ========== */
/* ========== Projects Showcase Section ========== */
.home-projects-showcase {
  padding: 40px 20px;
  text-align: center;
  background-color: #1B1B2F; /* Dark background */
}

.home-projects-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #FF4C4C; /* Bold red title */
}

.home-carousel-wrapper {
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto 20px;
  border-radius: 12px;
  box-shadow: 0 0 16px rgba(255, 76, 76, 0.2); /* Red glow */
}

.home-carousel-track {
  display: flex;
  width: calc((220px + 15px) * 8 - 15px); /* Width for 8 images including margin */
  animation: scrollLoop 40s linear infinite;
}

.home-carousel-track img {
  width: 220px;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 15px;
  box-shadow: 0 4px 12px rgba(255, 76, 76, 0.25); /* Red shadow */
}

.home-explore-btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: #0A1931; /* Deep navy */
  color: #FF4C4C; /* Red text */
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 30px;
  border: 2px solid #FF4C4C;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(255, 76, 76, 0.3);
}

.home-explore-btn:hover {
  background-color: #FF4C4C; /* Red background */
  color: #fff; /* White text */
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 76, 76, 0.5);
}

/* ========== Keyframes ========== */
@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .home-projects-title {
    font-size: 1.5rem;
  }

  .home-carousel-track img {
    width: 160px;
    height: 220px;
  }
}


/* ========== Section Base Style ========== */
@keyframes textFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

section {
  padding: 100px 8%;
  text-align: center;
  margin: 40px 5%;
  background: #000; /* black background */
  color: white;
  box-shadow: 0 8px 30px rgba(255, 0, 0, 0.1); /* red-ish soft glow */
  border-radius: 20px;
}

section h2 {
  font-size: 3em;
  margin-bottom: 35px;
  color: #e60000; /* Red heading */
}

section p {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #ddd;
}

/* ========== Collaborate Section ========== */
#collaborate {
  background-color: #111; /* black tone */
  color: white;
}

#collaborate h2 {
  color: #e60000;
}

/* ========== Button Style ========== */
.button-link {
  display: inline-block;
  background-color: #e60000;
  color: white;
  padding: 14px 28px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
  margin-top: 20px;
}

.button-link:hover {
  background-color: #cc0000;
  transform: translateY(-3px);
}

/* ========== Why Choose RJ Section ========== */
.why-choose-rj {
  background-color: #000;
  color: #fff;
  padding: 80px 8%;
  text-align: center;
  border-radius: 20px;
}

.why-choose-rj h2 {
  color: #e60000;
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-shadow: 1px 1px 5px rgba(255, 0, 0, 0.6);
}

/* ========== Card Container ========== */
.why-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* ========== Individual Card Style ========== */
.why-card {
  background-color: #111;
  color: #eee;
  padding: 30px 25px;
  border-radius: 15px;
  max-width: 280px;
  box-shadow: 0 6px 15px rgba(255, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.5);
}

.why-card h3 {
  font-size: 1.3rem;
  color: #e60000;
  margin-bottom: 15px;
}

.why-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #ccc;
}


  
 /* ================= SERVICES SECTION ================= */
.services-section {
  padding: 3rem 1.5rem;
  background-color: #000; /* black background */
  text-align: center;
}

.services-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #e60000; /* red heading */
  font-weight: 700;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  text-align: left;
}

.services-list li {
  background: #111;
  padding: 1rem 1.2rem;
  border-left: 5px solid #e60000;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.08);
  font-weight: 500;
  color: #eee;
  transition: all 0.3s ease;
}

.services-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.2);
}


/* ================= TESTIMONIALS SECTION ================= */
#testimonials {
  background-color: #000;
  color: #eee;
  padding: 80px 8%;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

#testimonials h2 {
  color: #e60000;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 40px;
  text-shadow: 1px 1px 5px rgba(255, 0, 0, 0.5);
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: #111;
  color: #eee;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(255, 0, 0, 0.1);
  max-width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Inter', sans-serif;
  position: relative;
  text-align: center;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.4);
}

.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 20px;
  font-style: italic;
}

.client-name {
  font-weight: 600;
  font-size: 1rem;
  color: #e60000;
  text-align: center;
  font-style: normal;
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 2px rgba(255, 0, 0, 0.5);
}

/* 👤 Profile image styling */
.testimonial-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #e60000;
  margin-bottom: 15px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}


/* ================= FOOTER ================= */
.main-footer {
  background-color: #000;
  color: #f8f8f8;
  text-align: center;
  padding: 40px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  font-family: 'Inter', sans-serif;
}
/* ------------------------------------------------------------------------------------------------------------------------------------------ */
/* ================= ABOUT SECTION ================= */
.about-section {
  padding: 60px 20px;
  background-color: #000;
}

.about-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.about-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
  border: 4px solid #e60000;
}

@media (max-width: 768px) {
  .about-image img {
    width: 140px;
    height: 140px;
  }
}

.about-text {
  max-width: 600px;
}

.about-text h2 {
  font-size: 28px;
  color: #e60000;
  font-weight: 700;
}

.about-text h3 {
  font-size: 22px;
  color: #fff;
  margin: 10px 0;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 12px;
}


/* ================= SOCIAL SECTION IN FOOTER ================= */
.footer-social {
  text-align: center;
  margin: 2rem auto 1rem;
}

.footer-social p {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #f8f8f8;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.15);
  border: 2px solid #e60000;
}

.social-icons img:hover {
  transform: scale(1.1);
  opacity: 0.85;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

/* ------------------------------------------------------------------------------------------------------------------------------------------ */
/* ================= PROJECTS SECTION ================= */
.projects-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
  background-color: #000; /* black background */
  color: #fff;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #e60000; /* bold red */
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.year-block {
  margin-bottom: 50px;
}

.project-year {
  font-size: 2rem;
  font-weight: 600;
  color: #ffd700; /* gold */
  margin-bottom: 20px;
  border-bottom: 3px solid #e60000; /* red underline */
  padding-bottom: 6px;
  width: fit-content;
}

/* ========== POSTER GRID ========== */
.poster-grid {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: auto;
}

.poster-grid::-webkit-scrollbar {
  display: none;
}

.poster-grid {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ========== POSTER CARD ========== */
.poster-card {
  background-color: #1b1b1b;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px;
  flex: 0 0 calc(33.333% - 13.33px);
  max-width: calc(33.333% - 13.33px);
  box-sizing: border-box;
}

.poster-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(230, 0, 0, 0.4);
}

.poster-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  margin-bottom: 12px;
}

.poster-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.3px;
}

/* ========== IMDB BUTTON ========== */
.imdb-btn {
  display: block;
  text-align: center;
  margin: 1.5rem auto 0;
  background-color: #FFD700; /* Gold - brand color */
  color: #0A1931; /* Deep navy text */
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  box-shadow: 0 6px 18px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
  max-width: 320px;
}

.imdb-btn:hover {
  background-color: #e6c200; /* Slightly darker gold */
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
}


/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }

  .project-year {
    font-size: 1.6rem;
  }

  .poster-grid {
    gap: 18px;
  }

  .poster-card {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .project-year {
    font-size: 1.4rem;
  }

  .poster-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
  }

  .poster-card {
    padding: 8px;
  }

  .poster-title {
    font-size: 0.9rem;
  }
}


/* === Acting Image Styling === */
.academy-photo {
  text-align: center;
  margin-top: 2rem;
}
.academy-photo img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.2);
}

/* === PDF Download Section === */
.academy-pdfs {
  margin-top: 2rem;
  background-color: #0a0a0a;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(255, 0, 0, 0.05);
}
.academy-pdfs h3 {
  margin-bottom: 1rem;
  color: #fff;
}
.pdf-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.download-btn {
  background-color: #e60000;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
.download-btn:hover {
  background-color: #a80000;
}

/* === Film Academy Section === */
.film-academy-section {
  background-color: #000;
  padding: 3rem 1.5rem;
  text-align: center;
}
.film-academy-section h2 {
  font-size: 2rem;
  color: #e60000;
  margin-bottom: 1rem;
  font-weight: 700;
}
.batch-timings {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 2rem;
}
.course-card {
  background-color: #111;
  margin: 1.5rem auto;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.08);
  max-width: 800px;
  text-align: left;
  color: #fff;
}
.course-card h3 {
  font-size: 1.5rem;
  color: #e60000;
  margin-bottom: 0.5rem;
}
.course-fee {
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 1rem;
}
.course-inclusions {
  list-style: none;
  padding-left: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.course-inclusions li {
  margin-bottom: 0.5rem;
}

/* === Academy Scanner === */
.academy-scanner {
  margin-top: 2rem;
  text-align: center;
  background-color: #111;
  padding: 2rem 1rem;
  border-radius: 12px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.1);
}
.academy-scanner h4 {
  color: #e60000;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}
.academy-scanner img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}
.academy-scanner p {
  font-size: 0.95rem;
  color: #ccc;
}

/* === How to Apply === */
.how-to-apply {
  margin-top: 3rem;
  padding: 2.5rem 1.5rem;
  background-color: #0a0a0a;
  border-radius: 12px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.how-to-apply h2 {
  text-align: center;
  color: #e60000;
  margin-bottom: 1rem;
}
.how-to-apply p {
  text-align: center;
  margin-bottom: 2rem;
  color: #bbb;
  font-size: 1rem;
}
.apply-step {
  margin-bottom: 1.5rem;
}
.apply-step h4 {
  color: #ffd700;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.apply-step ul {
  list-style: none;
  padding-left: 0;
  font-size: 0.95rem;
  color: #eee;
  line-height: 1.6;
}

/* === WhatsApp Button === */
.whatsapp-btn {
  display: inline-block;
  text-align: center;
  margin-top: 1.5rem;
  background-color: #25D366;
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: block;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  transition: background-color 0.3s ease;
}
.whatsapp-btn:hover {
  background-color: #1ebe5d;
}

/* === Contact Form Section === */
.contact-form-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  background-color: #000;
}
.form-container, .contact-details {
  flex: 1 1 400px;
  max-width: 500px;
  background-color: #111;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.1);
  color: #fff;
}
.form-container h1 {
  font-size: 24px;
  margin-bottom: 1rem;
  color: #e60000;
  text-align: center;
}
form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
form label {
  font-weight: 500;
  font-size: 14px;
}
form input,
form textarea {
  padding: 0.6rem;
  font-size: 14px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #222;
  color: #fff;
}
form textarea {
  resize: vertical;
  min-height: 100px;
}
form button {
  margin-top: 1rem;
  padding: 0.7rem;
  background-color: #e60000;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}
form button:hover {
  background-color: #a80000;
}
.contact-details h2 {
  font-size: 20px;
  margin-bottom: 0.8rem;
  color: #ffd700;
}
.contact-details p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

/* === Map Section === */
.map-section {
  font-family: 'Poppins', sans-serif;
  padding: 3rem 1rem;
  background: #000;
  text-align: center;
  animation: fadeInUp 1s ease-in-out;
}
.map-section h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
}
.map-container {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.15);
  transform: scale(0.95);
  transition: transform 0.5s ease;
  opacity: 0;
  animation: fadeInMap 1.2s forwards 0.6s;
}
.map-container:hover {
  transform: scale(1);
}
.map-iframe {
  width: 100%;
  height: 450px;
  border: none;
}
.map-link {
  margin-top: 1.2rem;
  display: inline-block;
  color: #fff;
  background: #e60000;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 5px 20px rgba(255, 0, 0, 0.2);
  transition: background 0.3s ease;
}
.map-link:hover {
  background: #a80000;
}

/* === Animations === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInMap {
  to { opacity: 1; }
}

@media (max-width: 600px) {
  .map-section h2 {
    font-size: 1.6rem;
  }
}
