/* Responsive Design for All Mobile Sizes */
      
      /* Tablets & Small Laptops (768px - 1024px) */
      @media (max-width: 1024px) {
        .container {
          padding: 0 16px;
        }
        .hero h2 {
          font-size: 50px;
        }
      }

      /* Large Phones & Small Tablets (481px - 767px) */
      @media (max-width: 767px) {
        :root {
          --header-height: 72px;
        }

        header {
          height: var(--header-height);
        }

        .nav {
          padding: 8px 16px;
        }

        .brand h1 {
          font-size: 16px;
        }

        .brand p,
        .site-note {
          font-size: 11px;
        }

        .site-note {
          max-width: 140px;
          line-height: 1.3;
        }

        .container {
          margin: 20px auto;
          padding: 0 14px;
        }

        .hero {
          padding: 20px 16px;
          margin-bottom: 24px;
        }

        .hero h2 {
          font-size: 24px;
          margin-bottom: 10px;
        }

        .hero p {
          font-size: 14px;
        }

        .contact-grid {
          grid-template-columns: 1fr;
          gap: 20px;
          margin-bottom: 24px;
        }

        .contact-card,
        .form-section,
        .map-section {
          padding: 20px;
        }

        .contact-card h3,
        .form-section h3,
        .map-section h3 {
          font-size: 19px;
          margin-bottom: 14px;
        }

        .info-item {
          padding: 10px;
          gap: 10px;
        }

        .info-item i {
          font-size: 16px;
        }

        .social-links {
          flex-direction: column;
          gap: 10px;
        }

        .social-btn {
          width: 100%;
          justify-content: center;
          padding: 12px 16px;
        }

        .qr-section {
          padding: 18px;
        }

        #qrcode {
          padding: 12px;
        }

        .form-row {
          grid-template-columns: 1fr;
          gap: 14px;
        }

        .form-group {
          margin-bottom: 16px;
        }

        .submit-btn {
          width: 100%;
          justify-content: center;
          padding: 14px 24px;
        }

        .map-container {
          height: 280px;
        }

        .directions-btn {
          width: 100%;
          justify-content: center;
        }

        footer {
          padding: 18px 14px;
          font-size: 13px;
        }
      }

      /* Standard Phones (376px - 480px) - iPhone 12/13/14, Galaxy S21 */
      @media (max-width: 480px) {
        :root {
          --header-height: 68px;
        }

        body {
          font-size: 15px;
        }

        .brand > div:first-child {
          width: 48px !important;
          height: 48px !important;
        }

        .brand h1 {
          font-size: 15px;
        }

        .brand p {
          font-size: 10px;
        }

        .site-note {
          font-size: 10px;
          max-width: 120px;
        }

        .container {
          padding: 0 12px;
        }

        .hero {
          padding: 18px 14px;
          border-radius: 10px;
        }

        .hero h2 {
          font-size: 22px;
        }

        .hero p {
          font-size: 13px;
        }

        .contact-card,
        .form-section,
        .map-section {
          padding: 18px;
          border-radius: 10px;
        }

        .contact-card h3,
        .form-section h3,
        .map-section h3 {
          font-size: 18px;
          gap: 10px;
        }

        .contact-card h3 i,
        .form-section h3 i,
        .map-section h3 i {
          font-size: 20px;
        }

        .info-item {
          padding: 10px;
          gap: 10px;
          font-size: 14px;
        }

        .info-item div strong {
          font-size: 14px;
        }

        .social-btn {
          font-size: 13px;
          padding: 11px 14px;
        }

        .qr-section h4 {
          font-size: 15px;
        }

        #qrcode canvas {
          max-width: 140px !important;
          height: auto !important;
        }

        .form-group label {
          font-size: 13px;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
          padding: 11px 12px;
          font-size: 14px;
        }

        .submit-btn {
          font-size: 15px;
          padding: 13px 20px;
        }

        .map-container {
          height: 260px;
          border-radius: 8px;
        }

        .directions-btn {
          padding: 11px 18px;
          font-size: 14px;
        }

        footer {
          font-size: 12px;
          line-height: 1.6;
        }
      }

      /* Small Phones (321px - 375px) - iPhone SE, older Android */
      @media (max-width: 375px) {
        :root {
          --header-height: 64px;
        }

        body {
          font-size: 14px;
        }

        .nav {
          padding: 6px 12px;
          gap: 10px;
        }

        .brand > div:first-child {
          width: 44px !important;
          height: 44px !important;
          font-size: 14px !important;
        }

        .brand h1 {
          font-size: 14px;
          letter-spacing: 0.4px;
        }

        .brand p {
          font-size: 9px;
        }

        .site-note {
          display: none;
        }

        .container {
          margin: 16px auto;
          padding: 0 10px;
        }

        .hero {
          padding: 16px 12px;
          margin-bottom: 20px;
        }

        .hero h2 {
          font-size: 20px;
        }

        .hero p {
          font-size: 13px;
        }

        .contact-grid {
          gap: 16px;
          margin-bottom: 20px;
        }

        .contact-card,
        .form-section,
        .map-section {
          padding: 16px;
        }

        .contact-card h3,
        .form-section h3,
        .map-section h3 {
          font-size: 17px;
          margin-bottom: 12px;
        }

        .info-item {
          padding: 8px;
          gap: 8px;
          font-size: 13px;
          margin-bottom: 12px;
        }

        .social-btn {
          font-size: 12px;
          padding: 10px 12px;
        }

        .qr-section {
          padding: 14px;
        }

        #qrcode canvas {
          max-width: 120px !important;
        }

        .form-group {
          margin-bottom: 14px;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
          padding: 10px;
          font-size: 13px;
        }

        .form-group textarea {
          min-height: 120px;
        }

        .submit-btn {
          font-size: 14px;
          padding: 12px 18px;
        }

        .map-container {
          height: 240px;
        }

        .directions-btn {
          padding: 10px 16px;
          font-size: 13px;
          margin-top: 12px;
        }

        footer {
          margin-top: 24px;
          padding: 16px 10px;
          font-size: 11px;
        }

        footer a {
          display: inline-block;
          margin-top: 4px;
        }
      }

      /* Extra Small Phones (≤320px) - iPhone SE 1st gen, older devices */
      @media (max-width: 320px) {
        :root {
          --header-height: 60px;
        }

        body {
          font-size: 13px;
        }

        .nav {
          padding: 5px 10px;
        }

        .brand > div:first-child {
          width: 40px !important;
          height: 40px !important;
          font-size: 13px !important;
        }

        .brand h1 {
          font-size: 13px;
        }

        .brand p {
          font-size: 8px;
        }

        .container {
          padding: 0 8px;
        }

        .hero {
          padding: 14px 10px;
        }

        .hero h2 {
          font-size: 18px;
        }

        .hero p {
          font-size: 12px;
        }

        .contact-card,
        .form-section,
        .map-section {
          padding: 14px;
        }

        .contact-card h3,
        .form-section h3,
        .map-section h3 {
          font-size: 16px;
        }

        .info-item {
          padding: 8px;
          font-size: 12px;
        }

        .social-btn {
          font-size: 11px;
          padding: 9px 10px;
        }

        #qrcode canvas {
          max-width: 110px !important;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
          padding: 9px;
          font-size: 13px;
        }

        .submit-btn {
          padding: 11px 16px;
          font-size: 13px;
        }

        .map-container {
          height: 220px;
        }

        .directions-btn {
          padding: 9px 14px;
          font-size: 12px;
        }

        footer {
          font-size: 10px;
        }
      }

      /* Landscape Mode Optimization */
      @media (max-height: 500px) and (orientation: landscape) {
        .hero {
          padding: 16px;
        }

        .hero h2 {
          font-size: 20px;
          margin-bottom: 8px;
        }

        .hero p {
          font-size: 13px;
        }

        .map-container {
          height: 200px;
        }

        .contact-card,
        .form-section,
        .map-section {
          padding: 16px;
        }
      }