/*
Theme Name: Genetics Australia
Theme URI: https://geneticsaustralia.com.au/
Author: Your Name
Description: Custom theme for Genetics Australia
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Base font-size set to 16px for the entire theme */
html {
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 174px; /* Space for fixed header */
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem; /* 16px base */
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  overflow-x: hidden;
  width: 100%;
}

/* Fix for horizontal overflow - properties moved to html selector above */

/* Make all tables responsive */
table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}

/* Table wrapper for horizontal scrolling on small screens */
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Remove default margins */
h1, h2, h3, h4, h5, h6, p, ul, ol {
  margin-top: 0;
}

/* Container */
.ga-container {
  margin-left: 30px !important;
  margin-right: 30px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Header Styles - Sticky header stays at top when scrolling */
.ga-header {
  width: 100%;
  z-index: 5000;
  position: fixed !important;
  top: 0;
  margin-top: 0;
  padding-top: 0;
  overflow: visible;
  box-sizing: border-box;
  background: #fff;
  margin-bottom: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Mobile header hidden by default */
.ga-header-mobile {
  display: none;
}

/* Fixed Header Styles */
.ga-fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ga-fixed-header .ga-header-top {
  display: none;
}

.ga-fixed-header .ga-secondary-nav-container {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Scrolled Header Styles - Compact Header */
.ga-header-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 5000;
}

.ga-header-scrolled .ga-header-top {
  display: block;
  background-color: #fff;
  padding: 0;
  margin: 0;
}


.ga-header-scrolled .ga-logo-container {
  width: 180px;
}

.ga-header-scrolled .ga-logo-box {
  min-height: 100px;
  min-width: 160px;
  padding: 10px 20px;
  border-bottom-right-radius: 30px;
}

.ga-header-scrolled .ga-logo {
  max-height: 120px;
  max-width: 150px;
}

.ga-header-scrolled .ga-header-search,
.ga-header-scrolled .ga-header-phone {
  display: none;
}

.ga-header-scrolled .ga-primary-nav-container {
  margin-top: 0;
  padding-bottom: 0;
}

.ga-header-scrolled .ga-nav-right {
  margin-top: -10px;
  padding-right: 45px;
}

.ga-header-scrolled .ga-secondary-nav-container {
  margin-top: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ga-header-scrolled .ga-secondary-nav {
  padding-left: 220px;
}

/* Smooth transitions for scrolled header */
.ga-header {
  transition: all 0.3s ease;
}

.ga-logo-box {
  transition: all 0.3s ease;
}

.ga-logo {
  transition: all 0.3s ease;
}

.ga-header-search,
.ga-header-phone {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ga-header-top-inner {
  transition: height 0.3s ease, padding 0.3s ease;
}

.ga-logo-container {
  transition: width 0.3s ease;
}

.ga-primary-nav-container {
  transition: margin-top 0.3s ease;
}

.ga-nav-right {
  transition: margin-top 0.3s ease, padding 0.3s ease;
}

/* Mobile responsive styles for scrolled header */
@media (max-width: 768px) {
  .ga-header-scrolled .ga-header-top-inner {
    height: 50px;
    padding-left: 0;
    padding-right: 15px;
    flex-direction: row;
    justify-content: space-between;
  }

  .ga-header-scrolled .ga-logo-container {
    width: 150px;
    position: relative;
    margin-bottom: 0;
  }

  .ga-header-scrolled .ga-logo-box {
    min-height: 50px;
    min-width: 120px;
    padding: 8px 15px;
    border-bottom-right-radius: 20px;
  }

  .ga-header-scrolled .ga-logo {
    max-height: 35px;
    max-width: 10px;
  }

  .ga-header-scrolled .ga-primary-nav-container {
    display: none;
  }

  .ga-header-scrolled .ga-secondary-nav {
    padding-left: 15px;
    padding-right: 15px;
    min-height: 40px;
  }

  .ga-header-scrolled .ga-secondary-menu li a {
    padding: 10px 5px;
    font-size: 12px;
  }

  .ga-header-scrolled .ga-secondary-menu > li {
    margin-left: 15px;
  }
}

/* Top Header Section */
.ga-header-top {
  background-color: #fff;
  position: relative;
  padding-bottom: 0;
  margin-top: 0;
  z-index: 5000;
  overflow: visible;
}

.ga-header-top-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  height: auto;
  padding-left: 0px;
  padding-right: 60px;
  overflow: visible;
}

/* Logo Container */
.ga-logo-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
  width: 280px;
}

/* Logo Box */
.ga-logo-box {
  background: #fff;
  padding: 0px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  min-height: 100px;
  position: relative;
  z-index: 3001;
  transition: all 0.3s ease;
  margin-left:60px;
  padding-top: 5px;
}

.ga-logo {
  max-height: auto;
  max-width: 180px;
}

/* Right Side Header Content */
.ga-header-right {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex: 1;
  padding-right: 0;
  padding-top: 0;
  min-width: 0;
  gap: 15px;
}

/* Search Box */
.ga-header-search {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 25px;
  padding-top: 10px;
}

.ga-search-form {
  display: flex;
  align-items: center;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  overflow: visible;
  background: #fff;
  position: relative;
}

.ga-search-input {
  padding: 10px 15px;
  border: none;
  outline: none;
  width: 220px;
  font-size: 0.875rem; /* 14px based on 16px base */
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  background: transparent;
  flex: 1;
}

.ga-search-input::placeholder {
  color: #999;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
}

.ga-search-button {
  padding: 10px 12px;
  border: none;
  background: #00b386;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.ga-search-button:hover {
  background: #008a6f;
}

.ga-search-button svg {
  width: 16px;
  height: 16px;
}

/* Search Results Dropdown */
.ga-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d1d1d1;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 999999 !important;
  max-height: 300px;
  overflow-y: auto;
  display: none;
}

/* Ensure header search container has proper z-index */
.ga-header-search {
  position: relative;
  z-index: 999999 !important;
}

.ga-search-result-item {
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.ga-search-result-item:last-child {
  border-bottom: none;
}

.ga-search-result-item:hover,
.ga-search-result-item.active {
  background-color: #f8f9fa;
}

.ga-search-result-item a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  text-decoration: none;
  color: #333;
  gap: 12px;
}

.ga-search-result-image {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ga-search-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.ga-search-result-image img[loading="lazy"] {
  opacity: 0;
}

.ga-search-result-image img[loading="lazy"].loaded {
  opacity: 1;
}

.ga-search-result-content {
  flex: 1;
  min-width: 0;
}

.ga-search-result-title {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  line-height: 1.3;
}

.ga-search-result-sku {
  font-size: 12px;
  color: #666;
  margin-bottom: 2px;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
}

.ga-search-result-price {
  font-size: 13px;
  color: #00a77e;
  font-weight: 600;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
}

.ga-search-loading,
.ga-search-error,
.ga-search-no-results {
  padding: 15px;
  text-align: center;
  color: #666;
  font-size: 14px;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
}

.ga-search-error {
  color: #e74c3c;
}

/* Search Results Responsive */
@media (max-width: 768px) {
  .ga-search-results {
    left: -15px;
    right: -15px;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .ga-search-result-item a {
    padding: 10px 15px;
  }

  .ga-search-result-image {
    width: 40px;
    height: 40px;
  }

  .ga-search-result-title {
    font-size: 13px;
  }
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Phone Number - Matching Live Site Style with Dark Container */
.ga-header-phone {
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1.4em;
  line-height: 2.3em;
  background-color: #404041;
  border-radius: 0 0 30px 0;
  overflow: hidden;
  height: 42px;
  color: #fff;
  padding: 0 15px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.ga-header-phone a {
  color: #fff;
  text-decoration: none;
  font-weight: normal;
  font-size: inherit;
  display: inline;
  line-height: inherit;
}

.ga-header-phone a:hover {
  color: #f0f0f0;
  text-decoration: none;
}

/* Primary Navigation Container */
.ga-primary-nav-container {
  background-color: transparent;
  border-bottom: none;
  margin-top: 20px;
  position: relative;
  z-index: 300;
  padding-bottom: 5px;
  overflow: visible;
  max-width: 100%;
  padding-left: 300px;
  padding-right: 45px;
}

/* Primary Navigation */
.ga-primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 40px;
  width: 100%;
}

/* Right Navigation */
.ga-nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 9998;
  margin-top: 0;
  width: 100%;
  padding-right: 0;
  max-width: 100%;
  overflow: visible;
}

/* Primary Menu */
.ga-primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 1;
  overflow: visible; /* Changed from hidden to visible for dropdown menus */
}

.ga-primary-menu > li {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 25px;
  white-space: nowrap;
}

.ga-primary-menu > li:first-child {
  margin-left: 0;
}

.ga-primary-menu > li > a {
  color: #00a77e;
  text-decoration: none;
  font-weight: 400;
  font-size: 1.25rem; /* 20px based on 16px base */
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  transition: color 0.3s ease;
  background: transparent;
  padding: 8px 12px;
  display: inline-block;
  line-height: 1.4;
}

.ga-primary-menu > li > a:hover {
  color: #00a77e;
  text-decoration: none;
}

.ga-primary-menu > li.current-menu-item > a,
.ga-primary-menu > li.current-menu-ancestor > a {
  color: #003c71;
  text-decoration: none;
}

.ga-primary-menu li.menu-item-has-children > a:after {
  content: '\25BC';
  font-size: 10px;
  margin-left: 8px;
  vertical-align: middle;
  color: #00a77e;
  display: none; /* Hide default arrow since we're using toggle button */
  transition: color 0.3s ease;
}

/* Submenu Toggle Button */
.ga-submenu-toggle {
  background: none;
  border: none;
  color: #00a77e;
  font-size: 12px;
  margin-left: 5px;
  padding: 0;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  vertical-align: middle;
}

.ga-submenu-toggle:hover {
  color: #003c71;
}

/* Desktop submenu toggle rotation */
.ga-primary-nav-container .ga-submenu-toggle[aria-expanded="true"],
.ga-secondary-nav-container .ga-submenu-toggle[aria-expanded="true"] {
  transform: rotate(180deg);
}

.ga-primary-menu li.current-menu-item .ga-submenu-toggle,
.ga-primary-menu li.current-menu-ancestor .ga-submenu-toggle {
  color: #003c71;
}

/* Submenu */
.ga-primary-menu ul.sub-menu {
  position: absolute;
  right: 0;
  top: 100%;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 8px 0;
  min-width: 220px;
  z-index: 9999 !important;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  list-style: none !important;
}

.ga-primary-menu li.menu-item-has-children:hover > ul.sub-menu,
.ga-primary-menu li.menu-item-has-children.submenu-open > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Ensure hover works for specific menu classes */
.ga-primary-menu li.about-us-menu:hover > ul.sub-menu,
.ga-primary-menu li.resources-menu:hover > ul.sub-menu,
.ga-primary-menu li.cooperative-menu:hover > ul.sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
  pointer-events: auto;
}

/* Additional hover support for desktop */
@media (min-width: 769px) {
  .ga-primary-menu li.menu-item-has-children:hover > ul.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* Keep submenu open when hovering over submenu items */
  .ga-primary-menu li.menu-item-has-children:hover > ul.sub-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

.ga-primary-menu ul.sub-menu li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

.ga-primary-menu ul.sub-menu li:before {
  content: none !important;
}

.ga-primary-menu ul.sub-menu li a {
  color: #00a77e;
  font-size: 14px;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  padding: 10px 18px;
  display: block;
  white-space: nowrap;
  background: transparent;
  border: none;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
  line-height: 1.4;
  position: relative;
  z-index: 10000;
}

.ga-primary-menu ul.sub-menu li a:hover {
  background: #f8f9fa;
  color: #00a77e;
}

/* Cart Icon */
.ga-cart-icon {
  display: flex !important;
  align-items: center;
  color: #00a77e;
  margin-left: 15px;
  margin-right: 10px;
  position: relative;
  text-decoration: none;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 9999;
  flex-shrink: 0;
}

.ga-cart-icon svg {
  display: block !important;
  width: 24px;
  height: 24px;
  stroke: #00a77e;
  fill: none;
  stroke-width: 2;
  visibility: visible !important;
  transition: stroke 0.3s ease;
}

.ga-cart-icon:hover {
  color: #003c71;
  background-color: rgba(0, 167, 126, 0.1);
}

.ga-cart-icon:hover svg {
  stroke: #003c71;
}

/* Cart count badge */
.ga-cart-count {
  position: absolute;
  top: -8px;
  right: -4px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  min-width: 18px;
  z-index: 10000;
}

.ga-cart-count:empty {
  display: none;
}

/* Ensure cart icon is always visible - override any WooCommerce hiding */
.woocommerce .ga-cart-icon,
.woocommerce-page .ga-cart-icon,
a.ga-cart-icon {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Clean cart icon styling */
.ga-cart-icon {
  padding: 5px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

/* Secondary Navigation Container */
.ga-secondary-nav-container {
  background-color: #003c71;
  padding: 0;
  position: relative;
  z-index: 200;
  margin-top: -10px;
  margin-bottom: 0;
}

/* Secondary Navigation */
.ga-secondary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 50px;
  padding-left: 0px; /* Make space for the logo */
  padding-right: 80px;
  padding-top: 10px;
}

/* Secondary Menu */
.ga-secondary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.ga-secondary-menu > li {
  position: relative;
  margin-left: 30px;
  white-space: nowrap;
}

.ga-secondary-menu > li:first-child {
  margin-left: 0;
}

.ga-secondary-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  padding: 15px 5px;
  display: inline-block;
}

.ga-secondary-menu li a:hover {
  text-decoration: underline;
}

.ga-secondary-menu li.menu-item-has-children > a:after {
  content: '\25BC';
  font-size: 8px;
  margin-left: 5px;
  vertical-align: middle;
  color: #fff;
  display: inline-block;
}

/* Mobile Menu Toggle */
.ga-mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
  margin-right: 15px;
  padding: 0;
}

.ga-mobile-menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.ga-mobile-menu-toggle span:nth-child(1) {
  top: 6px;
}

.ga-mobile-menu-toggle span:nth-child(2) {
  top: 14px;
}

.ga-mobile-menu-toggle span:nth-child(3) {
  top: 22px;
}

.ga-mobile-menu-toggle.active span:nth-child(1) {
  top: 14px;
  transform: rotate(135deg);
}

.ga-mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.ga-mobile-menu-toggle.active span:nth-child(3) {
  top: 14px;
  transform: rotate(-135deg);
}

/* Three Box Navigation Section */
.ga-three-box-nav {
  background: #f9f9f9;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.ga-three-box-container {
  display: flex;
  max-width: 1200px;
  margin: 20px auto;
  gap: 20px;
}

.ga-nav-box {
  position: relative;
  background: #00a77e;
  flex: 1;
  height: auto;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.ga-nav-box-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 10px 20px;
}

.ga-nav-box-image img {
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Remove the filter to show original images */
}

.ga-nav-box-footer {
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
}

.ga-nav-box-title {
  color: #333;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ga-nav-box-arrow {
  color: #333;
  font-size: 12px;
  font-weight: bold;
}

.ga-nav-box-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  text-decoration: none;
}

