/* ============================================
   FONT DECLARATIONS
   ============================================ */

/* HONOR Sans Arabic UI Font Face Declarations */
@font-face {
    font-family: 'HONOR Sans Arabic UI';
    src: url('../font/HONORSansArabic/HONORSansArabicUI-R.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HONOR Sans Arabic UI';
    src: url('../font/HONORSansArabic/HONORSansArabicUI-M.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HONOR Sans Arabic UI';
    src: url('../font/HONORSansArabic/HONORSansArabicUI-B.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HONOR Sans Arabic UI';
    src: url('../font/HONORSansArabic/HONORSansArabicUI-B.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HONOR Sans Arabic UI';
    src: url('../font/HONORSansArabic/HONORSansArabicUI-H.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   CSS VARIABLES
   ============================================ */

:root {
    /* Gradient stops */
    --bg-stop-1: rgba(226, 243, 247, 0.30);
    --bg-stop-2: rgba(232, 242, 231, 0.30);
  
    /* Colors */
    --KurkeyBlue1: #184354;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-2: #ffffff;
    --border: rgba(24, 67, 84, 0.10);
    --muted: rgba(24, 67, 84, 0.72);
    --text: rgba(24, 67, 84, 0.92);
    --placeholder: rgba(24, 67, 84, 0.35);
    --field-bg: rgba(24, 67, 84, 0.03);
    --req: #e24b4b;
  
    /* Spacing & Effects */
    --radius-lg: 24px;
    --radius-md: 14px;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    --softfeather1: #EBEDEC;
    --softfeather3: #F7F7F7;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

/* Headings - Baloo Bhai 2 Font */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.story-heading,
 .story-short-heading,
.benefit-card h3,
.step-item h3,
.form-section-heading,
.waitlist__title,
.waitlist__cardTitle,
.waitlist__subtitle,
.petinfo__subhead,
.logo,
.btn,
.choice__text,
.addPet {
    font-family: 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ============================================
   RTL SUPPORT
   ============================================ */

html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] body,
html[dir="rtl"] *,
html[dir="rtl"] *::before,
html[dir="rtl"] *::after {
    font-family: 'HONOR Sans Arabic UI', 'Baloo Bhai 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Preserve Font Awesome font-family for icons in RTL */
html[dir="rtl"] [class*="fa-"]::before,
html[dir="rtl"] [class*="fa-"]::after,
html[dir="rtl"] i[class*="fa-"]::before,
html[dir="rtl"] i[class*="fa-"]::after {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro", "Font Awesome 6 Duotone" !important;
}

/* Arabic font for headings in RTL */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .section-title,
html[dir="rtl"] .story-heading,
html[dir="rtl"] .story-short-heading,
html[dir="rtl"] .benefit-card h3,
html[dir="rtl"] .step-item h3,
html[dir="rtl"] .form-section-heading,
html[dir="rtl"] .waitlist__title,
html[dir="rtl"] .waitlist__cardTitle,
html[dir="rtl"] .waitlist__subtitle,
html[dir="rtl"] .petinfo__subhead,
html[dir="rtl"] .logo,
html[dir="rtl"] .btn,
html[dir="rtl"] .choice__text,
html[dir="rtl"] .addPet {
    font-family: 'HONOR Sans Arabic UI', 'Baloo Bhai 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* RTL Text Alignment */
html[dir="rtl"] .waitlist__cardTitle,
html[dir="rtl"] .waitlist__card,
html[dir="rtl"] .waitlist__card-step-2,
html[dir="rtl"] .waitlist__card-step-3,
html[dir="rtl"] .field,
html[dir="rtl"] .field__label,
html[dir="rtl"] .field__input,
html[dir="rtl"] .field__select,
html[dir="rtl"] .field__textarea,
html[dir="rtl"] .field__error,
html[dir="rtl"] .petinfo__subhead,
html[dir="rtl"] .brandsCard__hint,
html[dir="rtl"] .brandItem__name,
html[dir="rtl"] .choice__text,
html[dir="rtl"] .addPet,
html[dir="rtl"] .waitlist__form,
html[dir="rtl"] .form-error {
    text-align: right;
}

/* Keep center alignment for center-aligned elements in RTL */
html[dir="rtl"] .waitlist__container,
html[dir="rtl"] .waitlist__title,
html[dir="rtl"] .waitlist__subtitle,
html[dir="rtl"] .btn,
html[dir="rtl"] .success__headline,
html[dir="rtl"] .success__copy,
html[dir="rtl"] .waitlist__card-step-4,
html[dir="rtl"] .success {
    text-align: center;
}

/* RTL Font Weight Reduction (reduce by 100) */
html[dir="rtl"] .btn {
    font-weight: 500;
}

/* Reduce font-weight by 100 for Arabic text */
html[dir="rtl"] .langBtn {
    font-weight: 600; /* 700 -> 600 */
}

html[dir="rtl"] .hero-title {
    font-weight: 300; /* 400 -> 300 */
}

html[dir="rtl"] .hero-title span {
    font-weight: 500; /* 600 -> 500 */
}

html[dir="rtl"] .story-short-heading,
html[dir="rtl"] .story-heading {
    font-weight: 500; /* 600 -> 500 */
}

html[dir="rtl"] .story-para {
    font-weight: 300; /* 400 -> 300 */
}

html[dir="rtl"] .title,
html[dir="rtl"] .text h4,
html[dir="rtl"] .auto-title {
    font-weight: 500; /* 600 -> 500 */
}

html[dir="rtl"] .text p {
    font-weight: 300; /* 400 -> 300 */
}

html[dir="rtl"] .waitlist__title,
html[dir="rtl"] .waitlist__cardTitle,
html[dir="rtl"] .field__label,
html[dir="rtl"] .petinfo__subhead,
html[dir="rtl"] .waitlist__card-step-3 .waitlist__cardTitle {
    font-weight: 500 !important; /* 600 -> 500 */
}

html[dir="rtl"] .waitlist__subtitle,
html[dir="rtl"] .success__headline {
    font-weight: 300 !important; /* 400 -> 300 */
}

html[dir="rtl"] .field__error,
html[dir="rtl"] .form-error {
    font-weight: 400; /* 500 -> 400 */
}

html[dir="rtl"] .step p {
    font-weight: 500; /* 600 -> 500 */
}

html[dir="rtl"] .brandItem__name {
    font-weight: 500 !important; /* 600 -> 500 */
}

html[dir="rtl"] .addPet {
    font-weight: 600; /* 700 -> 600 */
}

html[dir="rtl"] .brandItem__plus {
    font-weight: 800; /* 900 -> 800 */
}

html[dir="rtl"] .footer-top h2 {
    font-weight: 500; /* 600 -> 500 */
}

/* Reduce line-height for all titles in Arabic */
html[dir="rtl"] .hero-title {
    line-height: 50px !important; /* 60px -> 50px */
}

html[dir="rtl"] .hero-subtitle {
    line-height: 26px !important; /* 32px -> 26px */
}

html[dir="rtl"] .story-short-heading {
    line-height: 28px !important; /* 40px -> 28px */
}

html[dir="rtl"] .story-heading {
    line-height: 34px !important; /* 40px -> 34px */
}

html[dir="rtl"] .waitlist__title {
    line-height: 34px !important; /* 40px -> 34px */
}

html[dir="rtl"] .waitlist__subtitle {
    line-height: 24px !important; /* 28px -> 24px */
}

html[dir="rtl"] .waitlist__cardTitle {
    line-height: 18px !important; /* 21px -> 18px */
}

html[dir="rtl"] .petinfo__subhead {
    line-height: 20px !important; /* 24px -> 20px */
}

html[dir="rtl"] .benefit-card h3 {
    line-height: 32px !important; /* 40px -> 32px */
}

html[dir="rtl"] .step-item h3 {
    line-height: 32px !important; /* 40px -> 32px */
}

html[dir="rtl"] .success__headline {
    line-height: 30px !important; /* 36px -> 30px */
}

html[dir="rtl"] .success__copy {
    line-height: 1.4 !important; /* 1.6 -> 1.4 */
}

html[dir="rtl"] .footer-top h2 {
    line-height: 30px !important; /* 36px -> 30px */
}

html[dir="rtl"] .footer-top p {
    line-height: 20px !important; /* 28px -> 20px */
}

html[dir="rtl"] .footer-info,
html[dir="rtl"] .copyright {
    font-weight: 300; /* 400 -> 300 */
}

/* Reduce line-height for all titles in English (LTR) to match Arabic */

html[dir="ltr"] .hero-subtitle {
    line-height: 26px ;
}

html[dir="ltr"] .story-short-heading {
    line-height: 28px;
}

html[dir="ltr"] .story-heading {
        line-height: 34px ;
}

html[dir="ltr"] .waitlist__title {
    line-height: 34px ;
}

html[dir="ltr"] .waitlist__subtitle {
    line-height: 24px ;
}

html[dir="ltr"] .waitlist__cardTitle {
    line-height: 18px ;
}

html[dir="ltr"] .petinfo__subhead {
    line-height: 20px ;
}

html[dir="ltr"] .benefit-card h3 {
    line-height: 32px ;
}

html[dir="ltr"] .step-item h3 {
    line-height: 32px ;
}

html[dir="ltr"] .success__headline {
    line-height: 30px ;
}

html[dir="ltr"] .success__copy {
    line-height: 1.4 ;
}

html[dir="ltr"] .footer-top h2 {
    line-height: 30px ;
}

html[dir="ltr"] .footer-top p {
    line-height: 20px;
}

html[dir="rtl"] .nav-menu a {
    font-weight: 400; /* 500 -> 400 */
}

html[dir="rtl"] .brandItem--selected .brandItem__name {
    font-weight: 500 !important; /* 600 -> 500 */
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */

.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

html[dir="rtl"] .language-switcher {
    right: auto;
    left: 20px;
}

/* Language Toggle Button */
.langBtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid transparent;
    border-radius: 9999px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: transform 120ms ease, background 160ms ease, border-color 160ms ease;
    font-family: 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    position: relative;
    z-index: 101;
    pointer-events: auto;
}

.langBtn:hover {
    background: rgba(255, 255, 255, 0.14);
}

.langBtn:active {
    transform: translateY(1px);
}

.langBtn:focus-visible {
    outline: none;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.10);
}

.langBtn__icon {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
}

.langBtn__text {
    white-space: nowrap;
}

.langBtn__text.lang-text-arabic {
    font-family: 'HONOR Sans Arabic UI', 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    background: #1B4354;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    height: 40px;
    width: 72px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 48px 20px 70px 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(206, 225, 208, 0.30) 0%, #F7F7F7 100%);
}

.hero-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-video-box {
    border-radius: 25px;
    margin-bottom: 40px;
    width: 100%;
    aspect-ratio: 16 / 8.2;
    overflow: hidden;
    position: relative;
    background: #000000;
    cursor: pointer;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    background: #ffffff;
    display: block;
}

/* Native video player styling */
.hero-video-box {
    position: relative;
}

.hero-video-box .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 25px;
    background: #000;
    display: block;
}

/* Ensure video plays inline on mobile */
.hero-video-box video {
    -webkit-playsinline: true;
}

/* Proper fullscreen styling for all devices */
.hero-video-box video:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 0 !important;
}

.hero-video-box video::-webkit-media-controls {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%) !important;
}

/* Proper fullscreen styling for all devices */
.hero-video-box:fullscreen,
.hero-video-box:-webkit-full-screen,
.hero-video-box:-moz-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    background: #000 !important;
}

.hero-video-box:fullscreen video,
.hero-video-box:-webkit-full-screen video,
.hero-video-box:-moz-full-screen video {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 0 !important;
}

.hero-video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
}

.hero-video-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.hero-video-box:hover .hero-video-play-overlay:not(.hidden) {
    transform: translate(-50%, -50%) scale(1.1);
}

.hero-video-box.playing .hero-video-play-overlay {
    opacity: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 750px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 52px;
    color: #1B4354;
    margin-bottom: 16px;
}

.hero-title span {
    font-weight: 600;
    color: #D33D53;
}

.hero-subtitle {
    font-size: 18px;
    color: #555;
    line-height: 26px;
    width: 100%;
    max-width: 552px;
    margin: 0 auto;
}

.hero-buttons {
    margin-top: 24px;
}

.hero-buttons .btn-primary {
    background: #1B4354;
    padding: 12px 48px;
    font-size: 18px;
    border-radius: 50px;
    color: #F7F7F7;
    text-decoration: none;
    border: 1px solid #1B4354;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-buttons .btn-primary i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

html[dir="rtl"] .hero-buttons .btn-primary {
    flex-direction: row-reverse;
}

.hero-buttons .btn-primary:hover {
    background: #F7F7F7;
    color: #1B4354;
    border: 1px solid #1B4354;
}

/* ============================================
   STORY SECTION
   ============================================ */

.story-section {
    background-image: url("../assets/images/StorySection.png");
    background-repeat: repeat;
    background-size: cover;
    background-position: top;
    padding: 80px 20px;
}

.story-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

.about-wrapper {
    display: flex;
    gap: 48px;
    align-items: center;
}

.about-image-left {
    position: relative;
    display: inline-block;
    width: 50%;
}

.about-content {
    width: 50%;
}

.about-image-left img {
    display: block;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.about-image-left::before {
    content: "";
    position: absolute;
    top: -32px;
    left: -32px;
    width: 128px;
    height: 128px;
    background-color: #FFF4A6;
    border-radius: 50%;
    z-index: 1;
}

.about-image-left::after {
    content: "";
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 128px;
    height: 128px;
    background-color: #D0E1CF;
    border-radius: 50%;
    z-index: 1;
}

.story-short-heading {
    font-size: 20px;
    font-weight: 600;
    color: #1B4354;
    line-height: 40px;
    margin-bottom: 16px;
}

.story-heading {
    font-size: 30px;
    font-weight: 600;
    color: #1B4354;
    line-height: 40px;
    margin-bottom: 16px;
}

.story-para {
    font-size: 20px;
    color: #1B4354;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 16px;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.why-rely {
    padding: 80px 20px 80px 20px;
    background: #f8fbff url("../assets/images/BenefitsSection.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.wrapper {
    max-width: 1100px;
    margin: auto;
}

.title {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 88px;
    color: #1B4354;
    line-height: 40px;
}

.row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.row.reverse {
    flex-direction: row-reverse;
}

.img-box {
    position: relative;
    flex: 1;
}

.img-box img {
    width: 100%;
    border-radius: 24px;
}

.icon {
    position: absolute;
    bottom: -14px;
    right: -14px;
    width: 44px;
    height: 44px;
    background: #ffe66d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.text {
    flex: 1;
}

.text h4 {
    font-size: 30px;
    color: #1B4354;
    line-height: 37px;
    font-weight: 600;
    margin-bottom: 11px;
}

.text p {
    font-size: 20px;
    color: #1B4354;
    line-height: 29px;
    font-weight: 400;
}

.text .red span {
    color: #D33D53;
}

.text svg {
    display: block;
    margin: 12px 0 0 0;
    width: auto;
    max-width: 508px;
}

.last-box {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.auto-delivery {
    padding: 40px 20px 136px 20px;
    background: #f9fcff url("../assets/images/HowItWorksSection.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.auto-wrapper {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.auto-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 40px;
    margin-bottom: 64px;
    color: #1B4354;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.step p {
    margin-top: 23px;
    font-size: 20px;
    font-weight: 600;
    color: #1B4354;
    line-height: 28px;
}

.icon-box {
    width: 74px;
    height: 74px;
    margin: auto;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.icon-box img {
    width: 32px;
}

.green {
    background: linear-gradient(135deg, #BFE0E9, #D0E1CF);
}

.yellow {
    background: linear-gradient(220deg, #FFF4A6, #D0E1CF);
}

.blue {
    background: linear-gradient(135deg, #D0E1CF, #BFE0E9);
}

.lime {
    background: linear-gradient(220deg, #FFF4A6, #D0E1CF);
}

/* ============================================
   WAITLIST SECTION
   ============================================ */

.waitlist {
    min-height: 100vh;
    padding: 72px 20px 250px;
    background: linear-gradient(180deg, var(--bg-stop-1) 0%, var(--bg-stop-2) 100%), #ffffff;
    color: var(--text);
    font-family: 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    position: relative;
    z-index: 0;
}

.waitlist__container {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.waitlist__title {
    margin: 0;
    font-size: 40px;
    line-height: 36px;
    letter-spacing: -0.02em;
    color: var(--KurkeyBlue1);
    font-weight: 600 !important;
}

.waitlist__subtitle {
    margin: 16px auto 0;
    font-size: 18px;
    line-height: 24px;
    color: var(--muted);
    font-weight: 400 !important;
}

/* Waitlist Cards */
.waitlist__card,
.waitlist__card-step-2,
.waitlist__card-step-3,
.waitlist__card-step-4 {
    margin: 38px auto 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 840px;
    background: var(--surface);
    border: 1px solid var(--softfeather1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 48px 48px 36px 48px;
    text-align: left;
}

.waitlist__card-step-2 + .waitlist__card-step-2 {
    margin-top: 24px;
}

.waitlist__cardTitle {
    margin: 0;
    font-size: 20px;
    line-height: 21px;
    font-weight: 600 !important;
    color: var(--KurkeyBlue1);
}

.waitlist__form {
    background: var(--surface-2);
    border: 1px solid var(--softfeather1);
    border-radius: var(--radius-lg);
    padding: 24px;
}

/* Form Fields */
.field {
    margin-top: 14px;
}

.field__label {
    display: block;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600 !important;
    color: var(--KurkeyBlue1);
    margin: 0 0 8px;
}

.req {
    color: var(--req);
    margin-left: 4px;
}

.field__input,
.field__select {
    width: 100%;
    height: 44px;
    border-radius: 16px;
    border: 1px solid var(--softfeather1);
    padding: 0 14px;
    padding-right: 40px;
    font-size: 14px;
    color: var(--KurkeyBlue1);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
    font-family: 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    box-sizing: border-box;
    max-width: 100%;
}

.input-ltr {
    direction: ltr;
    text-align: left;
    unicode-bidi: plaintext; /* keep numbers flowing LTR even in RTL context */
}

html[dir="rtl"] .input-ltr {
    direction: ltr;
    text-align: right;
    unicode-bidi: plaintext;
}

.field__input::placeholder {
    color: var(--placeholder);
}

html[dir="rtl"] .field__input::placeholder {
    font-family: 'HONOR Sans Arabic UI', 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.field__input:focus,
.field__select:focus {
    border-color: var(--softfeather1);
    box-shadow: 0 0 0 1px var(--softfeather1);
}

.field__input--error {
    border-color: #e24b4b !important;
    background: rgba(226, 75, 75, 0.05) !important;
}

.field__input--error:focus {
    border-color: #e24b4b !important;
    box-shadow: 0 0 0 1px rgba(226, 75, 75, 0.2) !important;
}

/* Date input specific styling to prevent overflow */
input[type="date"].field__input {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

input[type="date"].field__input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.field__error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #e24b4b;
    font-weight: 500;
    min-height: 18px;
}

.form-error {
    display: none;
    padding: 12px 16px;
    margin-bottom: 20px;
    background: rgba(226, 75, 75, 0.1);
    border: 1px solid #e24b4b;
    border-radius: 12px;
    color: #e24b4b;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

/* Select Dropdown */
.field__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: calc(100% - 16px) center;
    background-size: 12px 8px;
    background-repeat: no-repeat;
}

.field__select:focus,
.field__select:hover,
.field__select:active {
    background-position: calc(100% - 16px) center;
    background-size: 12px 8px;
    background-repeat: no-repeat;
}

html[dir="rtl"] .field__select {
    background-position: calc(0% + 16px) center;
    padding-right: 14px;
    padding-left: 40px;
}

html[dir="rtl"] .field__select:focus,
html[dir="rtl"] .field__select:hover,
html[dir="rtl"] .field__select:active {
    background-position: calc(0% + 16px) center;
}

/* Textarea */
.field__textarea {
    width: 100%;
    min-height: 120px;
    border-radius: 16px;
    border: 1px solid var(--softfeather1) !important;
    padding: 14px;
    font-size: 14px;
    color: var(--KurkeyBlue1);
    outline: none;
    resize: vertical;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
    font-family: 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.field__textarea::placeholder {
    color: var(--placeholder);
}

html[dir="rtl"] .field__textarea::placeholder {
    font-family: 'HONOR Sans Arabic UI', 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.field__textarea:focus {
    border-color: var(--softfeather1);
    box-shadow: 0 0 0 1px var(--softfeather1);
}

/* Buttons */
.waitlist__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.btn {
    height: 52px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn--outline {
    background: transparent;
    border-color: var(--softfeather1);
    color: var(--KurkeyBlue1);
}

.btn--outline:hover {
    background: var(--softfeather1);
}

.btn--primary {
    background: var(--KurkeyBlue1);
    color: #fff;
    box-shadow: 0 12px 22px var(--softfeather1);
}

.btn--primary:hover {
    box-shadow: 0 14px 28px var(--softfeather1);
}

/* Grid Layout */
.grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 6px;
    width: 100%;
    box-sizing: border-box;
}

.grid2 .field {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.grid2 .field__input,
.grid2 .field__select {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Radio Buttons */
.choiceRow {
    display: flex;
    gap: 36px;
    align-items: center;
    padding-top: 6px;
}

.choice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600 !important;
}

.choice__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice__radio {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1.5px solid var(--softfeather1);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.choice__input:focus-visible + .choice__radio {
    box-shadow: 0 0 0 4px rgba(24, 67, 84, 0.10);
}

.choice__input:checked + .choice__radio {
    border-color: var(--KurkeyBlue1);
}

.choice__input:checked + .choice__radio::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--KurkeyBlue1);
}

/* Pet Form Container */
.pet-form-container {
    margin-bottom: 24px;
    width: 100%;
}

.pet-form-container + .pet-form-container {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--softfeather1);
}

.waitlist__form .pet-form-container {
    display: block;
}

.waitlist__form .pet-form-container .waitlist__cardTitle {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 21px;
    font-weight: 600 !important;
    color: var(--KurkeyBlue1);
}

.addPet {
    width: 100%;
    height: 50px;
    border-radius: 14px;
    background: transparent;
    border: 2px dotted var(--KurkeyBlue1);
    color: var(--KurkeyBlue1);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 160ms ease, transform 120ms ease, border-color 160ms ease;
    font-family: 'Baloo Bhai 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.addPet:hover {
    background: rgba(24, 67, 84, 0.04);
    border-color: var(--KurkeyBlue1);
}

.addPet:active {
    transform: translateY(1px);
}

.addPet__plus {
    font-size: 18px;
    line-height: 1;
}

.petinfo__subhead {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600 !important;
    color: var(--KurkeyBlue1);
}

/* Step 3: Brands Selection */
.waitlist__card-step-3 .waitlist__cardTitle {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 21px;
    font-weight: 600 !important;
    color: var(--KurkeyBlue1);
}

.brandsCard {
    background: var(--surface);
    border: 1px solid var(--softfeather1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    backdrop-filter: blur(6px);
}

.brandsCard__hint {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--muted);
    font-weight: 400 !important;
}

.search {
    position: relative;
    background: var(--surface-2);
    border: 1px solid var(--softfeather1);
    border-radius: 14px;
    height: 46px;
    display: flex;
    align-items: center;
    padding: 0 12px 0 42px;
}

.search__icon {
    position: absolute;
    left: 14px;
    color: var(--placeholder);
    display: inline-flex;
}

.search__input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--KurkeyBlue1);
    font-family: 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.search__input::placeholder {
    color: var(--placeholder);
}

html[dir="rtl"] .search__input::placeholder {
    font-family: 'HONOR Sans Arabic UI', 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

html[dir="rtl"] .search {
    padding: 0 42px 0 12px;
}

html[dir="rtl"] .search__icon {
    left: auto;
    right: 14px;
}

html[dir="rtl"] .search__input {
    text-align: right;
    font-family: 'HONOR Sans Arabic UI', 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.brandsGrid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.brandItem {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--softfeather1);
    background: var(--SoftFeather3);
    cursor: pointer;
    user-select: none;
    transition: background 160ms ease, border-color 160ms ease, transform 120ms ease, box-shadow 160ms ease;
}

.brandItem--default,
.brandItem--selected {
    cursor: pointer;
}

.brandItem--default {
    border: 1px solid var(--softfeather1);
    background: var(--SoftFeather3);
}

.brandItem--default:hover {
    background: rgba(24, 67, 84, 0.035);
    border-color: rgba(24, 67, 84, 0.16);
}

.brandItem--default:active {
    transform: translateY(1px);
}

.brandItem--selected {
    border: 1px solid var(--KurkeyBlue1);
    background: rgba(24, 67, 84, 0.04);
}

.brandItem--selected .brandItem__logo {
    background: #ffffff;
}

.brandItem--selected .brandItem__name {
    color: var(--KurkeyBlue1);
    font-weight: 600 !important;
}

.brandItem--selected .brandItem__tick {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--KurkeyBlue1);
    color: white;
    margin-left: auto;
}

.brandItem--disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

.brandItem--disabled:hover {
    background: var(--SoftFeather3);
    border-color: var(--softfeather1);
    cursor: not-allowed !important;
}

.brandItem__check {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.brandItem__logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #ffffff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brandItem__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brandItem__logo--other {
    background: transparent;
    border: 1px solid rgba(24, 67, 84, 0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brandItem__plus {
    color: rgba(24, 67, 84, 0.75);
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
}

.brandItem--selected .brandItem__logo--other {
    background: var(--KurkeyBlue1);
    border-color: var(--KurkeyBlue1);
}

.brandItem--selected .brandItem__logo--other .brandItem__plus {
    color: #fff;
}

.brandItem__name {
    font-size: 14px;
    font-weight: 600 !important;
    color: var(--muted);
    flex: 1;
}

.brandItem__tick {
    display: none;
    flex-shrink: 0;
}

.otherBlock {
    width: 100%;
    margin-top: 14px;
}

.otherRow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.otherInput {
    margin-top: 14px;
}

.otherInput__field {
    width: 100%;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--softfeather1);
    padding: 0 14px;
    font-size: 14px;
    color: var(--KurkeyBlue1);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
    font-family: 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.otherInput__field::placeholder {
    color: var(--muted);
}

html[dir="rtl"] .otherInput__field::placeholder {
    font-family: 'HONOR Sans Arabic UI', 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.otherInput__field:focus {
    border-color: rgba(24, 67, 84, 0.35);
    box-shadow: 0 0 0 4px rgba(24, 67, 84, 0.10);
    background: rgba(255, 255, 255, 0.95);
}

/* Step 4: Success */
.waitlist__card-step-4 {
    text-align: center;
}

.waitlist__card-step-4 .success {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    font-family: 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: var(--text);
}

.success__panel {
    width: 100%;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}

.success__icon {
    width: 80px;
    height: 80px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}

.success__headline {
    margin: 0;
    font-size: 30px;
    line-height: 36px;
    font-weight: 400 !important;
    color: rgba(24, 67, 84, 0.92);
    font-family: 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.success__copy {
    margin: 12px 0 0;
    max-width: 720px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
    font-family: 'Baloo Bhai 2', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ============================================
   FOOTER
   ============================================ */

.footer-top {
    margin-top: -150px;
    background: url("../assets/images/cat12.svg");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    padding: 200px 20px 80px 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.footer-top picture {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 10;
    line-height: 0;
    pointer-events: none;
}

.footer-top__cat {
    position: relative;
    height: auto;
    max-width: 400px;
    min-width: 200px;
    width: auto;
    z-index: 10;
    object-fit: contain;
    object-position: bottom left;
    display: block;
}

html[dir="rtl"] .footer-top__cat {
    left: auto;
    right: 0;
}

.footer-top-inner {
    max-width: 1100px;
    margin: auto;
    text-align: center;
    position: relative;
    z-index: 3;
}

.footer-top h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 36px;
    margin-bottom: 9px;
    color: #1B4354;
}

.footer-top p {
    font-size: 14px;
    color: #1B4354;
    margin-bottom: 25px;
}

.footer-icons {
    display: flex;
    flex-direction: row;
    direction: ltr; /* keep icon order consistent in both LTR/RTL */
    justify-content: center;
    gap: 16px;
    align-items: center;

}

.footer-icon-box svg {
    width: 24px;
    height: 24px;
}

.footer-icons .footer-icon-box a {
    width: 44px;
    height: 44px;
    /* background: #0f3b3a; */
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}



.footer-icons a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    background: #1B4354 url("../assets/images/Footer1.png");
    background-repeat: no-repeat;
    background-size: contain;
    padding: 70px 20px;
    color: #ffffff;
    text-align: center;
}

.footer-bottom-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.footer-info-container {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

html[dir="rtl"] .footer-info-container {
    flex-direction: row;
    gap: 12px;
    align-items: center !important;
    justify-content: center !important;
}

.footer-info {
    font-size: 14px;
    font-weight: 400;
    color: #FFF4A6;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
}

html[dir="rtl"] .footer-info {
    display: none;
}

.footer-info-svg {
    display: block;
    height: 50px;
    width: auto;
}

html[dir="rtl"] .footer-info-svg {
    display: block;
}

.footer-info-svg img {
    height: 100%;
    width: auto;
    display: block;
}

.footer-info a,
.footer-info a:link,
.footer-info a:visited,
.footer-info a:hover,
.footer-info a:active {
    color: #FFF4A6 !important;
    text-decoration: none !important;
    pointer-events: none;
}

.copyright {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Brands Grid Responsive */
@media (max-width: 860px) {
    .brandsGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .brandsGrid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 340px) {
    .brandsGrid {
        grid-template-columns: 1fr;
    }
}

/* General Responsive */
@media (max-width: 1024px) {
    .hero {
        padding: 42px 20px;
    }
    
    .hero-title {
        font-size: 40px;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        max-width: 100%;
    }
    
    .story-short-heading {
        font-size: 16px;
    }
    
    html[dir="rtl"] .story-short-heading {
        line-height: 22px !important; /* Reduced for Arabic */
    }
    
    .story-heading {
        font-size: 24px;
    }
    
    html[dir="rtl"] .story-heading {
        line-height: 28px !important; /* Reduced for Arabic */
    }
    
    .about-image-left img {
        height: 500px;
    }
    
    .story-para {
        font-size: 16px;
        line-height: 22px;
    }
    
    .title {
        font-size: 32px;
        margin-bottom: 42px;
    }
    
    .text h4 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .text p {
        font-size: 16px;
        line-height: 24px;
    }
    
    .auto-title {
        font-size: 32px;
        margin-bottom: 42px;
    }
    
    .why-rely {
        padding: 40px 20px;
    }
    
    .auto-delivery {
        padding: 40px 20px;
    }
    
    .step p {
        font-size: 16px;
    }
    
    .footer-top h2 {
        font-size: 32px;
    }
    
    .footer-top {
        margin-top: -150px;
        background: url("../assets/images/layer7601.svg");
        background-repeat: no-repeat;
        background-size: cover;
        padding: 200px 20px 80px 20px;
        position: relative;
        z-index: 1;
        background-position: unset;
    }
    
    .footer-top__cat {
        max-width: 300px;
    }
    
    .footer-bottom {
        padding: 40px 20px;
        background-position: unset;
    }
}

@media (max-width: 768px) {
    .hero-video-box {
        aspect-ratio: 16 / 9;
    }
    
    .hero-video {
        height: 100%;
    }
    
    .hero-video-play-overlay svg {
        width: 60px;
        height: 60px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    html[dir="rtl"] .hero-title {
        line-height: 28px !important; /* Reduced for Arabic */
    }

    /* Unset tightened line-heights on small screens */
    .hero-title,
    .hero-subtitle,
    .story-short-heading,
    .waitlist__title,
    .waitlist__subtitle,
    .waitlist__cardTitle,
    .petinfo__subhead,
    .text h4,
    .benefit-1-desc,
    .benefit-2-desc,
    .benefit-3-desc,
    .benefit-4-desc,
    .step p,
    .waitlist__subtitle,
    .benefit-card h3,
    .step-item h3,
    .success__headline,
    .success__copy,
    .footer-top h2,
    .footer-top p {
        line-height: unset !important;
    }
    
    html[dir="rtl"] .hero-title,
    html[dir="rtl"] .hero-subtitle,
    html[dir="rtl"] .story-short-heading,
    html[dir="rtl"] .story-heading,
    html[dir="rtl"] .waitlist__title,
    html[dir="rtl"] .waitlist__subtitle,
    html[dir="rtl"] .waitlist__cardTitle,
    html[dir="rtl"] .petinfo__subhead,
    html[dir="rtl"] .benefit-card h3,

    html[dir="rtl"] .step-item h3,
    html[dir="rtl"] .success__headline,
    html[dir="rtl"] .success__copy,
    html[dir="rtl"] .footer-top h2,
    html[dir="rtl"] .footer-top p {
        line-height: unset !important;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    html[dir="rtl"] .hero-subtitle {
        line-height: 20px !important; /* Reduced for Arabic */
    }
    
    .about-wrapper {
        flex-direction: column;
    }
    
    .about-image-left,
    .about-content {
        width: 100%;
    }
    
    .story-section {
        padding: 42px 20px;
    }
    
    .text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .text h4 {
        font-size: 18px;
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }
    
    .text p {
        font-size: 14px;
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }
    
    .text svg {
        display: block !important;
        margin: 12px auto 0 auto !important;
        width: 60px !important;
        max-width: 60px !important;
        height: auto;
        flex-shrink: 0;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    html[dir="rtl"] .text svg {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .row {
        margin-bottom: 40px;
    }
    
    .row,
    .row.reverse {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .row .text,
    .row.reverse .text {
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    
    .row .img-box,
    .row.reverse .img-box {
        width: 100%;
    }
    
    .auto-title {
        font-size: 22px;
    }
    
    .about-image-left img {
        height: 100%;
    }
    
    .icon {
        right: 10px;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .language-switcher {
        top: 10px;
        right: 10px;
    }
    
    html[dir="rtl"] .language-switcher {
        left: 10px;
    }
    
    .steps {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-top h2 {
        font-size: 22px;
    }
    
    .footer-top__cat {
        max-width: 200px;
    }
    
    .about-image-left::before {
        left: -18px;
        top: -18px;
    }
    
    .about-image-left::after {
        bottom: -18px;
        right: -18px;
    }
    
    /* Waitlist Section Responsive */
    .waitlist {
        padding: 48px 16px 200px;
    }
    
    .waitlist__title {
        font-size: 32px;
        line-height: 36px;
    }
    
    html[dir="rtl"] .waitlist__title {
        line-height: 30px !important; /* 36px -> 30px */
    }
    
    .waitlist__subtitle {
        font-size: 18px;
        line-height: 24px;
    }
    
    html[dir="rtl"] .waitlist__subtitle {
        line-height: 20px !important; /* 24px -> 20px */
    }
    
    .waitlist__card,
    .waitlist__card-step-2,
    .waitlist__card-step-3,
    .waitlist__card-step-4 {
        padding: 16px;
        margin-top: 24px;
    }
    
    .waitlist__cardTitle {
        font-size: 18px;
        line-height: 20px;
    }
    
    .waitlist__form {
        padding: 20px;
    }
    
    .waitlist__actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .btn {
        height: 48px;
        font-size: 16px;
    }
    
    .field__label {
        font-size: 15px;
    }
    
    .field__input,
    .field__select {
        height: 42px;
        font-size: 14px;
        padding: 0 12px;
        padding-right: 36px;
        box-sizing: border-box;
        max-width: 100%;
        min-width: 0;
    }
    
    html[dir="rtl"] .field__input,
    html[dir="rtl"] .field__select {
        padding-left: 36px;
        padding-right: 12px;
    }
    
    .grid2 {
        grid-template-columns: 1fr;
        gap: 14px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .grid2 .field {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .grid2 .field__input,
    .grid2 .field__select {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    
    .choiceRow {
        gap: 16px;
    }
    
    .pet-form-container + .pet-form-container {
        margin-top: 24px;
        padding-top: 24px;
    }
    
    .addPet {
        height: 46px;
        font-size: 13px;
    }
    
    .petinfo__subhead {
        font-size: 18px;
        line-height: 24px;
    }
    
    .field__textarea {
        font-size: 14px;
        padding: 12px;
    }
    
    /* Step 3: Brands */
    .brandsCard {
        padding: 20px;
    }
    
    .brandsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .brandItem {
        padding: 10px;
        gap: 10px;
    }
    
    .brandItem__name {
        font-size: 13px;
    }
    
    .search {
        height: 42px;
        padding: 0 10px 0 38px;
    }
    
    html[dir="rtl"] .search {
        padding: 0 38px 0 10px;
    }
    
    .search__icon {
        left: 12px;
    }
    
    html[dir="rtl"] .search__icon {
        right: 12px;
    }
    
    .search__input {
        font-size: 13px;
    }
    
    /* Step 4: Success */
    .success__headline {
        font-size: 24px;
        line-height: 30px;
    }
    
    html[dir="rtl"] .success__headline {
        line-height: 26px !important; /* 30px -> 26px */
    }
    
    .success__copy {
        font-size: 14px;
        line-height: 1.6;
    }
    
    html[dir="rtl"] .success__copy {
        line-height: 1.4 !important; /* 1.6 -> 1.4 */
    }
    
    .success__icon {
        width: 70px;
        height: 70px;
        margin-bottom: 16px;
    }
    
    .footer-bottom {
        background: #1B4354 url(../assets/images/Footer12.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
    }
    
    .footer-info-svg {
        height: 45px;
    }
}





@media (max-width: 760px) {
    .grid2 {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .hero-title {
        line-height: unset !important;
    }

    
    .choiceRow {
        gap: 22px;
        flex-wrap: wrap;
    }
    
    .actions {
        grid-template-columns: 1fr;
    }
    
    .petinfo__card {
        padding: 32px 24px 24px;
    }
    
    .petinfo__title {
        font-size: 32px;
        line-height: 36px;
    }
}

@media (max-width: 600px) {
    .grid2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .footer-top__cat {
        max-width: 150px;
        width: auto;
        height: auto;
        display: block;
    }
    
    .footer-top picture {
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 2;
        line-height: 0;
    }
    
    html[dir="rtl"] .footer-top picture {
        left: auto;
        right: 0;
    }

    .footer-top {
        margin-top: -200px;
        background: url("../assets/images/layer560.svg");
        background-repeat: no-repeat;
        background-size: cover;
        padding: 200px 20px 80px 20px;
        position: relative;
        z-index: 1;
        background-position: unset;
        overflow: hidden;
    }

   
}

@media (max-width: 500px) {
@supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */ 
    .date-field {
        width: calc(100% - 48px) !important;
    }
  }

}

@media (max-width: 340px) {
    .waitlist {
        padding: 48px 0px 200px;
    }
}