/* Brand colors */
:root {
  --color-purple: #6f2da8;
  --color-purple-dark: #4a1d7a;
  --color-blue: #00b5ff;
  --color-green: #8bc53f;
  --color-red: #ff6666;
  --color-text-dark: #1b1b3f;
}

/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: var(--color-text-dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
  cursor: default;
}

a {
  text-decoration: none;
}

a:hover 
{
    text-decoration:none;
}

img.logo-img {
  width: 100px;
}

/* Utilities */
.section-padding {
  padding: 90px 0;
}

.desktop-only { display: block; }
.mobile-only { display: none; }

.bg-blue { color: var(--color-blue); }
.bg-green { color: var(--color-green); }
.bg-purple { color: var(--color-purple); }
.bg-red { color: var(--color-red); }

/* Animations */
@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-30px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 45, 168, 0.4); }
  70% { box-shadow: 0 0 0 22px rgba(111, 45, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 45, 168, 0); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes spin-border {
  to { --angle: 360deg; }
}

.section-title,
.hero h1,
.feature-card,
.testimonial-card,
.blog-card {
  animation: fadeUp 1s ease;
}

.scroll-animate {
  opacity: 0;
  transform: translateY(80px) scale(0.95);
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-animate.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.slide-left { transform: translateX(-100px); }
.slide-right { transform: translateX(100px); }
.zoom-in { transform: scale(0.7); }
.rotate-in { transform: rotate(-10deg) scale(0.8); }
.bounce-in { transform: translateY(120px); }

.scroll-animate.active.slide-left,
.scroll-animate.active.slide-right,
.scroll-animate.active.zoom-in,
.scroll-animate.active.rotate-in,
.scroll-animate.active.bounce-in {
  transform: translate(0) rotate(0) scale(1);
}

/* Shared interactive effects */
.glass-effect {
  background: #fff;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hover-border {
  position: relative;
  z-index: 0;
}

.hover-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--angle, 0deg),
    var(--color-blue), var(--color-green), var(--color-purple), var(--color-red), var(--color-blue)
  );
  z-index: -1;
  opacity: 0;
  padding: 1px;
  transition: opacity 0.3s ease;
  animation: spin-border 3s linear infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.hover-border:hover::before {
  opacity: 1;
}

.course-card,
.feature-card,
.testimonial-card,
.blog-card,
.small-info-box {
  border: 1px solid transparent;
  transition: all 0.45s ease;
}

.course-card:hover,
.feature-card:hover,
.testimonial-card:hover,
.blog-card:hover,
.small-info-box:hover {
  transform: translateY(-12px);
  border-color: rgba(111, 45, 168, 0.1);
  box-shadow: 0 20px 45px rgba(111, 45, 168, 0.12);
}

.icon,
.feature-icon,
.step-circle {
  transition: all 0.4s ease;
}

.course-card:hover .icon,
.feature-card:hover .feature-icon {
  transform: rotate(10deg) scale(1.15);
}

.step-item:hover .step-circle {
  transform: scale(1.15) rotate(8deg);
}

.about-image:hover img,
.blog-card:hover img {
  transform: scale(1.08);
}

/* Navbar */
.nav-fixer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 4000;
}

.navbar-wrapper {
  background: var(--color-purple);
  backdrop-filter: blur(12px);
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  width: calc(100% + 80px);
  margin-left: -40px;
  padding: 10px 40px;
  top: 0;
  z-index: 999;
}

.navbar-brand {
  color: #fff !important;
  font-weight: 700;
  font-size: 30px;
}

.navbar-brand span {
  display: block;
  font-size: 14px;
  letter-spacing: 1px;
}

.nav-link {
  color: #fff !important;
  margin: 0 10px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: none;
  transition: 0.3s;
}

.nav-link:hover {
  color: #bde6ff !important;
}

.login-btn {
  background: var(--color-blue);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
}

.btn-main:hover,
.btn-alt:hover,
.login-btn:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 18px 35px rgba(111, 45, 168, 0.25);
}

