/* Hero Section Wrapper */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url('https://i.pinimg.com/1200x/15/09/96/150996d5036e9230edc3fc48decaecd4.jpg') no-repeat center center/cover;
  padding: 100px 0;
}

/* Color Palette Adjustments */
.text-accent {
  color: #D32F2F;
  /* Matches the Red text in the image */
}

/* Form Styling */
.lead-form {
  background-color: #D32F2F;
  /* The Red background for the form box */
  border-radius: 10px;
}

.lead-form .form-control {
  border: none;
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 0.95rem;
}

/* Button Styling */
.lead-form .btn-dark {
  background-color: #000;
  border: none;
  transition: all 0.3s ease;
}

.lead-form .btn-dark:hover {
  background-color: #4A90E2;
  /* Subtle blue hover effect */
  transform: translateY(-2px);
}

/* About Section Background */
.about-section {
  background-color: #f8fafc;
  /* Subtle off-white */
}

/* The Highlight Card */
.placement-card {
  background: #fff;
  border-radius: 15px;
  max-width: 400px;
  position: relative;
  overflow: hidden;
  border: none;
}

/* The Gradient Top Border Effect */
.placement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #d32f2f 0%, #ff9800 100%);
}

/* Badge Styling */
.placement-badge {
  background-color: #fff1f1;
  color: #d32f2f;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 16px;
  border: 1px solid #ffcdd2;
}

/* Typography Tweak */
.about-section p {
  font-size: 1.05rem;
  text-align: justify;
}

.reasons-section {
  background-color: #f8faff;
  /* Very light blue tint from the image */
}

.section-title {
  color: #e31e24;
  /* RVCE Red */
}

.reason-card {
  border-radius: 12px;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
}

.reason-card:hover {
  transform: translateY(-5px);
}

.reason-number {
  font-size: 2rem;
  font-weight: 800;
  color: #e31e24;
  margin-bottom: 1rem;
  display: block;
}

.reason-card .card-text {
  color: #333;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Optional: Ensure card content is always centered */
.reason-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
}

/* Ensure you include Bootstrap Icons CDN in your <head> */
/* <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css"> */

.branch-card {
  border-radius: 12px;
  transition: all 0.3s ease;
  min-height: 160px;
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.icon-box {
  width: 50px;
  height: 50px;
  background-color: #f1f5f9;
  /* Soft grey/blue background */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box i {
  font-size: 1.4rem;
  color: #455a64;
  /* Icon color */
}

.branch-card p {
  line-height: 1.3;
  font-size: 0.85rem;
}

.accreditation-section {
  border-top: 1px solid #eee;
}

.accreditation-item img {
  transition: transform 0.3s ease;
  filter: grayscale(20%);
  /* Optional: gives a clean professional look until hover */
}

.accreditation-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.accreditation-item p {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* Subtle hover effect to match high-end feel */
.transition-hover:hover {
  transform: translateY(-8px);
  border-top-color: #00D4FF !important;
  /* Secondary hover accent */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Criteria Section - Red Theme */
.criteria-section {
  background-color: #fff5f5;
}

.section-title-red {
  color: #e31e24;
  letter-spacing: 1px;
}

.text-primary-red {
  color: #e31e24;
}

.criteria-text {
  color: #64748b;
  line-height: 1.8;
  font-size: 1.05rem;
}

.criteria-text strong {
  color: #1e293b;
}

.criteria-card {
  background-color: #fff;
  border-radius: 16px;
  border: 1px solid #fecaca;
}

.criteria-card h4 {
  color: #1e293b;
}

.badge-red {
  background-color: #e31e24;
  border-radius: 50px;
  font-weight: 500;
}

/* Stats Section - White Background with Red Theme */
.stats-section {
  background-color: #ffffff;
}

.stat-card {
  background-color: #ffffff;
  border-radius: 12px;
  border-top: 4px solid #e31e24;
  border: 1px solid #f3f4f6;
  transition: transform 0.3s ease;
}

.stat-value {
  color: #e31e24;
  font-size: 1.6rem;
}

.stat-label {
  color: #64748b;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.campus-card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12) !important;
}

.img-wrapper {
  height: 200px;
  /* Fixed height for uniformity */
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures images fill the box without stretching */
  transition: transform 0.5s ease;
}

.campus-card:hover img {
  transform: scale(1.1);
}

/* Matching the font look */
.campus-life h2 {
  letter-spacing: 0.5px;
  font-size: 1.75rem;
}

/* Disclaimer Section */
.disclaimer-section {
  background-color: #ffffff;
}

.disclaimer-box {
  background-color: #fff9e6;
  border-left: 5px solid #ff6b35;
  border-radius: 8px;
  padding: 20px 25px;
  margin: 0 auto;
  max-width: 800px;
}

.disclaimer-title {
  color: #ff6b35;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.disclaimer-text {
  color: #333;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Styling for the Black Footer */
.bg-black {
  background-color: #000 !important;
}

.text-info {
  color: #4A90E2 !important;
  /* Matches your primary blue */
}

footer p {
  line-height: 1.6;
  opacity: 0.9;
}

/* Floating button hover effect */
.btn-info:hover {
  background-color: #00D4FF;
  transform: translateY(-3px);
  transition: all 0.3s ease;
}


.recruiter-logo {
  transition: transform 0.3s ease;
}

.recruiter-logo:hover {
  transform: scale(1.1);
}

/* Styling the Swiper dots to match your #4A90E2 Blue */
.swiper-pagination-bullet-active {
  background: #4A90E2 !important;
}

.swiper-pagination-bullet {
  background: #94A3B8;
}

/* Responsive Design - Global */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  h3 {
    font-size: 1.25rem !important;
  }

  .hero-section {
    padding: 80px 0;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
    min-height: auto;
  }

  .lead-form {
    margin-top: 2rem;
  }

  .placement-card,
  .reason-card,
  .branch-card,
  .stat-card,
  .campus-card {
    margin-bottom: 1.5rem;
  }

  .criteria-card {
    margin-bottom: 1rem;
  }

  footer .row {
    text-align: center !important;
  }

  footer .col-lg-4 {
    text-align: center !important;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 40px 0;
  }

  h1 {
    font-size: 1.75rem !important;
  }

  h2 {
    font-size: 1.25rem !important;
  }

  .lead-form .form-control {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .container {
    padding: 0 15px;
  }

  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .mb-5 {
    margin-bottom: 2rem !important;
  }

  footer {
    padding: 2rem 0 1rem !important;
  }

  footer p {
    font-size: 0.8rem;
  }
}

/* Mobile First - Touch Friendly */
@media (hover: none) and (pointer: coarse) {

  .recruiter-logo:hover,
  .campus-card:hover,
  .branch-card:hover,
  .reason-card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .recruiter-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}