/* 
   BTC - Common Styles
   Global tokens, basic resets, and reusable components
*/

:root {
  --primary-blue: #0056b3;
  --primary-light: #007bff;
  --secondary-green: #28a745;
  --accent-blue: #e7f1ff;
  --text-dark: #2d3436;
  --text-muted: #636e72;
  --white: #ffffff;
  --bg-light: #f8f9fa;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
  --radius: 12px;
  --container-width: 1200px;
  --container-wide-width: 1400px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: var(--container-wide-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 60px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-light)
  );
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
  filter: brightness(1.05);
}

.btn-outline {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.btn-premium {
  background: linear-gradient(135deg, #0056b3 0%, #00a8ff 100%);
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.btn-premium:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 86, 179, 0.4);
  filter: brightness(1.1);
}

.btn-premium::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  pointer-events: none;
}

.btn-premium:hover::after {
  left: 100%;
  top: 100%;
}

.btn-white-outline {
  border: 2px solid #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.btn-white-outline:hover {
  background: #fff;
  color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Utils */
.badge {
  background: var(--secondary-green);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.w-100 {
  width: 100%;
}

/* Sections Layout */

/* Hero */
.hero {
  min-height: 55vh;
  padding: 130px 0 70px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition:
    opacity 1.5s ease-in-out,
    transform 8s ease;
  transform: scale(1);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.1);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 68, 148, 0.9) 0%,
    rgba(0, 86, 179, 0.6) 100%
  );
  z-index: 1;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
}

/* Compact Intro */
.compact-intro {
  padding: 60px 0;
  background: #fff;
  border-bottom: 1px solid rgba(0, 86, 179, 0.05);
}

.intro-flex {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.intro-logo {
  flex: 0 0 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-logo img {
  width: 120%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  background: #fff;
  padding: 20px;
  border-radius: 25px;
  box-shadow: 0 20px 50px rgba(0, 86, 179, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.intro-logo img:hover {
  transform: scale(1.05);
}

.intro-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(0, 86, 179, 0.05);
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.intro-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.intro-text p {
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
}

.text-primary {
  color: var(--primary-blue);
}

@media (max-width: 768px) {
  .intro-flex {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  color: #fff;
}

.hero-highlights {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  z-index: 2;
  position: relative;
}

.hero-highlights span {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-highlights span::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #00d2d3;
  font-size: 1rem;
}

.hero-highlights span:hover {
  background: #fff;
  color: var(--primary-blue);
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

/* Courses */
.category-block {
  margin-bottom: 5rem;
}

.category-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 5px solid var(--primary-blue);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-img {
  height: 240px;
  overflow: hidden;
}

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

.course-info {
  padding: 2rem;
}

.course-info h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--primary-blue);
}

.course-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.course-link {
  color: var(--primary-blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Why Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.feature-item {
  background: var(--white);
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 86, 179, 0.1);
}

.feature-item .icon {
  font-size: 2.8rem;
  color: var(--primary-blue);
  margin-bottom: 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--primary-blue);
}

.feature-item p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Accreditations */
.accreditations {
  padding: 30px 0;
  background: linear-gradient(135deg, #fff 0%, #f0f4f8 100%);
}

.accreditation-card {
  background: #fff;
  padding: 4rem;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 86, 179, 0.05);
  border: 1px solid rgba(0, 86, 179, 0.05);
  text-align: center;
}

.accreditation-title {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.full-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.cert-status {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-green), #20c997);
  color: #fff;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.accreditation-card.full-width-card {
  padding: 3.5rem 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.accreditation-flex {
  display: flex;
  align-items: center;
  gap: 6rem;
  text-align: left;
}

.accreditation-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.aihc-main-logo {
  max-height: 180px;
  width: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 86, 179, 0.1));
}

.accreditation-info {
  flex: 1.5;
}

.accreditation-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 1.5rem 0 2.5rem;
  line-height: 1.8;
}

.accreditation-features {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.accreditation-features span {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 0.95rem;
}

.accreditation-features i {
  color: var(--secondary-green);
  font-size: 1.2rem;
}

@media (max-width: 992px) {
  .accreditation-flex {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  .accreditation-card.full-width-card {
    padding: 3rem 2rem;
  }
  .accreditation-features {
    justify-content: center;
  }
}

/* About */
.about-flex {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.about-img {
  flex: 1;
  position: relative;
}

.about-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.experience-badge {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--primary-blue);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.experience-badge span {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.about-content {
  flex: 1.2;
}

.mission-box {
  background: #fff;
  padding: 3rem;
  border-radius: 20px;
  margin: 3rem 0;
  border: 1px solid rgba(0, 86, 179, 0.1);
  box-shadow: 0 20px 50px rgba(0, 86, 179, 0.05);
  position: relative;
  overflow: hidden;
}

.mission-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--primary-blue),
    var(--secondary-green)
  );
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
}

.check-list i {
  color: var(--secondary-green);
}

/* Gallery */
.gallery-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.5rem 0 2rem;
  scrollbar-width: none;
}

.gallery-slider::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  min-width: 320px;
  height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testimonials */
/* Testimonials Overhaul & Marquee */
.testimonials {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  position: relative;
  overflow: hidden;
}

.testimonial-marquee {
  overflow: hidden;
  padding: 40px 0;
  width: 100%;
}

.testimonial-track {
  display: flex;
  width: max-content;
  animation: testimonialScroll 45s linear infinite; /* Faster speed */
}

.testimonial-track:hover {
  animation-play-state: paused;
}

@keyframes testimonialScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  } /* Adjusted for 3x loop */
}