/* Dropdown menu */
.nav-item.dropdown {
  position: relative;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  transform: translateX(8px);
  background: var(--color-blue);
  padding: 5px 5px 10px;
  border-radius: 20px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.dropdown-submenu:hover > .dropdown-menu,
.dropdown-submenu.show > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.dropdown-submenu:hover > .dropdown-menu.flip-left,
.dropdown-submenu.show > .dropdown-menu.flip-left {
  left: auto;
  right: 100%;
  transform: translateX(0);
}

.dropdown-submenu > .dropdown-toggle::after {
  transform: rotate(-90deg);
}

.nav-item.dropdown > .dropdown-menu {
  background: #662e91;
  padding: 5px 5px 10px;
  border-radius: 20px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Direct-child <a> of a 2nd-level item only, so it doesn't also match 3rd-level links */
.dropdown-submenu > .dropdown-item {
  color: #fff;
  background: #662e91;
  font-size: 14px;
  font-weight: 500;
  padding: 10px;
  transition: font-weight 0.1s linear;
}

.dropdown-submenu > .dropdown-item:hover {
  font-weight: 700;
  transition: font-weight 0.2s linear;
}

.dropdown-submenu > .dropdown-menu > li > .dropdown-item {
  color: #fff;
  background: var(--color-blue);
  font-size: 14px;
  font-weight: 500;
  padding: 8px;
  transition: font-weight 0.1s linear;
}

.dropdown-submenu > .dropdown-menu > li > .dropdown-item:hover {
  color: #fff;
  background: var(--color-blue);
  font-size: 14px;
  font-weight: 700;
  padding: 8px;
  transition: font-weight 0.2s linear;
}

ul.footer-ul li a {
  margin: 0;
  margin-top: 10px;
  padding: 0;
  font-weight: 500;
  line-height: 22px;
}

/* Bottom nav (mobile) */
.bottom-nav {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: transparent;
  padding: 80px 0 100px;
  margin-top: 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.65));
  z-index: 1;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.25;
  z-index: 1;
  animation: floating 8s ease-in-out infinite;
}

.floating-shape.one {
  width: 240px;
  height: 240px;
  top: 10%;
  left: -80px;
  background: var(--color-blue);
}

.floating-shape.two {
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: -100px;
  background: var(--color-green);
  animation-delay: 2s;
}

 
.map-responsive{
    overflow:hidden;
    padding-bottom:400px;
    border-radius:20px;
    position:relative;
    height:0;
    margin-top:60px;
}


.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.contact-dtl
{
    background:#f1f1f1;
    padding:30px;
    border-radius:25px;
    margin-top:30px;
}

.social-icons-contact a 
{
    color:#662E91;
    font-size:24px;
    margin-right:10px;
}

.care-divs {
  position: relative;
  z-index: 4000;
  margin-top: -100px;
}

.hero-subtitle {
  color: var(--color-purple);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 48px;
  margin-bottom: 18px;
}

.hero p {
  color: #222;
  font-size: 15px;
  line-height: 26px;
  margin-bottom: 30px;
}

.btn-main {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-blue), #1d8fff);
  border: none;
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  margin-right: 12px;
  box-shadow: 0 10px 25px rgba(0, 181, 255, 0.25);
  transition: all 0.4s ease;
}

