/* IMS Website - Simple Clean Design */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Colors */
:root {
  --primary-navy: #1e3a8a;
  --accent-teal: #0891b2;
  --text-dark: #000000;
  --text-white: #ffffff;
  --bg-light-gray: #f8fafc;
  --bg-medium-gray: #e2e8f0;
  --border-light: #e2e8f0;
}

/* Body - Light Gray Background */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, var(--bg-light-gray) 0%, var(--bg-medium-gray) 100%);
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.6;
  min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.875rem;
}

h4 {
  font-size: 1.5rem;
}

p,
li {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-image {
  height: 40px;
  width: auto;
}

.logo-text h2 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
}

.logo-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.75rem 0.625rem;
  font-weight: 500;
  font-size: 0.8rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.nav-link.btn {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-left: 1rem;
  margin-right: 1rem;
  border-right: none;
}

.nav-link.btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

.mobile-menu-toggle:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.hamburger-icon {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-light-gray) 0%, var(--bg-medium-gray) 25%, #cbd5e1 50%, #94a3b8 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(30,58,138,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(30,58,138,0);stop-opacity:1" /></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23grad)"/><circle cx="800" cy="600" r="200" fill="url(%23grad)"/></svg>');
  background-size: cover;
  opacity: 0.6;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #000000;
  font-size: 3.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.hero p {
  color: #000000;
  font-size: 1.25rem;
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-stat {
  text-align: center;
  padding: 1rem;
}

.hero-stat-number {
  display: block;
  font-size: 1.875rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 0.5rem;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
}

.btn-primary {
  background: var(--primary-navy);
  color: white;
  border-color: var(--primary-navy);
}

.btn-primary:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
}

.btn-secondary:hover {
  background: var(--primary-navy);
  color: white;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent-teal);
  color: white;
  border-color: var(--accent-teal);
}

.btn-accent:hover {
  background: #059669;
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--text-dark);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-dark);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal) 0%, var(--primary-navy) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.card h4 {
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.card ul li {
  color: var(--text-dark);
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  padding-left: 1.5rem;
}

.card ul li:last-child {
  border-bottom: none;
}

.card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-weight: bold;
}

/* Contact Section */
.contact-info,
.contact-form {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-info h3,
.contact-form h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item strong {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.125rem;
}

.contact-item a {
  color: var(--accent-teal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--primary-navy);
}

/* Forms */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
}

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

.form-msg {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-dark);
  font-style: italic;
}

/* Footer */
.site-footer {
  background: #111827;
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-content {
  text-align: left;
}

.footer-logo h3 {
  color: white;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.footer-section h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-teal);
}

.copyright {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  text-align: center;
}

.copyright p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.875rem;
}

.totop {
  color: var(--accent-teal);
  text-decoration: none;
  margin-top: 1rem;
  display: inline-block;
  font-weight: 500;
}

.totop:hover {
  color: white;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

/* Enhanced Mobile Optimization for Android & iPhone */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .header-content {
    padding: 0 1rem;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    border-radius: 0 0 12px 12px;
    gap: 0.5rem;
    z-index: 1000;
    max-height: 70vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease forwards;
  }

  .main-nav.active {
    display: flex !important;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 1rem;
    margin: 0.25rem 0;
    border-radius: 8px;
    border-right: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .nav-link:hover,
  .nav-link:focus {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
  }

  .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 700;
  }

  .nav-link.btn {
    margin-left: 0;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
  }

  .nav-link.btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
  }
}

/* Animation for mobile menu */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure mobile menu works on all devices */
@media (max-width: 480px) {
  .mobile-menu-toggle {
    min-width: 50px;
    min-height: 50px;
    padding: 0.875rem;
  }

  .hamburger-icon {
    font-size: 1.25rem;
  }

  .main-nav {
    padding: 0.75rem;
    gap: 0.25rem;
  }

  .nav-link {
    padding: 0.875rem;
    font-size: 0.95rem;
    min-height: 50px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .mobile-menu-toggle {
    border: 2px solid white;
  }

  .nav-link {
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
}

/* Ensure touch targets are accessible */
@media (hover: none) and (pointer: coarse) {

  .mobile-menu-toggle,
  .nav-link {
    min-height: 48px;
    min-width: 48px;
  }

  .mobile-menu-toggle:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  }

  .hero p {
    font-size: 1.125rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 3rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
  }

  .hero-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000000;
  }

  .hero-stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #000000;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    min-height: 50px;
    font-size: 1rem;
    font-weight: 700;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
  }

  .section-title p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.6;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid var(--border-light);
  }

  .card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
  }

  .card p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.7;
  }

  .card ul li {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.6;
  }

  .contact-info,
  .contact-form {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid var(--border-light);
  }

  .contact-info h3,
  .contact-form h3 {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-dark);
  }

  .contact-item strong {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-dark);
  }

  .contact-item a {
    font-size: 1rem;
    font-weight: 600;
  }

  .contact-form label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
    padding: 1rem;
    border: 2px solid var(--border-light);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.875rem;
  }

  .card {
    padding: 1rem;
  }
}

