/* ======================================
   ATS Perfect – Contact Page Styles
   ====================================== */

   *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

   body {
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
     background: #f8fafc;
     color: #1e293b;
     min-height: 100vh;
     -webkit-font-smoothing: antialiased;
   }
   
   /* ==========================================
      HEADER
      ========================================== */
   .header {
     background: #fff;
     border-bottom: 1px solid #e2e8f0;
     position: sticky;
     top: 0;
     z-index: 1000;
     height: 52px;
   }
   
   .header-content {
     display: flex;
     align-items: center;
     height: 100%;
     max-width: 1400px;
     margin: 0 auto;
     padding: 0;
     position: relative;
   }
   
   /* Logo */
   .logo-section {
     display: flex;
     align-items: center;
     gap: 9px;
     padding: 0 20px;
     height: 100%;
     border-right: 1px solid #e2e8f0;
     flex-shrink: 0;
   }
   
   .logo-section a {
     display: flex;
     align-items: center;
     gap: 9px;
     text-decoration: none;
   }
   
   /* Nav */
   .header-nav {
     display: flex;
     align-items: center;
     gap: 4px;
     padding: 0 16px;
     height: 100%;
     margin-left: auto;
     margin-right: auto;
   }
   
   .header-nav a {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     color: #6b7280;
     text-decoration: none;
     padding: 0 14px;
     height: 30px;
     font-size: 13px;
     font-weight: 600;
     border-radius: 6px;
     white-space: nowrap;
     transition: all 0.2s;
   }
   
   .header-nav a:hover { color: #10b981; background: rgba(16,185,129,0.08); }
   .header-nav a.active {
     color: #fff;
     background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
     box-shadow: 0 4px 14px rgba(16,185,129,0.25);
   }
   
   /* Mobile hamburger */
   .mobile-menu-btn {
     display: none;
     background: none;
     border: none;
     cursor: pointer;
     padding: 8px;
     margin-left: auto;
     margin-right: 12px;
     flex-direction: column;
     gap: 5px;
     flex-shrink: 0;
   }
   
   .mobile-menu-btn span {
     display: block;
     width: 22px;
     height: 2px;
     background: #6b7280;
     border-radius: 2px;
     transition: all 0.3s;
   }
   
   .mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
   .mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
   .mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
   
   .mobile-nav {
     display: none;
     position: absolute;
     top: 52px;
     left: 0; right: 0;
     background: #fff;
     border-bottom: 1px solid #e2e8f0;
     padding: 8px 16px 12px;
     flex-direction: column;
     gap: 4px;
     z-index: 999;
     box-shadow: 0 8px 24px rgba(0,0,0,0.08);
   }
   
   .mobile-nav.open { display: flex; }
   
   .mobile-nav a {
     display: flex;
     align-items: center;
     color: #6b7280;
     text-decoration: none;
     padding: 10px 14px;
     font-size: 14px;
     font-weight: 600;
     border-radius: 8px;
     transition: all 0.2s;
   }
   
   .mobile-nav a:hover { color: #10b981; background: rgba(16,185,129,0.08); }
   .mobile-nav a.active {
     color: #10b981;
     background: rgba(16,185,129,0.08);
   }
   
   /* ==========================================
      HERO
      ========================================== */
   .hero {
     background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
     padding: 60px 24px;
     text-align: center;
   }
   
   .hero h1 {
     font-size: 36px;
     font-weight: 700;
     color: #fff;
     margin-bottom: 12px;
     letter-spacing: -0.02em;
   }
   
   .hero p {
     font-size: 16px;
     color: #94a3b8;
     max-width: 500px;
     margin: 0 auto;
   }
   
   /* ==========================================
      CONTACT LAYOUT
      ========================================== */
   .contact-wrapper {
     max-width: 1000px;
     margin: -32px auto 60px;
     padding: 0 24px;
     display: grid;
     grid-template-columns: 1fr 340px;
     gap: 24px;
     align-items: start;
   }
   
   /* ==========================================
      FORM CARD
      ========================================== */
   .form-card {
     background: #fff;
     border-radius: 16px;
     box-shadow: 0 4px 24px rgba(0,0,0,0.08);
     padding: 36px;
   }
   
   .form-card h2 {
     font-size: 20px;
     font-weight: 700;
     margin-bottom: 24px;
     color: #0f172a;
   }
   
   .form-row {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 16px;
   }
   
   .form-group { margin-bottom: 18px; }
   
   .form-group label {
     display: block;
     font-size: 13px;
     font-weight: 600;
     color: #374151;
     margin-bottom: 6px;
   }
   
   .form-group input,
   .form-group select,
   .form-group textarea {
     width: 100%;
     padding: 11px 14px;
     border: 1.5px solid #e2e8f0;
     border-radius: 8px;
     font-size: 14px;
     font-family: inherit;
     color: #1e293b;
     background: #fafafa;
     transition: border-color 0.2s, box-shadow 0.2s;
     outline: none;
     appearance: auto;
   }
   
   .form-group input:focus,
   .form-group select:focus,
   .form-group textarea:focus {
     border-color: #10b981;
     background: #fff;
     box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
   }
   
   .form-group textarea { resize: vertical; min-height: 130px; }
   
   .submit-btn {
     width: 100%;
     padding: 14px;
     background: linear-gradient(135deg, #10b981, #34d399);
     color: #fff;
     border: none;
     border-radius: 10px;
     font-size: 15px;
     font-weight: 700;
     cursor: pointer;
     font-family: inherit;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     transition: all 0.2s;
     box-shadow: 0 4px 14px rgba(16,185,129,0.35);
   }
   
   .submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16,185,129,0.45); }
   .submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
   
   /* Alert states */
   .alert {
     padding: 14px 16px;
     border-radius: 10px;
     font-size: 14px;
     font-weight: 500;
     margin-bottom: 20px;
     display: none;
   }
   .alert.success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
   .alert.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
   .alert.show    { display: flex; align-items: center; gap: 10px; }
   
   /* ==========================================
      SIDEBAR
      ========================================== */
   .sidebar { display: flex; flex-direction: column; gap: 16px; }
   
   .info-card {
     background: #fff;
     border-radius: 14px;
     box-shadow: 0 4px 24px rgba(0,0,0,0.07);
     padding: 24px;
   }
   
   .info-card h3 {
     font-size: 15px;
     font-weight: 700;
     color: #0f172a;
     margin-bottom: 16px;
   }
   
   .contact-item {
     display: flex;
     align-items: flex-start;
     gap: 12px;
     margin-bottom: 14px;
   }
   .contact-item:last-child { margin-bottom: 0; }
   
   .contact-icon {
     width: 36px; height: 36px;
     background: #d1fae5;
     border-radius: 8px;
     display: flex; align-items: center; justify-content: center;
     flex-shrink: 0;
   }
   .contact-icon svg { width: 16px; height: 16px; color: #10b981; }
   
   .contact-label {
     font-size: 11px;
     color: #94a3b8;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 0.05em;
   }
   
   .contact-value { font-size: 14px; color: #1e293b; font-weight: 500; margin-top: 2px; }
   .contact-value a { color: #10b981; text-decoration: none; }
   
   .hours-card .hours-row {
     display: flex;
     justify-content: space-between;
     font-size: 13px;
     padding: 6px 0;
     border-bottom: 1px solid #f1f5f9;
   }
   .hours-card .hours-row:last-child { border-bottom: none; }
   .hours-day { color: #64748b; }
   .hours-time { font-weight: 600; color: #1e293b; }
   .hours-time.closed { color: #ef4444; }
   
   .topic-card .topic-list { list-style: none; }
   .topic-card .topic-list li {
     display: flex;
     align-items: center;
     gap: 8px;
     font-size: 13px;
     color: #475569;
     padding: 5px 0;
   }
   .topic-card .topic-list li::before {
     content: '';
     width: 6px; height: 6px;
     background: #10b981;
     border-radius: 50%;
     flex-shrink: 0;
   }
   
   /* ==========================================
      ANIMATIONS
      ========================================== */
   @keyframes spin { to { transform: rotate(360deg); } }
   @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
   
   /* ==========================================
      TABLET (769px – 1024px)
      ========================================== */
   @media (max-width: 1024px) and (min-width: 769px) {
     .contact-wrapper { grid-template-columns: 1fr 280px; }
     .form-card { padding: 28px; }
   }
   
   /* ==========================================
      MOBILE (≤ 768px)
      ========================================== */
   @media (max-width: 768px) {
     /* Header */
     .header-nav { display: none; }
     .mobile-menu-btn { display: flex; }
   
     /* Hero */
     .hero { padding: 40px 20px; }
     .hero h1 { font-size: 26px; }
     .hero p { font-size: 14px; }
   
     /* Layout */
     .contact-wrapper {
       grid-template-columns: 1fr;
       margin-top: -16px;
       padding: 0 16px;
       margin-bottom: 40px;
     }
   
     /* Sidebar appears above form on mobile */
     .sidebar { order: -1; }
   
     /* Form */
     .form-card { padding: 20px; border-radius: 12px; }
     .form-row { grid-template-columns: 1fr; }
     .form-card h2 { font-size: 17px; }
   
     .submit-btn { font-size: 14px; padding: 13px; }
   }
   
   /* ==========================================
      SMALL MOBILE (≤ 400px)
      ========================================== */
   @media (max-width: 400px) {
     .hero h1 { font-size: 22px; }
     .info-card { padding: 18px; }
   }