.testimonial-card {
  width: 420px;
  background: #ffffff;
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 15px 50px rgba(0, 86, 179, 0.04);
  border: 1px solid rgba(0, 86, 179, 0.05);
  position: relative;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin: 0 1.5rem;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 86, 179, 0.1);
}

.testimonial-content-inner {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.quote-icon {
  position: absolute;
  top: 35px;
  right: 35px;
  font-size: 2.5rem;
  color: rgba(0, 86, 179, 0.08);
}

.stars {
  color: #ffb800;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #334155;
  font-weight: 500;
  font-family: "Outfit", sans-serif;
  margin-bottom: 2rem;
  text-align: justify;
}

.user-info {
  display: flex;
  align-items: center;
  margin-top: auto;
  gap: 1.2rem;
  border-top: 1px solid #f1f5f9;
}

.user-avatar {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary-blue), #004494);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}

.user-details h4 {
  font-size: 1.1rem;
  color: #0f172a;
  margin: 0 0 4px 0;
  font-weight: 700;
}

.user-details span {
  font-size: 0.8rem;
  color: var(--primary-blue);
  font-weight: 600;
  text-transform: uppercase;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
}

.contact-details {
  margin-top: 3rem;
}

.detail-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.detail-item i {
  width: 50px;
  height: 50px;
  background: var(--accent-blue);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.3rem;
}

.contact-form-container {
  background: var(--white);
  padding: 3.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

/* Quick Enquiry */
.quick-enquiry {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #eef2f7 100%);
}

.enquiry-card {
  background: #fff;
  padding: 3rem 4rem;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 86, 179, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  border: 1px solid rgba(0, 86, 179, 0.05);
}

.enquiry-text h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
}

.enquiry-actions {
  display: flex;
  gap: 1.5rem;
}

.call-btn,
.whatsapp-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.call-btn {
  background: var(--primary-blue);
  color: #fff;
}

.whatsapp-btn {
  background: #25d366;
  color: #fff;
}

.call-btn:hover,
.whatsapp-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
  .enquiry-card {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
  }
}

