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

html {
  scroll-behavior: smooth;
  /* Improve text rendering on high-DPI Android devices */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #fff9f3 0%, #fdf6ee 100%);
  color: #244b3d;
  line-height: 1.7;
  overflow-x: hidden;
  /* Minimum font size for better readability on Android */
  font-size: 16px;
}

/* Header with improved styling */
header {
  text-align: center;
  padding: 3em 1em 4em;
  background: linear-gradient(135deg, #fdf6ee 0%, #f0e8d8 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header::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 100 100"><circle cx="50" cy="50" r="2" fill="%23f5b841" opacity="0.1"/></svg>') repeat;
  background-size: 50px 50px;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes flyInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes flyInFromUp {
  0% {
    opacity: 0;
    transform: translateY(-100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flyInFromRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes flyInFromDown {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  width: 200px;
  max-width: 80vw;
  margin-bottom: 1.5em;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(244, 184, 65, 0.2);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
  animation: flyInFromLeft 1s ease-out;
}

.logo:hover {
  transform: scale(1.05);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0.5em 0 0.3em;
  color: #244b3d;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(36, 75, 61, 0.1);
  position: relative;
  z-index: 1;
  animation: flyInFromUp 1s ease-out 0.2s both;
}

.tagline {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: #558266;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto 1em;
  position: relative;
  z-index: 1;
  animation: flyInFromRight 1s ease-out 0.4s both;
}

.location-info {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: #f5b841;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.8em 1.5em;
  border-radius: 25px;
  display: inline-block;
  position: relative;
  z-index: 1;
  border: 2px solid rgba(245, 184, 65, 0.3);
  animation: flyInFromDown 1s ease-out 0.6s both;
}

/* Sticky Navigation */
.sticky-nav {
  position: sticky;
  top: 0;
  background: rgba(253, 246, 238, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 184, 65, 0.2);
  z-index: 1000;
  padding: 1em 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
  padding: 0 1em;
}

.nav-link {
  color: #244b3d;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5em 1em;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  background: #f5b841;
  color: white;
  transform: translateY(-2px);
}

.signup-btn-nav {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

/* Content wrapper for consistent spacing */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5em;
}

/* Section styling */
section {
  padding: 5em 0;
  position: relative;
}

section:nth-child(even) {
  background: rgba(255, 255, 255, 0.5);
}

h2 {
  color: #2a5b47;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1em;
  text-align: center;
  position: relative;
  padding-bottom: 0.5em;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #f5b841, #e5a835);
  border-radius: 2px;
}

.section-intro {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 3em;
  color: #558266;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.intro-text {
  font-size: 1.3em;
  margin-bottom: 2em;
  text-align: center;
  color: #558266;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Grid - Updated for new business */
.why-choose-us {
  margin-top: 3em;
}

.why-choose-us h3 {
  font-size: 2em;
  color: #2a5b47;
  text-align: center;
  margin-bottom: 2em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
}

.feature-item {
  background: white;
  padding: 2em;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(36, 75, 61, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3em;
  margin-bottom: 1em;
}

.feature-item h4 {
  color: #2a5b47;
  margin-bottom: 1em;
  font-size: 1.3em;
}

/* Service Cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2em;
  margin-top: 3em;
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 2.5em;
  box-shadow: 0 10px 30px rgba(36, 75, 61, 0.1);
  transition: all 0.3s ease;
  border-left: 5px solid #f5b841;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(36, 75, 61, 0.15);
}

.service-icon {
  font-size: 3em;
  margin-bottom: 1em;
  text-align: center;
}

.service-card h3 {
  color: #2a5b47;
  font-size: 1.5em;
  margin-bottom: 1em;
  text-align: center;
}

.service-content p {
  margin-bottom: 1.5em;
}

.service-content h4 {
  color: #2a5b47;
  margin: 1.5em 0 1em;
  font-size: 1.2em;
}

.service-content ul {
  list-style: none;
  padding: 0;
}

.service-content li {
  margin: 0.8em 0;
  padding-left: 1.5em;
  position: relative;
}

.service-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #f5b841;
  font-weight: bold;
}

.services-cta {
  text-align: center;
  margin-top: 3rem;
}

.services-cta-text {
  font-size: 1.2em;
  margin-bottom: 2rem;
  color: #558266;
}

.ndis-funding-info {
  background: #f0e8d8;
  padding: 1.5em;
  border-radius: 10px;
  margin-top: 1.5em;
  border-left: 4px solid #f5b841;
}

/* NDIS Info Section */
.ndis-info {
  background: linear-gradient(135deg, #2a5b47 0%, #244b3d 100%);
  color: white;
}

.ndis-info h2,
.ndis-info h3 {
  color: white;
}

.ndis-info h2::after {
  background: linear-gradient(90deg, #f5b841, #e5a835);
}

.eligibility-criteria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5em;
  margin: 2em 0;
}

.criteria-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5em;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.criteria-item h4 {
  color: #f5b841;
  margin-bottom: 0.5em;
}

.gc-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
  margin: 2em 0;
}

.gc-info-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2em;
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.gc-info-item h4 {
  color: #f5b841;
  margin-bottom: 1em;
  font-size: 1.3em;
}

/* Steps Process */
.steps-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  margin: 2em 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1em;
}

.step-number {
  background: #f5b841;
  color: #244b3d;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  flex-shrink: 0;
}

.step-content h4 {
  color: #f5b841;
  margin-bottom: 0.5em;
}

/* Signup CTA */
.signup-cta {
  text-align: center;
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(245, 184, 65, 0.1);
  border-radius: 15px;
}

.signup-cta h3 {
  color: #2a5b47;
  margin-bottom: 1rem;
}

.signup-cta p {
  color: #558266;
  margin-bottom: 1.5rem;
}

/* Contact Methods */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  margin: 3em 0;
}

.contact-item {
  background: white;
  padding: 2em;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(36, 75, 61, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contact-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(36, 75, 61, 0.15);
  border: 2px solid rgba(245, 184, 65, 0.3);
}

.contact-link:hover .contact-icon {
  transform: scale(1.2);
}

.contact-link h3,
.contact-link p {
  color: inherit;
  margin: inherit;
}

.contact-link:hover h3 {
  color: #f5b841;
}

.contact-icon {
  font-size: 2.5em;
  margin-bottom: 1em;
  transition: transform 0.3s ease;
}

.contact-item h3 {
  color: #2a5b47;
  margin-bottom: 1em;
}

/* Enhanced form styling */
#contactForm {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 3em;
  border-radius: 25px;
  margin-top: 3em;
  border: 1px solid rgba(245, 184, 65, 0.2);
  box-shadow: 0 15px 50px rgba(36, 75, 61, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
}

.form-group {
  margin-bottom: 2em;
}

.form-group label {
  display: block;
  margin-bottom: 0.8em;
  font-weight: 600;
  color: #244b3d;
  font-size: 1.1em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1em 1.2em;
  border: 2px solid #e8ddd0;
  border-radius: 12px;
  font-size: 1em;
  font-family: inherit;
  background: white;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f5b841;
  box-shadow: 0 0 0 3px rgba(245, 184, 65, 0.1);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select {
  cursor: pointer;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDFMNiA2TDExIDEiIHN0cm9rZT0iIzI0NGIzZCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==');
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 12px;
  padding-right: 3em;
  appearance: none;
}

.contact-button {
  background: linear-gradient(135deg, #f5b841 0%, #e5a835 100%);
  color: #244b3d;
  border: none;
  padding: 1.5em 3em;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(245, 184, 65, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.contact-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.contact-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 184, 65, 0.4);
}

.contact-button:hover::before {
  left: 100%;
}

.form-footer {
  margin-top: 2em;
  text-align: center;
  color: #558266;
}

.form-footer-signup {
  margin-top: 1rem;
}

.form-footer-link {
  background: none;
  border: none;
  color: #f5b841;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}

.g-recaptcha {
  margin: 2em 0;
  display: flex;
  justify-content: center;
}

/* Signup Button Styling */
.signup-btn {
  background: linear-gradient(135deg, #f5b841 0%, #e5a835 100%);
  color: #244b3d;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(245, 184, 65, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  animation: flyInFromDown 1s ease-out 0.8s both;
}

.signup-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.signup-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 184, 65, 0.4);
}

.signup-btn:hover::before {
  left: 100%;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(36, 75, 61, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 900px;
  height: 85vh;
  max-height: 800px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

.modal-header {
  background: linear-gradient(135deg, #f5b841 0%, #e5a835 100%);
  color: #244b3d;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px 20px 0 0;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #244b3d;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(36, 75, 61, 0.1);
  transform: rotate(90deg);
}

.modal-body {
  height: calc(100% - 80px);
  position: relative;
}

.modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Footer styling */
footer {
  background: linear-gradient(135deg, #2a5b47 0%, #244b3d 100%);
  color: #a8c4b5;
  padding: 4em 0 2em;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f5b841, transparent);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
}

.footer-section {
  text-align: center;
}

.footer-section h4 {
  color: #f5b841;
  margin-bottom: 1em;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin: 0.5em 0;
}

.footer-section ul li a {
  color: #a8c4b5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #f5b841;
}

.footer-signup-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  transition: color 0.3s ease;
}

.footer-signup-btn:hover {
  color: #f5b841;
}

.footer-bottom {
  text-align: center;
  margin-top: 2em;
  padding-top: 2em;
  border-top: 1px solid rgba(245, 184, 65, 0.2);
  font-size: 0.9em;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  html {
    /* Force minimum font size on mobile */
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
  }
  
  body {
    /* Increase base font size for mobile */
    font-size: 18px;
    line-height: 1.6;
  }
  
  header {
    padding: 3vh 1em 2vh;
    min-height: 100vh;
    height: 100vh;
    gap: 2vh;
  }
  
  .logo {
    width: min(140px, 30vw);
    margin-bottom: 2vh;
  }
  
  h1 {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
    margin: 1vh 0;
  }
  
  .tagline {
    /* Ensure tagline is readable on mobile */
    font-size: clamp(1.2rem, 4.5vw, 1.6rem) !important;
    line-height: 1.4;
    margin-bottom: 2vh;
  }
  
  .location-info {
    /* Make location info more prominent on mobile */
    font-size: clamp(1rem, 3.5vw, 1.3rem) !important;
    padding: 1.5vh 2em;
    margin-bottom: 3vh;
  }
  
  .signup-btn {
    font-size: 1.2rem;
    padding: 1.8vh 2.4rem;
    min-height: 54px;
  }
  
  header > div {
    margin-top: 3vh;
  }
  
  .nav-container {
    gap: 1em;
  }
  
  .nav-link {
    padding: 0.6em 1.2em;
    font-size: 1rem;
    min-height: 44px; /* Touch target size */
  }
  
  section {
    padding: 3em 0;
  }
  
  .intro-text {
    /* Make intro text more readable */
    font-size: 1.4em !important;
    line-height: 1.6;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }
  
  .feature-item {
    padding: 2.5em 2em;
  }
  
  .feature-item h4 {
    font-size: 1.4em;
  }
  
  .feature-item p {
    font-size: 1.1em;
    line-height: 1.6;
  }
  
  .service-cards {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 2.5em;
  }
  
  .service-card h3 {
    font-size: 1.6em;
  }
  
  .service-content p,
  .service-content li {
    font-size: 1.1em;
    line-height: 1.6;
  }
  
  #contactForm {
    padding: 2em;
  }
  
  .form-group label {
    font-size: 1.2em;
    margin-bottom: 1em;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1.1em;
    padding: 1.2em 1.4em;
    min-height: 50px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
  
  .contact-item {
    padding: 2.5em 2em;
  }
  
  .contact-item h3 {
    font-size: 1.4em;
  }
  
  .contact-item p {
    font-size: 1.1em;
  }
  
  .signup-btn {
    font-size: 1.2rem;
    padding: 1.2rem 2.4rem;
    min-height: 54px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-section p,
  .footer-section li {
    font-size: 1.1em;
  }

  /* Modal mobile styles */
  .modal-content {
    width: 95%;
    height: 90vh;
    border-radius: 15px;
  }
  
  .modal-header {
    padding: 1.2rem 1.8rem;
    border-radius: 15px 15px 0 0;
  }
  
  .modal-header h3 {
    font-size: 1.4rem;
  }
  
  .modal-close {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  body {
    /* Further increase base font size for small screens */
    font-size: 20px;
  }
  
  header {
    padding: 2vh 0.5em 2vh;
    min-height: 100vh;
    height: 100vh;
    gap: 1.5vh;
    justify-content: space-evenly;
  }
  
  .logo {
    width: min(120px, 25vw);
    margin-bottom: 1vh;
  }
  
  h1 {
    /* Ensure main title fits well */
    font-size: clamp(2.4rem, 10vw, 3.8rem) !important;
    margin: 1vh 0;
    line-height: 1.1;
  }
  
  .tagline {
    /* Optimized for small screens */
    font-size: clamp(1.2rem, 5vw, 1.7rem) !important;
    line-height: 1.3;
    margin-bottom: 1.5vh;
    padding: 0 1em;
  }
  
  .location-info {
    font-size: clamp(1rem, 4vw, 1.4rem) !important;
    padding: 1.2vh 1.8em;
    margin-bottom: 2vh;
    line-height: 1.2;
  }
  
  .signup-btn {
    font-size: 1.1rem;
    padding: 2vh 2.5rem;
    min-height: 56px;
  }
  
  header > div {
    margin-top: 1.5vh;
  }
  
  .content-wrapper {
    padding: 0 1em;
  }
  
  section {
    padding: 2em 0;
  }
  
  h2 {
    /* Make section headings proportional */
    font-size: clamp(2rem, 8vw, 3.2rem) !important;
  }
}
  
  .intro-text {
    font-size: 1.5em !important;
  }
  
  .feature-item {
    padding: 3em 2.5em;
  }
  
  .feature-item h4 {
    font-size: 1.5em;
  }
  
  .feature-item p {
    font-size: 1.2em;
  }
  
  #contactForm {
    padding: 1.5em;
  }
  
  .form-group label {
    font-size: 1.3em;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1.2em;
    padding: 1.4em 1.6em;
    min-height: 56px;
  }
  
  .service-card {
    padding: 2.5em;
  }
  
  .service-card h3 {
    font-size: 1.7em;
  }
  
  .service-content p,
  .service-content li {
    font-size: 1.2em;
  }
  
  .signup-btn {
    font-size: 1.3rem;
    padding: 1.4rem 2.8rem;
    min-height: 56px;
  }
  
  .contact-button {
    font-size: 1.3em;
    padding: 1.6em 3.2em;
    min-height: 56px;
  }
}

/* iPhone-specific fixes to prevent oversized text */
@media screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px) and (device-width: 390px) {
  /* iPhone 14/15 Pro */
  html {
    zoom: 1 !important;
  }
  
  body {
    font-size: 16px !important;
  }
  
  h1 {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
  }
  
  .tagline {
    font-size: clamp(1.1rem, 3vw, 1.4rem) !important;
  }
  
  .location-info {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem) !important;
  }
  
  .nav-link {
    font-size: 1rem !important;
    padding: 0.6em 1.2em !important;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px) and (device-width: 375px) {
  /* iPhone 13/14 */
  html {
    zoom: 1 !important;
  }
  
  body {
    font-size: 16px !important;
  }
  
  h1 {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
  }
  
  .tagline {
    font-size: clamp(1.1rem, 3vw, 1.4rem) !important;
  }
  
  .location-info {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem) !important;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 768px) and (device-width: 414px) {
  /* iPhone 12/13 Pro Max */
  html {
    zoom: 1 !important;
  }
  
  body {
    font-size: 16px !important;
  }
}

/* Generic iOS Safari targeting */
@supports (-webkit-appearance: none) and (not (appearance: none)) {
  @media screen and (max-width: 768px) {
    html {
      zoom: 1 !important;
    }
    
    body {
      font-size: 17px !important;
    }
    
    h1 {
      font-size: clamp(2.5rem, 6vw, 4rem) !important;
    }
    
    .tagline {
      font-size: clamp(1.1rem, 3.5vw, 1.4rem) !important;
    }
    
    .location-info {
      font-size: clamp(0.9rem, 2.8vw, 1.1rem) !important;
    }
    
    .nav-link {
      font-size: 1rem !important;
      padding: 0.6em 1.2em !important;
      min-height: 44px !important;
    }
    
    .intro-text {
      font-size: 1.3em !important;
    }
    
    .feature-item h4 {
      font-size: 1.3em !important;
    }
    
    .feature-item p {
      font-size: 1em !important;
    }
    
    .service-card h3 {
      font-size: 1.5em !important;
    }
    
    .service-content p,
    .service-content li {
      font-size: 1em !important;
    }
    
    .signup-btn {
      font-size: 1.1rem !important;
      padding: 1rem 2rem !important;
    }
    
    p, li {
      font-size: 1em !important;
    }
  }
}

/* Specific fixes for high-DPI Android devices (Samsung S24, Pixel, etc.) */
@media screen and (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 768px) and (not (-webkit-appearance: none)) {
  html {
    /* Override browser zoom on high-DPI displays */
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    zoom: 1.3;
  }
  
  body {
    font-size: 22px;
    line-height: 1.7;
  }
  
  h1 {
    font-size: clamp(3.5rem, 10vw, 5rem) !important;
  }
  
  .tagline {
    font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
  }
  
  .location-info {
    font-size: clamp(1.4rem, 5vw, 1.8rem) !important;
  }
  
  h2 {
    font-size: clamp(2.8rem, 9vw, 4.2rem) !important;
  }
  
  .intro-text {
    font-size: 1.8em !important;
  }
  
  .nav-link {
    font-size: 1.3rem !important;
    padding: 0.8em 1.5em !important;
    min-height: 54px !important;
  }
  
  .feature-item h4 {
    font-size: 1.8em !important;
  }
  
  .feature-item p {
    font-size: 1.4em !important;
  }
  
  .service-card h3 {
    font-size: 2rem !important;
  }
  
  .service-content p,
  .service-content li {
    font-size: 1.4em !important;
  }
  
  .signup-btn {
    font-size: 1.5rem !important;
    padding: 1.6rem 3.2rem !important;
  }
  
  .form-group label {
    font-size: 1.5em !important;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1.4em !important;
    padding: 1.6em 2em !important;
  }
  
  .contact-item h3 {
    font-size: 1.8em !important;
  }
  
  .contact-item p {
    font-size: 1.4em !important;
  }
  
  p, li {
    font-size: 1.3em;
    line-height: 1.7;
  }
}

/* Samsung Internet Browser specific fix */
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 3) and (not (-webkit-appearance: none)) {
  html {
    font-size: 24px;
    zoom: 1.4;
  }
  
  body {
    font-size: 1rem;
  }
  
  .nav-container {
    gap: 1.5em;
  }
  
  .nav-link {
    font-size: 1.2rem !important;
    padding: 1em 2em !important;
    min-height: 60px !important;
  }
}

/* Additional Samsung-specific targeting */
@media screen and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2.5) and (not (-webkit-appearance: none)) {
  html {
    zoom: 1.5;
  }
  
  body {
    font-size: 24px;
  }
  
  h1 {
    font-size: clamp(4rem, 12vw, 6rem) !important;
  }
  
  .tagline {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
  }
  
  .location-info {
    font-size: clamp(1.6rem, 6vw, 2rem) !important;
  }
}

/* Alternative approach for Samsung Internet browser */
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 3) {
  * {
    /* Force minimum sizes for ultra-high DPI screens */
    font-size: inherit !important;
  }
  
  html {
    font-size: 20px;
  }
  
  body {
    font-size: 1rem;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .feature-item, .service-card, .contact-item {
    border: 2px solid #244b3d;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    border-width: 3px;
  }
}

/* Coming Soon Section */
.coming-soon {
  background: linear-gradient(135deg, #fff9f3 0%, #fdf6ee 100%);
  padding: 5em 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

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

.coming-soon h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #2a5b47;
  margin-bottom: 1em;
}

.coming-soon-text {
  font-size: 1.3em;
  color: #558266;
  margin-bottom: 3em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  margin: 3em 0;
}

.preview-item {
  background: white;
  padding: 2em;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(36, 75, 61, 0.1);
  transition: transform 0.3s ease;
}

.preview-item:hover {
  transform: translateY(-5px);
}

.preview-icon {
  font-size: 3em;
  margin-bottom: 1em;
}

.preview-item h3 {
  color: #2a5b47;
  margin-bottom: 1em;
  font-size: 1.3em;
}

.preview-item p {
  color: #558266;
}

.coming-soon-contact {
  background: white;
  padding: 3em;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(36, 75, 61, 0.1);
  margin-top: 4em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon-contact h3 {
  color: #2a5b47;
  margin-bottom: 1em;
  font-size: 1.8em;
  text-align: center;
}

.coming-soon-contact p {
  color: #558266;
  margin-bottom: 2.5em;
  font-size: 1.1em;
  text-align: center;
  line-height: 1.6;
}

.notify-form {
  max-width: 100%;
}

.notify-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
  margin-bottom: 2em;
}

.notify-field {
  position: relative;
}

.notify-field-full {
  grid-column: 1 / -1;
}

.notify-field input {
  width: 100%;
  padding: 1.2em 1.5em;
  border: 2px solid #e8ddd0;
  border-radius: 12px;
  font-size: 1em;
  font-family: inherit;
  background: #fafafa;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.notify-field input:focus {
  outline: none;
  border-color: #f5b841;
  background: white;
  box-shadow: 0 0 0 3px rgba(245, 184, 65, 0.1);
  transform: translateY(-2px);
}

.notify-field input::placeholder {
  color: #a0a0a0;
  font-weight: 500;
}

.notify-captcha {
  margin: 2.5em 0;
  display: flex;
  justify-content: center;
  background: #f9f9f9;
  padding: 1.5em;
  border-radius: 12px;
  border: 1px solid #e8ddd0;
}

.notify-button {
  background: linear-gradient(135deg, #f5b841 0%, #e5a835 100%);
  color: #244b3d;
  border: none;
  padding: 1.3em 3em;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(245, 184, 65, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.notify-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.notify-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 184, 65, 0.4);
}

.notify-button:hover::before {
  left: 100%;
}

.notify-button:active {
  transform: translateY(-1px);
}

/* Mobile responsiveness for notify form */
@media (max-width: 768px) {
  .coming-soon-contact {
    padding: 2.5em 2em;
    margin-top: 3em;
  }
  
  .notify-form-grid {
    grid-template-columns: 1fr;
    gap: 1.2em;
  }
  
  .notify-field-full {
    grid-column: 1;
  }
  
  .notify-field input {
    padding: 1.1em 1.3em;
  }
  
  .notify-captcha {
    margin: 2em 0;
    padding: 1.2em;
  }
  
  .notify-captcha .g-recaptcha {
    transform: scale(0.85);
    transform-origin: center;
  }
  
  .notify-button {
    padding: 1.2em 2em;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .coming-soon-contact {
    padding: 2em 1.5em;
  }
  
  .coming-soon-contact h3 {
    font-size: 1.5em;
  }
  
  .coming-soon-contact p {
    font-size: 1em;
  }
  
  .notify-captcha .g-recaptcha {
    transform: scale(0.75);
  }
}

/* Logout Bar */
#logout-bar {
  background: linear-gradient(135deg, #2a5b47 0%, #244b3d 100%);
  color: white;
  padding: 0.8em 0;
  position: sticky;
  top: 0;
  z-index: 1001;
  border-bottom: 2px solid #f5b841;
}

.logout-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logout-text {
  color: #a8c4b5;
  margin: 0;
  font-size: 0.9em;
}

.logout-button {
  background: #f5b841;
  color: #244b3d;
  border: none;
  padding: 0.5em 1.2em;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logout-button:hover {
  background: #e5a835;
  transform: translateY(-1px);
}

/* Adjust sticky nav position when logout bar is visible */
body:has(#logout-bar[style*="block"]) .sticky-nav {
  top: 50px;
}

/* Mobile styles for logout bar */
@media (max-width: 768px) {
  .logout-container {
    flex-direction: column;
    gap: 0.5em;
    text-align: center;
  }
  
  .logout-text {
    font-size: 0.8em;
  }
  
  .logout-button {
    padding: 0.4em 1em;
    font-size: 0.8em;
  }
}

.notify-captcha {
  margin: 2em 0;
  display: flex;
  justify-content: center;
}

/* Mobile responsiveness for notify captcha */
@media (max-width: 768px) {
  .notify-captcha {
    margin: 1.5em 0;
  }
  
  .notify-captcha .g-recaptcha {
    transform: scale(0.77);
    transform-origin: 0 0;
  }
}

@media (max-width: 480px) {
  .notify-captcha .g-recaptcha {
    transform: scale(0.65);
  }
}

/* Form success/error messages */
.form-message {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  animation: slideIn 0.3s ease-out;
}

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

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

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

/* Button loading state */
button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Coming Soon form textarea styling */
.notify-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.3s ease;
}

.notify-form textarea:focus {
  outline: none;
  border-color: #4A90E2;
}

.notify-form textarea::placeholder {
  color: #888;
  font-style: italic;
}

/* Ensure full-width fields span the grid */
.notify-field-full {
  grid-column: 1 / -1;
}