/* A
dditional Mobile Optimizations for Perfect Readability */

/* Prevent zoom on iOS when focusing inputs */
@media (max-width: 768px) {

  input,
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* Enhanced text contrast and readability */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }

  /* Ensure all text is highly readable */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #000000 !important;
    font-weight: 800 !important;
    text-rendering: optimizeLegibility;
  }

  p,
  li,
  span,
  div,
  label {
    color: #000000 !important;
    font-weight: 600 !important;
    text-rendering: optimizeLegibility;
  }

  /* Hero section text now black for better mobile readability */
  .hero h1,
  .hero p {
    color: #000000 !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8) !important;
  }

  .hero-stat-number,
  .hero-stat-label {
    color: #000000 !important;
    font-weight: 800 !important;
  }

  /* Navigation text remains white */
  .nav-link,
  .logo-text h2,
  .logo-subtitle {
    color: white !important;
    font-weight: 700 !important;
  }

  /* Footer text remains white */
  .site-footer,
  .site-footer * {
    color: white !important;
  }

  /* Enhanced button readability */
  .btn {
    font-weight: 800 !important;
    text-shadow: none;
  }

  .btn-primary {
    background: var(--primary-navy) !important;
    color: white !important;
    border: 2px solid var(--primary-navy) !important;
  }

  .btn-secondary {
    background: white !important;
    color: var(--primary-navy) !important;
    border: 2px solid var(--primary-navy) !important;
  }

  /* Enhanced card readability */
  .card {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  }

  /* Enhanced contact form readability */
  .contact-info,
  .contact-form {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  }

  /* Touch-friendly elements */
  .btn,
  .nav-link,
  .contact-item a {
    min-height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Improved spacing for mobile */
  .section {
    padding: 2.5rem 0;
  }

  .card {
    margin-bottom: 1.5rem;
  }

  .hero-stats {
    margin: 2rem 0;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .section-title h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .section-title p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .card {
    padding: 1.25rem;
  }

  .card h4 {
    font-size: 1.125rem;
    line-height: 1.3;
  }

  .card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .contact-info,
  .contact-form {
    padding: 1.25rem;
  }

  .hero-stats {
    padding: 1.25rem;
  }

  .hero-stat-number {
    font-size: 1.25rem;
  }

  .hero-stat-label {
    font-size: 0.8rem;
  }
}

/* High DPI displays (Retina) */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .logo-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }

  /* Enhanced text rendering for high DPI */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
}

/* Dark mode support (respects system preference) */
@media (prefers-color-scheme: dark) {

  .card,
  .contact-info,
  .contact-form {
    background: rgba(255, 255, 255, 0.95) !important;
  }
}

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

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.contact-item a:focus,
input:focus,
textarea:focus {
  outline: 3px solid var(--accent-teal);
  outline-offset: 2px;
}

/* Ensure minimum contrast ratios */
@media (prefers-contrast: high) {

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  label {
    color: #000000 !important;
    font-weight: 800 !important;
  }

  .card,
  .contact-info,
  .contact-form {
    background: #ffffff !important;
    border: 3px solid #000000 !important;
  }
}

/* CON
SISTENT RENDERING ACROSS LOCAL AND HOSTING ENVIRONMENTS */

/* Force consistent box model and rendering */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Normalize font rendering across environments */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
  font-display: swap;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
}

/* Ensure consistent background rendering */
body {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Force consistent section backgrounds */
.section {
  background: transparent !important;
  background-color: transparent !important;
}

/* Ensure consistent card rendering */
.card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Consistent hero section rendering */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #94a3b8 100%) !important;
  background-attachment: fixed;
  position: relative;
}

