/* Additional Logo Sizing for Honeyberry Branding */

/* Override Theme Colors to match Logo (Blue & Yellow) */
:root {
  /* Logo Blue - Primary (Deep Blue) */
  --vs-theme-color1: #003d7a;
  --vs-theme-color1-rgb: 0, 61, 122;

  /* Logo Yellow - Secondary (Replacing Cyan) */
  --vs-theme-color2: #ffd700;
  --vs-theme-color2-rgb: 255, 215, 0;

  /* Logo Yellow */
  --vs-theme-color3: #ffd700;

  /* Logo Yellow (Replacing Cyan) */
  --vs-theme-color4: #ffd700;

  /* Logo Yellow */
  --vs-theme-color5: #ffd700;
}

/* Header Logo Size - Height based for horizontal logo */
.vs-header__logo img {
  max-height: 50px !important;
  width: auto !important;
  max-width: none !important; /* Allow width to scale */
}

/* Preloader logo */
.preloader-inner img {
  max-height: 80px !important;
  width: auto !important;
  max-width: 100% !important;
}

/* Sidemenu logo */
.sidemenu-logo img,
.cart-sidebar-content .sidemenu-logo img {
  max-height: 50px !important;
  width: auto !important;
}

/* Footer & Preloader logo */
.vs-footer__logo img,
.footer-logo img,
.preloader-inner img {
  /* Reverted to simple sizing as requested */
  max-height: 60px !important;
  width: auto !important;
}

/* Specific size override for preloader */
.preloader-inner img {
  max-height: 80px !important;
}

/* Cart sidebar logo */
.cart-animation-item img.logo {
  max-height: 40px;
  width: auto;
}

/* Fix for Preschool Class Images */
.vs-grade__img {
  width: 100%;
  height: 250px; /* Set a fixed height */
  object-fit: cover; /* Ensure image covers area without distortion */
}

/* Hero Background Overlay & Visibility Fix */
.vs-hero .vs-hero__bg,
.vs-hero--style2 .vs-hero__bg,
.vs-hero--style3 .vs-hero__bg {
  position: absolute !important;
  inset: 0 !important;
  height: 100% !important;
  width: 100% !important;
  z-index: 1 !important; /* Move to 1 to be above any slide background */
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  display: block !important;
}

/* Add the branded blue overlay as a pseudo-element NOT on the bg div itself if possible, 
   but since JS might mess with it, let's keep it here but ensure it's translucent */
.vs-hero .vs-hero__bg::after,
.vs-hero--style2 .vs-hero__bg::after,
.vs-hero--style3 .vs-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 61, 122, 0.4); /* Brand Blue @ 40% opacity */
  z-index: 2; /* Still above the image */
}

/* Ensure content stays on top of EVERTHING */
.vs-hero__content,
.vs-hero .container,
.vs-hero--style2 .container,
.vs-hero--style3 .container {
  position: relative !important;
  z-index: 10 !important;
}

/* Lighten hero text for readability */
.vs-hero__title--main,
.vs-hero__desc,
.vs-hero--style2 .vs-hero__title--main,
.vs-hero--style2 .vs-hero__desc {
  color: #ffffff !important;
}

.vs-hero__title--sub,
.vs-hero--style2 .vs-hero__title--sub {
  color: #ffd700 !important; /* Branded Yellow */
}

/* If the image itself is too bright, this helps */
/* Breadcrumb Hero Background Overlay */
.breadcrumb-wrapper__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 61, 122, 0.5); /* Brand Blue with 50% opacity */
  z-index: 1;
}

.breadcrumb-wrapper__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breadcrumb-wrapper .container {
  position: relative;
  z-index: 2;
}


/* School Facilities Section Images */
.vs-about--image__figure1 img,
.vs-about--image__figure2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.vs-about--image__figure1 img:hover,
.vs-about--image__figure2 img:hover {
  transform: scale(1.02);
}

.vs-about--image__figure1 {
  width: 198px;
  height: 214px;
  z-index: 5;
}

.vs-about--image__figure2 {
  width: 400px;
  height: 461px;
}

