/* responsive.css */

/* --- Mobile Responsiveness --- */

/* For screens smaller than 1024px (tablets and smaller desktops) */
@media (max-width: 1024px) {
  .nav-contents-wrapper {
    padding: 15px 20px;
  }

  .nav-links {
    display: none !important; /* Hide desktop nav links */
  }

  .mobile-menu-button {
    display: block !important; /* Show hamburger menu */
  }

  .mobile-nav-menu {
    display: flex !important; /* Ensure it stacks menu items */
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    width: 100%;
  }

  .mobile-nav-menu.hidden {
    display: none !important; /* Explicitly hide when hidden */
  }


  .header-section {
    height: 600px;
    padding: 20px 30px 50px;
    gap: 50px;
  }

  .welcome-to {
    font-size: 60px;
    line-height: 65px;
    margin-top: -50px;
  }

  .text-wrapper {
    font-size: 24px;
    line-height: 28px;
    text-align: center; /* Centered for tablet/mobile */
  }

  .whether-you-re-just {
    font-size: 16px;
    line-height: 22px;
    text-align: center; /* Centered for tablet/mobile */
  }

  .welcome-section {
    padding: 80px 40px;
    gap: 40px;
  }

  .welcome-content {
    gap: 40px;
  }

  .div {
    font-size: 28px;
    line-height: 32px;
    text-align: center; /* Centered for tablet/mobile */
    white-space: normal; /* Allow text to wrap */
  }

  .welcome-body-copy {
    gap: 30px;
    align-items: center; /* Center children for consistent alignment */
  }

  .welcome-body {
    flex-direction: column;
    width: 100%;
    gap: 30px;
    align-items: center; /* Center children for consistent alignment */
  }

  .p, .text-wrapper-2 {
    text-align: center; /* Centered for tablet/mobile */
  }

  .offering-section {
    padding: 60px 30px;
    flex-direction: column;
    align-items: center;
  }

  .offering-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .offering-subhead {
    padding: 0;
    margin-bottom: 30px;
  }

  .offering-list {
    width: auto;
    margin-right: 0;
    gap: 40px;
    align-items: center;
  }

  .website-launch {
    font-size: 40px;
    line-height: 44px;
    text-align: center; /* Centered for tablet/mobile */
    white-space: normal; /* Allow text to wrap */
  }

  .image-breaker, .image-divider {
    height: 400px;
  }

  .our-clients-section {
    padding: 60px 40px;
    gap: 50px;
  }

  .headline-and-icons {
    padding: 40px 0;
    gap: 40px;
    align-items: center; /* Center children for consistent alignment */
  }

  .text-wrapper-4 {
    font-size: 40px;
    line-height: 45px;
    text-align: center;
  }

  .text-wrapper-5 {
    font-size: 16px;
    line-height: 22px;
    white-space: normal;
  }

  .icons-module {
    flex-direction: column;
    gap: 30px;
    align-items: center; /* Center children for consistent alignment */
  }

  .icon-lockup, .icon-lockup-2, .icon-lockup-3 {
    min-width: unset;
    width: 100%;
    padding: 30px 10px 30px 0;
    align-items: center; /* Center children for consistent alignment */
  }

  .text-wrapper-6 {
    font-size: 22px;
    line-height: 22px;
    text-align: center; /* Centered for tablet/mobile */
  }

  .text-wrapper-7 {
    font-size: 16px;
    line-height: 22px;
    text-align: center; /* Centered for tablet/mobile */
  }

  .schedule-a-consult-wrapper {
    width: 100%;
    padding: 16px 24px;
    min-height: 44px; /* WCAG touch target guideline */
  }

  .button-dark { /* Applying to other buttons for consistency */
    padding: 16px 24px;
    min-height: 44px; /* WCAG touch target guideline */
  }

  .button-dark-2 { /* Applying to other buttons for consistency */
    padding: 16px 24px;
    min-height: 44px; /* WCAG touch target guideline */
  }

  .footer-section {
    padding: 50px 0px; /* Remove side padding for full width */
    gap: 60px;
    width: 100%; /* Ensure footer section itself is full width */
  }

  .frame {
    flex-direction: column;
    gap: 60px;
    align-items: center;
    width: 100%; /* Set to 100% to fill the footer, then apply inner padding */
    margin: 0 auto; /* Center the frame content */
    padding: 0 20px; /* Add inner horizontal padding to frame */
    box-sizing: border-box; /* Include padding in width calculation */
  }

  .frame-2, .frame-4 {
    width: 100%; /* Ensure these take full width of their parent .frame */
    align-items: stretch; /* Stretch children for consistent width */
  }

  .footer-header {
    justify-content: center; /* Center logo on tablet/mobile */
  }

  .frame-3 {
    width: 200px;
  }

  .footer-contact {
    align-items: center; /* Center children for consistent alignment */
    gap: 20px;
  }

  .contact-column {
    align-items: center; /* Center children for consistent alignment */
  }

  .text-wrapper-8, .text-wrapper-9, .text-wrapper-10 {
    width: auto;
    text-align: center; /* Centered for tablet/mobile */
  }

  .footer-subhead {
    align-items: center; /* Center children for consistent alignment */
    text-align: center;
  }

  .text-wrapper-11 {
    text-align: center; /* Centered for tablet/mobile */
    white-space: normal; /* Allow text to wrap */
  }

  .input-area {
    align-items: stretch; /* Make children stretch full width within input-area */
    width: 100%; /* Ensure input-area itself takes full width */
  }

  /* Explicitly target the form for width and display */
  form#contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px; /* Match input-area gap if desired */
  }

  .input-field {
    width: 100%; /* Explicitly ensure full width */
    box-sizing: border-box; /* Explicitly ensure border-box model */
    text-align: center; /* Center the placeholder text */
  }

  .message-field { /* Explicitly target message-field for mobile width and alignment */
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .button-dark-2 {
    width: 100%; /* Ensure button is also full width */
  }

  .div-2 {
    flex-direction: column;
    gap: 10px;
  }

  .text-wrapper-13 {
    white-space: normal;
  }
}

