/* Basic styling */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

.content {
  padding: 20px;
  height: 1500px;
  /* Just for scrolling effect */
}

/* New Sticky Buttons Bar */
.sticky-buttons-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 1000;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
}

.sticky-btn {
  flex: 1;
  padding: 16px 20px;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Phone Button - Yellow/Gold (Mobile Only) */
.phone-btn {
  background-color: #FFB800;
  flex: 0 0 60px;
  border-radius: 0 15px 0 0;
  display: none;
  /* Hidden on desktop */
}

.phone-btn:hover {
  background-color: #E5A600;
}

/* Show phone button only on mobile */
@media (max-width: 768px) {
  .phone-btn {
    display: flex;
  }
}

/* Apply Now Button - Red */
.apply-btn {
  background-color: #D4202D;
}

.apply-btn:hover {
  background-color: #B81C26;
}

/* Download Brochure Button - Blue */
.brochure-btn {
  background-color: #2563EB;
}

.brochure-btn:hover {
  background-color: #1D4ED8;
}

/* Hide old sticky button styles */
.sticky-buttons,
.sticky-buttons-right {
  display: none !important;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .sticky-btn {
    padding: 14px 10px;
    font-size: 13px;
  }

  .phone-btn {
    flex: 0 0 50px;
  }
}

/* Popup styles */
.popup {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.popup-content {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  text-align: left;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.popup h2 {
  margin: 0 0 20px 0;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  color: #aaa;
  cursor: pointer;
}

.close-btn:hover {
  color: #000;
}

/* Popup form styles */
#apply-popup .quform-elements {
  margin-bottom: 15px;
}

#apply-popup .quform-element,
#apply-popup .quform-input {
  margin-bottom: 15px;
}

#apply-popup label {
  display: none !important;
}

/* Tighter form spacing */
.free_sample_form .quform-spacer,
#apply-popup .quform-spacer,
#brochure-popup .quform-spacer {
  padding-bottom: 0 !important;
}

.free_sample_form .quform-element,
#apply-popup .quform-element,
#brochure-popup .quform-element,
.free_sample_form .quform-input,
#apply-popup .quform-input,
#brochure-popup .quform-input {
  margin-bottom: 8px !important;
}

.free_sample_form label,
#apply-popup label,
#brochure-popup label {
  display: none !important;
}

#apply-popup input[type="text"],
#apply-popup input[type="email"],
#apply-popup select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

#apply-popup input[type="text"]:focus,
#apply-popup input[type="email"]:focus,
#apply-popup select:focus {
  outline: none;
  border-color: #D41F2C;
  box-shadow: 0 0 5px rgba(212, 31, 44, 0.3);
}

#apply-popup .send-box button {
  width: 100%;
  padding: 10px;
  background-color: #D41F2C;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

#apply-popup .send-box button:hover {
  background-color: #821723;
}

/* Sticky buttons right (Download Brochure) */
.sticky-buttons-right {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.download-brochure {
  background: linear-gradient(135deg, #d4202d, #ff4444);
  padding: 12px 20px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(212, 32, 45, 0.4);
  animation: gentle-pulse 2s ease-in-out infinite;
}

.download-brochure:hover {
  background: linear-gradient(135deg, #821723, #d4202d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 32, 45, 0.5);
}

@keyframes gentle-pulse {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(212, 32, 45, 0.4);
  }

  50% {
    box-shadow: 0 4px 25px rgba(212, 32, 45, 0.6);
  }
}

/* Phone flash animation */
.phone-flash {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d4202d;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 0;
  animation: phone-flash-animation 1s ease-in-out infinite;
}

.phone-flash svg {
  color: #d4202d;
}

@keyframes phone-flash-animation {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.phone-flash:hover {
  color: #821723;
}

/* Center align form elements: Enquire Now heading, phone number, submit button */
.free_sample_form h3,
.popup-content h2 {
  text-align: center;
}

.free_sample_form .phone-flash,
.popup-content .phone-flash {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.free_sample_form .send-box,
.popup-content .send-box,
.free_sample_form .text-center,
.popup-content .text-center {
  text-align: center;
}

.free_sample_form .send-box ul,
.popup-content .send-box ul {
  display: flex;
  justify-content: center;
}

.free_sample_form .send-box button,
.popup-content .send-box button {
  display: inline-block;
  width: 100%;
  padding: 12px 20px;
  background-color: #D41F2C;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.free_sample_form .send-box button:hover,
.popup-content .send-box button:hover {
  background-color: #821723;
}

/* Brochure popup styles */
#brochure-popup .quform-elements {
  margin-bottom: 15px;
}

#brochure-popup .quform-element,
#brochure-popup .quform-input {
  margin-bottom: 15px;
}

#brochure-popup input[type="text"],
#brochure-popup input[type="email"],
#brochure-popup select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

#brochure-popup input[type="text"]:focus,
#brochure-popup input[type="email"]:focus,
#brochure-popup select:focus {
  outline: none;
  border-color: #D41F2C;
  box-shadow: 0 0 5px rgba(212, 31, 44, 0.3);
}

#brochure-popup .send-box button {
  width: 100%;
  padding: 10px;
  background-color: #D41F2C;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

#brochure-popup .send-box button:hover {
  background-color: #821723;
}

/* Mobile adjustments for sticky buttons */
@media (max-width: 768px) {
  .sticky-buttons-right {
    bottom: 80px;
    right: 10px;
  }

  .download-brochure {
    padding: 10px 15px;
    font-size: 13px;
  }
}

/* Lead the Future section - Multi-column layout fix */
.lead_future_slider {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.lead_future_slider>div {
  flex: 0 0 calc(20% - 15px);
  max-width: calc(20% - 15px);
  min-width: 200px;
}

/* When Slick is initialized, reset the flex behavior */
.lead_future_slider.slick-initialized {
  display: block;
}

.lead_future_slider.slick-initialized>div {
  flex: none;
  max-width: none;
}

/* Responsive for tablets */
@media (max-width: 1024px) {
  .lead_future_slider>div {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
  }
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .lead_future_slider>div {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .lead_future_slider>div {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* NMIMS Online Courses Section */
.section-courses {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.course-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid #36183e;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(54, 24, 62, 0.2);
}

.course-title {
  color: #36183e;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.course-subtitle {
  color: #d4202d;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  min-height: 40px;
}

.course-details {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  flex-grow: 1;
}

.course-details li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #555;
}

.course-details li:last-child {
  border-bottom: none;
}

.course-details strong {
  color: #36183e;
}

.course-btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  margin-top: auto;
  background-color: #D4202D;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.course-btn:hover {
  background-color: #B81C26;
}

/* Responsive for courses grid */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .course-subtitle {
    min-height: auto;
  }

  .section-courses {
    padding: 40px 0;
  }
}