.btn-alt {
  background: linear-gradient(135deg, var(--color-green), #66a91b);
  border: none;
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(139, 197, 63, 0.25);
  transition: all 0.4s ease;
}

/* Course cards */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.course-card {
  background: #fff !important;
  border-radius: 20px;
  padding: 10px;
  padding-bottom: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.course-card img {
  width: 100%;
  padding: 5px;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 36px;
}

.course-code {
  color: #999;
  font-size: 12px;
  font-weight: 600;
}

.course-title {
  color: #00013c;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  margin-top: 0;
  padding-bottom: 10px;
}

/* Features */
.feature-card {
  background: #fff !important;
  border-radius: 24px;
  padding: 35px 25px;
  text-align: left;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  border-radius: 18px;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  margin-bottom: 5px;
}

.feature-card h5 {
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: #333;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.feature-btn {
  display: inline-block;
  color: #333;
  border: 2px solid #ddd;
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  transition: 0.3s;
}

.feature-btn:hover {
  background: var(--color-purple);
  color: #fff;
  border-color: var(--color-purple);
}

/* About */
.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.about-image img {
  width: 100%;
  height: 550px;
  border-radius: 28px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--color-purple);
  animation: pulse 2s infinite;
  transition: all 0.4s ease;
}

.play-btn:hover {
  background: var(--color-purple);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Section headings */
.section-subtitle {
  color: var(--color-purple);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 20px;
}

.section-text {
  color: #222;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 28px;
}

/* Small info box */
.small-info-box {
  background: #f1f1f1;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  align-items: start;
  gap: 15px;
  height: 100%;
}

.small-info-box i {
  font-size: 28px;
}

.small-info-box h6 {
  font-weight: 600;
  margin-bottom: 8px;
}

.small-info-box p {
  color: #222;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Steps */
.steps-box {
  background: linear-gradient(135deg, #f8f8fb 0%, #f1e9fb 45%, #eef8ff 100%) !important;
  border: none;
  border-radius: 32px;
  padding: 45px 30px;
  text-align: center;
}

.steps-wrapper {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 45px;
}

.steps-wrapper::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 5%;
  width: 90%;
  height: 3px;
  background: #ddd;
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 120px;
}

.step-circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  font-weight: 700;
}

.step-circle.bg-blue { background: var(--color-blue); }
.step-circle.bg-green { background: var(--color-green); color: #fff; }
.step-circle.bg-red { background: var(--color-red); color: #fff; }

/* Testimonials */
.testimonial-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 35px;
  height: 100%;
  box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.08);
}

.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: -65px;
  margin-left: -65px !important;
  margin-bottom: 20px;
}

.testimonial-card p {
  color: #222;
  font-size: 14px;
  line-height: 1.8;
}

.quote-icon {
  position: absolute;
  bottom: 25px;
  right: 30px;
  font-size: 42px;
  color: var(--color-purple);
  opacity:1;
}

/* Blog */
.blog-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-content {
  padding: 22px;
}

.blog-content h5 {
  color: #222;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 12px;
}

.blog-content p {
  color: #222;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Footer */
footer {
  background: var(--color-purple);
  color: #fff;
  padding-top: 80px;
  margin-top: 90px;
}

footer h5 {
  font-weight: 600;
  margin-bottom: 25px;
}

footer p,
footer li,
footer a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
}

footer a {
  transition: all 0.3s ease;
}

footer a:hover {
  color: #fff;
  padding-left: 5px;
}

footer ul {
  list-style: none;
  padding: 0;
}

.footer-logo {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
}

.foot-logo {
  width: 200px;
}

.breadcrumb-course
{
    padding-top:12.5vh;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: #fff;
  transition: 0.3s;
}

.social-icons a:hover {
  background: var(--color-blue);
}

.newsletter-box {
  gap: 12px;
  margin-top: 18px;
}

.newsletter-box input {
  display: block;
  width: 100%;
  border: none;
  border-radius: 30px;
  padding: 10px 14px;
  font-size: 14px;
}

.newsletter-box button {
  display: inline-block;
  float: right;
  background: var(--color-blue);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 25px 0;
  margin-top: 60px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

img.certificate-footer {
  height: 60px;
  width: auto;
  border-radius: 15px;
  margin-top: 20px;
  margin-right: 15px;
}

/* News / blog post page */
.bread-crumb {
  padding-top: 10vh;
}

.news-post {
  padding-top: 40px;
  line-height: 28px;
}

.news-post h1 {
  font-weight: 700;
}

.go-back-btn {
  background: none;
  border: none;
  color: var(--color-purple);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.go-back-btn:hover {
  color: var(--color-purple-dark);
  transform: translateX(-3px);
}

.featured-image {
  width: 100%;
  max-height: 350px;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 15px;
}

.side-card {
  background: #fff;
  border-radius: 24px;
  padding: 35px 25px;
  text-align: left;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.side-card:hover {
  transform: translateY(-5px);
}

.news-feature {
  margin-top: 20px;
}

.news-feature h4 {
  color: #00013c;
  font-size: 17px;
  font-weight: 500;
  margin-top: 10px;
}

.news-feature img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 15px;
}

.side-title {
  font-weight: 700;
}

h1.page-title {
  color: #00013c;
  font-weight: 700;
}

/* Course detail page */
.course-detail-wrapper {
  padding-top: 0;
  margin-top: -60px;
}

.breadcrumb-course {
  background: #f1f1f1;
  padding-top: 15vh;
  padding-bottom: 90px;
}

.course-code-badge {
  background: #22c55e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.course-main-title {
  color: var(--color-text-dark);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0;
}

.btn-enrol-now {
  float: right;
  background: linear-gradient(135deg, #ff7d4d, #ff5c1f);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  margin-top: 15px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(255, 92, 31, 0.35);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-enrol-now:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 92, 31, 0.45);
}

.info-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px 22px;
  gap: 16px;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(111, 45, 168, 0.12);
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 26px;
  margin: 5px auto;
}

.info-icon i {
  font-size: 52px;
}

.info-text {
  flex: 1;
}

.info-value {
  color: var(--color-text-dark);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.info-label {
  color: #666;
  font-size: 13px;
  margin-top: 2px;
}

.section-heading {
  position: relative;
  color: var(--color-text-dark);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.course-desc {
  color: #444;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.course-list {
  color: #444;
  line-height: 1.8;
  padding-left: 20px;
}

.course-list li {
  margin-bottom: 6px;
}

/* Study tables */
.study-table-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #eee;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.table-header {
  background: linear-gradient(135deg, #f8f9fc, #f0f2f7);
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.table-header h5 {
  color: var(--color-text-dark);
  font-weight: 700;
  font-size: 16px;
}

.study-table {
  margin-bottom: 0;
  font-size: 14px;
}

.study-table thead th {
  background: #f8f9fc;
  color: #555;
  font-weight: 600;
  font-size: 13px;
  padding: 14px 16px;
  border-bottom: 2px solid #e9ecef;
  white-space: nowrap;
}

.study-table td {
  padding: 14px 16px;
  vertical-align: middle;
  color: #333;
  border-color: #f0f0f0;
}

.study-table tr:hover {
  background: #fafbff;
}

.unit-type {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.unit-type.core {
  background: #e0f0ff;
  color: #0066cc;
}

.unit-type.elective {
  background: #e8f5e9;
  color: #2e7d32;
}

/* Tags / pills */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tag-blue {
  background: #e3f2fd;
  color: #1565c0;
}

.tag-green {
  background: #e8f5e9;
  color: #2e7d32;
}

.tag:hover {
  transform: translateY(-2px);
  filter: brightness(0.95);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, #f3e8ff 0%, #e0f0ff 100%);
  border-radius: 24px;
  padding: 45px 40px;
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(111, 45, 168, 0.1);
}

.cta-title {
  color: var(--color-text-dark);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-subtitle {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.btn-apply-now {
  display: inline-block;
  background: var(--color-purple);
  color: #fff;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(111, 45, 168, 0.3);
  transition: all 0.3s ease;
}

.btn-apply-now:hover {
  background: var(--color-purple-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(111, 45, 168, 0.4);
}

.cta-image {
  width: 100%;
  max-width: 240px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 991.98px) {
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    padding-left: 1rem;
    border: none;
    box-shadow: none;
  }

  .dropdown-submenu > .dropdown-menu {
    position: static;
    top: 0;
    left: 0;
  }

  /* No hover on touch — visibility is fully controlled by .show */
  .dropdown-menu:not(.show),
  .dropdown-submenu > .dropdown-menu:not(.show) {
    display: none;
  }

  .dropdown-menu.show,
  .dropdown-submenu.show > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  /* No sideways flyout on mobile, so the caret can point straight down */
  .dropdown-submenu > .dropdown-toggle::after {
    transform: none;
  }
}

@media (max-width: 991px) {
  .hero h1 {
    font-size: 38px;
  }

  .course-grid {
    margin-top: 40px;
  }

  .steps-wrapper {
    flex-direction: column;
  }

  .steps-wrapper::before {
    display: none;
  }

  .course-main-title {
    font-size: 26px;
  }

  .btn-enrol-now {
    width: 100%;
    text-align: center;
    margin-top: 15px;
  }

  .cta-banner {
    padding: 35px 25px;
  }
}

@media (max-width: 767px) {
  .desktop-only { display: none; }
  .mobile-only { display: block; }

  .section-title {
    font-size: 30px;
    line-height:32px;
  }
  
  .section-text 
  {
      font-size:14px;
      line-height:26px;
  }
  
  .small-info-box 
  {
      height:auto;
      margin-top:15px;
  }

  .hero {
    text-align: center;
    padding-top: 20vh;
  }
  
  .hero-subtitle 
  {
      font-size:12px;
  }
  
  .hero h1 
  {
      font-size:32px;
      line-height:34px;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
    font-size:14px;
    line-height:24px;
    font-weight:400;
  }

  .btn-main,
  .btn-alt {
    width: 100%;
    margin-bottom: 12px;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-box {
    flex-direction: column;
  }

  .navbar-wrapper {
    width: 100%;
    margin: 0;
    margin-left: -7.5px;
    padding: 0px 15px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .nav-fixer {
    width: calc(100% + 15px);
  }
  
  .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.75));
        z-index: 1;
    }   

  .course-card,
  .info-card,
  .study-table-card {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .course-card {
    text-align: left;
    margin-top: 15px;
    padding: 0px 5px;
  }

  .course-card img {
    width: 40px;
  }

  .course-title {
    font-size: 13px;
  }
  
  .about-image img
  {
      height:260px;
      border-radius:30px;
      margin-bottom:15px;
  }

  .feature-icon {
    float: left;
    height: 90px;
    font-size: 32px;
    margin-right: 10px;
    margin-bottom: 5px;
  }

  .feature-card {
    padding: 15px;
    padding-bottom:5px;
  }

  .feature-card h5 {
    font-size: 15px;
  }

  .feature-card p {
    font-size: 13px;
    margin-bottom:0px;
  }

  .testimonial-card {
    margin-top: 30px;
    padding:20px;
    padding-bottom:0px;
  }
  
  .testimonial-card p 
  {
      margin-bottom:0px;
  }

  .testimonial-card img {
    margin-left: 10px !important;
  }
  
  .quote-icon 
  {
      bottom:0px;
      right:10px;
        opacity:0.3;
  }

  .course-detail-wrapper {
    padding-top: 100px;
  }
  
  .blog-card
  {
      margin-top:20px;
      height:auto !important;
  }
  
  .blog-card img 
  {
      height:170px;
  }
  
  .blog-content 
  {
      padding:15px 20px;
      padding-left:25px;
  }
  
  .blog-content h5 
  {
      font-size:16px;
      line-height:22px;
  }
  
  .blog-content p 
  {
      line-height:22px;
  }

  .info-card {
    padding: 16px;
  }

  .info-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  /* Make all course cards the same height on mobile */
  .mobile-only .row {
    align-items: stretch;
  }

  .mobile-only .course-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .mobile-only .course-card .row {
    flex: 1;
    align-items: center;
  }

  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 9999;
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #aaa;
    font-size: 12px;
    text-decoration: none;
  }

  .bottom-nav-item i {
    font-size: 22px;
  }

  .bottom-nav-item.active {
    color: var(--color-purple);
  }
  
  .dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  transform: translateX(8px);
  background: var(--color-blue);
  padding: 5px 5px 10px;
  border-radius: 5px;
  max-width:100%;
}
  
  footer 
  {
      text-align:center;
  }
  
  footer h5 
  {
      margin-top:30px;
      margin-bottom:10px;
  }
  
  .newsletter-box button
  {
      width:100%;
  }
}