/* Grade Programs Section Background */
.grade-section-bg {
  background-color: var(--vs-theme-color1) !important;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(255, 215, 0, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 215, 0, 0.05) 0%,
      transparent 50%
    ) !important;
  position: relative;
  overflow: hidden;
}

.grade-section-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.62 9.45c.42-.42.42-1.1 0-1.52l-4.1-4.1a1.08 1.08 0 0 0-1.52 0l-4.1 4.1a1.08 1.08 0 0 0 0 1.52l4.1 4.1c.42.42 1.1.42 1.52 0l4.1-4.1zM9.45 54.62c-.42.42-1.1.42-1.52 0l-4.1-4.1a1.08 1.08 0 0 1 0-1.52l4.1-4.1a1.08 1.08 0 0 1 1.52 0l4.1 4.1c.42.42.42 1.1 0 1.52l-4.1 4.1z' fill='%23ffd700' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

/* Replace Ash Placeholders with Brand Colors */
.vs-pro--ele1,
.vs-pro--ele2,
.vs-pro--ele3 {
  background-image: none !important;
  display: block;
}

.vs-pro--ele1 {
  width: 140px;
  height: 140px;
  background-color: var(--vs-theme-color2);
  border-radius: 50%;
  opacity: 0.1 !important;
  filter: blur(20px);
}

.vs-pro--ele2 {
  width: 71px;
  height: 71px;
  background-color: var(--vs-theme-color1);
  border-radius: 50%;
  opacity: 0.1 !important;
  filter: blur(10px);
}

.vs-pro--ele3 {
  width: 316px;
  height: 283px;
  background-color: var(--vs-theme-color2);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  opacity: 0.05 !important;
  filter: blur(30px);
}

/* Class Programs Section - Ash Placeholder Fallback */
.vs-grade__figure {
  background-color: #f5f5f5; /* Light grey base */
  position: relative;
  overflow: hidden;
  min-height: 280px; /* Increased height to prevent cutoff */
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-grade__figure a {
  display: block;
  min-height: 280px;
  width: 100%;
}

/* Style for cards without images (empty links or with grade-h2- placeholders) */
.vs-grade__figure:has(a:empty),
.vs-grade__figure:has(img[src*="grade-h2-"]) {
  background: linear-gradient(135deg, var(--vs-theme-color1) 0%, #002b55 100%);
}

.vs-grade__figure:has(img[src*="grade-h2-"]) img {
  opacity: 0; /* Hide the ash placeholder */
}

/* Add text for empty cards */
.vs-grade__figure:has(a:empty)::after,
.vs-grade__figure:has(img[src*="grade-h2-"])::after {
  content: "HBIS Class";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--vs-theme-color2);
  font-family: var(--vs-title-font);
  font-weight: 900;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 1;
}

/* Ensure the grade card itself doesn't cut off */
.vs-grade {
  overflow: visible !important;
}

/* Fix swiper container to prevent cutoff */
.vs-grade--area .swiper-wrapper {
  overflow: visible !important;
  padding-top: 0px !important;
  padding-bottom: 30px !important;
}

.vs-grade--area .swiper,
.vs-grade--area .vs-carousel {
  overflow: visible !important;
}

/* Adjust section padding to accommodate visible overflow */
.vs-grade--area {
  padding-top: 100px !important;
  padding-bottom: 60px !important;
  position: relative;
  z-index: 5;
}

/* Fix Team Member Images - Compact & Fit */
.vs-team__img img {
  width: 100%;
  height: 260px !important; /* Reduced for compact look */
  object-fit: cover !important;
  object-position: center top !important; /* Better for portraits */
  transition: all 0.4s ease;
}

.vs-team:hover .vs-team__img img {
  transform: scale(1.05);
}

.vs-team {
  background: #ffffff;
  border-radius: 12px; /* Slightly tighter radius */
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); /* Softer shadow */
  transition: all 0.3s ease;
  margin-bottom: 30px;
  position: relative;
  width: 100%;
}