/* Hover Effects */
.ga-nav-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* International Sires Special Hover (Blue Background on Footer Only) */
.ga-international-sires-box:hover .ga-nav-box-footer {
  background: #003c71;
}

/* Australian Sires Special Hover (Blue Background on Footer Only) */
.ga-australian-sires-box:hover .ga-nav-box-footer {
  background: #003c71;
}

/* Beef Sires Special Hover (Blue Background on Footer Only) */
.ga-beef-sires-box:hover .ga-nav-box-footer {
  background: #003c71;
}

.ga-australian-sires-box:hover .ga-nav-box-title {
  color: #fff;
}

.ga-beef-sires-box:hover .ga-nav-box-title {
  color: #fff;
}

.ga-international-sires-box:hover .ga-nav-box-title {
  color: #fff;
}

/* Three Box Navigation Responsive Styles */
@media (max-width: 768px) {
  .ga-three-box-container {
    flex-direction: column;
    max-width: 100%;
  }

  .ga-nav-box {
    height: 150px;
  }

  .ga-nav-box-image {
    padding: 20px 15px 15px 15px;
  }

  .ga-nav-box-image img {
    max-width: 80px;
    max-height: 60px;
  }

  .ga-nav-box-title {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .ga-nav-box {
    height: 120px;
  }

  .ga-nav-box-image {
    padding: 15px 10px 10px 10px;
  }

  .ga-nav-box-image img {
    max-width: 60px;
    max-height: 45px;
  }

  .ga-nav-box-footer {
    padding: 8px 15px;
  }

  .ga-nav-box-title {
    font-size: 12px;
  }

  .ga-nav-box-arrow {
    font-size: 10px;
  }
}

/* Responsive Styles */
@media (max-width: 1440px) {
  .ga-container {
    margin-left: 30px !important;
    margin-right: 30px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .ga-primary-menu > li {
    margin-left: 15px;
  }

  .ga-primary-menu > li > a {
    font-size: 1.125rem; /* 18px based on 16px base */
  }

  .ga-nav-link {
    font-size: 0.9375rem; /* 15px based on 16px base */
    margin-left: 15px;
  }

  .ga-secondary-menu > li {
    margin-left: 20px;
  }

  .ga-primary-nav-container {
    padding-left: 250px;
    padding-right: 20px;
  }

  .ga-nav-right {
    padding-right: 0;
  }

  .ga-secondary-nav {
    padding-right: 10px;
  }
}

/* Mobile Header Styles - Below 996px */
@media (max-width: 996px) {
  /* Hide desktop header, show mobile header */
  .ga-header-desktop {
    display: none;
  }

  .ga-header-mobile {
    display: block;
    background-color: #003c71;
    padding: 15px 0;
    position: relative;
    z-index: 5000;
  }

  .ga-mobile-header-inner {
    display: flex;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Mobile Left Section */
  .ga-mobile-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 110px;
    min-width: 110px;
  }

  /* Mobile Menu Toggle (Hamburger) */
  .ga-mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
  }

  .ga-mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .ga-mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .ga-mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .ga-mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Mobile Logo - Center Section */
  .ga-mobile-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .ga-mobile-logo-img {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
  }

  /* Mobile Icons - Right Section */
  .ga-mobile-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 110px;
    min-width: 110px;
    justify-content: flex-end;
  }

  .ga-mobile-cart-icon,
  .ga-mobile-account-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
  }

  .ga-mobile-cart-icon:hover,
  .ga-mobile-account-icon:hover {
    color: #00a77e;
  }

  .ga-mobile-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #00a77e;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
  }

  /* Mobile Navigation Menu - Optimized for Speed */
  .ga-mobile-nav-container {
    display: none;
    background-color: #003c71;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 4999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ga-mobile-nav-container.active {
    display: block !important;
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .ga-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .ga-mobile-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
  }

  /* Ensure parent menu items with children have proper positioning */
  .ga-mobile-menu li.menu-item-has-children {
    position: relative;
  }

  .ga-mobile-menu li:last-child {
    border-bottom: none;
  }

  .ga-mobile-menu a {
    display: block;
    padding: 16px 20px;
    color: #fff;
    text-decoration: none;
    font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: background-color 0.2s ease, color 0.2s ease;
    position: relative;
  }

  .ga-mobile-menu li.menu-item-has-children > a {
    padding-right: 50px;
    position: relative;
  }

  .ga-mobile-menu a:hover,
  .ga-mobile-menu a:focus {
    background-color: rgba(255,255,255,0.1);
    color: #00a77e;
    outline: none;
  }

  /* Mobile Submenu Toggle Button - Fixed positioning */
  .ga-mobile-nav-container .ga-submenu-toggle {
    position: absolute !important;
    right: 15px !important;
    top: 16px !important; /* Fixed position from top instead of 50% */
    transform: none !important; /* Remove transform to avoid positioning issues */
    background: none !important;
    border: none !important;
    color: #00a77e !important;
    cursor: pointer !important;
    padding: 8px !important;
    border-radius: 4px !important;
    transition: background-color 0.2s ease !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    z-index: 10 !important;
    margin: 0 !important;
  }

  .ga-mobile-nav-container .ga-submenu-toggle:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: #00a77e !important;
  }

  .ga-mobile-nav-container .ga-submenu-toggle span {
    transition: transform 0.3s ease !important;
    display: block !important;
    color: #00a77e !important;
    font-weight: bold !important;
    line-height: 1 !important;
    transform-origin: center !important;
  }

  /* Mobile submenu toggle rotation - only rotate the span, keep button position fixed */
  .ga-mobile-nav-container .ga-submenu-toggle[aria-expanded="true"] {
    position: absolute !important;
    right: 15px !important;
    top: 16px !important; /* Same fixed position as collapsed state */
    transform: none !important; /* No transform to avoid positioning issues */
  }

  .ga-mobile-nav-container .ga-submenu-toggle[aria-expanded="true"] span {
    transform: rotate(180deg) !important;
  }

  /* Mobile Submenus */
  .ga-mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: rgba(0,0,0,0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .ga-mobile-submenu.active {
    max-height: 500px;
  }

  .ga-mobile-submenu li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .ga-mobile-submenu li:last-child {
    border-bottom: none;
  }

  .ga-mobile-submenu a {
    padding: 12px 20px 12px 40px;
    font-size: 15px;
    color: rgba(255,255,255,0.9);
  }

  .ga-mobile-submenu a:hover,
  .ga-mobile-submenu a:focus {
    background-color: rgba(255,255,255,0.1);
    color: #00a77e;
  }

  /* Third level submenus (sub-submenus) */
  .ga-mobile-submenu-level-2 {
    background-color: rgba(0,0,0,0.3);
  }

  .ga-mobile-submenu-level-2 li {
    border-bottom: 1px solid rgba(255,255,255,0.03);
  }

  .ga-mobile-submenu-level-2 a {
    padding: 10px 20px 10px 60px; /* Extra indentation for third level */
    font-size: 14px;
    color: rgba(255,255,255,0.8);
  }

  .ga-mobile-submenu-level-2 a:hover,
  .ga-mobile-submenu-level-2 a:focus {
    background-color: rgba(255,255,255,0.1);
    color: #00a77e;
  }

  /* Submenu toggle buttons for second level items */
  .ga-mobile-submenu .ga-submenu-toggle {
    position: absolute !important;
    right: 15px !important;
    top: 12px !important; /* Slightly adjusted for smaller submenu items */
    transform: none !important;
    background: none !important;
    border: none !important;
    color: #00a77e !important;
    cursor: pointer !important;
    padding: 6px !important;
    border-radius: 4px !important;
    transition: background-color 0.2s ease !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    z-index: 10 !important;
    margin: 0 !important;
  }

  .ga-mobile-submenu .ga-submenu-toggle:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: #00a77e !important;
  }

  .ga-mobile-submenu .ga-submenu-toggle span {
    transition: transform 0.3s ease !important;
    display: block !important;
    color: #00a77e !important;
    font-weight: bold !important;
    line-height: 1 !important;
    transform-origin: center !important;
  }

  .ga-mobile-submenu .ga-submenu-toggle[aria-expanded="true"] {
    position: absolute !important;
    right: 15px !important;
    top: 12px !important;
    transform: none !important;
  }

  .ga-mobile-submenu .ga-submenu-toggle[aria-expanded="true"] span {
    transform: rotate(180deg) !important;
  }

  /* Ensure submenu items with children have proper spacing for toggle button */
  .ga-mobile-submenu li.menu-item-has-children > a {
    padding-right: 45px !important;
    position: relative !important;
  }

  /* Hide desktop navigation on mobile */
  .ga-primary-nav-container,
  .ga-secondary-nav-container {
    display: none;
  }
}