/* Announcement Ticker - Premium Upgrade */
.announcement-ticker {
  background: linear-gradient(90deg, #0a0f1a 0%, #1a2333 100%);
  color: #fff;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 10;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3); /* Gold accent border */
  display: flex;
  align-items: center;
}

.ticker-label {
  background: var(--primary-blue);
  color: #fff;
  padding: 6px 15px;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  z-index: 20;
  position: relative;
  box-shadow: 10px 0 20px rgba(0, 0, 0, 0.5);
  border-right: 2px solid var(--primary-light);
  flex-shrink: 0;
}

.ticker-content {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker 40s linear infinite; /* Slightly faster for energy */
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 30px; /* Increased space as requested */
  padding: 0 40px;
}

.ticker-item span {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
}

.ticker-divider {
  color: var(--primary-light);
  font-weight: 900;
  font-size: 1.2rem;
  opacity: 0.5;
}

.ticker-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1); /* White logo for dark bg */
  opacity: 0.8;
  transition: var(--transition);
}

.ticker-item:hover .ticker-logo {
  opacity: 1;
  transform: scale(1.1);
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Adjusted for multi-item loop */
  }
}

.announcement-ticker:hover .ticker-content {
  animation-play-state: paused;
}

/* Top-Notch Visual Stack */
.about-visual-stack {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
}

.stack-main-img {
  width: 85%;
  height: 480px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  border: 12px solid #fff;
  position: relative;
  z-index: 1;
}

.stack-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-secondary-img {
  position: absolute;
  bottom: 20px;
  right: -20px;
  width: 250px;
  height: 250px;
  border-radius: 35px;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 3;
  animation: floatAnim 6s ease-in-out infinite;
}

.stack-secondary-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-logo-glass {
  position: absolute;
  top: 40px;
  left: -40px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  padding: 2rem;
  border-radius: 30px;
  box-shadow: 0 15px 35px rgba(0, 86, 179, 0.1);
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: floatAnim 8s ease-in-out infinite reverse;
}

.stack-logo-glass img {
  height: 80px;
}

.experience-floating-badge {
  position: absolute;
  top: -20px;
  right: 40px;
  z-index: 5;
  animation: floatAnim 7s ease-in-out infinite 1s;
}

.exp-number {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.exp-text {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes floatAnim {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .about-main-flex {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-visual-stack {
    height: 450px;
    margin-bottom: 2rem;
  }
  .stack-main-img {
    height: 350px;
    width: 100%;
  }
  .stack-logo-glass {
    left: 0;
    padding: 1rem;
  }
  .stack-logo-glass img {
    height: 50px;
  }
}

.lead-text {
  font-size: 1.3rem;
  color: #334155;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.vision-highlight-card {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--primary-blue), #004494);
  padding: 2.5rem;
  border-radius: 25px;
  color: #fff;
  display: flex;
  gap: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 86, 179, 0.2);
}

.vision-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.vision-text h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.vision-text p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

/* Accreditation Card Premium */
.accreditations-about {
    padding-bottom: 120px;
}

/* Premium Accreditations Grid */
.accred-grid-container {
    padding: 60px 0;
}

.accred-grid-title {
    text-align: center;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-weight: 800;
}

.accred-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.accred-grid-item {
    flex: 0 1 220px;
    height: 140px;
    background: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.05);
    border: 1px solid rgba(0, 86, 179, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    text-decoration: none;
    overflow: visible;
}

.accred-grid-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 86, 179, 0.15);
    border-color: var(--primary-blue);
    z-index: 5;
}

.accred-grid-item img {
    max-width: 85%;
    max-height: 75%;
    object-fit: contain;
    filter: grayscale(100%) contrast(0.8);
    opacity: 0.6;
    transition: all 0.5s ease;
}

.accred-grid-item:hover img {
    filter: grayscale(0%) contrast(1);
    opacity: 1;
}
/* --- Simplified Premium Accreditations (Logo Wall) --- */
.accreditations {
    padding: 80px 0;
    background: #fcfdfe;
}

