/* Custom CSS for Pharmacy Education King Website */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

:root {
  --navy-blue: #062B63;
  --navy-blue-dark: #041D44;
  --navy-blue-light: #0A3D8F;
  --green-cta: #0E9F4B;
  --green-cta-hover: #0B7E3B;
  --yellow-accent: #FFC107;
  --yellow-accent-hover: #E0A800;
  --white-bg: #FFFFFF;
  --light-gray: #F4F6F9;
  --text-dark: #212529;
  --text-muted: #6C757D;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: var(--white-bg);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Custom Buttons styling */
.btn-green-cta {
  background-color: var(--green-cta);
  color: var(--white-bg);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 5px;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-green-cta:hover {
  background-color: var(--green-cta-hover);
  color: var(--white-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 159, 75, 0.3);
}

.btn-yellow {
  background-color: var(--yellow-accent);
  color: var(--navy-blue);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 5px;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}
.btn-yellow:hover {
  background-color: var(--yellow-accent-hover);
  color: var(--navy-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* Sticky Header styling */
header.main-header {
  background-color: var(--white-bg);
  transition: var(--transition-smooth);
  z-index: 1030;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 2px solid var(--navy-blue);
}
header.main-header.sticky-scrolled {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-stats-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-blue);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-right: 1px solid #DEE2E6;
}
.header-stats-item:last-child {
  border-right: none;
}
.header-stats-item i {
  color: var(--green-cta);
  font-size: 1rem;
}

/* Hero Section */
.hero-section {
  padding: 60px 0;
  background-color: var(--white-bg);
  position: relative;
}
.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  color: var(--navy-blue);
  font-weight: 900;
}
.hero-title span {
  color: #DC3545; /* Crimson/red open badge style */
}
.hero-subheading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 15px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-feature {
  background-color: #E8F8F0;
  color: var(--green-cta);
  border: 1px solid rgba(14, 159, 75, 0.4);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 5px rgba(14, 159, 75, 0.05);
  transition: var(--transition-smooth);
}
.badge-feature:hover {
  background-color: var(--green-cta);
  color: var(--white-bg);
  border-color: var(--green-cta);
  transform: translateY(-1px);
}
.badge-feature i {
  font-size: 0.95rem;
}

/* Hero Image & Badge Wrapper */
.hero-image-wrapper {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}
.hero-image-wrapper img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}
.admission-badge-overlay {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 160px !important;
  height: 130px;
  animation: pulse-badge 2s infinite ease-in-out;
  z-index: 10;
}

@keyframes pulse-badge {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

/* Fee Banner Section */
.fee-banner-section {
  background-color: var(--navy-blue);
  color: var(--white-bg);
  padding: 25px 15px;
  border-radius: 20px;
  border-top: 4px solid var(--yellow-accent);
  border-bottom: 4px solid var(--yellow-accent);
}
.fee-banner-left h3 {
  color: var(--yellow-accent);
  font-weight: 800;
  font-size: 2.2rem;
  margin: 0;
}
.fee-banner-left p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.fee-banner-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.fee-banner-right i {
  font-size: 2.5rem;
  color: var(--yellow-accent);
}
.fee-banner-right h4 {
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0;
}
.fee-banner-right p {
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.9;
}

/* Course Cards Section */
.course-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
  height: 100%;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.course-card-header-green {
  background-color: var(--green-cta);
  color: var(--white-bg);
  padding: 15px;
  text-align: center;
}
.course-card-header-blue {
  background-color: var(--navy-blue);
  color: var(--white-bg);
  padding: 15px;
  text-align: center;
}

.course-card-subhead {
  background-color: var(--light-gray);
  padding: 12px 15px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #C0392B;
}

.course-card-body {
  padding: 24px;
}
.course-card-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}
.course-card-list li {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.course-card-list li i {
  color: var(--green-cta);
  font-size: 1.1rem;
}
.course-card-list-blue li i {
  color: var(--navy-blue);
}

.course-card-badge-svg {
  float: right;
  width: 55px;
  height: 55px;
  margin-left: 15px;
  margin-bottom: 10px;
}

.course-card-img-placeholder {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-top: 1px solid #ECECEC;
}

/* Card 2 Specifics (Defence Card) */
.defence-card {
  border: 3px solid var(--yellow-accent);
}
.defence-card-header {
  background-color: var(--white-bg);
  color: var(--navy-blue);
  padding: 15px;
  text-align: center;
  font-weight: 800;
  font-size: 1.15rem;
  border-bottom: 1px solid #DEE2E6;
}
.defence-card-footer-yellow {
  background-color: var(--yellow-accent);
  color: var(--navy-blue);
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-choose-section {
  background-color: var(--light-gray);
  padding: 80px 0;
}
.why-choose-card {
  background: var(--white-bg);
  border: none;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
  height: 100%;
}
.why-choose-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(6, 43, 99, 0.1);
}
.why-choose-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(6, 43, 99, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition-smooth);
}
.why-choose-card:hover .why-choose-icon-wrapper {
  background-color: var(--navy-blue);
}
.why-choose-icon-wrapper i {
  font-size: 2rem;
  color: var(--navy-blue);
  transition: var(--transition-smooth);
}
.why-choose-card:hover .why-choose-icon-wrapper i {
  color: var(--yellow-accent);
}
.why-choose-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0;
  color: var(--navy-blue);
}