/* Ensure consistent text rendering */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000000 !important;
  font-weight: 700 !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p,
li,
span,
div,
label {
  color: #000000 !important;
  font-weight: 600 !important;
  text-rendering: optimizeLegibility;
}

/* Hero text now black for better readability */
.hero h1,
.hero p {
  color: #000000 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8) !important;
}

.hero-stat-number,
.hero-stat-label {
  color: #000000 !important;
  font-weight: 700 !important;
}

/* Navigation text remains white */
.nav-link,
.logo-text h2,
.logo-subtitle {
  color: white !important;
}

/* Footer text remains white */
.site-footer * {
  color: white !important;
}

/* Consistent contact form rendering */
.contact-info,
.contact-form {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Ensure consistent button rendering */
.btn {
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-primary {
  background: var(--primary-navy) !important;
  color: white !important;
  border: 2px solid var(--primary-navy) !important;
}

.btn-secondary {
  background: transparent !important;
  color: var(--primary-navy) !important;
  border: 2px solid var(--primary-navy) !important;
}

.btn-accent {
  background: var(--accent-teal) !important;
  color: white !important;
  border: 2px solid var(--accent-teal) !important;
}

/* Force consistent grid rendering */
.grid {
  display: grid !important;
  gap: 2rem !important;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
}

/* Consistent hero stats rendering */
.hero-stats {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Prevent layout shifts */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.logo-image {
  width: auto;
  height: 40px;
  object-fit: contain;
}

/* Consistent spacing */
.container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
}

.section {
  padding: 5rem 0 !important;
}

/* Force consistent mobile rendering */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem !important;
  }

  .section {
    padding: 3rem 0 !important;
  }

  .hero {
    padding: 3rem 0 !important;
  }

  .card,
  .contact-info,
  .contact-form {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 2px solid #e2e8f0 !important;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* Prevent FOUC (Flash of Unstyled Content) */
html {
  visibility: hidden;
  opacity: 0;
}

html.loaded {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* Ensure fonts load properly */
@font-face {
  font-family: 'Inter';
  font-display: swap;
  src: url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
}

/* Critical CSS for above-the-fold content */
.site-header,
.hero {
  will-change: transform;
  transform: translateZ(0);
}

/* Optimize rendering performance */
.card,
.btn {
  will-change: transform;
  transform: translateZ(0);
}

/* ENHA
NCED MOBILE MENU BUTTON STYLING */

.mobile-menu-toggle {
  display: none;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

.mobile-menu-toggle:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.hamburger-icon {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex !important;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    border-radius: 0 0 12px 12px;
    gap: 0.5rem;
    z-index: 1000;
    max-height: 70vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease forwards;
  }

  .main-nav.active {
    display: flex !important;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 1rem;
    margin: 0.25rem 0;
    border-radius: 8px;
    border-right: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .nav-link:hover,
  .nav-link:focus {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
  }

  .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 700;
  }

  .nav-link.btn {
    margin-left: 0;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
  }

  .nav-link.btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
  }
}

/* Animation for mobile menu */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure mobile menu works on all devices */
@media (max-width: 480px) {
  .mobile-menu-toggle {
    min-width: 50px;
    min-height: 50px;
    padding: 0.875rem;
  }

  .hamburger-icon {
    font-size: 1.25rem;
  }

  .main-nav {
    padding: 0.75rem;
    gap: 0.25rem;
  }

  .nav-link {
    padding: 0.875rem;
    font-size: 0.95rem;
    min-height: 50px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .mobile-menu-toggle {
    border: 2px solid white;
  }

  .nav-link {
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
}

/* Ensure touch targets are accessible */
@media (hover: none) and (pointer: coarse) {

  .mobile-menu-toggle,
  .nav-link {
    min-height: 48px;
    min-width: 48px;
  }

  .mobile-menu-toggle:hover {
    transform: none;
  }
}

/* COMING SOON PAGE STYLING */

.coming-soon-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.coming-soon-content h2 {
  font-size: 3rem;
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.coming-soon-content>p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon-message {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-gray-50) 100%);
  border-radius: 1rem;
  padding: 3rem 2rem;
  margin-top: 3rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.coming-soon-message h3 {
  font-size: 2rem;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.coming-soon-message p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Enhanced card styling for coming soon pages */
.coming-soon-content .card {
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.coming-soon-content .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal) 0%, var(--primary-navy) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.coming-soon-content .card:hover::before {
  transform: scaleX(1);
}

.coming-soon-content .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Mobile optimization for coming soon pages */
@media (max-width: 768px) {
  .coming-soon-content h2 {
    font-size: 2.5rem;
  }

  .coming-soon-content>p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }

  .coming-soon-message {
    padding: 2rem 1.5rem;
    margin-top: 2rem;
  }

  .coming-soon-message h3 {
    font-size: 1.75rem;
  }

  .coming-soon-message p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .coming-soon-content h2 {
    font-size: 2rem;
  }

  .coming-soon-message {
    padding: 1.5rem 1rem;
  }

  .coming-soon-message h3 {
    font-size: 1.5rem;
  }
}

/* MISSION & VALUES STYLING */

.commitment-item {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.commitment-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal) 0%, var(--primary-navy) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.commitment-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.commitment-item:hover::before {
  opacity: 1;
}

.commitment-item h4 {
  color: var(--primary-navy);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
  position: relative;
}

.commitment-item h4::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-teal) 0%, var(--primary-navy) 100%);
  border-radius: 2px;
}

.commitment-item p {
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.7;
  font-size: 1rem;
  flex-grow: 1;
  margin: 0;
}

/* Company Stats Styling */
.company-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

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

.stat-item strong {
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 0.95rem;
}

.stat-item span {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Sustainability Benefits Styling */
.sustainability-benefits {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.05) 0%, rgba(30, 58, 138, 0.05) 100%);
  border-radius: 8px;
  border-left: 4px solid var(--accent-teal);
}