.accreditation-wall {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.accred-wall-title {
    font-size: 2.2rem;
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.accred-wall-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.accred-grid-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.accred-card-simple {
    background: #ffffff;
    border: 1px solid rgba(0, 86, 179, 0.12); /* Slightly more defined thin border */
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    min-width: unset;
}

.accred-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.1);
    border-color: var(--primary-blue); /* More visible border on hover */
}



.accred-card-simple img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.accred-card-simple .partner-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    opacity: 0.9;
    margin-top: auto;
}

.accred-card-simple .partner-role {
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.accred-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.1);
    border-color: var(--primary-blue);
}

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

@media (max-width: 768px) {
    .accred-grid-wall {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .accred-card-simple {
        padding: 1.5rem 1rem;
    }
    .accred-wall-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .accred-grid-wall {
        grid-template-columns: 1fr;
    }
}

.accred-grid-tooltip {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(135deg, var(--primary-blue), #003d82);
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
    z-index: 10;
}

.accred-grid-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--primary-blue);
}

.accred-grid-item:hover .accred-grid-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .accred-grid-item {
        flex: 0 1 160px;
        height: 110px;
    }
}


.accreditation-card-premium {
  background: #fff;
  border-radius: 35px;
  padding: 4rem;
  box-shadow: 0 30px 70px rgba(0, 86, 179, 0.08);
  position: relative;
  border: 1px solid rgba(0, 86, 179, 0.05);
}

.accreditation-tag {
  position: absolute;
  top: 30px;
  left: 4rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-blue);
  letter-spacing: 0.1em;
}

.accred-flex-box {
  display: flex;
  gap: 4rem;
  align-items: center;
  margin-top: 1rem;
}

.accred-logo-side {
  text-align: center;
  min-width: 200px;
}

.accred-logo-side img {
  height: 100px;
  margin-bottom: 1rem;
}

.cert-line {
  font-weight: 700;
  color: var(--secondary-green);
  font-size: 0.9rem;
}

.accred-content-side h3 {
  font-size: 1.8rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.inst-name {
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.accred-pills {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.accred-pills span {
  background: #f1f5f9;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}

.accred-pills i {
  color: var(--secondary-green);
  margin-right: 8px;
}

/* Creative Medical Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition:
    opacity 0.8s ease,
    visibility 0.8s;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  width: 300px;
}

.medical-pulse {
  width: 150px;
  height: 80px;
  margin: 0 auto 20px;
}

.pulse-line {
  fill: none;
  stroke: var(--primary-blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: pulseDraw 2.5s ease-in-out infinite;
}

@keyframes pulseDraw {
  0% {
    stroke-dashoffset: 400;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -400;
  }
}

.loader-logo img {
  height: 60px;
  margin-bottom: 25px;
  animation: pulseLogo 2s ease-in-out infinite;
}

@keyframes pulseLogo {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.loading-bar {
  width: 100%;
  height: 4px;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}

.bar-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary-blue),
    var(--secondary-green)
  );
  animation: barFill 3s ease-out forwards;
}

@keyframes barFill {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.preloader-content p {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- New Consultancy & Services Sections --- */

.management-services {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  position: relative;
  padding: 140px 0;
  margin-top: 40px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.service-pill-card {
  background: #fff;
  padding: 3.5rem; /* Increased padding for better breathing room */
  border-radius: 30px;
  border: 1px solid rgba(0, 86, 179, 0.08);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  flex: 0 1 400px; /* Base width of 400px, can shrink but not grow */
  max-width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.03);
}

.service-pill-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 86, 179, 0.03) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-pill-card:hover::before {
  opacity: 1;
}

.service-pill-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 86, 179, 0.12);
  border-color: var(--primary-blue);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-icon {
  width: 90px; /* Bigger icon container */
  height: 90px;
  background: var(--accent-blue);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem; /* Bigger icon size */
  color: var(--primary-blue);
  transition: all 0.5s ease;
}

.service-code {
  background: var(--accent-blue);
  color: var(--primary-blue);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border: 1px solid rgba(0, 86, 179, 0.15);
}

.service-pill-card:hover .service-icon {
  background: var(--primary-blue);
  color: #fff;
  transform: rotateY(360deg);
}

.service-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-blue);
  opacity: 0.7;
}