/* Show desktop header above 996px */
@media (min-width: 997px) {
  .ga-header-mobile,
  .ga-mobile-nav-container {
    display: none !important;
  }

  .ga-header-desktop {
    display: block;
  }
}

@media (max-width: 992px) {
  .ga-header-desktop .ga-header-top {
    height: 100px;
  }

  .ga-header-desktop .ga-logo-container {
    width: 220px;
  }

  .ga-header-desktop .ga-logo-box {
    padding: 15px 30px;
    min-height: 80px;
  }

  .ga-header-desktop .ga-logo {
    max-height: 60px;
  }

  .ga-header-desktop .ga-search-input {
    width: 180px;
  }

  .ga-header-desktop .ga-primary-menu > li {
    margin-left: 10px;
  }

  .ga-header-desktop .ga-primary-menu > li > a {
    font-size: 16px;
    padding: 12px 5px;
  }

  .ga-header-desktop .ga-nav-link {
    font-size: 14px;
  }

  .ga-header-desktop .ga-secondary-menu li a {
    font-size: 13px;
  }

  .ga-header-desktop .ga-primary-nav-container {
    padding-left: 240px;
    padding-right: 15px;
  }

  .ga-header-desktop .ga-nav-right {
    padding-right: 0;
  }

  .ga-header-desktop .ga-secondary-nav {
    padding-right: 10px;
  }
}

