/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #555555; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #222222; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #008080; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #555555;  /* The default color of the main navmenu links */
  --nav-hover-color: #008080; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #555555; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #008080; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9fcf9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #008080;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #80c792;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

/*--------------------------------------------------------------
# About Page Styles - Modern Simple Design
--------------------------------------------------------------*/

/* Simple Hero Section */
.simple-hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-title {
  font-family: var(--heading-font);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--default-color);
  font-weight: 400;
  line-height: 1.6;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--default-color);
  font-weight: 500;
}

/* Mission Section */
.mission-section {
  background: var(--background-color);
}

.section-title {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--heading-color);
  text-align: center;
}

.mission-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--default-color);
}

.mission-highlight {
  border-left: 4px solid var(--accent-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Values Section */
.values-section {
  background: #f8f9fa;
}

.value-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.value-title {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--heading-color);
}

.value-text {
  color: var(--default-color);
  line-height: 1.6;
}

/* Team Section */
.team-section {
  background: var(--background-color);
}

.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.team-photo {
  border: 3px solid var(--accent-color);
}

.team-name {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--heading-color);
}

.team-position {
  font-size: 0.9rem;
  font-weight: 500;
}

.team-bio {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--default-color);
}

/* Founders Section */
.founders-section {
  padding: 80px 0;
  background: #f2fbfb;
}

.founders-section .section-heading {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 600;
  color: #004c4c;
}

.founders-section .section-subtitle {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a5f5f;
}

.founder-photo-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 92, 92, 0.15);
}

.founder-photo {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.founder-photo-wrapper:hover .founder-photo {
  transform: scale(1.03);
}

.founder-info h4 {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 700;
  color: #0f2f2f;
  margin-bottom: 0.5rem;
}

.founder-title {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.founder-bio {
  color: #4a5f5f;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.founder-links {
  display: flex;
  gap: 1rem;
}

.founder-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 128, 128, 0.1);
  color: var(--accent-color);
  font-size: 1.15rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.founder-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

@media (max-width: 767.98px) {
  .founders-section {
    padding: 60px 0;
  }

  .founders-section .section-heading {
    font-size: 2rem;
  }

  .founder-info {
    text-align: center;
    margin-top: 1.5rem;
  }

  .founder-info h4 {
    font-size: 1.5rem;
  }

  .founder-links {
    justify-content: center;
  }

  .founder-bio {
    font-size: 0.95rem;
  }
}

/* Legal Pages (Terms of Service, Privacy Policy) */
.legal-content {
  padding: 60px 0 80px;
  background: #ffffff;
}

.legal-updated {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 600;
  color: #004c4c;
  margin-bottom: 1rem;
}

.legal-section h3 {
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 600;
  color: #0f2f2f;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.legal-section p {
  color: #4a5f5f;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section ul li {
  color: #4a5f5f;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.legal-section a {
  color: var(--accent-color);
  text-decoration: underline;
}

.legal-section a:hover {
  color: #004c4c;
}

.legal-contact {
  list-style: none;
  padding-left: 0;
}

.legal-contact li {
  margin-bottom: 0.5rem;
}

/* Footer legal links */
.footer-legal {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.footer-legal a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--accent-color);
}

.footer-legal-divider {
  margin: 0 0.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

@media (max-width: 767.98px) {
  .legal-content {
    padding: 40px 0 60px;
  }

  .legal-section h2 {
    font-size: 1.3rem;
  }
}

/* CTA Section */
.cta-section {
  background: var(--accent-color);
}

.cta-title {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 600;
}

.cta-description {
  font-size: 1.125rem;
  opacity: 0.9;
}

.cta-actions .btn {
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-footer {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .team-card.featured .row {
    text-align: center;
  }
  
  .team-card.featured .col-md-4 {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .simple-hero {
    padding: 80px 0 60px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .cta-actions .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .cta-actions .btn:last-child {
    margin-bottom: 0;
  }
}

/*--------------------------------------------------------------
# About Page Styles - Editorial Design (Legacy)
--------------------------------------------------------------*/

/* Editorial Hero Section */
.editorial-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: #f8f9fa;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.editorial-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.breadcrumb-editorial {
  margin-bottom: 2rem;
}

.breadcrumb-editorial .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.breadcrumb-editorial .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 400;
}

.breadcrumb-editorial .breadcrumb-item.active {
  color: white;
}

.editorial-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.meta-category {
  color: var(--accent-color);
  font-weight: 600;
}

.meta-date {
  color: rgba(255, 255, 255, 0.7);
}

.editorial-title {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: white;
}

.title-highlight {
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  margin-top: 0.5rem;
}

.editorial-subtitle {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.editorial-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

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

.stat-editorial .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.stat-editorial .stat-text {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mission Magazine Style */
.mission-magazine {
  padding: 100px 0;
  background: white;
}

.section-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.mission-title-magazine {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

.mission-title-magazine em {
  font-style: italic;
  color: var(--accent-color);
  font-weight: 400;
}

.mission-text-magazine {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--default-color);
}

.mission-text-magazine .lead {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
}

.mission-text-magazine p {
  margin-bottom: 1.5rem;
}

.mission-highlight-box {
  background: #f8f9fa;
  border-left: 4px solid var(--accent-color);
  padding: 2rem;
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.highlight-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.highlight-content p {
  color: var(--default-color);
  margin: 0;
  line-height: 1.6;
}

/* Mission Visual Magazine */
.mission-visual-magazine {
  padding-left: 2rem;
}

.visual-quote {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: 10px;
  margin-bottom: 3rem;
  position: relative;
}

.visual-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 4rem;
  color: var(--accent-color);
  font-family: serif;
}

.visual-quote blockquote {
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--heading-color);
  margin: 0 0 1rem 0;
}

.visual-quote cite {
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 500;
}

.visual-elements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.element-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.element-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.element-item i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.element-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--heading-color);
}

/* Story Timeline Editorial */
.story-timeline-editorial {
  padding: 100px 0;
  background: #f8f9fa;
}

.section-header-editorial {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title-editorial {
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.timeline-editorial {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item-editorial {
  display: flex;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: flex-start;
}

.timeline-year {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  min-width: 80px;
  text-align: center;
}

.timeline-content-editorial h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.timeline-content-editorial p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--default-color);
  margin-bottom: 1.5rem;
}

.timeline-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Values Asymmetrical */
.values-asymmetrical {
  padding: 100px 0;
  background: white;
}

.values-intro {
  padding-right: 2rem;
}

.values-title-asymmetrical {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.values-title-asymmetrical em {
  font-style: italic;
  color: var(--accent-color);
  font-weight: 400;
}

.values-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--default-color);
}

.values-grid-asymmetrical {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.value-item-asymmetrical {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid var(--accent-color);
  transition: all 0.3s ease;
}

.value-item-asymmetrical:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-item-asymmetrical.large {
  grid-column: 1 / -1;
  background: var(--accent-color);
  color: white;
}

.value-item-asymmetrical.large .value-number,
.value-item-asymmetrical.large h3,
.value-item-asymmetrical.large p {
  color: white;
}

.value-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.value-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.75rem;
}

.value-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--default-color);
  margin: 0;
}

/* Impact Magazine */
.impact-magazine {
  padding: 100px 0;
  background: #f8f9fa;
}

.impact-title-magazine {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.impact-title-magazine em {
  font-style: italic;
  color: var(--accent-color);
  font-weight: 400;
}

.impact-description-magazine {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--default-color);
  margin-bottom: 3rem;
}

.impact-highlights-magazine {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.highlight-item-magazine {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  border-left: 4px solid var(--accent-color);
}

.highlight-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-color);
  min-width: 100px;
  text-align: center;
}

.highlight-text h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.highlight-text p {
  font-size: 1rem;
  color: var(--default-color);
  margin: 0;
  line-height: 1.5;
}