/* For screens smaller than 768px (mobile phones) */
@media (max-width: 768px) {
  .nav-contents-wrapper {
    padding: 15px 15px;
  }
  .header-section {
    height: 500px;
    padding: 15px 20px 30px;
    gap: 30px;
  }

  .welcome-to {
    font-size: 48px;
    line-height: 50px;
    margin-top: -30px;
  }

  .text-wrapper {
    font-size: 20px;
    line-height: 24px;
    text-align: center; /* Centered for mobile */
  }

  .whether-you-re-just {
    font-size: 14px;
    line-height: 20px;
    text-align: center; /* Centered for mobile */
  }

  .welcome-section {
    padding: 60px 20px;
    gap: 30px;
  }

  .welcome-content {
    gap: 30px;
  }

  .div {
    font-size: 24px;
    line-height: 28px;
    text-align: center; /* Centered for mobile */
    white-space: normal; /* Allow text to wrap */
  }

  .welcome-body {
    gap: 20px;
  }

  .p, .text-wrapper-2 {
    font-size: 16px;
    line-height: 22px;
    text-align: center; /* Centered for mobile */
  }

  .offering-section {
    padding: 40px 20px;
  }

  .text-wrapper-3 {
    font-size: 28px;
    line-height: 32px;
  }

  .offering-list {
    gap: 30px;
  }

  .website-launch {
    font-size: 30px;
    line-height: 34px;
    text-align: center; /* Centered for mobile */
  }

  .image-breaker, .image-divider {
    height: 300px;
  }

  .our-clients-section {
    padding: 40px 20px;
    gap: 40px;
  }

  .headline-and-icons {
    padding: 30px 0;
    gap: 30px;
  }

  .text-wrapper-4 {
    font-size: 36px;
    line-height: 40px;
  }

  .text-wrapper-5 {
    font-size: 14px;
    line-height: 20px;
  }

  .icons-module {
    gap: 20px;
  }

  .icon-lockup, .icon-lockup-2, .icon-lockup-3 {
    min-width: unset;
    width: 100%;
    padding: 20px 5px 20px 0;
  }

  .text-wrapper-6 {
    font-size: 20px;
    line-height: 20px;
    text-align: center; /* Centered for mobile */
  }

  .text-wrapper-7 {
    font-size: 14px;
    line-height: 20px;
    text-align: center; /* Centered for mobile */
  }

  .schedule-a-consult-wrapper {
    padding: 14px 20px;
    min-height: 44px; /* WCAG touch target guideline */
  }

  .button-dark { /* Applying to other buttons for consistency */
    padding: 14px 20px;
    min-height: 44px; /* WCAG touch target guideline */
  }

  .button-dark-2 { /* Applying to other buttons for consistency */
    padding: 14px 20px;
    min-height: 44px; /* WCAG touch target guideline */
  }

  .footer-section {
    padding: 40px 0px; /* Remove side padding for full width */
    gap: 40px;
    width: 100%; /* Ensure footer section itself is full width */
  }

  .frame {
    gap: 40px;
    width: 100%; /* Set to 100% to fill the footer, then apply inner padding */
    margin: 0 auto; /* Center the frame content */
    padding: 0 15px; /* Adjust inner padding for smaller screens */
    box-sizing: border-box; /* Include padding in width calculation */
  }

  .frame-3 {
    width: 180px;
  }

  .footer-contact {
    gap: 15px;
  }

  .input-field, .message-field, .button-dark-2 {
    padding: 10px 0;
  }

  .text-wrapper-13 {
    font-size: 12px;
  }
}