.service-pill-card h3 {
  font-size: 1.5rem;
  color: #1a202c;
  margin: 0.5rem 0; /* Space around the title */
}

.service-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Ensures body takes available space */
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1; /* Pushes points and button down */
  text-align: justify;
}

.service-points {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.service-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.service-points i {
  color: var(--secondary-green);
  margin-top: 4px;
}

.learn-more {
  font-weight: 800;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto; /* Pushes to bottom */
  padding-top: 1.2rem; /* Extra breathing room above button */
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Methodology Section */
.methodology {
  padding: 100px 0;
  background: #f1f5f9;
}

.methodology-card {
  background: var(--primary-blue);
  border-radius: 40px;
  padding: 5rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 86, 179, 0.2);
}

.methodology-card .badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.methodology-card h2 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.methodology-steps {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

.m-step {
  text-align: center;
}

.m-icon {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  transition: all 0.4s ease;
}

.m-step:hover .m-icon {
  background: #fff;
  color: var(--primary-blue);
  transform: scale(1.1);
}

.m-step span {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.8;
}

.methodology-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.gear-illustration {
  position: relative;
  width: 250px;
  height: 250px;
}

.gear-1 {
  font-size: 8rem;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.2;
  animation: rotate 20s linear infinite;
}
.gear-2 {
  font-size: 5rem;
  position: absolute;
  bottom: 20px;
  right: 20px;
  opacity: 0.15;
  animation: rotate-rev 15s linear infinite;
}
.shield {
  font-size: 6rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

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

/* --- PPT Slides Marquee (About Page) --- */

.about-slides {
  padding: 100px 0;
  background: #f8fafc;
  overflow: hidden;
}

.slides-marquee {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}

.slides-track {
  display: flex;
  width: max-content;
  gap: 30px;
  animation: slidesScroll 120s linear infinite; /* Long time because there are many slides */
}

.slides-track:hover {
  animation-play-state: paused;
}

@keyframes slidesScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* Half because we doubled the array in PHP */
}

.slide-item {
  flex: 0 0 auto;
  width: auto;
}

.slide-item img {
  height: 450px; /* Reduced height as requested */
  width: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 86, 179, 0.05);
  transition: all 0.5s ease;
}

/* Compact 4x2 Grid for Values */
.values-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important; /* 4 columns on desktop */
  gap: 1.5rem !important;
}

.value-item {
  padding: 1.5rem !important; /* Smaller padding */
  text-align: center;
}

.value-item .icon {
  font-size: 1.8rem !important; /* Smaller icon */
  margin-bottom: 1rem !important;
  height: auto !important;
}

.value-item h3 {
  font-size: 1.1rem !important; /* Smaller title */
  margin-bottom: 0.5rem !important;
}