@media (max-width: 768px) {
  .ga-header {
    margin-top: 0;
    padding-top: 0;
  }

  .ga-header-top {
    padding-top: 0;
    margin-top: 0;
  }

  .ga-header-top-inner {
    flex-direction: column;
    height: auto;
    padding: 0;
    margin-top: 0;
  }

  .ga-logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    margin-top: 0;
  }

  .ga-logo-box {
    position: relative;
    border-radius: 0 0 25px 25px;
    padding: 15px;
    min-height: 120px;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-top: 0;
  }

  .ga-logo {
    max-height: 100px;
  }

  .ga-header-right {
    width: 100%;
    justify-content: center;
    padding: 15px 0;
  }

  /* Mobile Menu Toggle */
  .ga-mobile-menu-toggle {
    display: block;
    position: absolute;
    left: 15px;
    top: 10px;
    z-index: 2051;
  }

  .ga-primary-nav-container {
    position: relative;
    margin-top: 0;
    background-color: #f5f5f5;
    padding: 10px 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .ga-primary-nav {
    flex-direction: column;
    padding: 10px 0;
  }

  .ga-nav-right {
    width: 100%;
    margin-top: 0;
  }

  .ga-primary-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 10px 0;
  }

  .ga-primary-nav-container.menu-open .ga-primary-menu {
    display: flex;
  }

  .ga-primary-menu > li {
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .ga-primary-menu > li > a {
    padding: 12px 15px;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  .ga-primary-menu ul.sub-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    background: rgba(0,0,0,0.05);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease;
  }

  .ga-primary-menu li.menu-item-has-children.submenu-open > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
  }

  .ga-primary-menu ul.sub-menu li a {
    padding: 10px 15px;
    text-align: center;
  }



  .ga-primary-menu > li {
    position: relative;
  }

  .ga-primary-menu > li > a {
    padding-right: 50px; /* Make room for toggle button */
  }

  .ga-cart-icon {
    position: absolute;
    top: 10px;
    right: 15px;
    margin: 0;
  }

  .ga-secondary-nav-container {
    background-color: #003c71;
    margin-top: 0;
  }

  .ga-secondary-nav {
    padding-left: 0;
    padding-right: 15px;
  }

  .ga-secondary-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ga-secondary-menu > li {
    margin: 5px 10px;
  }

  .ga-secondary-menu li a {
    padding: 8px 5px;
  }
}

