/* ImbaHub Design System & Core Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Roboto+Slab:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #033985;
  --color-primary-green: #78C400;
  --color-deep-navy: #0A254C;
  --color-charcoal: #231F20;
  --color-accent-red: #FF0000;
  --color-muted-grey: #A09F9F;
  --color-light-bg: #F8F8F8;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --gradient-primary: linear-gradient(156deg, #033985 0%, #78C400 100%);
  --container-max-width: 1320px;
  --radius-card: 12px;
  --radius-button: 4px;
  --shadow-card: 0px 0px 24px 0px rgba(0, 0, 0, 0.06);
}

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

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-charcoal);
  background-color: #FFFFFF;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-charcoal);
  font-weight: 600;
  line-height: 1.25;
}

h1 { font-size: 50px; line-height: 60px; }
h2 { font-size: 42px; line-height: 50px; font-weight: 400; letter-spacing: -0.5px; }
h3 { font-size: 26px; line-height: 30px; font-weight: 500; }
h4 { font-size: 22px; line-height: 28px; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

a:hover {
  color: var(--color-primary-green);
}

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

/* Layout Utilities */
.imbahub-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

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

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--radius-button);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary {
  background-color: var(--color-primary-green);
  color: var(--color-white);
  border-color: var(--color-primary-green);
}

.btn-secondary:hover {
  background-color: var(--color-accent-red);
  color: var(--color-white);
  border-color: var(--color-accent-red);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-white:hover {
  background-color: var(--color-primary-green);
  color: var(--color-white);
  border-color: var(--color-primary-green);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Top Announcement Bar */
.top-bar {
  background-color: var(--color-deep-navy);
  color: var(--color-white);
  font-size: 13px;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Site Header */
.site-header {
  background-color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.site-logo img {
  height: 70px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 22px;
  list-style: none;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--color-charcoal);
  padding: 12px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  line-height: 1;
}

.dropdown-arrow-icon svg {
  stroke: var(--color-charcoal);
  transition: stroke 0.2s ease;
}

.has-dropdown:hover .dropdown-arrow-icon {
  transform: rotate(180deg);
}

.has-dropdown:hover .dropdown-arrow-icon svg {
  stroke: var(--color-primary-green);
}


.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 12px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1001;
  border: 1px solid #ECECEC;
}

.nav-item.has-dropdown:nth-last-child(-n+2) .dropdown-menu {
  left: auto;
  right: 0;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-charcoal);
  transition: all 0.2s;
}

.dropdown-link:hover {
  background-color: var(--color-light-bg);
  color: var(--color-primary);
  padding-left: 24px;
}

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1998;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: #FFFFFF;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  clip-path: inset(0 0 0 100%);
  transition: clip-path 0.35s ease;
  z-index: 1999;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer.open {
  clip-path: inset(0);
  visibility: visible;
  pointer-events: auto;
}

body.drawer-open {
  overflow: hidden;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-primary);
}

/* Hero Section */
.hero-wrapper {
  padding-top: 30px;
  padding-bottom: 20px;
}

.hero-section {
  position: relative;
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: 60px 60px 50px;
  border-radius: 12px;
  min-height: 320px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('/static/images/arc-pattern.png');
  background-position: 80% center;
  background-repeat: no-repeat;
  background-size: 260px auto;
  opacity: 0.25;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary-green);
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: 50px;
  line-height: 58px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero-subheading {
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Stats Counter */
.stats-section {
  padding: 30px 0 50px;
  background: #FFFFFF;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  background: #FFFFFF;
  padding: 40px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.stat-item {
  text-align: center;
  border-right: 1px solid #ECECEC;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 44px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: var(--color-muted-grey);
  font-weight: 500;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: #FFFFFF;
  padding: 36px 30px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #F0F0F0;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(120, 196, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-green);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--color-primary-green);
  color: #FFFFFF;
}

.feature-svg-icon {
  display: block;
  stroke: currentColor;
}

.card-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary);
  transition: all 0.2s ease;
}

.card-action-link:hover {
  color: var(--color-primary-green);
  gap: 12px;
}

.card-action-link .arrow-icon {
  stroke: currentColor;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-muted-grey);
  font-size: 15px;
  line-height: 1.6;
}

/* Course / Program Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 44px;
}

.course-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  border: 1px solid #F0F0F0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 14px 32px rgba(0, 0, 0, 0.1);
}

.course-image-wrapper {
  height: 220px;
  background-color: var(--color-deep-navy);
  overflow: hidden;
  position: relative;
}

.course-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card:hover .course-image-wrapper img {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--color-primary-green);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.course-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--color-muted-grey);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-icon {
  stroke: var(--color-primary-green);
}

.btn-arrow-icon {
  stroke: currentColor;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow-icon {
  transform: translateX(4px);
}

.course-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-charcoal);
  line-height: 1.35;
}

.course-summary {
  font-size: 15px;
  color: #666666;
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.6;
}


/* Testimonials Section */
.testimonials-section {
  background-color: var(--color-light-bg);
}

.testimonial-card {
  background: #FFFFFF;
  padding: 36px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-size: 20px;
  line-height: 32px;
  font-style: italic;
  color: var(--color-charcoal);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 17px;
  font-weight: 600;
}

.author-info span {
  font-size: 13px;
  color: var(--color-muted-grey);
}