.vs-team:hover {
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

/* Ensure proper grid layout for team section */
.vs-team.vs-team--style2 {
  display: block;
  height: auto;
}

.vs-team__content {
  position: relative;
  z-index: 2;
}

/* Fix for team section columns */
.vs-team.vs-team--style2 .vs-team__img,
.vs-team.vs-team--style2 .vs-team__content {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
}

/* Ensure columns don't overlap */
.row.justify-content-center > [class*="col-"] {
  position: relative;
  float: none;
}

/* ==========================================================================
   Admission Portal & Registration Styling
   ========================================================================== */

.admission-portal-wrapper {
  background-color: #f8fafc;
  min-height: 80vh;
  padding-bottom: 100px;
}

.voucher-card {
  max-width: 550px;
  margin: 40px auto;
  padding: 50px 40px;
  border-radius: 4px; /* Classic sharp school/enterprise look */
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  background: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.voucher-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--vs-theme-color1);
}

.voucher-input {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  text-align: center;
  border: 1px solid #d1d5db;
  padding: 18px;
  border-radius: 4px;
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--vs-theme-color1);
  transition: all 0.3s ease;
  background-color: #f9fafb;
}

.voucher-input:focus {
  border-color: var(--vs-theme-color1);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 61, 122, 0.1);
  outline: none;
}

/* Admission Form Premium Styling */
.admission-form-container {
  background: #ffffff;
  padding: 50px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  margin-top: 0;
  position: relative;
  z-index: 10;
}

.form-section-header {
  margin-bottom: 30px;
  padding-top: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-section-header i {
  color: var(--vs-theme-color1);
  font-size: 1.25rem;
}

.form-section-header h4 {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  color: #1e293b;
}

.admission-input-group {
  margin-bottom: 20px;
}

.admission-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admission-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #1e293b;
  transition: all 0.2s ease;
  background: #fff;
}

.admission-input:focus {
  border-color: var(--vs-theme-color1);
  box-shadow: 0 0 0 3px rgba(0, 61, 122, 0.08);
  outline: none;
}

/* Custom File Input Styles */
.admission-file-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.admission-file-wrapper input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.admission-file-display {
  border: 2px dashed #cbd5e1;
  padding: 25px;
  border-radius: 4px;
  text-align: center;
  background: #f8fafc;
  transition: all 0.3s ease;
}

.admission-file-wrapper:hover .admission-file-display {
  border-color: var(--vs-theme-color1);
  background: #f1f5f9;
}

.admission-file-display i {
  font-size: 1.5rem;
  color: var(--vs-theme-color1);
  margin-bottom: 10px;
  display: block;
}

/* Admission Hero / Breadcrumb Header */
.admission-header-section {
  background: linear-gradient(rgba(0, 61, 122, 0.85), rgba(0, 61, 122, 0.85)),
    url("../img/bg/admission-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 120px 0 160px;
  text-align: center;
}

.admission-header-section h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.admission-header-section p {
  color: var(--vs-theme-color2);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ==========================================================================
   Our Core Values - Modern White Card Design
   ========================================================================== */
.core-values-design {
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 30px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  margin-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.core-values-design::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  transition: all 0.5s ease;
}

/* Color Accents */
.cv-blue::before {
  background: #003d7a;
}
.cv-green::before {
  background: #4f830e;
}
.cv-cyan::before {
  background: #00b8d4;
}
.cv-yellow::before {
  background: #ffd700;
}
.cv-purple::before {
  background: #a855f7;
}
.cv-red::before {
  background: #ef4444;
}

.core-values-design:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.core-values-design:hover::before {
  height: 12px;
}

.cv-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #003d7a;
  margin-bottom: 18px;
  font-family: var(--vs-title-font);
}

.cv-text {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 0;
}

/* ==========================================================================
   Guide Section (What We Provide)
   ========================================================================== */
.guide-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.guide-subtitle {
  font-family: var(--vs-special-font);
  color: #64748b;
  font-size: 1.5rem;
  display: block;
  margin-bottom: 5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.guide-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--vs-theme-color1);
  margin-bottom: 25px;
  text-align: center;
  font-family: var(--vs-title-font);
}

.guide-intro-text {
  max-width: 800px;
  margin: 0 auto 80px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #64748b;
  font-weight: 500;
}

