/* ==========================================================================
   Standalone CSS Framework for SFAO Website
   Replaces Hugo Fresh and Bulma themes with optimized standalone solution
   ========================================================================== */

/* ==========================================================================
   CSS Reset and Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
  background-color: #ffffff !important;
  overflow-x: hidden;
  padding-top: 4.225rem;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: #000000;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

strong {
  font-weight: 600;
}

/* ==========================================================================
   Grid System (Replaces Bulma Columns)
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.columns {
  display: flex;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  margin-top: -0.75rem;
  flex-wrap: wrap;
}

.column {
  display: block;
  flex-basis: 0;
  flex-grow: 1;
  flex-shrink: 1;
  padding: 0.75rem;
}

.column.is-half {
  flex: none;
  width: 50%;
}

.column.is-one-third {
  flex: none;
  width: 33.333%;
}

.column.is-two-thirds {
  flex: none;
  width: 66.666%;
}

.column.is-one-quarter {
  flex: none;
  width: 25%;
}

.column.is-three-quarters {
  flex: none;
  width: 75%;
}

/* ==========================================================================
   Sections and Layout
   ========================================================================== */
.section {
  padding: 3rem 0;
}

.section.is-medium {
  padding: 5rem 0;
}

.section.is-large {
  padding: 8rem 0;
}

.hero {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 50vh;
  position: relative;
  padding: 3rem 0;
}

.hero.is-large {
  min-height: 80vh;
}

.hero-body {
  flex-grow: 1;
  flex-shrink: 0;
  padding: 6rem 1.5rem 3rem 1.5rem;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   Navbar System
   ========================================================================== */
.navbar {
  background-color: #ffffff;
  min-height: 4.225rem;
  position: relative;
  z-index: 30;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.navbar.is-fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Navbar padding is now handled in the main body rule above */

.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.225rem;
  width: 100%;
}

.navbar-brand {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  min-height: 4.225rem;
  margin-right: auto;
}

.navbar-item {
  align-items: center;
  display: flex;
  flex-grow: 0;
  flex-shrink: 0;
  line-height: 1.5;
  padding: 0.5rem 1rem;
  position: relative;
  color: #000000;
  text-decoration: none;
  transition: background-color 0.2s ease;
  height: 100%;
  font-size: 1rem;
  font-weight: 500;
}

.navbar-item:hover {
  background-color: #f5f5f5;
}

.navbar-item img {
  max-height: 1.75rem;
  width: auto;
}

.navbar-burger {
  color: #000000;
  cursor: pointer;
  display: block;
  height: 4.225rem;
  position: relative;
  width: 4.225rem;
  margin-left: auto;
}

.navbar-burger span {
  background-color: currentColor;
  display: block;
  height: 1px;
  left: calc(50% - 8px);
  position: absolute;
  transform-origin: center;
  transition-duration: 86ms;
  transition-property: background-color, opacity, transform;
  transition-timing-function: ease-out;
  width: 16px;
}

.navbar-burger span:nth-child(1) {
  top: calc(50% - 6px);
}

.navbar-burger span:nth-child(2) {
  top: calc(50% - 1px);
}

.navbar-burger span:nth-child(3) {
  top: calc(50% + 4px);
}

.navbar-burger.is-active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.navbar-menu {
  display: none;
  flex-grow: 1;
  flex-shrink: 0;
  align-items: center;
}

.navbar-start {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  margin-right: auto;
  height: 100%;
}

.navbar-end {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  height: 100%;
}

/* Dropdown functionality */
.navbar-item.has-dropdown {
  position: relative;
}

.navbar-link {
  color: #000000;
  display: flex;
  align-items: center;
  line-height: 1.5;
  padding: 0.5rem 1rem;
  position: relative;
  text-decoration: none;
  transition: background-color 0.2s ease;
  height: 100%;
  font-size: 1rem;
  font-weight: 500;
}

.navbar-link:hover {
  background-color: #f5f5f5;
}

.navbar-dropdown {
  font-size: 1rem;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  display: none;
  min-width: 12rem;
  z-index: 20;
}


.navbar-item.has-dropdown:hover .navbar-dropdown {
  display: block;
}

/* ==========================================================================
   Button System
   ========================================================================== */
.button {
  background-color: #ffffff;
  border: 1px solid #dbdbdb;
  border-radius: 4px;
  color: #363636;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.5rem 1rem;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  vertical-align: top;
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
}

.button:hover {
  border-color: #b5b5b5;
}

.button:focus {
  outline: 3px solid #304190;
  outline-offset: 2px;
}

.button.is-primary {
  background-color: #304190;
  border-color: #304190;
  color: #ffffff;
}

.button.is-primary:hover {
  background-color: #D25500;
  border-color: #D25500;
}

.button.accent-btn {
  background-color: #304190;
  border-color: #304190;
  color: #ffffff;
}

.button.accent-btn:hover {
  background-color: #D25500;
  border-color: #D25500;
}

.button.primary-btn {
  background-color: #304190;
  border-color: #304190;
  color: #ffffff;
}

.button.primary-btn:hover {
  background-color: #D25500;
  border-color: #D25500;
}

/* ==========================================================================
   Cards and Content Components
   ========================================================================== */
.card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #000000;
  position: relative;
  overflow: hidden;
}