/* Impact Visual Magazine */
.impact-visual-magazine {
  padding-left: 2rem;
}

.impact-chart {
  background: white;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.chart-item {
  margin-bottom: 2rem;
}

.chart-item:last-child {
  margin-bottom: 0;
}

.chart-bar {
  position: relative;
  height: 60px;
  background: #f8f9fa;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

.chart-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), #20b2aa);
  border-radius: 30px;
  transition: width 2s ease;
}

.chart-bar[data-percentage="95"]::before { width: 95%; }
.chart-bar[data-percentage="87"]::before { width: 87%; }
.chart-bar[data-percentage="92"]::before { width: 92%; }

.chart-label {
  position: relative;
  z-index: 2;
  font-size: 1rem;
  font-weight: 500;
  color: var(--heading-color);
}

.chart-value {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-color);
  z-index: 2;
}

/* Team Editorial */
.team-editorial {
  padding: 100px 0;
  background: white;
}

.team-grid-editorial {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-top: 3rem;
}

.team-member-editorial.featured {
  background: #f8f9fa;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.member-image-editorial {
  height: 300px;
  overflow: hidden;
}

.member-image-editorial img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info-editorial {
  padding: 2rem;
}

.member-name-editorial {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.member-position-editorial {
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.member-bio-editorial {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--default-color);
  margin-bottom: 1.5rem;
}

.member-social-editorial {
  display: flex;
  gap: 1rem;
}

.member-social-editorial a {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.member-social-editorial a:hover {
  background: #20b2aa;
  transform: scale(1.1);
}

/* Team Grid Small */
.team-grid-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.team-member-editorial.small {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-member-editorial.small:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-member-editorial.small .member-image-editorial {
  height: 150px;
}

.team-member-editorial.small .member-info-editorial {
  padding: 1.5rem;
}

.team-member-editorial.small .member-name-editorial {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.team-member-editorial.small .member-position-editorial {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* CTA Editorial */
.cta-editorial {
  padding: 100px 0;
  background: #f8f9fa;
}

.cta-content-editorial {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-badge-editorial {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.cta-title-editorial {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.cta-title-editorial em {
  font-style: italic;
  color: var(--accent-color);
  font-weight: 400;
}

.cta-description-editorial {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--default-color);
  margin-bottom: 3rem;
}

.cta-actions-editorial {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cta-footer-editorial {
  font-size: 0.9rem;
  color: var(--default-color);
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .editorial-title {
    font-size: 3rem;
  }
  
  .mission-title-magazine,
  .section-title-editorial,
  .values-title-asymmetrical,
  .impact-title-magazine,
  .cta-title-editorial {
    font-size: 2.5rem;
  }
  
  .team-grid-editorial {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .team-grid-small {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .editorial-title {
    font-size: 2.5rem;
  }
  
  .editorial-stats {
    gap: 2rem;
  }
  
  .mission-visual-magazine {
    padding-left: 0;
    margin-top: 3rem;
  }
  
  .timeline-item-editorial {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .timeline-year {
    min-width: auto;
  }
  
  .values-grid-asymmetrical {
    grid-template-columns: 1fr;
  }
  
  .values-intro {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .impact-visual-magazine {
    padding-left: 0;
    margin-top: 3rem;
  }
  
  .team-grid-small {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-actions-editorial {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions-editorial .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .editorial-hero {
    min-height: 60vh;
  }
  
  .editorial-title {
    font-size: 2rem;
  }
  
  .editorial-subtitle {
    font-size: 1.1rem;
  }
  
  .editorial-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .mission-title-magazine,
  .section-title-editorial,
  .values-title-asymmetrical,
  .impact-title-magazine,
  .cta-title-editorial {
    font-size: 2rem;
  }
  
  .mission-highlight-box {
    flex-direction: column;
    text-align: center;
  }
  
  .visual-elements {
    grid-template-columns: 1fr;
  }
  
  .highlight-item-magazine {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .highlight-number {
    min-width: auto;
  }
  
  .team-grid-small {
    grid-template-columns: 1fr;
  }
  
  .member-image-editorial {
    height: 200px;
  }
  
  .cta-title-editorial {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .editorial-title {
    font-size: 1.8rem;
  }
  
  .editorial-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .mission-title-magazine,
  .section-title-editorial,
  .values-title-asymmetrical,
  .impact-title-magazine,
  .cta-title-editorial {
    font-size: 1.6rem;
  }
  
  .visual-quote {
    padding: 2rem;
  }
  
  .visual-quote blockquote {
    font-size: 1.1rem;
  }
  
  .timeline-content-editorial h3 {
    font-size: 1.3rem;
  }
  
  .timeline-content-editorial p {
    font-size: 1rem;
  }
  
  .value-item-asymmetrical {
    padding: 1.5rem;
  }
  
  .highlight-item-magazine {
    padding: 1.5rem;
  }
  
  .impact-chart {
    padding: 2rem;
  }
  
  .member-info-editorial {
    padding: 1.5rem;
  }
  
  .member-name-editorial {
    font-size: 1.3rem;
  }
}

/* Enhanced Mission Section */
.mission-enhanced {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

.mission-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 128, 128, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(0, 128, 128, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.mission-container {
  background: white;
  border-radius: 20px;
  padding: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.mission-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #20b2aa);
}

.mission-header {
  text-align: center;
  margin-bottom: 3rem;
}

.mission-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), #20b2aa);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.mission-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.mission-subtitle {
  font-size: 1.1rem;
  color: var(--default-color);
  font-weight: 500;
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.mission-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mission-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--default-color);
}

.mission-highlights {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(0, 128, 128, 0.05);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.highlight-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.highlight-content p {
  font-size: 0.95rem;
  color: var(--default-color);
  margin: 0;
  line-height: 1.5;
}

/* Interactive Story Section */
.story-interactive {
  padding: 100px 0;
  background: white;
}

.story-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 128, 128, 0.1);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.story-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 2rem;
}

.story-timeline {
  margin-bottom: 3rem;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 60px;
  width: 2px;
  height: calc(100% + 1rem);
  background: linear-gradient(to bottom, var(--accent-color), transparent);
}

.timeline-marker {
  position: relative;
  z-index: 2;
}

.marker-dot {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 4px rgba(0, 128, 128, 0.2);
}

.timeline-content h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 1rem;
  color: var(--default-color);
  line-height: 1.6;
  margin: 0;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 200px;
}

.feature-icon {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.feature-content h6 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.25rem;
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--default-color);
  margin: 0;
}

/* Story Visual */
.story-visual {
  position: relative;
}

.visual-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  height: 400px;
}

.grid-item-modern {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 128, 128, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.grid-item-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #20b2aa);
}

.grid-item-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.grid-item-modern.item-1 {
  grid-row: 1;
  grid-column: 1;
}

.grid-item-modern.item-2 {
  grid-row: 1;
  grid-column: 2;
}

.grid-item-modern.item-3 {
  grid-row: 2;
  grid-column: 1;
}

.grid-item-modern.item-4 {
  grid-row: 2;
  grid-column: 2;
}

.item-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), #20b2aa);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.item-content h6 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.item-content p {
  font-size: 0.9rem;
  color: var(--default-color);
  margin: 0;
}

/* Modern Values Section */
.values-modern {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 128, 128, 0.1);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.values-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card-modern {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 128, 128, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #20b2aa);
}

.value-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), #20b2aa);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.card-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(0, 128, 128, 0.2);
}

.card-body {
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.card-description {
  font-size: 1rem;
  color: var(--default-color);
  line-height: 1.6;
  margin: 0;
}

.card-footer {
  border-top: 1px solid rgba(0, 128, 128, 0.1);
  padding-top: 1rem;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.learn-more:hover {
  color: #20b2aa;
  transform: translateX(5px);
}

/* Impact & Statistics Section */
.impact-stats {
  padding: 100px 0;
  background: white;
}

.impact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 128, 128, 0.1);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.impact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.impact-description {
  font-size: 1.1rem;
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 3rem;
}

.impact-highlights {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.highlight-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(0, 128, 128, 0.05);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  flex: 1;
  min-width: 200px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stat-content h4 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.stat-content p {
  font-size: 0.9rem;
  color: var(--default-color);
  margin: 0;
  font-weight: 500;
}

/* Impact Visual */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 128, 128, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #20b2aa);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), #20b2aa);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
}

.stat-circle::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), #20b2aa);
  z-index: -1;
  opacity: 0.2;
}

.stat-percentage {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.stat-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.stat-card p {
  font-size: 0.9rem;
  color: var(--default-color);
  margin: 0;
}

/* Enhanced Team Section */
.team-enhanced {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.team-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 128, 128, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.team-member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.member-image-container {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.team-member-card:hover .member-image {
  transform: scale(1.1);
}

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.8), rgba(32, 178, 170, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.team-member-card:hover .member-overlay {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-color);
  color: white;
  transform: scale(1.1);
}

.member-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.member-details {
  padding: 2rem;
  text-align: center;
}

.member-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.member-position {
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.member-bio {
  font-size: 0.9rem;
  color: var(--default-color);
  line-height: 1.5;
  margin: 0;
}

/* Enhanced Call to Action */
.cta-enhanced {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  background-size: 600px 600px, 800px 800px;
  animation: float 20s ease-in-out infinite;
}

.cta-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-color) 0%, #20b2aa 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
  color: white;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cta-features .feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 500;
}

.cta-buttons {
  margin-bottom: 3rem;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-stats .stat-item {
  text-align: center;
}

.cta-stats .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.cta-stats .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .mission-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .values-grid-modern {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .floating-card {
    position: relative;
    margin: 1rem 0;
    max-width: none;
  }
  
  .floating-card.card-1,
  .floating-card.card-2,
  .floating-card.card-3 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
  }
  
  .visual-grid-modern {
    grid-template-columns: 1fr;
    height: auto;
  }
  
  .grid-item-modern.item-1,
  .grid-item-modern.item-2,
  .grid-item-modern.item-3,
  .grid-item-modern.item-4 {
    grid-row: auto;
    grid-column: auto;
  }
  
  .impact-highlights {
    flex-direction: column;
  }
  
  .highlight-stat {
    min-width: auto;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid-enhanced {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .cta-features {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-stats {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .modern-hero-section {
    min-height: auto;
    padding: 80px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .visual-container {
    height: 400px;
  }
  
  .mission-container {
    padding: 2rem;
  }
  
  .mission-title {
    font-size: 2rem;
  }
  
  .story-title {
    font-size: 2rem;
  }
  
  .timeline-item {
    flex-direction: column;
    gap: 1rem;
  }
  
  .timeline-item:not(:last-child)::after {
    display: none;
  }
  
  .story-features {
    flex-direction: column;
  }
  
  .feature-item {
    min-width: auto;
  }
  
  .values-grid-modern {
    grid-template-columns: 1fr;
  }
  
  .impact-title {
    font-size: 2rem;
  }
  
  .team-grid-enhanced {
    grid-template-columns: 1fr;
  }
  
  .member-image-container {
    height: 250px;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .mission-container {
    padding: 1.5rem;
  }
  
  .mission-title {
    font-size: 1.8rem;
  }
  
  .story-title {
    font-size: 1.8rem;
  }
  
  .impact-title {
    font-size: 1.8rem;
  }
  
  .cta-title {
    font-size: 1.8rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .floating-card {
    padding: 1rem;
  }
  
  .value-card-modern {
    padding: 1.5rem;
  }
  
  .stat-card {
    padding: 1.5rem;
  }
  
  .member-details {
    padding: 1.5rem;
  }
}

.breadcrumb-custom .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-custom .breadcrumb-item a {
  color: var(--default-color);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-custom .breadcrumb-item.active {
  color: var(--accent-color);
  font-weight: 600;
}

.hero-main-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 500px;
}

.hero-stats-row {
  display: flex;
  gap: 2rem;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 0.9rem;
  color: var(--default-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-image-side {
  background: var(--accent-color);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero-image-wrapper {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.floating-card {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 300px;
}

.card-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.card-content p {
  font-size: 0.95rem;
  color: var(--default-color);
  margin-bottom: 0;
}

/* Mission Section with Pattern */
.mission-pattern {
  padding: 100px 0;
  background: var(--surface-color);
  position: relative;
  overflow: hidden;
}

.mission-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23008080" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

.mission-statement {
  text-align: center;
  position: relative;
  z-index: 2;
}

.mission-icon-large {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--accent-color), #00a0a0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.mission-icon-large i {
  font-size: 3rem;
  color: white;
}

.mission-heading {
  font-size: 3rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 2rem;
}

.mission-text {
  font-size: 1.2rem;
  color: var(--default-color);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.mission-highlight-box {
  background: var(--accent-color);
  color: white;
  padding: 20px 30px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.mission-highlight-box i {
  font-size: 1.3rem;
}

/* Story Section with Zigzag */
.story-zigzag {
  padding: 100px 0;
  background: var(--background-color);
}

.story-content-left {
  padding-right: 2rem;
}

.story-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 2rem;
}

.story-text {
  font-size: 1.1rem;
  color: var(--default-color);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.story-features {
  margin-top: 2rem;
}

.feature-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.point-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.point-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.3rem;
}

.point-content p {
  font-size: 0.95rem;
  color: var(--default-color);
  margin-bottom: 0;
}

.story-visual-right {
  padding-left: 2rem;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 400px;
}

.grid-item {
  background: white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.grid-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-color), #00a0a0);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grid-item:hover::before {
  opacity: 0.1;
}

.grid-item:hover {
  transform: translateY(-10px);
}

.grid-item i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.grid-item span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
  position: relative;
  z-index: 2;
}

.item-1 {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
}

.item-2 {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
}

.item-3 {
  grid-row: 2 / 3;
  grid-column: 1 / 2;
}

.item-4 {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
}

/* Values Section */
.values-card-grid {
  padding: 100px 0;
  background: var(--surface-color);
}

.section-header-center {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title-main {
  font-size: 3rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.section-subtitle-main {
  font-size: 1.2rem;
  color: var(--default-color);
  margin-bottom: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.value-card-modern {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.value-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #00a0a0);
}

.value-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color), #00a0a0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon i {
  font-size: 2rem;
  color: white;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.card-description {
  font-size: 1rem;
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Team Section */
.team-modern {
  padding: 100px 0;
  background: var(--background-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.team-member-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.team-member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.member-image-container {
  position: relative;
  overflow: hidden;
}

.member-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member-card:hover .member-image {
  transform: scale(1.05);
}

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 128, 128, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member-card:hover .member-overlay {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: scale(1.1);
  color: var(--accent-color);
}

.member-details {
  padding: 30px 20px;
  text-align: center;
}

.member-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.member-position {
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 0;
}

/* Call to Action */
.cta-gradient {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--accent-color) 0%, #00a0a0 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="100" height="20" patternUnits="userSpaceOnUse"><path d="M0,10 Q25,0 50,10 T100,10 V20 H0 Z" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
  opacity: 0.3;
}

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

.cta-heading {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.cta-buttons-group .btn {
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-buttons-group .btn-primary {
  background: white;
  color: var(--accent-color);
  border: 2px solid white;
}

.cta-buttons-group .btn-primary:hover {
  background: transparent;
  color: white;
  border-color: white;
}

.cta-buttons-group .btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-buttons-group .btn-outline-light:hover {
  background: white;
  color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content-side {
    padding: 60px 30px;
  }
  
  .hero-main-title {
    font-size: 2.5rem;
  }
  
  .hero-stats-row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-image-side {
    height: 50vh;
  }
  
  .hero-image-wrapper {
    height: 50vh;
  }
  
  .floating-card {
    bottom: 20px;
    right: 20px;
    padding: 20px;
  }
  
  .mission-heading {
    font-size: 2.2rem;
  }
  
  .story-title {
    font-size: 2.2rem;
  }
  
  .story-content-left,
  .story-visual-right {
    padding: 0;
    margin-bottom: 2rem;
  }
  
  .visual-grid {
    height: 300px;
  }
  
  .section-title-main {
    font-size: 2.2rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-heading {
    font-size: 2.2rem;
  }
  
  .cta-buttons-group {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons-group .btn {
    width: 200px;
  }
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .topbar {
  background-color: var(--background-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 70px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navmenu > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navmenu .nav-search,
.navmenu .nav-auth {
  padding: 0;
}

.navmenu .nav-search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navmenu .nav-search-form .search-input {
  flex: 1 1 auto;
  min-width: 0;
}

.navmenu .nav-auth .btn-outline-primary {
  white-space: nowrap;
}

.mobile-nav-toggle {
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  cursor: pointer;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus {
  color: var(--nav-hover-color);
}

.mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
    display: flex;
    align-items: center;
  }

  .navmenu > ul {
    margin: 0;
    display: flex;
    list-style: none;
    align-items: center;
    flex: 1 1 auto;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu > ul > li.nav-search {
    margin-left: auto;
    padding-left: 20px;
    display: flex;
    align-items: center;
  }

  .navmenu > ul > li.nav-auth {
    margin-left: 20px;
    display: flex;
    align-items: center;
  }

  .navmenu .nav-search-form {
    flex-direction: row;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  /* Smaller logo on mobile */
  .header .logo img {
    max-height: 20px !important;
    height: 20px !important;
  }

  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-left: auto;
    margin-right: 0;
    cursor: pointer;
    transition: color 0.3s;
    order: 2; /* Ensure it appears after nav on mobile */
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  /* Mobile menu header */
  .mobile-menu-header {
    display: none;
  }

  .mobile-nav-active .mobile-menu-header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 60px;
    background: linear-gradient(135deg, #008080 0%, #006666 100%);
    padding: 0 20px;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-menu-logo {
    display: flex;
    align-items: center;
  }

  .mobile-menu-logo img {
    filter: brightness(0) invert(1);
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: calc(100vh - 60px);
    padding: 0;
    margin: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    overflow-y: auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    flex-direction: column;
  }

  .navmenu > ul > li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navmenu > ul > li:first-of-type {
    margin-top: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: #2d3748;
    padding: 16px 24px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: all 0.2s ease;
    background: transparent;
  }

  .navmenu > ul > li:not(.nav-auth) > a:hover {
    background: rgba(0, 128, 128, 0.08);
    color: #008080;
    padding-left: 28px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .nav-search {
    padding: 20px 24px;
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navmenu .nav-auth {
    padding: 16px 24px;
    margin-top: auto;
    border-top: 2px solid rgba(0, 128, 128, 0.1);
    background: #ffffff;
    position: relative;
  }

  .navmenu .nav-auth .nav-link {
    padding: 12px 0;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
    width: 100%;
    justify-content: flex-start;
  }

  .navmenu .nav-auth .nav-link .bi-chevron-down {
    transition: transform 0.2s;
    font-size: 14px;
    color: #718096;
  }

  .navmenu .nav-auth .nav-link[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
  }

  .navmenu .nav-auth .nav-link:hover {
    background: rgba(0, 128, 128, 0.08);
  }

  /* Mobile dropdown menu styling */
  .navmenu .nav-auth .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    margin-top: 8px;
    border: 1px solid rgba(0, 128, 128, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    display: none !important;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .navmenu .nav-auth .dropdown-menu.show {
    display: block !important;
    opacity: 1;
    max-height: 500px;
  }

  .navmenu .nav-auth .dropdown-item {
    padding: 12px 20px;
    color: #2d3748;
    transition: all 0.2s;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
  }

  .navmenu .nav-auth .dropdown-item:hover {
    background: rgba(0, 128, 128, 0.08);
    color: #008080;
  }

  .navmenu .nav-auth .dropdown-divider {
    margin: 8px 0;
    border-color: rgba(0, 128, 128, 0.1);
  }

  .navmenu .nav-auth .btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
  }

  .navmenu .nav-search-form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .navmenu .nav-search-form .search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
  }

  .navmenu .nav-search-form .search-input:focus {
    outline: none;
    border-color: #008080;
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
  }

  .navmenu .nav-search-form .search-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    margin-left: 0;
    transition: all 0.2s;
  }

  .navmenu .nav-search-form .search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
  }

  .navmenu .nav-search-form .search-input {
    width: 100%;
  }

  .navmenu .nav-search-form .search-btn {
    width: 100%;
    margin-left: 0;
  }

  .navmenu .nav-search-form .search-results {
    position: static !important;
    width: 100% !important;
    box-shadow: none;
    margin-top: 0.5rem;
  }

  .navmenu .nav-auth {
    display: block;
  }

  .navmenu .nav-auth .btn-outline-primary {
    width: 100%;
    margin-top: 0.75rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navmenu .nav-auth .dropdown-menu {
    position: static !important;
    float: none;
    transform: none !important;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin-top: 0.75rem;
  }

  .navmenu .nav-auth .dropdown-menu .dropdown-item {
    padding: 10px 20px;
    color: var(--nav-dropdown-color);
  }

  .navmenu .nav-auth .dropdown-menu .dropdown-item:hover {
    color: var(--nav-dropdown-hover-color);
    background-color: transparent;
  }

  .navmenu .nav-auth .dropdown-menu hr {
    margin: 0.5rem 20px;
    border-color: color-mix(in srgb, var(--nav-dropdown-color), transparent 75%);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: fixed;
    font-size: 28px;
    top: 16px;
    right: 16px;
    margin-right: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }

  .mobile-nav-active .mobile-nav-toggle:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: flex;
    transform: translateX(0);
  }


  

}

.search-input {
  width: 300px;   /* increase this number to make it wider */
  max-width: 100%; /* prevents breaking layout on small screens */
}

.search-btn {
  background-color: #008080;
  color: #fff;
  border: none;
  margin-left: 8px;
  padding: 6px 15px;
  border-radius: 6px;
 }

  .search-btn:hover {
  background-color: #006666; /* darker teal on hover */
  color: #fff;
 }

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Assignment Detail
--------------------------------------------------------------*/
# Assignment Detail
--------------------------------------------------------------*/
.assignment-detail {
  background-color: #f8f9fc;
}

.assignment-detail .assignment-hero {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.12), rgba(0, 128, 128, 0.02));
}

.assignment-hero__title {
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 700;
  color: var(--heading-color);
}

.assignment-hero__course {
  font-size: 0.95rem;
}

.assignment-hero__stats {
  margin-left: auto;
}

.assignment-stat {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 150px;
  box-shadow: inset 0 0 0 1px rgba(0, 128, 128, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.assignment-stat__label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(33, 37, 41, 0.6);
}

.assignment-stat__value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
}

.assignment-stat__meta {
  display: block;
}

.assignment-stat__badge {
  align-self: flex-start;
}

.assignment-section {
  border-radius: 16px;
}

.assignment-section__icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: rgba(0, 128, 128, 0.08);
  color: #008080;
}

.assignment-section__title {
  font-weight: 600;
}

.assignment-section__content p:last-child {
  margin-bottom: 0;
}

.assignment-callout {
  border-radius: 14px;
  padding: 1rem 1.25rem;
}

.assignment-form textarea {
  resize: vertical;
  min-height: 160px;
  border-radius: 12px;
}

.assignment-form__actions .btn {
  min-width: 170px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.assignment-form__actions .btn-primary {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.assignment-form__actions .btn-primary:hover,
.assignment-form__actions .btn-primary:focus {
  background-color: #ffffff !important;
  color: #008080 !important;
  border-color: #008080 !important;
}

.assignment-meta {
  border-radius: 16px;
}

.assignment-meta__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.assignment-meta__list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--heading-color);
}

.assignment-meta__list li span:first-child {
  color: rgba(33, 37, 41, 0.6);
}

.assignment-meta__link {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.assignment-meta__link:hover {
  color: #008080;
}

@media (max-width: 991.98px) {
  .assignment-detail {
    background-color: transparent;
  }

  .assignment-hero__stats {
    width: 100%;
  }

  .assignment-stat {
    flex: 1 1 140px;
  }
}

@media (max-width: 575.98px) {
  .assignment-form__actions .btn {
    width: 100%;
  }

  .assignment-meta__list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/*--------------------------------------------------------------
# Submission Detail
--------------------------------------------------------------*/
.submission-detail {
  background-color: #f8f9fc;
}

.submission-detail .submission-hero {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.12), rgba(0, 128, 128, 0.02));
}

.submission-hero__title {
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem);
  font-weight: 700;
  color: var(--heading-color);
}

.submission-hero__stats {
  margin-left: auto;
}

.submission-stat {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 150px;
  box-shadow: inset 0 0 0 1px rgba(0, 128, 128, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.submission-stat__label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(33, 37, 41, 0.6);
}

.submission-stat__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
}

.submission-section {
  border-radius: 16px;
}

.submission-section__icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: rgba(0, 128, 128, 0.08);
  color: #008080;
}

.submission-section__icon--file {
  background-color: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
}

.submission-section__icon--grade {
  background-color: rgba(76, 175, 80, 0.11);
  color: #198754;
}

.submission-section__icon--feedback {
  background-color: rgba(255, 193, 7, 0.12);
  color: #fd7e14;
}

.submission-section__title {
  font-weight: 600;
}

.submission-section__content p:last-child {
  margin-bottom: 0;
}

.submission-callout {
  border-radius: 14px;
  padding: 1rem 1.25rem;
}

.submission-grade-form textarea {
  resize: vertical;
  min-height: 140px;
}

.submission-action {
  min-width: 170px;
}

.submission-meta {
  border-radius: 16px;
}

.submission-meta__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.submission-meta__list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--heading-color);
}

.submission-meta__list li span:first-child {
  color: rgba(33, 37, 41, 0.6);
}

.submission-meta__link {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.submission-meta__link:hover {
  color: #008080;
}

@media (max-width: 991.98px) {
  .submission-detail {
    background-color: transparent;
  }

  .submission-hero__stats {
    width: 100%;
  }

  .submission-stat {
    flex: 1 1 140px;
  }
}

@media (max-width: 575.98px) {
  .submission-action {
    width: 100%;
  }

  .submission-meta__list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/*--------------------------------------------------------------
# Submission Mine
--------------------------------------------------------------*/
.submission-mine {
  background-color: #f8f9fc;
}

.submission-mine__hero {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.12), rgba(0, 128, 128, 0.02));
}

.submission-mine__title {
  font-size: clamp(1.6rem, 1.2rem + 0.9vw, 2.1rem);
  font-weight: 700;
  color: var(--heading-color);
}

.submission-mine__stats {
  margin-left: auto;
}

.submission-mine-stat {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 150px;
  box-shadow: inset 0 0 0 1px rgba(0, 128, 128, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.submission-mine-stat__label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(33, 37, 41, 0.6);
}

.submission-mine-stat__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
}

.submission-mine__section {
  border-radius: 16px;
}

.submission-mine__section-block {
  background-color: rgba(248, 249, 252, 0.6);
  border-radius: 12px;
  padding: 1.25rem;
}

.submission-mine__section-header {
  font-weight: 600;
}

.submission-mine__icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: rgba(0, 128, 128, 0.08);
  color: #008080;
}

.submission-mine__icon--feedback {
  background-color: rgba(255, 193, 7, 0.12);
  color: #fd7e14;
}

.submission-mine__icon--file {
  background-color: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
}

.submission-mine__content p:last-child {
  margin-bottom: 0;
}

.submission-mine__callout {
  border-radius: 14px;
  padding: 1rem 1.25rem;
}

.submission-mine__action {
  min-width: 170px;
}

.submission-mine__meta {
  border-radius: 16px;
}

.submission-mine__meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.submission-mine__meta-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--heading-color);
}

.submission-mine__meta-list li span:first-child {
  color: rgba(33, 37, 41, 0.6);
}

.submission-mine__meta-link {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.submission-mine__meta-link:hover {
  color: #008080;
}

@media (max-width: 991.98px) {
  .submission-mine {
    background-color: transparent;
  }

  .submission-mine__stats {
    width: 100%;
  }

  .submission-mine-stat {
    flex: 1 1 140px;
  }
}

@media (max-width: 575.98px) {
  .submission-mine__action {
    width: 100%;
  }

  .submission-mine__meta-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 120px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 100px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--default-color);
  line-height: 1.5;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 0;
}

.hero .carousel {
  width: 100%;
  min-height: 70vh;
  padding: 0;
  margin: 0;
  background-color: var(--background-color);
  position: relative;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero .carousel-item:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .carousel-container {
  position: absolute;
  inset: 90px 64px 64px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 3;
}

.hero h2 {
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  animation: fadeInDown 1s both;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 30px;
  }
}

.hero p {
  animation: fadeInDown 1s both 0.2s;
}

@media (min-width: 1024px) {

  .hero h2,
  .hero p {
    max-width: 60%;
  }
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  animation: fadeInUp 1s both 0.4s;
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 10%;
  transition: 0.3s;
  opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

@media (min-width: 1024px) {

  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    width: 5%;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 32px;
  line-height: 1;
}

.hero .carousel-indicators {
  list-style: none;
}

.hero .carousel-indicators li {
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services {
  padding: 30px 0;
}

.featured-services .service-item {
  padding: 40px 20px;
  transition: all ease-in-out 0.4s;
  height: 100%;
}

.featured-services .service-item .icon {
  margin-bottom: 10px;
}

.featured-services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: 0.3s;
}

.featured-services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.featured-services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.featured-services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.featured-services .service-item:hover {
  transform: translateY(-10px);
}

.featured-services .service-item:hover h4 a {
  color: var(--accent-color);
}

/* Force smaller logos for Featured Services */
.featured-services .partner-logo {
  width: 110px !important;     /* fixed width */
  height: auto !important;     /* keep aspect ratio */
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
  opacity: 0.95;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.featured-services .partner-logo:hover {
  transform: scale(1.05);
  opacity: 1;
}

@media (max-width: 768px) {
  .featured-services .partner-logo {
    width: 80px !important;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us .card {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 40px;
  margin: -1px;
  border-radius: 0;
}

.why-us .card span {
  display: block;
  font-size: 24px;
  font-weight: 400;
  color: var(--accent-color);
}

.why-us .card h4 {
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
}

.why-us .card p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 15px;
  margin: 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-wrapper {
  height: 60px;
}

.clients .swiper-pagination {
  display: none;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Courses Section
--------------------------------------------------------------*/
.courses-section {
  padding: clamp(3.5rem, 5vw, 5.5rem) 0;
  background: rgba(0, 128, 128, 0.10);
}

.courses-section .container {
  position: relative;
}

.courses-header {
  max-width: 640px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.courses-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 128, 128, 0.08);
  color: #007070;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.courses-header h2 {
  font-size: clamp(2rem, 1.8rem + 0.8vw, 2.6rem);
  font-weight: 700;
  margin: 1rem 0 0.75rem 0;
  color: var(--heading-color);
}

.courses-header p {
  color: rgba(33, 37, 41, 0.7);
  margin: 0 auto;
  max-width: 540px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(1.75rem, 3vw, 2.5rem);
}

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 128, 128, 0.24);
  transition: transform 0.35s ease;
}

.course-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 0;
  pointer-events: none;
}

.course-card:hover {
  transform: translateY(-8px);
}

.course-card__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #007070;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.course-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.course-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.course-card__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 47, 73, 0.05) 0%, rgba(8, 47, 73, 0.35) 100%);
  pointer-events: none;
}

.course-card__body {
  padding: 1.7rem 1.7rem 1.4rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1 1 auto;
}

.course-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(33, 37, 41, 0.75);
}

.course-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: contain;
  background-color: #ffffff;
  border: 1px solid rgba(100, 116, 139, 0.2);
  padding: 4px;
}

.course-card__title {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0;
  line-height: 1.4;
}

.course-card__description {
  font-size: 0.95rem;
  color: rgba(33, 37, 41, 0.7);
  margin: 0;
  line-height: 1.55;
}

.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.7rem 1.4rem 1.7rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.course-card__cta {
  font-weight: 600;
  color: #007070;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.course-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(0, 128, 128, 0.12);
  color: #007070;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.course-card:hover .course-card__icon {
  background: #007070;
  color: #ffffff;
  transform: translateX(4px);
}

.courses-empty-state {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(0, 128, 128, 0.08);
}

.courses-empty-state__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0, 128, 128, 0.12);
  color: #007070;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.courses-empty-state h3 {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
}

.courses-empty-state p {
  color: rgba(33, 37, 41, 0.65);
  margin-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
  .courses-header {
    margin-bottom: 2.25rem;
  }

  .course-card__body {
    padding: 1.5rem 1.3rem 1.2rem 1.3rem;
  }

  .course-card__footer {
    padding: 1rem 1.3rem 1.2rem 1.3rem;
  }
}

@media (max-width: 575.98px) {
  .courses-grid {
    gap: 1.5rem;
  }

  .course-card__badge {
    top: 14px;
    left: 14px;
  }

  .course-card__icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
# Modern Courses Section (Enhanced Design)
--------------------------------------------------------------*/
.courses-header .courses-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.course-card-modern {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 128, 128, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.course-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 128, 128, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 128, 128, 0.25);
}

.course-card-modern__header {
  position: relative;
}

.course-card-modern__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #008080;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 128, 128, 0.1);
}

.course-card-modern__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.course-card-modern__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card-modern:hover .course-card-modern__media img {
  transform: scale(1.1);
}

.course-card-modern__body {
  padding: 1.75rem 1.75rem 1.25rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.course-card-modern__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.course-card-modern__avatar,
.course-card-modern__avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  background-color: #f8fafc;
  border: 1.5px solid rgba(0, 128, 128, 0.1);
  padding: 6px;
  flex-shrink: 0;
}

.course-card-modern__avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #008080;
  font-size: 1.25rem;
}

.course-card-modern__institute {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}

.course-card-modern__institute-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #008080;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-card-modern__category {
  font-size: 0.75rem;
  color: rgba(33, 37, 41, 0.6);
  font-weight: 500;
  text-transform: capitalize;
}

.course-card-modern__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.course-card-modern:hover .course-card-modern__title {
  color: #008080;
}

.course-card-modern__description {
  font-size: 0.95rem;
  color: rgba(33, 37, 41, 0.7);
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-modern__footer {
  padding: 1.25rem 1.75rem 1.75rem 1.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.course-card-modern__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #008080;
  transition: gap 0.3s ease, color 0.3s ease;
}

.course-card-modern__cta i {
  transition: transform 0.3s ease;
  font-size: 1rem;
}

.course-card-modern:hover .course-card-modern__cta {
  gap: 0.75rem;
  color: #006666;
}

.course-card-modern:hover .course-card-modern__cta i {
  transform: translateX(4px);
}

.courses-cta-wrapper {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
}

@media (max-width: 991.98px) {
  .courses-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
  }

  .course-card-modern__body {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }

  .course-card-modern__footer {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
  }

  .course-card-modern__title {
    font-size: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .course-card-modern__badge {
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.7rem;
  }

  .course-card-modern__body {
    padding: 1.25rem 1.25rem 0.875rem 1.25rem;
    gap: 0.875rem;
  }

  .course-card-modern__footer {
    padding: 0.875rem 1.25rem 1.25rem 1.25rem;
  }

  .course-card-modern__title {
    font-size: 1.15rem;
  }

  .course-card-modern__description {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }
}

    .course-content h3 {
      font-size: 1.125rem;
      font-weight: 600;
      color: #111827;
      margin: 0 0 0.5rem 0;
    }

    .course-content p {
      font-size: 0.875rem;
      color: #4b5563;
      margin: 0;
    }

    .explore-btn {
      position: absolute;
      bottom: 20px;
      left: 15px;
      background-color: #008080;
      color: #fff;
      padding: 10px 17px;
      border-radius: 6px;
      font-size: 0.875rem;
      cursor: pointer;
      text-align: center;
      text-decoration: none;
      transition: background-color 0.3s;
    }

    .explore-btn:hover {
      background-color: #006666;
    }

    @media (max-width: 992px) {
      .courses-container {
        padding: 0 2rem;              /* smaller side margin for tablets */
        width: calc(100% - 2rem);
      }
    }

  @media (max-width: 768px) {
    .courses-container {
      padding: 0 1rem;              /* tighter on mobile */
      width: 100%;
    }
  }

  @media (max-width: 992px) {
    .courses-section h2 {
      margin-left: 2rem;           /* tighter margins for tablet */
      font-size: 2rem;
    }
  }

  @media (max-width: 768px) {
    .courses-section h2 {
      margin-left: 1rem;           /* consistent with mobile grid padding */
      font-size: 1.75rem;
      text-align: center;          /* center for smaller screens */
    }
  }

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 120px 0;
  position: relative;
  clip-path: inset(0);
  background: 
    linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(0, 128, 128, 1) 100%), /* fade effect */
    url("https://adcmemorial.org/wp-content/uploads/frame-2011.png") right center / cover no-repeat; /* image fully on right */
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  color: var(--default-color);
  font-size: 48px;
  font-weight: 800;
}

.call-to-action p {
  color: var(--default-color);
  font-size: x-large;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0 0 20px 0;
  margin: 0 auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  background-color: var(--surface-color);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
  position: relative;
  z-index: 1;
}

.portfolio .portfolio-content .portfolio-info {
  background-color: var(--background-color);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 25px 20px;
  position: relative;
  z-index: 2;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-content .portfolio-info h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info h4 a:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  text-align: center;
  margin-bottom: 20px;
}

.team .member img {
  margin: -1px -1px 30px -1px;
}

.team .member .member-content {
  padding: 0 20px 30px 20px;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.team .member p {
  padding-top: 10px;
  font-size: 14px;
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .member .social {
  margin-top: 15px;
}

.team .member .social a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  transition: 0.3s;
}

.team .member .social a:hover {
  color: var(--accent-color);
}

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

.portfolio-details .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/

.enroll-btn {
  background-color: #008080 !important;
  border-color: #008080 !important;
  color: #fff !important;
}

.enroll-btn:hover {
  background-color: #006666 !important; /* darker teal */
  border-color: #006666 !important;
}

.navmenu .rounded-circle {
  display: inline-block;
  text-align: center;
  font-size: 1rem;
  text-transform: uppercase;
}
.navmenu .dropdown-menu {
  display: none;                     /* hide by default */
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.2s ease;
  visibility: hidden;
  z-index: 9999 !important;
  position: absolute !important;
  min-width: 180px;
}

/* When dropdown is shown */
.navmenu .dropdown-menu.show {
  display: block;                    /* only show when active */
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Dropdown Animation Fix */
.navmenu .btn-outline-primary {
  border: 1px solid #008080;   /* teal border */
  color: #008080;              /* teal text */
  padding: 6px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 16px;
  height: 38px;                /* aligns with search button */
  display: flex;               /* center text vertically */
  align-items: center;         /* vertical centering */
  justify-content: center;     /* horizontal centering */
  line-height: normal;
  width: 70px;
  text-align: center;          /* ensure text is centered */
}

.navmenu .btn-outline-primary:hover {
  background-color: #008080;   /* teal background on hover */
  color: #ffffff;              /* white text on hover */
  border-color: #008080;
}

/*--------------------------------------------------------------
# Login to Enroll Button Styling
--------------------------------------------------------------*/
.btn-outline-primary {
  border: 1px solid #008080 !important;
  color: #008080 !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #008080 !important;
  color: #ffffff !important;
  border-color: #008080 !important;
}

/* StarIlm Modal Buttons */
.login-register-btn {
  border: 1px solid #008080 !important;
  color: #008080 !important;
  background-color: transparent !important;
  padding: 6px 20px !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
  font-weight: 500;
}

.login-register-btn:hover {
  background-color: #008080 !important;
  color: #ffffff !important;
  border-color: #008080 !important;
}

/* Special styling for main page login button */
.login-page-btn {
  border: 1px solid #008080 !important;
  background-color: #008080 !important;
  color: #ffffff !important;
  padding: 8px 20px !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
  font-weight: 600;
}

.login-page-btn:hover {
  background-color: #006666 !important;
  border-color: #006666 !important;
  color: #ffffff !important;
}

.bg-teal {
  background-color: #008080 !important;
  color: white !important;
}

/* === Featured Services Section - Final Polished Version === */
#featured-services {
  padding: 20px 0 !important;      /* slim height */
  background-color: #f9fcf9;       /* light tone background */
}

#featured-services .container {
  max-width: 95% !important;       /* wider layout */
  margin: 0 auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: flex;
  justify-content: center;
}

#featured-services .row {
  display: flex;
  flex-wrap: nowrap;               /* keep all logos in one row */
  justify-content: center;         /* center the logos */
  align-items: center;
  gap: 90px;                       /* even spacing between logos */
  overflow: visible;               /* ensure no cropping */
}

#featured-services .col-xl-3,
#featured-services .col-md-6 {
  flex: 0 0 auto;
  width: auto !important;
  max-width: none !important;
}

#featured-services .service-item {
  flex: 0 0 auto;
  text-align: center;
  padding: 10px 0 !important;
}

#featured-services .icon {
  height: 40px !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

#featured-services .service-item .icon img {
  max-height: 34px !important;
  width: auto !important;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

#featured-services .service-item .icon img:hover {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  #featured-services .row {
    flex-wrap: wrap;               /* allow wrapping on smaller screens */
    gap: 45px;
  }
}

/* === Popular Categories Section === */
#categories {
  margin-top: -1rem;
}

#categories h2 {
  color: #111827;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  text-align: left;
}

.chips-track {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) #e5e7eb;
}

.chips-track::-webkit-scrollbar {
  height: 6px;
}

.chips-track::-webkit-scrollbar-thumb {
  background-color: var(--accent-color);
  border-radius: 3px;
}

.chip {
  border-radius: 50px;
  border-width: 1.5px;
  padding: 6px 18px;
  font-size: 0.95rem;
  transition: all 0.2s ease-in-out;
}

.chip:hover,
.chip:focus {
  background-color: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

.progress-bar {
  background-color: #008080 !important;
}

.progress {
  background-color: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  background: linear-gradient(90deg, #008080, #00a0a0);
  color: #fff;
  font-weight: 600;
  transition: width 0.6s ease, background 0.6s ease;
  box-shadow: 0 2px 6px rgba(0, 128, 128, 0.4);
}

#resume-btn {
  border-color: #008080;
  color: #008080;
  font-size: 0.85rem;
  padding: 4px 10px;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

#resume-btn i {
  font-size: 1rem;
}

#resume-btn:hover {
  background: linear-gradient(90deg, #008080, #00a0a0);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 128, 128, 0.25);
}

.toast-notification {
  max-height: 70px;             /* limit vertical size */
  overflow: hidden;             /* hide overflowing text */
  text-overflow: ellipsis;      /* show "..." if too long */
  display: flex;
  align-items: center;          /* vertically center text */
  justify-content: center;
  line-height: 1.3;
  padding: 10px 16px;           /* tighter vertical padding */
}

.toast-notification.show {
  white-space: nowrap;          /* prevent multiline wrap */
}

.navbar img.rounded-circle {
  transition: all 0.2s ease-in-out;
}
.navbar img.rounded-circle:hover {
  transform: scale(1.05);
  border-color: #00a0a0;
}

/* === Contact Form Success Animation === */
.sent-message {
  display: none;
  opacity: 0;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 6px;
  transition: opacity 0.6s ease;
}

.sent-message.show {
  display: block !important;
  opacity: 1 !important;
}

#searchResults a:hover {
  background-color: #f8f9fa;
  color: var(--accent-color);
}
#searchResults img {
  object-fit: cover;
}

/* === CKEditor content image resizing === */
#lesson-content .ck-content img,
#lesson-content img {
  max-width: 100%;     /* Keeps image width within text area */
  height: auto;        /* Preserves aspect ratio */
  display: block;      /* Prevents inline gap below image */
  margin: 1rem auto;   /* Centers image nicely with top/bottom spacing */
  border-radius: 6px;  /* Optional: gives modern soft corners */
  object-fit: contain; /* Ensures image scales nicely inside its box */
}

