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

    body {
      font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
      background: #f8f6f2;  /* soft warm background */
      line-height: 1.5;
    }

    /* ----- main container ----- */
    .contact-page {
      padding: 60px 20px;
      background: #f8f6f2;
      min-height: 100vh;
      display: flex;
      align-items: center;
    }

    .container {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
    }

    /* ----- grid wrapper (more breathing) ----- */
    .contact-wrapper {
      display: grid;
      grid-template-columns: 1fr 1.3fr;
      gap: 50px;
      align-items: start;
    }

    /* ----- cards shared ----- */
    .contact-info,
    .contact-form {
      background: #ffffff;
      border-radius: 28px;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.02);
      padding: 40px 38px;
      transition: box-shadow 0.25s ease, transform 0.2s ease;
    }

    .contact-info:hover,
    .contact-form:hover {
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

    /* ----- left side (info) ----- */
    .contact-info {
      background: #8B0000;  /* deep chettinad red */
      color: #fff;
    }

    .contact-info h2 {
      font-size: 28px;
      font-weight: 600;
      letter-spacing: -0.3px;
      margin-bottom: 32px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .contact-info h2::after {
      content: '';
      flex: 1;
      height: 2px;
      background: rgba(255, 255, 255, 0.25);
      border-radius: 2px;
    }

    .info-box {
      display: flex;
      gap: 18px;
      margin-bottom: 32px;
      align-items: flex-start;
      padding: 8px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .info-box:last-of-type {
      border-bottom: none;
      margin-bottom: 0;
    }

    .info-box i {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.15);
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 20px;
      flex-shrink: 0;
      backdrop-filter: blur(2px);
      transition: 0.2s;
    }

    .info-box:hover i {
      background: #fff;
      color: #8B0000;
      transform: scale(1.02);
    }

    .info-box div {
      flex: 1;
    }

    .info-box h4 {
      font-weight: 500;
      font-size: 15px;
      letter-spacing: 0.4px;
      text-transform: uppercase;
      opacity: 0.7;
      margin-bottom: 4px;
    }

    .info-box p {
      color: #f5f0ea;
      line-height: 1.6;
      font-weight: 400;
      font-size: 16px;
    }

    .info-box p a {
      color: #ffd966;
      text-decoration: none;
      transition: 0.2s;
      border-bottom: 1px dotted transparent;
    }

    .info-box p a:hover {
      color: #ffe08c;
      border-bottom-color: #ffe08c;
    }

    /* ----- right side (form) ----- */
    .contact-form {
      background: #ffffff;
      border: 1px solid rgba(139, 0, 0, 0.08);
    }

    .contact-form h2 {
      font-size: 26px;
      font-weight: 600;
      color: #1e1e1e;
      margin-bottom: 28px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .contact-form h2 i {
      color: #8B0000;
      font-size: 26px;
      opacity: 0.7;
    }

    .contact-form form {
      display: flex;
      flex-direction: column;
      gap: 22px;
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 16px 18px;
      background: #f5f3f0;
      border: 1.5px solid #e6e1da;
      color: #1e1e1e;
      font-size: 16px;
      border-radius: 16px;
      outline: none;
      transition: 0.25s ease;
      font-family: inherit;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
      border-color: #8B0000;
      background: #fcfaf7;
      box-shadow: 0 0 0 4px rgba(139, 0, 0, 0.08);
    }

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
      color: #8f8a82;
      font-weight: 400;
      opacity: 0.8;
    }

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

    .contact-form button {
      width: 100%;
      max-width: 240px;
      padding: 16px 28px;
      border: none;
      border-radius: 50px;
      background: #8B0000;
      color: #fff;
      font-size: 17px;
      font-weight: 500;
      letter-spacing: 0.3px;
      cursor: pointer;
      transition: 0.25s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-top: 8px;
      box-shadow: 0 6px 14px rgba(139, 0, 0, 0.2);
    }

    .contact-form button i {
      font-size: 18px;
      transition: 0.2s;
    }

    .contact-form button:hover {
      background: #6d0000;
      transform: translateY(-2px);
      box-shadow: 0 12px 24px rgba(139, 0, 0, 0.25);
    }

    .contact-form button:hover i {
      transform: translateX(4px);
    }

    .contact-form button:active {
      transform: scale(0.97);
    }

    /* small helper - form hint */
    .form-hint {
      font-size: 14px;
      color: #6b6560;
      margin-top: -10px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .form-hint i {
      color: #8B0000;
      opacity: 0.5;
      font-size: 12px;
    }

    /* ----- responsive (mobile-first) ----- */
    @media (max-width: 1024px) {
      .contact-wrapper {
        gap: 40px;
      }
      .contact-info,
      .contact-form {
        padding: 32px 28px;
      }
    }

    @media (max-width: 820px) {
      .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
      }

      .contact-info {
        order: 2;          /* info below form on mobile */
      }
      .contact-form {
        order: 1;
      }

      .contact-info h2::after {
        flex: 0.6;
      }

      .contact-form button {
        max-width: 100%;
        width: 100%;
      }

      .contact-page {
        padding: 40px 16px;
      }
    }

    @media (max-width: 480px) {
      .contact-info,
      .contact-form {
        padding: 24px 18px;
        border-radius: 20px;
      }

      .contact-info h2 {
        font-size: 24px;
        margin-bottom: 24px;
      }

      .contact-form h2 {
        font-size: 22px;
      }

      .info-box {
        gap: 14px;
        margin-bottom: 24px;
      }

      .info-box i {
        width: 42px;
        height: 42px;
        font-size: 17px;
      }

      .contact-form input,
      .contact-form textarea {
        padding: 14px 16px;
        font-size: 15px;
      }
    }

    /* small extra: smooth scroll */
    html {
      scroll-behavior: smooth;
    }

    /* focus-visible for keyboard */
    .contact-form input:focus-visible,
    .contact-form textarea:focus-visible,
    .contact-form button:focus-visible {
      outline: 3px solid #8B0000;
      outline-offset: 2px;
    }