body {
  font-family: 'Thasadith', sans-serif;
  color: #000000 !important;
  line-height: 1.5;  /* Improves text readability */
  font-size: 18px;   /* Better base font size */
}

p {
  font-size: 16px;  /* Minimum readable font size */
  line-height: 1.6;
}

h1 {
  margin-top: 1em;
  font-size: 36px;
}
.container {
  max-width: 949px; 
  margin: 0 auto;
  padding: 20px;
}

.footer {
  background-color: #fff;
  color: #333333;  /* Dark text for visibility - was invisible white on white */
  height: 250px;
  width: 100%;
  margin-top: 150px;
  padding-top: 20px;
}

#map-canvas {
  height: 320px;
  margin: 0;
  padding: 0;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

.fa-phone {
  font-size: 25px !important;
  vertical-align: middle !important;
  margin-right: 7px !important;
}

.fa-map-marker {
  font-size: 25px;
  vertical-align: middle;
  margin-right: 10px;
}

.fa-twitter {
  font-size: 22px;
  vertical-align: top;
}

.cc_btn, .cc_message {
  font-size: small !important;
  padding: 5px 15px !important;
  margin-top: 0 !important;
}

.cc_btn {
  background-color: #5CB85C !important;
}

.cc_container {
  padding: 5px 30px !important;
}

#sibren-image {
  width: 349px;
  height: 450px;
  background-image: url("../img/sibren_large.jpg");
  margin: 0 auto;
  margin-right: 0px;
  border: 0;
}

#contact-image {
  width: 349px;
  height: 595px;
  background-image: url("../img/contact_large.jpg");
  margin: 50px auto;
  margin-right: 0px;
  border: 0;
}

.navbar {
  background-color: #fff;
  border: 0;
}

.navbar-nav {
  float: right;
}

.navbar a {
  font-size: 20px;
  min-height: 44px;  /* Minimum touch target size */
  display: flex;
  align-items: center;
}

.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:focus, 
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > li > a:focus, 
.navbar-default .navbar-nav > li > a:hover {
  color: #333333 !important;
  background-color: #fff !important;
  font-size: 20px;
  border-bottom: 1px solid #333333;
}

.navbar-header {
  display: block;
}

#company {
  display: block;
  height: 384px;
  background: #fff url('../img/logo190x96.png') no-repeat left top;
}

.first {
  margin-top: 50px;
}

.hidden {
  display: none;
}
#contact_Send,
.form-group {
	margin-top: 1em;
	font-weight: bold;
}

.form-control, .btn {
  font-size: 16px;  /* Minimum readable font size */
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */

/* Footer link styling for better contrast */
.footer a {
  color: #0066cc;
  text-decoration: underline;
}

.footer a:hover, .footer a:focus {
  color: #004499;
  text-decoration: underline;
}

/* Focus indicators for better keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
.btn:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

/* Remove default outline and add custom */
*:focus {
  outline: none;
}

/* Navbar focus improvements */
.navbar-nav a:focus {
  background-color: #f8f9fa;
  border-radius: 4px;
}

/* Skip navigation link for screen readers */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

.sr-only-focusable:focus {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0.25rem 0.5rem !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  background-color: #007bff !important;
  color: #fff !important;
  text-decoration: none !important;
  z-index: 1000;
}

/* Form validation feedback styling */
.invalid-feedback {
  display: none;
  font-size: 14px;
  color: #dc3545;
  margin-top: 0.25rem;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.form-control.is-valid {
  border-color: #28a745;
}

/* Required field indicator */
.required span[aria-label="required"] {
  color: #dc3545;
  font-weight: bold;
}
/* media queries */
/* windowsphone bug*/
@-webkit-viewport   { width: device-width; }
@-moz-viewport      { width: device-width; }
@-ms-viewport       { width: device-width; }
@-o-viewport        { width: device-width; }
/* Mobile accessibility improvements */
@media (max-width: 768px) {
  body {
    font-size: 18px;  /* Larger base font on mobile */
  }
  
  /* Ensure touch targets are large enough on mobile */
  .navbar-nav a {
    min-height: 48px;  /* Larger touch target for mobile */
    padding: 16px 20px;
  }
  
  .btn {
    min-height: 48px;
    padding: 12px 16px;
  }
}
@viewport           { width: device-width; }

@media (max-width: 1024px) {
  #sibren-image {
    width: 349px;
    height: 450px;
    background-image: url("../img/sibren_lm.jpg");
  }

  #contact-image {
    width: 349px;
    height: 595px;
    background-image: url("../img/contact_lm.jpg");
  }

}

@media (max-width: 355px) {
  #sibren-image {
    width: 250px;
    height: 323px;
    background-image: url("../img/sibren_medium.jpg");        
  }

  #contact-image {
    width: 249px;
    height: 425px;
    background-image: url("../img/contact_medium.jpg");
  }
}

@media (max-width: 255px) {
  #sibren-image {
    width: 150px;
    height: 149px;
    background-image: url("../img/sibren_small.jpg");        
  }

  #contact-image {
    width: 149px;
    height: 254px;
    background-image: url("../img/contact_small.jpg");
  }
}