.sustainability-benefits h5 {
  color: var(--primary-navy);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.sustainability-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sustainability-benefits ul li {
  color: var(--text-dark);
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.sustainability-benefits ul li:last-child {
  border-bottom: none;
}

.sustainability-benefits ul li::before {
  content: '🌱';
  position: absolute;
  left: 0;
  font-size: 1rem;
}

/* Testimonial Cards Styling */
.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--accent-teal);
  opacity: 0.3;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-card h4 {
  color: var(--primary-navy);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 2;
}

.testimonial-card p {
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.7;
  font-size: 1rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.testimonial-image {
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.testimonial-img:hover {
  transform: scale(1.02);
}

.testimonial-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-footer strong {
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-footer span {
  color: var(--accent-teal);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mobile optimization for testimonials */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-card::before {
    font-size: 3rem;
    top: 0.5rem;
    left: 1rem;
  }
  
  .testimonial-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }
  
  .testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .testimonial-image {
    margin: 1rem 0;
  }
  
  .testimonial-footer strong {
    font-size: 0.95rem;
  }
  
  .testimonial-footer span {
    font-size: 0.8rem;
  }
}

/* Mobile optimization for sustainability benefits */
@media (max-width: 768px) {
  .sustainability-benefits {
    padding: 1rem;
    margin-top: 1rem;
  }
  
  .sustainability-benefits h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .sustainability-benefits ul li {
    font-size: 0.9rem;
    padding: 0.4rem 0;
    padding-left: 1.25rem;
  }
}

/* Partnership Images Styling */
.partnership-image {
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.partnership-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.partner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.partner-img:hover {
  transform: scale(1.02);
}

/* Mobile optimization for partnership images */
@media (max-width: 768px) {
  .partnership-image {
    margin-top: 1rem;
  }
  
  .partner-img {
    border-radius: 6px;
  }
}

/* Mobile optimization for commitment items */
@media (max-width: 768px) {
  .commitment-item {
    padding: 1.5rem;
    text-align: center;
  }
  
  .commitment-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .commitment-item p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .stat-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .stat-item strong,
  .stat-item span {
    font-size: 0.9rem;
  }
}

/* FOUNDER-SPECIFIC STYLES */

.founder-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.founder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-teal);
}

.founder-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.5rem;
}

.founder-title {
  font-size: 1rem;
  color: var(--accent-teal);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.founder-bio {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.founder-bio p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #000000;
  font-weight: 600;
}

.founder-contact {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  margin-top: auto;
}

.founder-contact h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-teal);
  flex-shrink: 0;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .founders-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .founder-card {
    padding: 1.5rem;
  }
}