/* Mobile Responsive Styles */

/* Base responsive styles */
* {
  box-sizing: border-box;
}

/* Prevent zoom on form inputs in iOS */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
select,
textarea {
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

/* Base typography adjustments */
body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Mobile First - Default styles for mobile */
@media screen and (max-width: 991px) {

  /* Override Webflow default styles */
  .w-nav[data-collapse="medium"] .w-nav-menu {
    display: none !important;
  }

  .w-nav[data-collapse="medium"].w-nav-open .w-nav-menu {
    display: block !important;
  }

  /* Logo and brand adjustments */
  .brand,
  .w-nav-brand {
    display: block !important;
    position: relative;
    z-index: 9999;
    flex-shrink: 0;
  }

  .brand img {
    width: 80px !important;
    height: auto;
    display: block;
    max-width: none !important;
  }

  /* Navigation adjustments */
  .navbar,
  .w-nav {
    position: relative;
    background: white;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    min-height: 70px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
  }

  .navbar>div,
  .w-nav>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent !important;
  }

  /* Remove any Webflow overlay styles */
  .w-nav-overlay {
    display: none !important;
  }

  /* Hamburger menu button */
  .menu-button,
  .w-nav-button {
    display: block !important;
    position: relative;
    z-index: 10000;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: transparent !important;
    border: none;
    padding: 12px;
    flex-shrink: 0;
    border-radius: 4px;
  }

  .menu-button:hover,
  .w-nav-button:hover {
    background: rgba(0, 0, 0, 0.05) !important;
  }

  .burger-menu,
  .w-icon-nav-menu {
    width: 20px;
    height: 2px;
    background: #333;
    position: relative;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
  }

  .burger-menu::before,
  .burger-menu::after,
  .w-icon-nav-menu::before,
  .w-icon-nav-menu::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
    left: 0;
  }

  .burger-menu::before,
  .w-icon-nav-menu::before {
    top: -6px;
  }

  .burger-menu::after,
  .w-icon-nav-menu::after {
    bottom: -6px;
  }

  /* Animate hamburger when menu is open - increased specificity */
  .w-nav[data-collapse="medium"].w-nav-open .burger-menu,
  .w-nav[data-collapse="medium"].w-nav-open .w-icon-nav-menu,
  .w-nav-open .burger-menu,
  .w-nav-open .w-icon-nav-menu {
    background: transparent;
  }

  .w-nav[data-collapse="medium"].w-nav-open .burger-menu::before,
  .w-nav[data-collapse="medium"].w-nav-open .w-icon-nav-menu::before,
  .w-nav-open .burger-menu::before,
  .w-nav-open .w-icon-nav-menu::before {
    transform: rotate(45deg);
    top: 0;
  }

  .w-nav[data-collapse="medium"].w-nav-open .burger-menu::after,
  .w-nav[data-collapse="medium"].w-nav-open .w-icon-nav-menu::after,
  .w-nav-open .burger-menu::after,
  .w-nav-open .w-icon-nav-menu::after {
    transform: rotate(-45deg);
    bottom: 0;
  }

  /* Navigation menu - hidden by default - override Webflow */
  .nav-menu,
  .w-nav-menu,
  .w-nav[data-collapse="medium"] .w-nav-menu {
    display: none !important;
    background-color: rgba(15, 23, 42, 0.98);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    overflow-y: auto;
    padding: 80px 30px 50px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    -webkit-overflow-scrolling: touch;
  }

  /* Show navigation when open - maximum specificity to override Webflow */
  body .w-nav[data-collapse="medium"].w-nav-open .nav-menu,
  body .w-nav[data-collapse="medium"].w-nav-open .w-nav-menu,
  body .w-nav.w-nav-open .nav-menu,
  body .w-nav.w-nav-open .w-nav-menu {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
  }

  .navlink,
  .w-nav-link {
    display: block !important;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
    color: white !important;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
  }

  .navlink:hover,
  .w-nav-link:hover {
    color: #0C5AB5 !important;
  }

  .navlink.red {
    color: #ef4444 !important;
    font-weight: 500;
  }

  /* Mobile dropdown styles */
  .w-dropdown {
    display: block !important;
    position: relative;
  }

  .w-dropdown-toggle {
    display: block !important;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
    color: white !important;
    text-decoration: none;
    font-weight: 400;
    cursor: pointer;
  }

  .w-dropdown-list {
    display: none !important;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin: 10px 0;
    padding: 10px 0;
  }

  .w--open .w-dropdown-list {
    display: block !important;
  }

  .w-dropdown-link {
    display: block !important;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .w-dropdown-link:hover {
    color: #0C5AB5 !important;
    background-color: rgba(255, 255, 255, 0.05);
  }

  .w-dropdown-link:last-child {
    border-bottom: none;
  }

  /* Search container adjustments */
  .search-container {
    display: none;
  }

  /* Hero section adjustments */
  .hero-section {
    min-height: 50vh;
  }

  .hero-heading {
    font-size: 2.5rem !important;
    line-height: 1.2;
    text-align: center;
  }

  .subtitle-white {
    font-size: 1rem;
    text-align: center;
    padding: 0 10px;
  }

  /* Content wrapper adjustments */
  .content-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Grid and flex adjustments */
  .flex,
  ._50-column,
  ._50-column-center,
  ._48-column {
    flex-direction: column;
  }

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

  /* Box adjustments */
  .box {
    margin-bottom: 20px;
    min-height: 300px;
  }

  /* Pricing table adjustments */
  .pricing-table {
    flex-direction: column;
    align-items: center;
  }

  .pricing-box-2 {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
  }

  /* Button adjustments */
  .button {
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    margin: 10px 0;
  }

  /* Team member grid */
  .w-dyn-items {
    flex-direction: column;
    align-items: center;
  }

  .team-member {
    width: 100% !important;
    max-width: 400px !important;
    margin-bottom: 20px;
  }

  /* Trading widget adjustments */
  .tradingview-widget-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Recent transactions table - Mobile responsive */
  .recent-tranx {
    flex-direction: column !important;
    gap: 20px;
    margin-top: 30px !important;
    width: 100% !important;
  }

  .recent-tranx>div {
    width: 100% !important;
    margin: 10px 0 !important;
    flex: none !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Override the original 50% width rule with higher specificity */
  .recent-tranx>div {
    width: 100% !important;
  }

  .recent-tranx-table {
    width: 100% !important;
    font-size: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    display: table !important;
    box-sizing: border-box !important;
  }

  .recent-tranx-table thead {
    display: table-header-group !important;
  }

  .recent-tranx-table tbody {
    display: table-row-group !important;
  }

  .recent-tranx-table tr {
    display: table-row !important;
  }

  .recent-tranx-table th,
  .recent-tranx-table td {
    display: table-cell !important;
    white-space: nowrap;
    min-width: 80px;
    padding: 8px 4px !important;
    text-align: center;
    box-sizing: border-box !important;
  }

  /* Video adjustments */
  video {
    width: 100%;
    height: auto;
  }

  /* Image adjustments */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Tablet styles */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .hero-heading {
    font-size: 3rem !important;
  }

  .pricing-table {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .pricing-box-2 {
    width: 48%;
    margin: 1%;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Small mobile styles */
@media screen and (max-width: 480px) {
  .hero-heading {
    font-size: 2rem !important;
  }

  .subtitle-white {
    font-size: 0.9rem;
  }

  .h2-title,
  .h3-title,
  .h4-title {
    font-size: 1.5rem;
  }

  .content-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Navigation brand adjustment */
  .brand img {
    width: 60px;
  }

  /* Table responsive */
  .recent-tranx-table {
    font-size: 12px !important;
  }

  .recent-tranx-table th {
    font-size: 13px !important;
  }
}

/* Landscape mobile styles */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }

  .hero-heading {
    font-size: 2rem !important;
  }
}

/* Fix for dropdown menus on mobile */
@media screen and (max-width: 991px) {

  .dropdown,
  .w-dropdown {
    position: static;
  }

  .dropdown-toggle,
  .w-dropdown-toggle {
    pointer-events: auto !important;
    padding: 20px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
  }

  .dropdown-toggle:hover,
  .w-dropdown-toggle:hover {
    color: #0C5AB5 !important;
  }

  .dropdown-arrow,
  .w-icon-dropdown-toggle {
    transition: transform 0.3s ease;
    color: white;
  }

  .w-dropdown.w--open .dropdown-arrow,
  .w-dropdown.w--open .w-icon-dropdown-toggle {
    transform: rotate(90deg);
  }

  .w-dropdown-list {
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    padding-left: 30px;
    display: none;
    margin-top: 10px;
  }

  .w-dropdown.w--open .w-dropdown-list {
    display: block;
  }

  .dropdown-link,
  .w-dropdown-link {
    padding: 15px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 16px;
    display: block;
    text-decoration: none;
  }

  .dropdown-link:hover,
  .w-dropdown-link:hover {
    color: #0C5AB5 !important;
  }
}

/* Hide desktop-only elements on mobile */
@media screen and (max-width: 991px) {
  .desktop-only {
    display: none !important;
  }
}

/* Show mobile-only elements */
.mobile-only {
  display: none;
}

@media screen and (max-width: 991px) {
  .mobile-only {
    display: block;
  }
}

/* Webflow responsive utilities override */
@media screen and (max-width: 991px) {
  .w-container {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Fix for background images on mobile */
@media screen and (max-width: 991px) {
  [style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
    background-attachment: scroll !important;
  }
}

/* Touch-friendly improvements */
@media screen and (max-width: 991px) {

  /* Larger touch targets */
  .navlink,
  .dropdown-link,
  .button,
  .w-button {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
  }

  /* Prevent text from being too small */
  body,
  p,
  span,
  div {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }

  /* Fix for sticky elements */
  .navbar {
    position: relative;
    z-index: 1000;
  }

  /* Prevent horizontal scroll */
  body,
  html {
    overflow-x: hidden;
  }

  /* Fix for form elements */
  input,
  textarea,
  select {
    font-size: 16px;
    /* Prevents zoom on iOS */
    width: 100%;
    max-width: 100%;
  }
}

/* Contact page specific responsive styles */
@media screen and (max-width: 991px) {

  /* Inner hero section adjustments */
  .inner-hero {
    min-height: 50vh !important;
    padding: 80px 0 40px 0 !important;
  }

  .inner-hero-text {
    text-align: center !important;
    padding: 0 20px !important;
  }

  .inner-hero .h1-title.large {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
  }

  .inner-hero .title-white {
    font-size: 1rem !important;
    margin-bottom: 15px !important;
  }

  .inner-hero .subtitle-white {
    font-size: 1.1rem !important;
    margin-top: 20px !important;
    padding: 0 10px !important;
  }

  /* Main content section */
  ._2-content-section {
    padding: 40px 15px !important;
  }

  .inner-wrapper {
    padding: 0 15px !important;
  }

  /* Contact info and form layout - Higher specificity */
  ._2-content-section .flex {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 40px !important;
    width: 100% !important;
  }

  ._2-content-section ._50-column {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 30px !important;
    flex: none !important;
  }

  ._2-content-section ._50-column.center-flex {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    display: block !important;
  }

  /* Contact items styling */
  .contact-item {
    margin-bottom: 25px !important;
    padding: 15px 0 !important;
  }

  .contact-item .text-dark.large-bold {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
  }

  .contact-item div:not(.bottom-border):not(.text-dark) {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  /* Header elements */
  .h4-title {
    font-size: 1.3rem !important;
  }

  ._2-header-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Form styling */
  ._6-form {
    width: 100% !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  .form-title .regular-title.medium {
    font-size: 1.4rem !important;
    text-align: center !important;
    margin-bottom: 25px !important;
  }

  /* Contact form table responsive */
  .free-class-form table {
    width: 100% !important;
    border-collapse: collapse !important;
    display: block !important;
  }

  .free-class-form table tbody {
    display: block !important;
    width: 100% !important;
  }

  .free-class-form table td {
    display: block !important;
    width: 100% !important;
    padding: 8px 0 !important;
    border: none !important;
    box-sizing: border-box !important;
  }

  .free-class-form table tr {
    display: block !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #eee !important;
    padding-bottom: 15px !important;
    width: 100% !important;
  }

  .free-class-form table tr:last-child {
    border-bottom: none !important;
  }

  /* Form inputs styling */
  .form-control {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    margin-top: 5px !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  .form-control:focus {
    outline: none !important;
    border-color: #0C5AB5 !important;
    box-shadow: 0 0 5px rgba(12, 90, 181, 0.3) !important;
  }

  /* Textarea specific styling */
  textarea.form-control {
    min-height: 120px !important;
    resize: vertical !important;
  }

  /* Submit button styling */
  .sbmt {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    background-color: #0C5AB5 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    transition: background-color 0.3s ease !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .sbmt:hover {
    background-color: #094a9e !important;
  }

  /* Form labels */
  .free-class-form table td:first-child {
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 5px !important;
  }

  /* Success and error messages */
  ._4-success-message,
  .error-message {
    padding: 15px !important;
    margin: 20px 0 !important;
    border-radius: 4px !important;
    text-align: center !important;
  }

  ._4-success-message {
    background-color: #d4edda !important;
    color: #155724 !important;
    border: 1px solid #c3e6cb !important;
  }

  .error-message {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border: 1px solid #f5c6cb !important;
  }

  /* Content wrapper adjustments */
  .content-wrapper.w-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
  }
}

.contact-item .text-dark.large-bold {
  font-size: 1.1rem !important;
  margin-bottom: 8px !important;
}

.contact-item div:not(.bottom-border):not(.text-dark) {
  font-size: 1rem !important;
  line-height: 1.5 !important;
}

/* Header elements */
.h4-title {
  font-size: 1.3rem !important;
}

._2-header-flex {
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* Form styling */
._6-form {
  width: 100% !important;
  padding: 0 !important;
}

.form-title .regular-title.medium {
  font-size: 1.4rem !important;
  text-align: center !important;
  margin-bottom: 25px !important;
}

/* Contact form table responsive */
.free-class-form table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.free-class-form table td {
  display: block !important;
  width: 100% !important;
  padding: 8px 0 !important;
  border: none !important;
}

.free-class-form table tr {
  display: block !important;
  margin-bottom: 20px !important;
  border-bottom: 1px solid #eee !important;
  padding-bottom: 15px !important;
}

.free-class-form table tr:last-child {
  border-bottom: none !important;
}

/* Form inputs styling */
.form-control {
  width: 100% !important;
  padding: 12px 15px !important;
  font-size: 16px !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  margin-top: 5px !important;
  box-sizing: border-box !important;
}

.form-control:focus {
  outline: none !important;
  border-color: #0C5AB5 !important;
  box-shadow: 0 0 5px rgba(12, 90, 181, 0.3) !important;
}

/* Textarea specific styling */
textarea.form-control {
  min-height: 120px !important;
  resize: vertical !important;
}

/* Submit button styling */
.sbmt {
  width: 100% !important;
  padding: 15px 20px !important;
  font-size: 16px !important;
  background-color: #0C5AB5 !important;
  color: white !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  margin-top: 20px !important;
  transition: background-color 0.3s ease !important;
}

.sbmt:hover {
  background-color: #094a9e !important;
}

/* Form labels */
.free-class-form table td:first-child {
  font-weight: 600 !important;
  color: #333 !important;
  margin-bottom: 5px !important;
}

/* Success and error messages */
._4-success-message,
.error-message {
  padding: 15px !important;
  margin: 20px 0 !important;
  border-radius: 4px !important;
  text-align: center !important;
}

._4-success-message {
  background-color: #d4edda !important;
  color: #155724 !important;
  border: 1px solid #c3e6cb !important;
}

.error-message {
  background-color: #f8d7da !important;
  color: #721c24 !important;
  border: 1px solid #f5c6cb !important;
}

/* Footer responsive styles */
@media screen and (max-width: 991px) {

  .footer-section {
    padding: 40px 0 20px 0 !important;
  }

  .footer-form {
    padding: 0 !important;
  }

  /* Footer layout - stack columns vertically */
  .footer-form>div[style*="display:flex"] {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .col-md-12,
  .col-md-3,
  .col-md-6,
  .col-3,
  .col-6 {
    width: 100% !important;
    margin-bottom: 30px !important;
  }

  /* Footer titles */
  .footer-form h4.title {
    font-size: 1.3rem !important;
    margin-bottom: 15px !important;
  }

  /* Footer text */
  .footer-form p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
  }

  /* Footer lists */
  .footer-form ul {
    padding-left: 0 !important;
    list-style: none !important;
  }

  .footer-form ul li {
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .footer-form ul li:last-child {
    border-bottom: none !important;
  }

  .footer-form ul li a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    transition: color 0.3s ease !important;
  }

  .footer-form ul li a:hover {
    color: #0C5AB5 !important;
  }

  /* Footer navigation */
  .footer-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
  }

  .footer-link {
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
  }

  .footer-link:hover {
    color: #0C5AB5 !important;
  }

  .footer-link:last-child {
    border-bottom: none !important;
  }

  /* Menu section adjustments */
  .menu-setion {
    padding: 20px 0 !important;
    margin-top: 30px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
}

/* Small mobile specific adjustments */
@media screen and (max-width: 480px) {

  .inner-hero .h1-title.large {
    font-size: 2rem !important;
  }

  .inner-hero .subtitle-white {
    font-size: 1rem !important;
  }

  .contact-item {
    padding: 12px 0 !important;
  }

  .form-control {
    font-size: 16px !important;
    padding: 10px 12px !important;
  }

  .sbmt {
    padding: 12px 16px !important;
  }

  ._2-content-section {
    padding: 30px 0 !important;
  }

  .footer-section {
    padding: 30px 0 15px 0 !important;
  }
}

/* EMERGENCY MOBILE OVERRIDES - CONTACT PAGE */
@media screen and (max-width: 991px) {

  /* Force mobile layout for contact page */
  body ._2-content-section .flex {
    display: block !important;
    width: 100% !important;
  }

  body ._2-content-section ._50-column {
    width: 100% !important;
    float: none !important;
    display: block !important;
    margin-bottom: 30px !important;
  }

  /* Force form to be full width */
  body .free-class-form table {
    width: 100% !important;
  }

  body .free-class-form table,
  body .free-class-form table tbody,
  body .free-class-form table tr,
  body .free-class-form table td {
    display: block !important;
    width: 100% !important;
  }

  body .form-control {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .sbmt {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* HOMEPAGE MOBILE FIXES - Remove unwanted boxes and styling */
@media screen and (max-width: 991px) {

  /* Reset any unwanted content section styling for homepage */
  body .content-section p {
    background-color: transparent !important;
    border-left: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 1rem !important;
  }

  /* Reset content wrapper styling */
  body .content-wrapper p {
    background-color: transparent !important;
    border-left: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }

  /* Ensure no unwanted boxes on main content */
  body main p {
    background-color: transparent !important;
    border-left: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }

  /* Remove any blue borders from content elements */
  body .content-section *,
  body .content-wrapper *,
  body main * {
    border-left-color: transparent !important;
  }

  /* Specifically target any elements that might have the blue border */
  body [style*="border-left"] {
    border-left: none !important;
  }

  /* Remove any background colors from content paragraphs */
  body p[style*="background"] {
    background: transparent !important;
  }

  /* OUR VALUES section mobile optimization */
  body .content-section.blue .row {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 0 !important;
  }

  body .content-section.blue .col-md-3 {
    width: 100% !important;
    margin-bottom: 25px !important;
    padding: 0 !important;
  }

  body .content-section.blue h3 {
    font-size: 1.5rem !important;
    margin-bottom: 15px !important;
  }

  body .content-section.blue p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
  }
}