.value-item p {
  font-size: 0.85rem !important; /* Smaller text */
  line-height: 1.4 !important;
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .slide-item img {
    height: 300px;
  }
  .values-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Premium Contact Form Styles */
.contact-form-container {
    background: #fff;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(0, 86, 179, 0.08);
    border: 1px solid rgba(0, 86, 179, 0.05);
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #1e293b;
    font-size: 0.95rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1.1rem 1.5rem;
    border-radius: 15px;
    border: 2px solid #f1f5f9;
    background: #f8fafc;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #334155;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 86, 179, 0.05);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.contact-info-card {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    color: #fff;
    padding: 3rem;
    border-radius: 30px;
    height: 100%;
}

/* Masking effect for the marquee edges */
.slides-marquee::before,
.slides-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.slides-marquee::before {
  left: 0;
  background: linear-gradient(to right, #f8fafc 0%, transparent 100%);
}

.slides-marquee::after {
  right: 0;
  background: linear-gradient(to left, #f8fafc 0%, transparent 100%);
}

/* Responsive fix for 2x2 grid */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-pill-card {
    padding: 2rem;
  }
}

/* Centered Layout for 5 Featured Courses */
.featured-flex {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.featured-flex .course-card {
  flex: 0 1 350px; /* Fixed width for consistent grid look */
}

/* --- WE ASSURE Framework Section --- */
.we-assure-framework {
  padding: 100px 0;
  background: #fff;
  position: relative;
}

.we-assure-framework .values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.value-item {
  background: #f8fafc;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 86, 179, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.value-item:hover {
  transform: translateY(-10px);
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 86, 179, 0.08);
  border-color: var(--primary-blue);
}

.v-icon {
  font-size: 2.2rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
  width: 65px;
  height: 65px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 86, 179, 0.08);
  border: 1px solid rgba(0, 86, 179, 0.05);
}

.value-item:hover .v-icon {
  background: var(--primary-blue);
  color: #fff;
  transform: rotate(12deg) scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 86, 179, 0.2);
}

.v-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--primary-blue);
}

.v-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .we-assure-framework .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .we-assure-framework .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Premium Swal Custom Styles */
.premium-swal-popup {
    border-radius: 30px !important;
    padding: 2rem !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2) !important;
}

.premium-swal-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 2rem !important;
}

.premium-swal-button {
    padding: 1rem 2.5rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Google Maps Premium Overlay Card Styles */
.map-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.map-overlay-card {
    position: absolute;
    top: 50px;
    left: 80px;
    z-index: 10;
    width: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    box-shadow: 0 30px 60px rgba(0, 86, 179, 0.15);
    transition: all 0.4s ease;
}

.map-overlay-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 86, 179, 0.2);
    border-color: rgba(0, 86, 179, 0.2);
}

.map-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.2rem;
}

.map-pulsing-dot {
    width: 10px;
    height: 10px;
    background: var(--primary-blue);
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.map-pulsing-dot::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: rgba(0, 86, 179, 0.4);
    animation: mapDotPulse 2s infinite ease-in-out;
}

@keyframes mapDotPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.map-status {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-blue);
    letter-spacing: 1.5px;
}

.map-overlay-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.map-address {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.55;
    margin-bottom: 1.2rem;
}

.map-address i {
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.map-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Compact map card variant */
.map-overlay-card--compact {
    width: auto;
    max-width: 280px;
    padding: 1.25rem 1.4rem;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 86, 179, 0.16);
}

.map-overlay-card--compact h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.map-overlay-card--compact .map-address {
    font-size: 0.82rem;
    line-height: 1.4;
    gap: 7px;
    margin-bottom: 0.9rem;
}

.map-overlay-card--compact .map-address i {
    font-size: 0.95rem;
    margin-top: 2px;
}

.map-overlay-card--compact .map-directions-btn {
    padding: 9px 16px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

@media (max-width: 992px) {
    .map-overlay-card {
        left: 40px;
        top: 40px;
        width: 350px;
        padding: 2rem 1.8rem;
    }

    .map-overlay-card--compact {
        width: auto;
        max-width: 260px;
        padding: 1.1rem 1.3rem;
    }
}

@media (max-width: 768px) {
    .map-overlay-card {
        position: relative;
        top: auto;
        left: auto;
        width: calc(100% - 3rem);
        margin: -60px auto 30px;
        background: #fff;
        box-shadow: 0 15px 30px rgba(0, 86, 179, 0.1);
        padding: 2.2rem 1.8rem;
    }

    .map-overlay-card--compact {
        max-width: calc(100% - 3rem);
        padding: 1.4rem 1.5rem;
    }
}