.guide-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.guide-column {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 30%;
}

.guide-item {
  display: flex;
  align-items: center;
  gap: 25px;
}

.guide-item-left {
  text-align: right;
}

.guide-item-right {
  text-align: left;
  flex-direction: row-reverse; /* Put icon on left for right column */
}

.guide-icon-box {
  width: 90px;
  height: 90px;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 30px;
  position: relative;
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Organic Blob Shape */
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

/* Decorative "Echo" Shape behind the icon */
.guide-icon-box::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: inherit;
  background: inherit;
  opacity: 0.2;
  z-index: -1;
  transition: all 0.5s ease;
  transform: rotate(-15deg);
}

.guide-item:hover .guide-icon-box {
  transform: scale(1.1) rotate(5deg);
  border-radius: 40% 60% 70% 30% / 30% 70% 40% 60%; /* Morphing shape */
}

.guide-item:hover .guide-icon-box::before {
  transform: rotate(15deg) scale(1.2);
  opacity: 0.1;
}

/* Specific Logo Colors for Icons */
/* Softer Branded Colors */
.gi-blue {
  background: linear-gradient(135deg, #003d7a 0%, #0056ac 100%);
}
.gi-green {
  background: linear-gradient(135deg, #4f830e 0%, #6da324 100%);
}
.gi-cyan {
  background: linear-gradient(135deg, #00b8d4 0%, #00e5ff 100%);
}
.gi-yellow {
  background: linear-gradient(135deg, #ffd600 0%, #ffeb3b 100%);
}

.guide-item:hover .guide-icon-box {
  transform: scale(1.1) rotate(10deg);
}

.guide-content h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 10px;
}

.guide-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 0;
}

.guide-center {
  width: 40%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-center::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border: 2px dashed rgba(0, 61, 122, 0.1);
  border-radius: 50%;
  z-index: 0;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.guide-main-img {
  width: 450px;
  height: 450px;
  object-fit: cover;
  border-radius: 50%;
  border: 10px solid #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 2;
  display: block;
  transition: all 0.5s ease;
}

.guide-main-img:hover {
  transform: scale(1.02);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
}

.result-overlay {
  position: absolute;
  background-color: #702082;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  z-index: 3;
  padding: 20px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(112, 32, 130, 0.4);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Professional centering */
  border: 8px solid rgba(255, 255, 255, 0.2);
}

.result-overlay h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
}

.result-overlay span {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}

/* Responsive */
@media (max-width: 1199px) {
  .guide-wrapper {
    flex-direction: column;
    gap: 50px;
  }
  .guide-column {
    width: 100%;
    gap: 40px;
  }
  .guide-item-left {
    text-align: center;
    flex-direction: column-reverse;
  }
  .guide-item-right {
    text-align: center;
    flex-direction: column-reverse;
  }
  .guide-item {
    justify-content: center;
  }
}

/* Feature Section Refinements - Slim & Neat */
.vs-feature.style2 {
  height: 100%;
  padding: 20px 25px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  border: 1px solid #edf2f7 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.vs-feature.style2:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

.vs-feature.style2::before {
  display: none !important;
}

.vs-feature__icon {
  background: #f8fafc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  min-width: 60px;
  padding: 0;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.vs-feature__icon i.fa-icon-v2 {
  font-size: 24px;
  color: var(--vs-theme-color2);
  transition: all 0.3s ease;
}

.vs-feature.style2:hover .fa-icon-v2 {
  color: var(--vs-theme-color1);
}

.vs-feature__title {
  font-size: 1.2rem !important;
  margin-bottom: 8px !important;
  font-weight: 700 !important;
  /* Removed !important color so it can be overridden */
  color: var(--vs-title-color);
}

.vs-feature__text {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  margin-bottom: 0 !important;
  /* Removed !important color so it can be overridden */
  color: #64748b;
}

/* Fix text color for colored feature cards (like Self-assessment) */
.vs-feature:not(.style2) .vs-feature__title,
.vs-feature:not(.style2) .vs-feature__text {
  color: #ffffff !important;
}

/* Fix for Feature Cards on Homepage (Colored Cards) */
/* Override the general icon box style that was meant for style2 */
.vs-feature:not(.style2) .vs-feature__icon {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-radius: 50% !important; /* Circle looks better on colored cards */
  width: 60px !important;
  height: 60px !important;
  margin: 0 auto 15px auto !important;
  border: none !important; /* Removed border for smoother look */
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Ensure the icon is white and properly sized */
.vs-feature:not(.style2) .vs-feature__icon i {
  color: #ffffff !important;
  font-size: 24px !important;
  display: inline-block;
  line-height: 1;
}

/* Hover effect for the icon box */
.vs-feature:not(.style2):hover .vs-feature__icon {
  background-color: #ffffff !important;
  transform: scale(1.1);
}

/* Change icon color on hover to match the card or theme */
.vs-feature:not(.style2):hover .vs-feature__icon i {
  color: var(--vs-theme-color1) !important; /* Blue on hover */
}

/* Specific hover colors based on card background if possible, 
   but simplistic approach is blue or the card's text color */
.vs-feature.bg-color4:hover .vs-feature__icon i {
  color: #4f830e !important; /* Green */
}

.vs-feature.bg-color1:hover .vs-feature__icon i {
  color: #003d7a !important; /* Navy */
}

.vs-feature.bg-color2:hover .vs-feature__icon i {
  color: #00b8d4 !important; /* Cyan */
}

/* Registration Tabs - Professional Look */
.registration-tabs {
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 30px !important;
  display: flex;
  flex-wrap: nowrap;
}

.custom-tab-btn {
  background: transparent !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  color: #64748b !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  padding: 15px 10px !important;
  border-radius: 0 !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.custom-tab-btn:hover {
  color: var(--vs-theme-color1) !important;
  background-color: #f8fafc !important;
}

.custom-tab-btn.active {
  color: var(--vs-theme-color1) !important;
  border-bottom-color: var(--vs-theme-color1) !important;
  background: transparent !important;
}

/* Step Number Styling */
.custom-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: rgba(0, 61, 122, 0.1);
  color: var(--vs-theme-color1);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 50%;
  margin-right: 12px;
  font-family: var(--vs-title-font);
}
/* ==========================================================================
   Blog & Latest News Image Styling
   ========================================================================== */

/* Main Blog Page List */
.vs-blog .vs-blog__img--figure {
  height: 400px; /* Fixed height for large blog posts */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  background-color: #f8fafc;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.vs-blog .vs-blog__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1) !important; /* Reset original scale override */
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.vs-blog:hover .vs-blog__img {
  transform: scale(1.08) !important; /* Zoom in on hover */
}

/* Home Page News Slider (vs-blog--style2) */
.vs-blog--style2 .vs-blog__img {
  height: 250px !important;
  border-radius: 15px !important;
  margin-bottom: 0;
}

.vs-blog--style2 .vs-blog__img img {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
}

/* Featured / Recent Posts in Sidebar */
.recent-post .media-img {
  width: 100px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
}

.recent-post .media-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Event Page Image Consistency */
.vs-event__figure {
  height: 350px !important;
  min-width: 350px !important;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.vs-event__figure--img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1) !important;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.vs-event:hover .vs-event__figure--img {
  transform: scale(1.08) !important;
}

/* Speaker image in event footer */
.vs-event__user--figure {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 2px solid var(--vs-theme-color2) !important;
}

.vs-event__user--img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Blog Details Page Image Consistency */
.vs-blog--single .vs-blog__img--figure {
  height: auto !important; /* Allow detail image to be taller but with limits */
  max-height: 600px !important;
}

/* Sidebar Recent Posts */
.recent-post {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-bottom: 20px !important;
}

.recent-post .media-img {
  width: 90px !important;
  height: 70px !important;
  min-width: 90px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.recent-post .media-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.recent-post .media-body {
  flex: 1;
}

.recent-post .post-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 5px !important;
  line-height: 1.4 !important;
}

.recent-post .post-date {
  font-size: 13px !important;
  color: #8b919c;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
  .vs-blog .vs-blog__img--figure {
    height: 250px;
  }
  .vs-event__figure {
    min-width: 100% !important;
    height: 220px !important;
  }
  .vs-blog--single .vs-blog__img--figure {
    max-height: 350px !important;
  }
}

/* ==========================================================================
   Grade Card Bullet List Styling (Play Group Card)
   ========================================================================== */
.vs-grade__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.vs-grade__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #64748b;
  font-weight: 500;
}

.vs-grade__list li:last-child {
  margin-bottom: 0;
}

.vs-grade__list li i {
  color: #ff8c42;
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}
/* ==========================================================================
   Checkout Page Styling
   ========================================================================== */

.checkout-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0,0,0,0.03);
  margin-bottom: 30px;
}

.checkout-card h3, .checkout-card h4 {
  font-family: var(--vs-title-font);
  color: var(--vs-theme-color1);
  font-weight: 800;
  margin-bottom: 25px;
  font-size: 1.75rem;
  border-bottom: 2px solid rgba(0, 61, 122, 0.05);
  padding-bottom: 15px;
}

.checkout-form-group {
  margin-bottom: 25px;
}

.checkout-form-group label {
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 8px;
  display: block;
  font-size: 0.95rem;
}

.checkout-form-control {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 15px 20px;
  height: 55px;
  font-size: 1rem;
  color: #1f2937;
  transition: all 0.3s ease;
  background-color: #f9fafb;
  width: 100%;
}

.checkout-form-control:focus {
  border-color: var(--vs-theme-color1);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 61, 122, 0.1);
  outline: none;
}

.checkout-form-control::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* Order Summary Table Style */
.checkout-order-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.checkout-order-table th {
  font-weight: 700;
  color: var(--vs-theme-color1);
  padding: 10px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.checkout-order-table td {
  background: #f8fafc;
  padding: 20px;
  font-weight: 600;
  color: #334155;
}

.checkout-order-table tr td:first-child {
  border-radius: 12px 0 0 12px;
}

.checkout-order-table tr td:last-child {
  border-radius: 0 12px 12px 0;
  text-align: right;
  color: var(--vs-theme-color1);
}

.checkout-payment-methods {
  background: #f0f9ff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(0, 61, 122, 0.1);
  margin-top: 20px;
}

.checkout-payment-methods label {
  font-weight: 700;
  color: var(--vs-theme-color1);
  font-size: 1.1rem;
  margin-left: 10px;
}

.place-order-btn {
  width: 100%;
  padding: 18px;
  border-radius: 50px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(0, 61, 122, 0.2);
  transition: all 0.3s ease;
  margin-top: 20px;
}

.place-order-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 61, 122, 0.3);
}

/* ==========================================================================
   Order Receipt Styling - Sleek & Formal
   ========================================================================== */

.receipt-card {
  max-width: 750px;
  margin: 60px auto;
  background: #ffffff;
  padding: 60px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* Minimal shadow */
  border: 1px solid #e2e8f0; /* Subtle border */
  position: relative;
}

/* Remove the colorful top bar for a cleaner look */
.receipt-card::before {
  display: none; 
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
  border-bottom: 2px solid #0f172a; /* Strong divider */
  padding-bottom: 20px;
}

.receipt-header-left {
  text-align: left;
}

.receipt-header-right {
  text-align: right;
}

.receipt-logo {
  max-height: 60px;
  margin-bottom: 15px;
}

.receipt-title {
    font-family: var(--vs-title-font);
    color: #0f172a;
    font-weight: 900;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 0;
    line-height: 1;
}

.receipt-subtitle {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.receipt-status-pill {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid #0f172a;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

.receipt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.receipt-col-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: block;
}

.receipt-info-group {
  margin-bottom: 15px;
}

.receipt-label {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 2px;
  display: block;
}

.receipt-value {
  font-size: 1rem;
  color: #0f172a;
  font-weight: 600;
}

/* Table - Minimalist Horizontal Lines */
.receipt-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.receipt-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 15px 0;
  border-bottom: 1px solid #e2e8f0;
}

.receipt-table td {
  padding: 20px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 500;
}

.receipt-table td.text-center { text-align: center; }
.receipt-table td.text-end { text-align: right; }
.receipt-table th.text-center { text-align: center; }
.receipt-table th.text-end { text-align: right; }

.receipt-table tfoot th {
  padding-top: 20px;
  border-bottom: none;
  font-size: 1rem;
  color: #0f172a;
  font-weight: 800;
}

.receipt-table tfoot .total-row th {
  border-top: 2px solid #0f172a;
  font-size: 1.25rem;
  padding-top: 25px;
}

.receipt-actions {
  text-align: right;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px dashed #e2e8f0;
}

.print-btn {
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.print-btn:hover {
  background: #334155;
}

.home-link {
  color: #64748b;
  font-weight: 600;
  font-size: 0.9rem;
  margin-right: 20px;
  text-decoration: none;
}

.home-link:hover {
  color: #0f172a;
}

@media print {
  body * { visibility: hidden; }
  .receipt-card, .receipt-card * { visibility: visible; }
  .receipt-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border: none;
  }
  .receipt-actions, .no-print { display: none !important; }
}

/* ==========================================================================
   Mobile Responsiveness Tweaks
   ========================================================================== */

/* Tablet & Mobile (Below 992px) */
@media (max-width: 991px) {
  .guide-wrapper {
    flex-direction: column;
    gap: 50px;
    align-items: center;
  }

  .guide-column, 
  .guide-center {
    width: 100%;
    order: 2; /* Put columns below image */
  }

  /* Keep image on top or middle? Let's put image first for visual impact, or middle */
  .guide-center {
    order: 1;
    margin-bottom: 30px;
  }

  /* Reset alignment for stacked view */
  .guide-item-left,
  .guide-item-right {
    text-align: left;
    flex-direction: row; /* Align icons left usually looks better stacked */
  }
  
  .guide-item-right {
    flex-direction: row; /* Reset flip for right side */
  }

  /* Adjust hero main text */
  .vs-hero__title--main,
  .admission-header-section h1 {
    font-size: 2.5rem !important;
  }
  
  .guide-title {
    font-size: 2.5rem;
  }
  
  .admission-form-container {
    padding: 30px;
  }
}

/* Mobile (Below 768px) */
@media (max-width: 767px) {
  /* Generic Container Padding */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Guide Section Circles & Images */
  .guide-center::after {
    width: 300px;
    height: 300px;
  }

  .guide-main-img {
    width: 280px;
    height: 280px;
    border-width: 5px;
  }

  /* Hero Typography */
  .vs-hero__title--main {
    font-size: 2rem !important;
    line-height: 1.2;
  }
  
  .vs-hero__desc {
    font-size: 1rem !important; 
  }

  /* Titles */
  .vs-title__main {
    font-size: 28px !important;
  }
  
  .section-title h2 {
    font-size: 24px;
  }

  /* Admission Form */
  .admission-form-container {
    padding: 20px;
  }
  
  .voucher-card {
    padding: 30px 20px;
    margin: 20px auto;
  }
  
  .voucher-input {
    font-size: 1.2rem;
    padding: 12px;
  }

  /* Receipt Mobile */
  .receipt-card {
    padding: 20px;
  }
  
  .receipt-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .receipt-header h1 {
    font-size: 1.5rem;
  }
  
  /* Breadcrumbs */
  .breadcrumb-wrapper__title {
    font-size: 2.5rem;
  }
  
  /* Core Values */
  .core-values-design {
    padding: 30px 20px;
  }
  
  /* Facilities Images */
  .vs-about--image__figure1 {
    width: 120px;
    height: 130px;
  }
  
  .vs-about--image__figure2 {
    width: 100%;
    height: auto;
    max-width: 350px;
  }
}

/* Small Mobile (Below 576px) */
@media (max-width: 575px) {
  .vs-hero__title--main {
    font-size: 1.8rem !important;
  }
  
  .vs-btn {
    padding: 12px 25px; 
    font-size: 0.9rem;
  }
  
  .admission-header-section {
    padding: 80px 0 100px;
  }
  
  .admission-header-section h1 {
    font-size: 2rem;
  }
}