/* Mega Menu Styles */
.ga-mega-menu-container {
  position: relative;
  z-index: 9999;
}

.ga-mega-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 9998;
  pointer-events: none;
}

.ga-mega-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.ga-mega-menu-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 30px;
}

.ga-mega-menu-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: color 0.3s ease, background-color 0.3s ease;
  z-index: 10000;
}

.ga-mega-menu-close:hover {
  color: #003c71;
  background-color: #f5f5f5;
}

.ga-mega-menu-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.ga-mega-menu-column {
  text-align: left;
}

.ga-mega-menu-title {
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #003c71;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #00a77e;
  text-decoration: none;
}

.ga-mega-menu-title a {
  text-decoration: none;
  color: #003c71;
}

.ga-mega-menu-section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.ga-mega-menu-image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ga-mega-menu-image img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.ga-mega-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
}

.ga-mega-menu-list li {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.ga-mega-menu-list li:before {
  content: none !important;
}

.ga-mega-menu-list li a {
  display: block;
  padding: 8px 0;
  color: #003c71;
  text-decoration: none;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.ga-mega-menu-list li a:hover {
  color: #00a77e;
  text-decoration: none;
}

.ga-mega-menu-list li.ga-mega-menu-subheading {
  font-weight: 600;
  color: #003c71;
  padding: 12px 0 8px 0;
  font-size: 16px;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
}

.ga-mega-menu-list li.ga-mega-menu-subheading:not(:first-child) {
  margin-top: 10px;
}

.ga-mega-menu-list li.ga-mega-menu-last {
  border-bottom: 1px solid #A7A9AB;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

/* Mega Menu Positioning - Dynamic positioning handled by JavaScript */
.ga-mega-menu {
  top: 140px; /* Default fallback position */
}

/* Ensure mega menu appears above other content */
.ga-mega-menu-container {
  z-index: 9999 !important;
}

.ga-mega-menu {
  z-index: 9998 !important;
}

/* Responsive Mega Menu */
@media (max-width: 1200px) {
  .ga-mega-menu-content {
    gap: 40px;
  }

  .ga-mega-menu-inner {
    padding: 30px 20px;
  }
}

@media (max-width: 992px) {
  .ga-mega-menu-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ga-mega-menu-inner {
    padding: 20px 15px;
  }

  .ga-mega-menu-title {
    font-size: 20px;
  }

  .ga-mega-menu-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ga-mega-menu-image {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }

  .ga-mega-menu-list {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .ga-mega-menu {
    display: none; /* Hide mega menu on mobile - will implement mobile version later */
  }
}

/* Secondary Menu Hover States for Mega Menu */
.ga-secondary-menu > li:hover > a {
  color: #00a77e !important;
  text-decoration: none !important;
}

.ga-secondary-menu > li.mega-menu-active > a {
  color: #00a77e !important;
  text-decoration: none !important;
}

/* Prevent body scroll when mega menu is open */
body.mega-menu-open {
  overflow-x: hidden;
}

/* Mega Menu Overlay */
.ga-mega-menu::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.1);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ga-mega-menu.active::before {
  opacity: 1;
}

/* Services Mega Menu Styles */
.ga-services-menu-content {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  align-items: flex-start;
}

.ga-service-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ga-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ga-service-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.ga-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ga-service-image:hover img {
  transform: scale(1.05);
}

.ga-service-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ga-service-content h3 {
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #003c71;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.ga-service-content p {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.ga-service-button {
  display: inline-block;
  background: #00a77e;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.ga-green-button a.wp-block-button__link.wp-element-button {
  background-color:transparent;
}

.ga-service-button:hover {
  background: #008a6a;
  color: #ffffff !important;
  text-decoration: none !important;
}

.ga-green-button {
  display: inline-block;
  background: #00a77e;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.ga-green-button:hover {
  background: #008a6a;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Services Menu Responsive */
@media (max-width: 1200px) {
  .ga-services-menu-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .ga-services-menu-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .ga-service-content h3 {
    font-size: 16px;
  }

  .ga-service-content p {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .ga-services-menu-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .ga-service-image {
    height: 120px;
  }

  .ga-service-content {
    padding: 15px;
  }
}

/* Shop Mega Menu Styles */
.ga-shop-menu-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
}

.ga-shop-section {
  display: flex;
  flex-direction: column;
}

.ga-shop-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.ga-shop-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ga-shop-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ga-shop-title {
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #003c71;
  margin: 0;
  text-decoration: none;
}

.ga-shop-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.ga-shop-column {
  display: flex;
  flex-direction: column;
}

.ga-shop-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ga-shop-list li {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.ga-shop-list li:before {
  content: none !important;
}

.ga-shop-list li a {
  display: block;
  padding: 8px 0;
  color: #003c71;
  text-decoration: none;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.ga-shop-list li a:hover {
  color: #00a77e;
  text-decoration: none;
}

.ga-shop-list li.ga-shop-subheading {
  font-weight: 600;
}

.ga-shop-list li.ga-shop-subheading a {
  font-weight: 600;
}

.ga-shop-list li.ga-shop-last {
  border-bottom: 1px solid #A7A9AB;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

/* Shop Menu Responsive */
@media (max-width: 992px) {
  .ga-shop-menu-content {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 600px;
  }

  .ga-shop-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ga-shop-title {
    font-size: 20px;
  }

  .ga-shop-icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .ga-shop-menu-content {
    gap: 30px;
  }

  .ga-shop-header {
    gap: 10px;
  }

  .ga-shop-title {
    font-size: 18px;
  }

  .ga-shop-icon {
    width: 40px;
    height: 40px;
  }

  .ga-shop-list li a {
    font-size: 14px;
  }
}

/* Specials & Newsletter Mega Menu Styles */
.ga-specials-menu-content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  align-items: flex-start;
}

.ga-catalogue-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ga-catalogue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ga-catalogue-image {
  width: auto;
  height: 305px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.ga-catalogue-image img {
  width: auto;
  height: 305px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ga-catalogue-image:hover img {
  transform: scale(1.05);
}

.ga-catalogue-button {
  display: block;
  background: #00a77e;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 12px 20px;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  font-size: 0.875rem; /* 14px based on 16px base */
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.ga-catalogue-button:hover {
  background: #008a6a;
  color: #ffffff !important;
  text-decoration: none !important;
}

.ga-newsletter-section {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ga-newsletter-image {
  width: 100%;
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.ga-newsletter-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.ga-newsletter-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ga-newsletter-content h3 {
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #003c71;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.ga-newsletter-content p {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.ga-newsletter-button {
  display: inline-block;
  background: #00a77e;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.ga-newsletter-button:hover {
  background: #008a6a;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Specials Menu Responsive */
@media (max-width: 1200px) {
  .ga-specials-menu-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .ga-specials-menu-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .ga-catalogue-image {
    height: 150px;
  }

  .ga-newsletter-content h3 {
    font-size: 1rem; /* 16px - matches base */
  }

  .ga-newsletter-content p {
    font-size: 0.8125rem; /* 13px based on 16px base */
  }
}

@media (max-width: 768px) {
  .ga-specials-menu-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .ga-catalogue-image {
    height: 180px;
  }

  .ga-newsletter-image {
    height: 100px;
  }

  .ga-newsletter-content {
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .ga-header-top {
    padding: 0;
  }

  .ga-logo-box {
    min-width: 150px;
    padding: 10px;
  }

  .ga-logo {
    max-height: 50px;
  }

  .ga-header-search {
    margin-right: 10px;
  }

  .ga-search-input {
    width: 140px;
    font-size: 0.75rem; /* 12px based on 16px base */
    padding: 8px 10px;
  }

  .ga-search-button {
    font-size: 0.75rem; /* 12px based on 16px base */
    padding: 8px 10px;
  }

  .ga-header-phone {
    font-size: 1.1em; /* Keep em unit for relative scaling */
    height: 36px;
    padding: 0 12px;
    border-radius: 0 0 20px 0;
  }

  .ga-header-phone a {
    font-size: inherit;
  }

  .ga-primary-menu > li > a {
    font-size: 0.8125rem; /* 13px based on 16px base */
    padding: 8px 5px;
  }

  .ga-nav-link {
    font-size: 0.8125rem; /* 13px based on 16px base */
    margin-left: 10px;
  }

  .ga-secondary-menu li a {
    font-size: 0.75rem; /* 12px based on 16px base */
  }
}

/* Hero Slider */
.ga-hero-slider {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
  z-index: 1;
  margin-top: 0;
}

.ga-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.ga-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.ga-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 65, 112, 0.4); /* Dark blue overlay with 40% opacity */
  z-index: 1;
}

.ga-slide.active {
  opacity: 1;
  z-index: 1;
}

.ga-slide-content {
  position: absolute;
  bottom: 80px;
  left: 300px;
  color: #fff;
  max-width: 600px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  z-index: 2; /* Ensure content appears above the overlay */
}

.ga-slide-content h2 {
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 700;
}

.ga-slide-content p {
  font-size: 18px;
  margin: 0;
}

/* Slider Button */
.ga-slide-button {
  display: inline-block;
  padding: 12px 24px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 15px;
  cursor: pointer;
  z-index: 3;
  position: relative;
}

.ga-slide-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  filter: brightness(1.1);
}

/* Slider Navigation */
.ga-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.3);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.ga-slider-arrow:hover {
  background: rgba(0,0,0,0.6);
}

.ga-slider-prev {
  left: 20px;
}

.ga-slider-next {
  right: 20px;
}

/* Slider Indicators */
.ga-slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.ga-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.ga-indicator.active,
.ga-indicator:hover {
  background: #fff;
}

/* Responsive Slider Styles */
@media (max-width: 768px) {
  .ga-hero-slider {
    height: 400px;
  }

  .ga-slide-content {
    bottom: 50px;
    left: 30px;
    max-width: 80%;
  }

  .ga-logo-container {
    position: relative;
    width: 100%;
  }

  .ga-logo-box {
    min-height: 100px;
    border-bottom-right-radius: 20px;
  }

  .ga-header-top-inner {
    padding-left: 0;
    flex-direction: column;
    height: auto;
  }

  .ga-slide-content h2 {
    font-size: 28px;
  }

  .ga-slide-content p {
    font-size: 16px;
  }

  .ga-slide-button {
    font-size: 14px;
    padding: 10px 20px;
  }
}

@media (max-width: 576px) {
  .ga-hero-slider {
    height: 300px;
  }

  .ga-slide-content {
    bottom: 30px;
    left: 20px;
  }

  .ga-slide-content h2 {
    font-size: 24px;
  }

  .ga-slide-content p {
    font-size: 14px;
  }

  .ga-slide-button {
    font-size: 13px;
    padding: 8px 16px;
  }

  .ga-slider-arrow {
    width: 40px;
    height: 40px;
  }
}

/* Featured Products Header Section */
.ga-featured-products-header {
  background-color: #003c71;
  padding: 20px 0;
  width: 100%;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.ga-featured-products-header h2 {
  text-transform: uppercase;
  font-size: 32px;
  color: #FFFFFF !important;
  text-align: left;
  margin: 0;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 600;
}

/* Australian Dairy Sires Section */
.ga-dairy-sires {
  padding: 40px 0;
  background-color: #fff;
}

.ga-section-title {
  font-size: 22px;
  color: #333;
  margin-bottom: 25px;
  font-weight: 600;
  text-align: left;
}

/* Section Header with Buttons */
.ga-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.ga-section-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ga-section-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.ga-view-all-btn {
  background: #003c71;
  color: #fff;
}

.ga-view-all-btn:hover {
  background: #002a50;
}

.ga-view-video-btn {
  background: #00a77e;
  color: #fff;
}

.ga-view-video-btn:hover {
  background: #008a6f;
}

/* Carousel Styles */
.ga-sires-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.ga-carousel-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.ga-carousel-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}

.ga-carousel-track {
  display: flex;
  gap: 15px;
  padding: 10px 0;
  width: max-content; /* Allow track to be wider than container */
  min-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.ga-carousel-track .ga-sire-card {
  flex: 0 0 270px;
  max-width: 270px;
  min-width: 270px;
  box-sizing: border-box;
}

/* Carousel Navigation Buttons */
.ga-carousel-prev,
.ga-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 60, 113, 0.8);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease;
}

.ga-carousel-prev:hover,
.ga-carousel-next:hover {
  background: rgba(0, 60, 113, 1);
}

.ga-carousel-prev {
  left: 10px;
}

.ga-carousel-next {
  right: 10px;
}

.ga-sires-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;

}

/* Large Desktop - 1620px+ */
@media (min-width: 1620px) {
  .ga-sires-grid {
    grid-template-columns: repeat(6, 1fr);
    padding: 0px 50px 0px 0px;
  }
}

/* Large Desktop - 1375px to 1619px */
@media (min-width: 1375px) and (max-width: 1619px) {
  .ga-sires-grid {
    grid-template-columns: repeat(5, 1fr);
    padding: 0px 50px 0px 0px;
  }

  /* Hide 6th bull card */
  .ga-sires-grid .ga-sire-card:nth-child(6) {
    display: none;
  }
}

/* Bull Card Styling - Optimized for Performance */
.ga-sire-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card Header */
.ga-sire-header {
  padding: 12px 8px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.ga-sire-header h3 {
  color: #003c71;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Card Image */
.ga-sire-image {
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid #e0e0e0;
}

.ga-sire-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Price and Button Row */
.ga-sire-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #e0e0e0;
}

.ga-sire-price {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  flex: 1;
}

.ga-sire-price .amount {
  font-weight: 600;
}

.ga-sire-price .woocommerce-price-suffix {
  font-size: 12px;
  margin-left: 3px;
}

.ga-sire-button {
  flex-shrink: 0;
}

.ga-select-options {
  display: inline-block;
  background: #fff;
  color: #003c71;
  padding: 6px 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
  border: 1px solid #003c71;
  border-radius: 3px;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

.ga-select-options:hover {
  background: #f5f5f5;
}

/* News Card Specific Styles */
.ga-news-date {
  background: #003c71;
  color: #fff;
  padding: 8px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ga-news-excerpt {
  padding: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  min-height: 90px;
  flex-grow: 1;
}

/* Remove borders and styling from news card elements */
.ga-news-card .ga-sire-header {
  order: 1;
  padding: 12px;
  border-bottom: none;
  background: transparent;
  height:50px;
}

.ga-news-card .ga-sire-header h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #003c71;
}

.ga-news-card .ga-news-date {
  order: 0;
}

.ga-news-card .ga-sire-image {
  order: 2;
  border-bottom: none;
  height: 180px !important;
  flex-shrink: 0;
  overflow: hidden;
}

.ga-news-card .ga-sire-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.ga-news-card .ga-news-excerpt {
  order: 3;
}

.ga-news-card .ga-sire-price-row {
  order: 4;
  padding: 0;
  border-bottom: none;
  display: block;
}

.ga-news-card .ga-sire-button {
  width: 100%;
}

.ga-news-card .ga-select-options {
  display: block;
  width: 100%;
  background: #003c71;
  color: #fff;
  border: none;
  padding: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 0;
}

.ga-news-card .ga-select-options:hover {
  background: #002a50;
}

/* Sire Information - Full Width Light Grey */
.ga-sire-info {
  padding: 0;
}

.ga-sire-name {
  padding: 12px;
  font-size: 14px;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
}

.ga-info-label {
  font-weight: 600;
  color: #333;
  margin-right: 5px;
}

.ga-info-value {
  font-weight: normal;
  color: #333;
}

/* Data Grid - 3 Columns with Alternating Colors */
.ga-sire-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ga-detail-item {
  padding: 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60px;
}

/* Alternating Background Colors */
.ga-detail-item.a2 {
  background: #b9d7f8;
}

.ga-detail-item.bpi {
  background: #9fdacc;
}

.ga-detail-item.sustainability {
  background: #b9d7f8;
}

.ga-detail-label {
  font-weight: 600;
  color: #333;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 4px;
  line-height: 1.2;
}

.ga-detail-value {
  font-size: 18px;
  font-weight: 700;
  color: #003c71;
  line-height: 1.1;
}

/* Specific Value Colors */
.ga-detail-item.bpi .ga-detail-value {
  color: #0a6e3f;
}

/* Beef Sires Section */
.ga-beef-sires {
  padding: 40px 0;
  background: #fff;
  margin-top: 40px;
}

.ga-beef-sires .ga-section-title {
  color: #333;
}

/* Beef Sires Data Fields - Alternating Colors */
.ga-beef-sires .ga-detail-item.cw {
  background: #b9d7f8;
}

.ga-beef-sires .ga-detail-item.ema {
  background: #9fdacc;
}

.ga-beef-sires .ga-detail-item.imf {
  background: #b9d7f8;
}

/* Beef Sires Value Colors */
.ga-beef-sires .ga-detail-item.cw .ga-detail-value {
  color: #003c71;
}

.ga-beef-sires .ga-detail-item.ema .ga-detail-value {
  color: #0a6e3f;
}

.ga-beef-sires .ga-detail-item.imf .ga-detail-value {
  color: #003c71;
}

/* Merchandise Section */
.ga-merchandise {
  padding: 40px 0;
  background: #fff;
  margin-top: 40px;
}

.ga-merchandise .ga-section-title {
  color: #333;
}

/* Responsive Grid Layout */
/* Medium Desktop - 1130px to 1374px */
@media (min-width: 1130px) and (max-width: 1374px) {
  .ga-sires-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0px 50px 0px 0px;
  }

  /* Hide 5th and 6th bull cards */
  .ga-sires-grid .ga-sire-card:nth-child(n+5) {
    display: none;
  }
}

/* Small Desktop - 900px to 1130px */
@media (min-width: 900px) and (max-width: 1130px) {
  .ga-sires-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0px 50px 0px 0px;
  }
}

/* Large Tablet - 768px to 900px */
@media (min-width: 768px) and (max-width: 900px) {
  .ga-sires-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0px 60px 0px 0px;
  }

  .ga-sire-header h3 {
    font-size: 15px;
  }

  .ga-detail-value {
    font-size: 16px;
  }
}

/* Small Tablet - 570px to 768px */
@media (min-width: 570px) and (max-width: 768px) {
  .ga-sires-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0px 0px 0px 0px;
  }

  .ga-sire-header h3 {
    font-size: 15px;
  }

  .ga-detail-value {
    font-size: 16px;
  }
}

/* Mobile - Below 570px */
@media (max-width: 570px) {
  .ga-sires-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0px 0px 0px 0px;
  }

  .ga-section-title {
    font-size: 1.25rem; /* 20px based on 16px base */
    margin-bottom: 20px;
  }

  .ga-dairy-sires,
  .ga-beef-sires,
  .ga-merchandise {
    padding: 30px 0;
  }

  .ga-sire-price-row {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .ga-detail-item {
    min-height: 50px;
    padding: 10px 5px;
  }

  .ga-detail-value {
    font-size: 1rem; /* 16px - matches base */
  }
}

/* Footer Styles */
.ga-footer {
  background: #003c71;
  color: #ffffff;
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
}

.ga-footer-main {
  padding: 30px 0 20px;
}

/* Override any width constraints on footer containers */
.ga-footer .ga-footer-bottom .ga-container {
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Override any width constraints on footer containers */
.ga-footer .ga-footer-main .ga-container {
  width: auto !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}



.ga-footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  gap: 30px;
}

.ga-footer-column {
  color: #ffffff;
}

.ga-footer-heading {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 0px 0;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.ga-footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.ga-footer-links a:hover {
  color: #00a77e;
}

.ga-footer-company {
  grid-column: span 1;
  text-align: right;
}

.ga-footer-company-logo {
  margin-bottom: 20px;
}

.ga-footer-company-logo img {
  max-width: 200px;
  height: auto;
  display: block;
  margin-left: auto;
}

.ga-footer-company-info {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.ga-footer-company-info p {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #ffffff;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.ga-footer-company-info p:first-child {
  font-weight: 600;
  margin-bottom: 16px;
}

.ga-footer-company-info a {
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.ga-footer-company-info a:hover {
  color: #00a77e;
}

.ga-footer-bottom {
  background: #0f2d4d;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ga-footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.ga-footer-logo img {
  height: 40px;
  width: auto;
}

.ga-footer-social {
  display: flex;
  gap: 15px;
}

.ga-footer-social a {
  color: #ffffff;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ga-footer-social a:hover {
  background: #00a77e;
  transform: translateY(-2px);
}

.ga-footer-social svg {
  width: 20px;
  height: 20px;
}

.ga-footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ga-footer-copyright p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.ga-footer-copyright a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.ga-footer-copyright a:hover {
  color: #00a77e;
}

/* Footer Responsive Styles */
@media (max-width: 1024px) {
  .ga-footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .ga-footer-company {
    grid-column: span 2;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .ga-footer-main {
    padding: 40px 0 30px;
  }

  .ga-footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .ga-footer-company {
    grid-column: span 2;
  }

  .ga-footer-bottom-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .ga-footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .ga-footer-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ga-footer-company {
    grid-column: span 1;
  }

  .ga-footer-heading {
    font-size: 15px;
  }

  .ga-footer-links a {
    font-size: 13px;
  }

  .ga-footer-company-info p {
    font-size: 13px;
  }
}

/* Force container styles to override inline CSS */
body .ga-container,
html body .ga-container,
div.ga-container {
  margin-left: 30px !important;
  margin-right: 30px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

/* Responsive body padding for fixed header */
@media (max-width: 996px) {
  body {
    padding-top: 80px !important; /* Smaller padding for mobile header */
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px !important; /* Even smaller for very small screens */
  }
}


ul#menu-secondary-menu.ga-secondary-menu li.ga2024conferencemenu a:hover {
  border: solid 1px lightblue;
  border-radius: 10px;
  padding: 10px 5px;
}