body {
  color: #000000;
  background: linear-gradient(to right, #ffffff 0%, #f8f8f8 10%, #f8f8f8 90%, #ffffff 100%);
  font-family: "Futura BK", sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  color: black;
  font-weight: normal;
}

h1 {
  font-size: 24px;
  margin-bottom: 0;
}

h2 {
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
}

h3 {
  font-size: 18px;
  margin-top: 15px;
  margin-bottom: 5px;
}

/* Banner styling */
#topbanner {
  width: 100%;
  text-align: center;
  background: transparent;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.banner-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 4px;
}

#topbanner img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  height: auto;
  padding: 0;
  box-sizing: border-box;
}

/* Desktop: Show desktop banner, hide mobile banner */
.desktop-banner {
  display: block;
}

.mobile-banner {
  display: none;
}

/* Navigation Bar Styling */
.main-nav {
  width: 100%;
  background: transparent;
  border-bottom: 0px solid #ddd;
  position: relative;
  z-index: 10;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  background-color: #223367;
  border-radius: 0 0 3px 3px;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 15px 25px;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-right: 1px solid #1a2854;
  border-radius: 2px;
}

.nav-item:last-child .nav-link {
  border-right: none;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav-link.active {
  background-color: #4285f4;
  color: #ffffff;
}

/* Container - this is the key for centering */
.container {
  max-width: 1200px;   
  margin: 0 auto;      
  padding: 20px;
  box-sizing: border-box;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 4px;
}

/* Three columns wrapper */
.three-columns {
  display: block;
  width: 100%;
  margin: 20px 0;
  padding: 0;
  box-sizing: border-box;
}

/* Single column */
.column {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
}

/* Tab content styling */
.column > *:not(.responsive-tabs) {
  padding: 15px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-top: none;
  box-sizing: border-box;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* tab nav style */
.tab-content {
  display: none;
  box-sizing: border-box;
  width: 100%;
}

.tab-content.active {
  display: block;
}

/* Responsive Tabs */
.responsive-tabs {
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
}

/* Desktop tab styles */
.tabs-list {
  display: flex;
  border-bottom: 1px solid #ccc;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  width: 100%;
  align-items: flex-start;
  box-sizing: border-box;
}

.tab {
  flex: 1 1 auto;
  min-width: 100px;
  margin: 0 1px;
  padding: 10px 8px 9px 8px;
  background: #fff;
  color: #223367;
  border: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-radius: 3px 3px 0 0;
  font-size: 0.85rem;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  transition: border 0.2s, background 0.2s, color 0.2s, transform 0.1s;
  box-shadow: none;
  outline: none;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.tab:first-child {
  border-left: 1px solid #ccc;
  margin-left: 0;
}

.tab:not(.active) {
  background: #f8f8f8;
  color: #223367;
  border-bottom: 1px solid #ccc;
  z-index: 0;
  box-shadow: none;
}

.tab:not(.active):hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.tab.active {
  background: #f0f0f0;
  color: #333;
  border-bottom: 1px solid #f0f0f0 !important;
  border-top: 3px solid #4285f4;
  z-index: 2;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  height: 56px;
}

/* Hide mobile toggle by default */
.tabs-toggle {
  display: none !important;
}

/* Hamburger menu animation */
.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  margin-left: 12px;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
  transform-origin: center;
  position: absolute;
}

.hamburger-line:nth-child(1) {
  top: 0;
}

.hamburger-line:nth-child(2) {
  top: 6px;
}

.hamburger-line:nth-child(3) {
  top: 12px;
}

/* Clean X animation when menu is open */
.tabs-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.tabs-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.tabs-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* Mobile accreditation layout fix */
@media (max-width: 800px) {
  .accreditation-layout {
    flex-direction: column !important;
    text-align: center !important;
  }
  
  .accreditation-logo {
    order: 2;
    margin: 15px auto 0 auto !important;
    display: block;
  }
  
  .accreditation-text {
    order: 1;
    margin-bottom: 10px;
  }
}

/* Payment Form Styles - Updated to match site design */
.payment-form {
  background: white;
  padding: 20px;
  margin: 10px 0;
  border: 1px solid #ccc;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.payment-form-group {
  margin-bottom: 15px;
}

.payment-form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.payment-form-input {
  width: 100%;
  max-width: 600px;
  padding: 8px 12px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background-color: white;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  display: block;
}

.payment-form-input:focus {
  outline: none;
  border-color: #4285f4;
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

.payment-form-textarea {
  resize: vertical;
  min-height: 80px;
  max-width: 600px;
}

.payment-form-group small {
  display: block;
  margin-top: 5px;
  color: #666;
  font-size: 0.85rem;
  max-width: 600px;
}

.payment-price-display {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 4px;
  margin: 15px auto;
  text-align: center;
  border: 1px solid #ddd;
  max-width: 600px;
}

.payment-price-amount {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

.price-number::before {
  content: "$";
}

.payment-countdown-timer {
  font-size: 0.9rem;
  color: #e74c3c;
  margin-top: 8px;
  display: block;
  text-align: center;
}

.payment-button {
  width: 100%;
  max-width: 300px;
  background: #4285f4;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 auto;
  display: block;
}

.payment-button:hover {
  background: #3367d6;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.payment-button:active {
  transform: translateY(0);
}

.payment-security-info {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  margin-top: 15px;
}

@media (max-width: 800px) {
  /* Banner adjustments */
  .banner-wrapper {
    box-shadow: none;
  }
  
  /* Switch to mobile banner on tablets and mobile */
  .desktop-banner {
    display: none !important;
  }
  
  .mobile-banner {
    display: block !important;
  }
  
  /* Container adjustments */
  .container {
    padding: 10px;
    box-shadow: none;
  }
  
  /* Ensure three-columns has no extra spacing */
  .three-columns {
    margin: 10px 0;
    padding: 0;
  }
  
  /* Ensure column takes full width */
  .column {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* Mobile tab toggle */
  .tabs-toggle {
    display: flex !important;
    width: 100%;
    border: 1px solid #ccc;
    background: #fff;
    padding: 18px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    color: #333;
    cursor: pointer;
    position: relative;
    justify-content: space-between;
    align-items: center;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    margin-bottom: 0;
    z-index: 101;
    transition: all 0.2s ease;
    box-sizing: border-box;
  }

  .tabs-toggle:hover {
    background: #f8f9fa;
    border-color: #bbb;
  }

  .tabs-toggle-label {
    display: inline-block;
    vertical-align: middle;
  }

  .tabs-toggle-icon {
    font-size: 1.4rem;
    margin-left: 12px;
    vertical-align: middle;
    transition: transform 0.2s;
  }
  
  .tabs-toggle[aria-expanded="true"] .tabs-toggle-icon {
    transform: rotate(180deg);
  }

  /* Mobile dropdown */
  .tabs-mobile-container {
    position: relative;
    width: 100%;
    z-index: 100;
    margin-bottom: 0;
  }

  .tabs-list {
    display: none;
    flex-direction: column;
    border: 1px solid #ccc;
    border-top: none;
    width: 100%;
    background: #fff;
    border-radius: 0;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 8px 0;
    margin: 0;
    max-height: 320px;
    overflow-y: auto;
    box-sizing: border-box;
  }
  
  .tabs-list.open {
    display: flex;
  }

  .tab {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #eee !important;
    background: #fff !important;
    color: #333 !important;
    text-align: center !important;
    padding: 18px 24px !important;
    min-width: unset;
    font-size: 1rem;
    font-weight: 500;
    height: auto;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.4;
    white-space: normal;
    text-overflow: clip;
    overflow: visible;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
  }
  
  .tab:hover {
    background: #f8f9fa !important;
    color: #223367 !important;
  }
  
  .tab.active {
    background: #f0f4ff !important;
    color: #223367 !important;
    border: none;
    border-bottom: 1px solid #eee !important;
    font-weight: 600 !important;
  }

  .tab:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .tab:first-child {
    margin-top: 4px;
  }

  .responsive-tabs {
    margin-bottom: 0;
  }

  .responsive-tabs.mobile-open {
    z-index: 1000;
  }
  
  .responsive-tabs.mobile-open .tabs-list {
    z-index: 1001;
  }
  
  /* Tab content fixes */
  .tab-content {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .payment-form {
    margin: 10px 5px;
    padding: 15px;
  }
  
  .payment-form-input,
  .payment-form-textarea,
  .payment-price-display {
    max-width: 100%;
  }
  
  .payment-button {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    margin: 0;
    padding: 0;
  }
  
  #topbanner {
    margin: 0;
    padding: 0;
    background-color: transparent;
  }
  
  .banner-wrapper {
    margin: 0;
    padding: 0;
    box-shadow: none;
    background-color: transparent;
  }
  
  /* Ensure mobile banner styling on small screens */
  .mobile-banner img {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
    display: block;
  }
  
  .container {
    padding: 0 5px !important;
  }
}