/* ===========================================
   ENHANCED PREMIUM LANDING PAGE STYLES
   =========================================== */

/* Enhanced Hero Section */
.enhanced-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #008080;
  overflow: hidden;
}

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

.animated-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: floatShapes 20s infinite linear;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 5s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 30%;
  animation-delay: 10s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 15s;
}

.shape-5 {
  width: 40px;
  height: 40px;
  top: 80%;
  right: 50%;
  animation-delay: 8s;
}

@keyframes floatShapes {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(90deg); }
  50% { transform: translateY(-40px) rotate(180deg); }
  75% { transform: translateY(-20px) rotate(270deg); }
}

.hero-overlay-enhanced {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(1px);
}

.hero-content-enhanced {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title-enhanced {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-family: var(--heading-font);
  color: white;
}

.gradient-text-enhanced {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShiftEnhanced 4s ease-in-out infinite;
}

@keyframes gradientShiftEnhanced {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-description-enhanced {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 500px;
}

.hero-buttons-enhanced {
  margin-bottom: 3rem;
}

.btn-premium {
  background: linear-gradient(45deg, #008080, #00a0a0, #20b2aa);
  border: none;
  color: white;
  font-weight: 600;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 128, 128, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

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

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 128, 128, 0.4);
}

.btn-outline-premium {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  background: transparent;
  font-weight: 600;
  padding: 13px 35px;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-outline-premium:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

.hero-stats-enhanced {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat-item-enhanced {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
  color: white;
}

/* Enhanced Hero Visual */
.hero-visual-enhanced {
  position: relative;
  height: 600px;
}

.floating-card-enhanced {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  color: #333;
  animation: floatEnhanced 4s ease-in-out infinite;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 3;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #008080, #00a0a0);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.card-content {
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
}

.card-subtitle {
  font-size: 0.9rem;
  color: #6c757d;
}

.card-1 {
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 25%;
  left: 5%;
  animation-delay: 1.5s;
}

.card-3 {
  top: 65%;
  right: 5%;
  animation-delay: 3s;
}

@keyframes floatEnhanced {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-25px) scale(1.05); }
}

.hero-image-enhanced {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  z-index: 2;
}

.image-container {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
  opacity: 1;
}

.play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #008080;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover {
  transform: scale(1.1);
  background: white;
}

.progress-ring {
  position: absolute;
  top: -20px;
  right: -20px;
  z-index: 4;
}

.progress-ring-svg {
  transform: rotate(-90deg);
}

.progress-ring-circle-fill {
  stroke-dasharray: 314;
  stroke-dashoffset: 78.5;
  transition: stroke-dashoffset 0.5s ease;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  font-size: 1.2rem;
  color: #008080;
}

/* Enhanced Features Section */
.enhanced-features-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.enhanced-features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e0e0e0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.enhanced-features-section .container {
  position: relative;
  z-index: 2;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(45deg, #008080, #00a0a0);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title-enhanced {
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-family: var(--heading-font);
}

.section-subtitle-enhanced {
  font-size: 1.3rem;
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.feature-card-enhanced {
  background: white;
  padding: 3rem 2rem;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(45deg, #008080, #00a0a0);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card-enhanced:hover::before {
  transform: scaleX(1);
}

.feature-card-enhanced:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon-enhanced {
  width: 90px;
  height: 90px;
  background: linear-gradient(45deg, #008080, #00a0a0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.feature-icon-enhanced::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(45deg, #008080, #00a0a0);
  opacity: 0.3;
  transform: scale(1.2);
  animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
  0% { transform: scale(1.2); opacity: 0.3; }
  50% { transform: scale(1.4); opacity: 0.1; }
  100% { transform: scale(1.2); opacity: 0.3; }
}

.feature-icon-enhanced i {
  font-size: 2.5rem;
  color: white;
  position: relative;
  z-index: 2;
}

.feature-card-enhanced:hover .feature-icon-enhanced {
  transform: scale(1.1);
}

.feature-card-enhanced h4 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.feature-card-enhanced p {
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.feature-link a {
  color: #008080;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.feature-link a:hover {
  color: #00a0a0;
  transform: translateX(5px);
}

/* Enhanced Course Showcase */
.enhanced-course-showcase {
  padding: 100px 0;
  background: white;
}

.course-card-premium {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.course-image-premium {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.course-card-premium:hover .course-image-premium img {
  transform: scale(1.1);
}

.course-overlay-premium {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-card-premium:hover .course-overlay-premium {
  opacity: 1;
}

.course-actions {
  display: flex;
  gap: 10px;
}

.course-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
}

.badge-premium {
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-content-premium {
  padding: 2rem;
}

.course-meta-premium {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.course-category-premium {
  background: linear-gradient(45deg, #008080, #00a0a0);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.course-rating-premium {
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-rating-premium .stars i {
  color: #ffd700;
  font-size: 0.9rem;
}

.rating-text {
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 500;
}

.course-title-premium {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.course-description-premium {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.course-footer-premium {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.course-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.course-duration {
  color: #6c757d;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.course-level {
  background: #e9ecef;
  color: #495057;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.course-price {
  text-align: right;
}

.price-current {
  font-size: 1.5rem;
  font-weight: 700;
  color: #008080;
}

.price-original {
  font-size: 1rem;
  color: #6c757d;
  text-decoration: line-through;
  margin-left: 5px;
}

.empty-state {
  padding: 4rem 2rem;
  text-align: center;
  color: #6c757d;
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h4 {
  margin-bottom: 0.5rem;
  color: #495057;
}

/* Responsive Design for Enhanced Styles */
@media (max-width: 768px) {
  .hero-title-enhanced {
    font-size: 2.5rem;
  }
  
  .hero-description-enhanced {
    font-size: 1.1rem;
  }
  
  .hero-stats-enhanced {
    justify-content: center;
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .floating-card-enhanced {
    display: none;
  }
  
  .section-title-enhanced {
    font-size: 2.2rem;
  }
  
  .feature-card-enhanced {
    padding: 2rem 1.5rem;
  }
  
  .btn-premium {
    width: 100%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title-enhanced {
    font-size: 2rem;
  }
  
  .hero-buttons-enhanced .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-stats-enhanced {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .feature-card-enhanced {
    padding: 1.5rem 1rem;
  }
  
  .course-content-premium {
    padding: 1.5rem;
  }
}

/* ===========================================
   CORPORATE ABOUT PAGE STYLES
   =========================================== */

/* About Page Header */
.about-header {
  background: #f8f9fa;
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: var(--accent-color);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--default-color);
}

.about-main-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.about-subtitle {
  font-size: 1.2rem;
  color: var(--default-color);
  margin-bottom: 0;
}

.about-badge {
  text-align: right;
}

.badge-text {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-color);
}

.badge-subtext {
  display: block;
  font-size: 0.9rem;
  color: var(--default-color);
}

/* Mission Statement */
.mission-statement {
  padding: 4rem 0;
  background: white;
}

.mission-card {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid var(--accent-color);
}

.mission-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.mission-card h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
}

.mission-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--default-color);
  margin-bottom: 2rem;
}

.mission-highlight {
  background: var(--accent-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-size: 1.1rem;
  display: inline-block;
}

/* Company Story */
.company-story {
  padding: 4rem 0;
  background: #f8f9fa;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 2rem;
}

.story-content {
  padding-right: 2rem;
}

.story-paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--default-color);
  margin-bottom: 1.5rem;
}

.story-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

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

.story-stat .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
}

.story-stat .stat-label {
  font-size: 0.9rem;
  color: var(--default-color);
  font-weight: 500;
}

.story-image img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-caption {
  margin-top: 1rem;
  text-align: center;
}

.image-caption p {
  font-size: 0.9rem;
  color: var(--default-color);
  font-style: italic;
}

/* Core Values */
.core-values {
  padding: 4rem 0;
  background: white;
}

.value-item {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.value-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.value-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.value-item p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Team Section */
.team-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.team-member {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.team-member:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.member-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.member-info {
  padding: 1.5rem;
}

.member-info h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.member-title {
  color: var(--accent-color);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.member-bio {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.member-links {
  display: flex;
  gap: 0.5rem;
}

.member-links a {
  width: 32px;
  height: 32px;
  background: #f8f9fa;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.member-links a:hover {
  background: var(--accent-color);
  color: white;
}

/* Contact CTA */
.contact-cta {
  padding: 4rem 0;
  background: var(--accent-color);
  color: white;
}

.contact-cta h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 1);
}

.contact-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.contact-cta .btn-primary {
  background: white;
  color: var(--accent-color);
  border: none;
  font-weight: 600;
}

.contact-cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-color);
}

.contact-cta .btn-outline-primary {
  background: transparent;
  color: white;
  border: 2px solid white;
  font-weight: 600;
}

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

/* Responsive Design for About Page */
@media (max-width: 768px) {
  .about-main-title {
    font-size: 2.5rem;
  }
  
  .story-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .story-stats {
    justify-content: center;
    gap: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .mission-card {
    padding: 2rem;
  }
  
  .about-badge {
    text-align: left;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .about-main-title {
    font-size: 2rem;
  }
  
  .section-heading {
    font-size: 2rem;
  }
  
  .story-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-cta h2 {
    font-size: 2rem;
  }
  
  .mission-card {
    padding: 1.5rem;
  }
}

.advisory-board-section {
  background-color: #fafafa;
}

.advisor-card {
  border: 1px solid #eee;
  background: #fff;
}

.advisor-card .member-title {
  font-size: 0.95rem;
  color: #6c757d;
}

.advisor-card .member-bio {
  font-size: 0.9rem;
}