.card-content {
  padding: 1.5rem;
}

.content {
  color: #000000;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  color: #000000;
  font-weight: 600;
  line-height: 1.125;
}

.content p:not(:last-child) {
  margin-bottom: 1rem;
}

.content ul {
  list-style: disc outside;
  margin-left: 2rem;
  margin-top: 1rem;
}

.content ol {
  list-style: decimal outside;
  margin-left: 2rem;
  margin-top: 1rem;
}

.content li {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.field {
  margin-bottom: 1.5rem;
}

.label {
  color: #000000;
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.input,
.textarea,
.select select {
  background-color: #ffffff;
  border: 1px solid #dbdbdb;
  border-radius: 4px;
  color: #000000;
  display: block;
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.5rem 0.75rem;
  position: relative;
  width: 100%;
  transition: border-color 0.2s ease;
}

.input:focus,
.textarea:focus,
.select select:focus {
  border-color: #304190;
  outline: 3px solid rgba(48, 65, 144, 0.3);
  outline-offset: 2px;
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.is-hidden {
  display: none !important;
}

.is-flex {
  display: flex !important;
}

.is-block {
  display: block !important;
}

.is-inline {
  display: inline !important;
}

.is-inline-block {
  display: inline-block !important;
}

.has-text-centered {
  text-align: center !important;
}

.has-text-left {
  text-align: left !important;
}

.has-text-right {
  text-align: right !important;
}

.has-text-white {
  color: #ffffff !important;
}

.has-text-black {
  color: #000000 !important;
}

.has-text-primary {
  color: #304190 !important;
}

.has-text-secondary {
  color: #D25500 !important;
}

.has-background-primary {
  background-color: #304190 !important;
}

.has-background-secondary {
  background-color: #D25500 !important;
}

.has-background-white {
  background-color: #ffffff !important;
}

.is-size-1 { font-size: 3rem !important; }
.is-size-2 { font-size: 2.5rem !important; }
.is-size-3 { font-size: 2rem !important; }
.is-size-4 { font-size: 1.5rem !important; }
.is-size-5 { font-size: 1.25rem !important; }
.is-size-6 { font-size: 1rem !important; }
.is-size-7 { font-size: 0.875rem !important; }

.subtitle {
  color: #000000;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.title {
  color: #000000;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.125;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    display: none;
    position: fixed;
    top: 4.225rem;
    right: 0;
    width: 300px;
    height: calc(100vh - 4.225rem);
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 20;
  }

  .navbar-menu.is-active {
    display: block;
    transform: translateX(0);
  }

  .navbar-burger {
    display: block;
  }

  .navbar-start,
  .navbar-end {
    display: block;
  }

  .navbar-item {
    display: block;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #f5f5f5;
  }

  .navbar-item:last-child {
    border-bottom: none;
  }

  .navbar-dropdown {
    position: static;
    display: none;
    box-shadow: none;
    padding-left: 1rem;
    background-color: #f5f5f5;
  }

  .navbar-item.has-dropdown:hover .navbar-dropdown,
  .navbar-item.has-dropdown.is-active .navbar-dropdown {
    display: block;
  }

  .columns {
    margin-left: 0;
    margin-right: 0;
  }

  .column {
    padding: 0.75rem 0;
  }

  .column.is-half-mobile {
    flex: none;
    width: 50%;
  }

  .column.is-full-mobile {
    flex: none;
    width: 100%;
  }
}

@media screen and (min-width: 1024px) {
  .navbar-menu {
    display: flex;
    align-items: center;
    flex-grow: 0;
    flex-basis: auto;
    justify-content: flex-end;
  }

  .navbar-burger {
    display: none;
  }

  .navbar-item.has-dropdown:hover .navbar-dropdown {
    display: block;
  }

  .column.is-half-desktop {
    flex: none;
    width: 50%;
  }

  .column.is-one-third-desktop {
    flex: none;
    width: 33.333%;
  }

  .column.is-two-thirds-desktop {
    flex: none;
    width: 66.666%;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section.is-medium {
    padding: 3rem 0;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-body {
    padding: 4rem 1rem 2rem 1rem;
  }

  .title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 1.125rem;
  }

  .button {
    font-size: 0.875rem;
    padding: 0.4rem 0.8rem;
  }
}

/* ==========================================================================
   Accessibility and Focus Management
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

*:focus {
  outline: none;
}

*:focus-visible {
  outline: 3px solid #304190;
  outline-offset: 2px;
  box-shadow: 0 0 0 1px #ffffff;
}

button:focus-visible,
.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid #D25500;
  outline-offset: 2px;
  box-shadow: 0 0 0 1px #ffffff, 0 0 8px rgba(210, 85, 0, 0.3);
}

.navbar-item:focus-visible,
.navbar-link:focus-visible {
  outline: 2px solid #D25500;
  outline-offset: 1px;
  background-color: rgba(210, 85, 0, 0.1);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .button.is-primary {
    background-color: #D25500 !important;
    border-color: #D25500 !important;
    color: #ffffff !important;
  }
  
  .button.is-primary:hover {
    background-color: #333333 !important;
    border-color: #333333 !important;
  }
  
  *:focus-visible {
    outline: 4px solid #000000;
    outline-offset: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */
.hero-body .landing-caption .title.is-1 {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-body .landing-caption .subtitle {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.hero-body .button.cta {
  font-size: 1.125rem;
  padding: 0.75rem 2rem;
  min-height: 3rem;
  border-radius: 50px;
  font-weight: 500;
}

.hero-body .image img {
  max-width: 70%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Responsive adjustments for hero */
@media (max-width: 768px) {
  .hero-body .landing-caption .title.is-1 {
    font-size: 2.5rem;
  }
  
  .hero-body .landing-caption .subtitle {
    font-size: 1.25rem;
  }
  
  .hero-body .image img {
    max-width: 80%;
  }
}

/* Hero footer partner logos */
.hero-foot {
  padding: 5rem 0 3rem 0;
  margin-top: 3rem;
  background-color: transparent;
}

.hero-foot .tabs {
  border-bottom: none;
}

.hero-foot .tabs ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: none;
}

.hero-foot .tabs li {
  flex: 0 0 auto;
  margin: 0;
}

.hero-foot .tabs a {
  display: block;
  padding: 0;
  border-bottom: none;
  transition: transform 0.3s ease;
}

.hero-foot .tabs a:hover {
  transform: scale(1.05);
}

.hero-foot .partner-logo {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* Responsive logo grid */
@media (max-width: 1024px) {
  .hero-foot .tabs ul {
    gap: 1.5rem 2.5rem;
  }
  
  .hero-foot .partner-logo {
    height: 50px;
    max-width: 170px;
  }
}

@media (max-width: 768px) {
  .hero-foot {
    padding: 3rem 0 2rem 0;
    margin-top: 2rem;
  }
  
  .hero-foot .tabs ul {
    gap: 1.5rem 2rem;
  }
  
  .hero-foot .partner-logo {
    height: 40px;
    max-width: 140px;
  }
}

/* ==========================================================================
   Single Page Styles
   ========================================================================== */
.section.is-medium {
  background-color: #ffffff;
  min-height: 100vh;
}

.section-title {
  position: relative;
  margin-bottom: 1rem;
}

.divider {
  width: 60px;
  height: 3px;
  background-color: #D25500;
  margin: 0 0 2rem 0;
  border-radius: 2px;
}

/* ==========================================================================
   Site-Specific Styles (from local-extensions.css)
   ========================================================================== */

/* Modern card-based design for educators */
.two-column {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.two-column:hover {
  transform: translateY(-2px);
  box-shadow: -12px 12px 24px rgba(48, 65, 144, 0.2), -6px 6px 16px rgba(210, 85, 0, 0.15);
  border-left-color: #304190;
  border-bottom-color: #304190;
}

.column-left {
  flex: 0 0 150px;
  align-items: center;
}

.column-left img {
  max-height: 150px;
  width: 150px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.two-column:hover .column-left img {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(48, 65, 144, 0.25), 0 2px 8px rgba(210, 85, 0, 0.2);
}

.column-right {
  flex: 1;
  align-items: flex-start;
  padding-left: 1rem;
}

.column-right .subtitle {
  margin-bottom: 0.75rem;
  position: relative;
}

.column-right .subtitle a {
  color: #304190;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

.column-right .subtitle a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #D25500;
  transition: width 0.3s ease;
}

.two-column:hover .column-right .subtitle a {
  color: #D25500;
}

.two-column:hover .column-right .subtitle a::after {
  width: 100%;
}

.column-right p {
  margin-bottom: 0.5rem;
  color: #000000;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.column-right p strong {
  color: #304190;
  font-weight: 600;
}

.two-column:hover .column-right p {
  color: #222;
}

/* Content section styling */
.content {
  position: relative;
  background-color: #fafafa;
  padding: 2rem;
  border-radius: 16px;
}

.content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, #e0e0e0 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
  pointer-events: none;
}

.content .two-column {
  position: relative;
  z-index: 1;
}

/* About page card-based layout */
.about-sections {
  margin-top: 3rem;
}

.about-card {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-left: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.about-card.reverse {
  flex-direction: row-reverse;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: -16px 16px 32px rgba(48, 65, 144, 0.15), -8px 8px 20px rgba(210, 85, 0, 0.12);
  border-left-color: #304190;
  border-bottom-color: #304190;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(48, 65, 144, 0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.about-card:hover::before {
  opacity: 1;
}

.about-card .card-image {
  flex: 0 0 300px;
  height: 250px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.about-card .card-image img {
  max-width: 280px;
  max-height: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover .card-image img {
  transform: scale(1.08);
}

.about-card .card-content {
  flex: 1;
  padding: 0 1rem;
}

.about-card .card-title {
  color: #304190;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.about-card .card-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: #D25500;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover .card-title::after {
  width: 100%;
}

.about-card .card-text {
  color: #000000;
  line-height: 1.7;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.about-card:hover .card-text {
  color: #222;
}

/* Certification styles */
.certifications-content {
  position: relative;
  background-color: #fafafa;
  padding: 2rem;
  border-radius: 16px;
}

.certification-card {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.certification-card:hover {
  transform: translateY(-2px);
  box-shadow: -12px 12px 24px rgba(48, 65, 144, 0.2), -6px 6px 16px rgba(210, 85, 0, 0.15);
  border-left-color: #304190;
  border-bottom-color: #304190;
}

.cert-image {
  flex: 0 0 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-image img {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.certification-card:hover .cert-image img {
  transform: scale(1.05);
}

.cert-content {
  flex: 1;
  padding-left: 1rem;
}

.cert-title {
  margin-bottom: 1rem;
}

.cert-title a {
  color: #304190;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.3rem;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

.cert-title a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #D25500;
  transition: width 0.3s ease;
}

.certification-card:hover .cert-title a {
  color: #D25500;
}

.certification-card:hover .cert-title a::after {
  width: 100%;
}

.cert-summary {
  color: #000000;
  line-height: 1.6;
  font-size: 1rem;
}

.cert-summary p {
  margin-bottom: 0.5rem;
}

/* Special styles for navbar items containing buttons */
.navbar-item .button {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

/* Language selector styles */
.navbar-item.has-dropdown .navbar-link {
  padding: 0.5rem 1rem !important;
  min-width: auto !important;
  width: auto !important;
  height: auto !important;
}

/* Orange divider below ALL dropdown items on hover - desktop only */
@media screen and (min-width: 1024px) {
  .navbar-item.has-dropdown {
    position: relative;
  }

  .navbar-item.has-dropdown::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    background-color: #D25500;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .navbar-item.has-dropdown:hover::after {
    opacity: 1;
  }
}

/* Language selector dropdown - compact */
.navbar-item.has-dropdown.language-selector .navbar-dropdown {
  min-width: 100px !important;
  max-width: 100px !important;
  width: 100px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  padding: 0 !important;
}

.navbar-item.has-dropdown.language-selector .navbar-dropdown .navbar-item {
  white-space: nowrap !important;
  padding: 0.5rem 0.75rem !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 1rem !important;
  min-width: auto !important;
  max-width: 100px !important;
  width: 100px !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* Regular navigation dropdown - wider for full text */
.navbar-item.has-dropdown:not(.language-selector) .navbar-dropdown {
  min-width: 200px !important;
  max-width: 200px !important;
  width: 200px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  padding: 0.5rem 0 !important;
}

.navbar-item.has-dropdown:not(.language-selector) .navbar-dropdown .navbar-item {
  white-space: nowrap !important;
  padding: 0.5rem 1rem !important;
  overflow: visible !important;
  text-overflow: none !important;
  font-size: 1rem !important;
  min-width: auto !important;
  max-width: 200px !important;
  width: 200px !important;
  display: block !important;
  box-sizing: border-box !important;
}

.navbar-item.has-dropdown:last-child .navbar-dropdown {
  right: 0 !important;
  left: auto !important;
}


/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .two-column {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
  }
  
  .column-left {
    flex: none;
    width: 100%;
  }
  
  .column-left img {
    margin: 0 auto;
    display: block;
  }
  
  .column-right {
    padding-left: 0;
    width: 100%;
  }
  
  .column-right .subtitle a {
    font-size: 1.1rem;
  }
  
  .about-card,
  .about-card.reverse {
    flex-direction: column !important;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
  }
  
  .about-card .card-image {
    flex: none;
    width: 100%;
    max-width: 400px;
    height: 350px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }
  
  .about-card .card-image img {
    max-width: 360px;
    max-height: 320px;
    width: auto;
    height: auto;
    object-fit: contain;
  }
  
  .about-card .card-content {
    padding: 0;
    text-align: center;
  }
  
  .about-card .card-title {
    font-size: 1.5rem;
  }
  
  .about-card .card-text {
    font-size: 0.95rem;
  }
  
  .certification-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .cert-image {
    flex: none;
    width: 100%;
  }
  
  .cert-content {
    padding-left: 0;
    width: 100%;
  }
  
  .cert-title a {
    font-size: 1.2rem;
  }
}

/* iPhone and small mobile - even larger images for better visibility */
@media (max-width: 480px) {
  .about-card .card-image {
    height: 380px;
    padding: 0.5rem;
  }
  
  .about-card .card-image img {
    max-width: 350px;
    max-height: 350px;
  }
}

/* Dark mode support disabled - keeping light theme always */
/* @media (prefers-color-scheme: dark) {
  .content {
    background-color: #1a1a1a;
    color: #e0e0e0;
  }
  
  .two-column, .about-card, .certification-card {
    background: #2a2a2a;
    color: #e0e0e0;
  }
  
  .two-column:hover, .about-card:hover, .certification-card:hover {
    box-shadow: -12px 12px 24px rgba(255, 255, 255, 0.1);
  }
} */