/* Accordion FAQs */
.accordion-wrapper {
  max-width: 840px;
  margin: 40px auto 0;
}

.accordion-item {
  background: #FFFFFF;
  border: 1px solid #ECECEC;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 17px;
  user-select: none;
  background-color: #FFFFFF;
  transition: background-color 0.2s;
}

.accordion-header:hover {
  background-color: #FBFBFB;
}

.accordion-icon {
  font-size: 18px;
  transition: transform 0.3s;
  color: var(--color-primary);
}

.accordion-content {
  padding: 0 24px 20px;
  display: none;
  font-size: 15px;
  color: #555555;
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* Call to Action Section */
.cta-section {
  background: var(--gradient-primary);
  color: #FFFFFF;
  padding: 80px 0;
  border-radius: var(--radius-card);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 40px;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('/static/images/arc-pattern.png');
  background-position: center;
  background-size: 260px;
  opacity: 0.2;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-size: 40px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

/* Tabs */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: 30px;
  background-color: #F0F0F0;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.tab-btn.active, .tab-btn:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Site Footer */
.site-footer {
  background-color: var(--color-deep-navy);
  color: #FFFFFF;
  padding: 80px 0 30px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about p {
  color: #B0B9C6;
  margin: 18px 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-social-links a {
  color: #B0B9C6;
  font-size: 14px;
}

.footer-link-group-label {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  margin-top: 18px;
}

.footer-title {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #B0B9C6;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--color-primary-green);
  padding-left: 4px;
}

.footer-contact li,
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #B0B9C6;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.footer-icon svg {
  stroke: var(--color-primary-green);
}


.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: #8C98A9;
  font-size: 13px;
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 18px;
}

.footer-legal-links a {
  color: #B0B9C6;
  font-size: 13px;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background-color: #25D366;
  color: #FFFFFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 999;
  transition: transform 0.3s;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  color: #FFFFFF;
}

/* CEO & Executive 3-Column Profile Section */
.ceo-profile-section {
  padding: 40px 0 60px;
  background-color: #FFFFFF;
}

.ceo-layout-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  width: 100%;
}

.ceo-col-image {
  width: 25%;
  flex-shrink: 0;
  padding-right: 20px;
}

.ceo-portrait-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ceo-col-bio {
  width: 55%;
  flex-grow: 1;
  padding: 0 40px 0 20px;
}

.ceo-name {
  font-family: 'Roboto', sans-serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 46px;
  color: var(--color-charcoal);
  margin-bottom: 8px;
}

.ceo-designation {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-deep-navy);
  margin-bottom: 24px;
}

.ceo-bio-text {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-charcoal);
}

.ceo-bio-text p {
  margin-bottom: 20px;
}

.ceo-col-sidebar {
  width: 20%;
  flex-shrink: 0;
  border-left: 1px solid #CCCCCC;
  padding: 10px 0 20px 30px;
}

.ceo-sidebar-title {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-deep-navy);
  margin-bottom: 20px;
}

.ceo-sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ceo-sidebar-menu li {
  margin-bottom: 12px;
}

.ceo-sidebar-link {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: var(--color-charcoal);
  padding: 4px 0;
  transition: all 0.2s ease;
}

.ceo-sidebar-link:hover,
.ceo-sidebar-link.active {
  color: var(--color-primary-green);
  font-weight: 500;
  padding-left: 4px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  h1 { font-size: 42px; line-height: 50px; }
  h2 { font-size: 34px; line-height: 42px; }
  .hero-headline { font-size: 42px; line-height: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid #ECECEC; padding-bottom: 16px; }
  .stat-item:last-child { border-bottom: none; }
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: block; }
  .ceo-layout-row { flex-direction: column; }
  .ceo-col-image { width: 100%; max-width: 360px; margin: 0 auto 30px; padding-right: 0; }
  .ceo-col-bio { width: 100%; padding: 0 0 30px; }
  .ceo-col-sidebar { width: 100%; border-left: none; border-top: 1px solid #CCCCCC; padding: 30px 0 0 0; }
}

@media (max-width: 576px) {
  h1 { font-size: 32px; line-height: 38px; }
  h2 { font-size: 26px; line-height: 32px; }
  .hero-section { padding: 40px 24px 36px; min-height: auto; }
  .hero-headline { font-size: 30px; line-height: 36px; }
  .hero-subheading { font-size: 15px; line-height: 22px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .ceo-name { font-size: 28px; line-height: 34px; }
  .ceo-designation { font-size: 16px; }
}

/* Rich Text & Membership SVG Icon Formatting */
.rich-text-body svg,
.rich-text-body .elementor-icon svg,
.rich-text-body .elementor-icon-box-icon svg,
.rich-text-body .icon-box svg,
.elementor-icon-box-icon svg,
.elementor-icon svg {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  display: inline-block;
  vertical-align: middle;
  fill: var(--color-primary);
  margin-bottom: 12px;
}

.rich-text-body svg[viewBox="0 0 120 120"],
.rich-text-body svg[data-name="Layer 1"],
.rich-text-body svg#Layer_1 {
  width: 54px;
  height: 54px;
  max-width: 54px;
  max-height: 54px;
  display: block;
  fill: var(--color-primary-green);
  margin-top: 24px;
  margin-bottom: 12px;
}

.rich-text-body svg[viewBox="0 0 448 512"] {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  fill: var(--color-primary-green);
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 0;
  vertical-align: middle;
}