/* CTA Banner Section */
.cta-banner-section {
  background-color: var(--navy-blue);
  color: var(--white-bg);
  padding: 40px 0;
}
.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.cta-banner-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cta-banner-left i {
  font-size: 3.5rem;
  color: var(--yellow-accent);
}
.cta-banner-title h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 5px;
  color: var(--yellow-accent);
}
.cta-banner-title p {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0;
  opacity: 0.95;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--white-bg);
}
.testimonial-card {
  background: var(--white-bg);
  border: 1px solid #ECECEC;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
  height: 100%;
}
.testimonial-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--navy-blue);
}
.testimonial-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
  color: var(--navy-blue);
}
.testimonial-stars {
  color: var(--yellow-accent);
  font-size: 0.9rem;
}
.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  color: #555;
  line-height: 1.6;
}

/* Top Colleges Section */
.top-colleges-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}
.college-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: var(--transition-smooth);
  background-color: var(--white-bg);
  height: 100%;
}
.college-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.college-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.college-card-body {
  padding: 20px;
  text-align: center;
}
.college-card-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy-blue);
  margin-bottom: 5px;
}
.college-card-subtitle {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-cta);
  margin-bottom: 0;
}

/* Final CTA Section */
.final-cta-section {
  background-color: var(--green-cta);
  color: var(--white-bg);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.final-cta-doctors-left, .final-cta-doctors-right {
  position: absolute;
  bottom: -20px;
  height: 180px;
  opacity: 0.25;
}
.final-cta-doctors-left {
  left: 20px;
}
.final-cta-doctors-right {
  right: 20px;
}
.final-cta-content {
  text-align: center;
  position: relative;
  z-index: 5;
}
.final-cta-content h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.final-cta-content p {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 25px;
}

/* Footer Section */
footer.main-footer {
  background-color: #031530;
  color: #A0B3CE;
  padding: 60px 0 20px;
  font-size: 0.9rem;
}
footer.main-footer h4 {
  color: var(--white-bg);
  font-size: 1.15rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 8px;
}
footer.main-footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--yellow-accent);
}
footer.main-footer a {
  color: #A0B3CE;
  text-decoration: none;
  transition: var(--transition-smooth);
}
footer.main-footer a:hover {
  color: var(--yellow-accent);
  padding-left: 5px;
}
.footer-logo-subhead {
  line-height: 1.6;
  margin-top: 15px;
}
.footer-links-list {
  list-style: none;
  padding-left: 0;
}
.footer-links-list li {
  margin-bottom: 12px;
}
.footer-contact-list {
  list-style: none;
  padding-left: 0;
}
.footer-contact-list li {
  margin-bottom: 15px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-contact-list li i {
  color: var(--yellow-accent);
  margin-top: 4px;
}
.footer-social-icons {
  display: flex;
  gap: 12px;
}
.footer-social-icons a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--white-bg);
}
.footer-social-icons a.facebook:hover { background-color: #3b5998; color: white; }
.footer-social-icons a.instagram:hover { background-color: #e1306c; color: white; }
.footer-social-icons a.youtube:hover { background-color: #ff0000; color: white; }
.footer-social-icons a.whatsapp:hover { background-color: #25d366; color: white; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}

/* INQUIRY FORM PAGE SPECIFIC STYLING */
.inquiry-banner {
  background-color: var(--navy-blue);
  color: var(--white-bg);
  padding: 40px 0 90px;
  text-align: left;
}
.inquiry-banner-title h1 {
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--yellow-accent);
}
.inquiry-banner-title p {
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0;
  opacity: 0.95;
}

.inquiry-banner-img {
  max-height: 180px;
  object-fit: contain;
}

/* Trust Badges Bar styling */
.inquiry-card-wrapper {
  margin-top: -60px;
  position: relative;
  z-index: 20;
}
.inquiry-card {
  background-color: var(--white-bg);
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 40px;
}

.trust-badge-col {
  text-align: center;
  border-right: 1px solid #E9ECEF;
  padding: 15px 5px;
}
.trust-badge-col:last-child {
  border-right: none;
}
.trust-badge-col i {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: block;
}
.trust-badge-col.counseling i { color: var(--green-cta); }
.trust-badge-col.support i { color: var(--navy-blue); }
.trust-badge-col.colleges i { color: var(--green-cta); }
.trust-badge-col.secure i { color: var(--navy-blue); }

.trust-badge-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-blue);
  margin-bottom: 2px;
  line-height: 1.2;
}
.trust-badge-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.inquiry-form-title {
  font-weight: 800;
  font-size: 1.35rem;
  text-align: center;
  color: var(--navy-blue);
  letter-spacing: 0.5px;
  margin: 35px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.inquiry-form-title::before, .inquiry-form-title::after {
  content: '';
  height: 2px;
  background-color: #DEE2E6;
  flex-grow: 1;
}

/* Input Fields Overrides */
.form-group-custom {
  margin-bottom: 25px;
}
.form-label-custom {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy-blue);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-label-custom span {
  color: #DC3545;
}
.form-label-custom i {
  font-size: 0.95rem;
}

.form-control-custom {
  height: 52px;
  border-radius: 6px;
  border: 1.5px solid #DCDCDC;
  padding-left: 45px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}
.form-control-custom:focus {
  border-color: var(--navy-blue);
  box-shadow: 0 0 0 4px rgba(6, 43, 99, 0.1);
  color: var(--text-dark);
}

.form-select-custom {
  height: 52px;
  border-radius: 6px;
  border: 1.5px solid #DCDCDC;
  padding-left: 45px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  background-position: right 15px center;
}
.form-select-custom:focus {
  border-color: var(--navy-blue);
  box-shadow: 0 0 0 4px rgba(6, 43, 99, 0.1);
}

.form-input-wrapper {
  position: relative;
}
.form-input-wrapper > i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #8A8A8A;
  font-size: 1rem;
  pointer-events: none;
}

.radio-group-container {
  height: 52px;
  border: 1.5px solid #DCDCDC;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding-left: 45px;
  gap: 20px;
}
.radio-group-container .form-check-input:checked {
  background-color: var(--navy-blue);
  border-color: var(--navy-blue);
}
.radio-group-container .form-check-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.textarea-custom {
  height: 120px !important;
  padding-top: 15px;
  padding-left: 45px;
}

/* Submit Inquiry Button Custom */
.btn-submit-inquiry {
  background-color: var(--green-cta);
  color: var(--white-bg);
  border: none;
  border-radius: 8px;
  padding: 15px 30px;
  width: 100%;
  font-weight: 700;
  font-size: 1.3rem;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  margin-top: 15px;
}
.btn-submit-inquiry:hover {
  background-color: var(--green-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(14, 159, 75, 0.3);
}
.btn-submit-inquiry-subtext {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
  display: block;
  margin-top: 4px;
  text-transform: none;
}

.privacy-notice {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Floating WhatsApp Button */
.whatsapp-floating {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: var(--transition-smooth);
  cursor: pointer;
}
.whatsapp-floating:hover {
  transform: scale(1.1) rotate(10deg);
  background-color: #20BA5A;
  color: white;
}

/* Validation styling override */
.is-invalid + i {
  color: #DC3545 !important;
}
.invalid-feedback {
  font-size: 0.8rem;
  font-weight: 600;
}

/* Custom Success Modal styling */
.success-modal .modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.success-modal-header {
  background-color: var(--green-cta);
  color: var(--white-bg);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  padding: 30px;
  text-align: center;
}
.success-modal-header i {
  font-size: 4rem;
  margin-bottom: 15px;
}
.success-modal-header h3 {
  font-weight: 800;
  margin: 0;
}
.success-modal-body {
  padding: 35px;
  text-align: center;
}
.success-modal-body p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 25px;
}

/* Mobile responsive slider behavior for cards */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .inquiry-banner-title h1 {
    font-size: 2rem;
  }
  
  .trust-badge-col {
    border-right: none;
    border-bottom: 1px solid #E9ECEF;
  }
  .trust-badge-col:last-child {
    border-bottom: none;
  }
  .inquiry-card {
    padding: 20px;
  }
  .header-stats-bar {
    display: none !important;
  }
  
  /* Mobile slider/carousel styling for testimonials & colleges */
  .mobile-slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 15px;
    padding-bottom: 15px;
  }
  .mobile-slider-item {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
}
