html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #fff;
  color: #222;
}

.main-header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  padding-top: 12px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
}

.logo-title img,
.logo-img {
  height: 50px; 
  width: auto;
  display: block;
  margin-top: 0;
  margin-bottom: 0;
  vertical-align: middle;
  transition: opacity 0.2s;
}

.logo-title a {
  display: inline-block;
  text-decoration: none;
}

.logo-title a:hover img {
  opacity: 0.85;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 54px;
  margin-left: 70px;
}

.main-nav .nav-link {
  color: #111;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.25em;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 10px 16px;
  border-radius: 4px;
  display: inline-block;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
  color: #e53935;
  background: #fbeaea;
}

.hero-section {
  width: 100%;
  padding: 30px 0 0 0;
  background: linear-gradient(120deg, #fff 60%, #fff 100%);
  background-size: 200% 200%;
}

.hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.hero-left {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 30px;
}

.hero-headline {
  color: #e53935;
  font-size: 2.5em;
  font-weight: bold;
  margin: 0 0 18px 0;
  line-height: 1.2;
  text-align: left;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  color: #e53935;
  font-size: 1.2em;
  text-align: left;
}

.hero-features li {
  margin-bottom: 10px;
  text-align: left;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.hero-img {
  max-width: 85%;
  width: 100%;
  margin-left: auto;
  margin-right: 0;
  margin-bottom: 0;
  animation: floatY 4s ease-in-out infinite;
}

.content-section {
  width: 100%;
  padding: 60px 0;
  background: #fff !important;
}

.about-section {
  background: #e53935 !important;
  color: #fff !important;
  padding: 60px 0;
}

.about-section .content-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-section h2 {
  color: #fff !important;
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-point {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #fff;
  transition: transform 0.3s ease;
}

.about-point:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.about-point h3 {
  font-size: 1.2em;
  margin-bottom: 8px;
  font-weight: bold;
  color: #fff;
}

.about-point p {
  font-size: 1em;
  line-height: 1.6;
  margin: 0;
  color: #fff;
}

.about-point.left {
  flex-direction: row;
  justify-content: flex-start;
}

.about-point.right {
  flex-direction: row-reverse;
  justify-content: flex-end;
  text-align: right;
}

.about-point.left h3, .about-point.left p {
  text-align: left;
}

.about-point.right h3, .about-point.right p {
  text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
  .about-point {
    flex-direction: column !important;
    text-align: left !important;
  }

  .about-point.right, .about-point.left {
    flex-direction: column !important;
    text-align: left !important;
  }

  .about-point.right h3, .about-point.left h3,
  .about-point.right p, .about-point.left p {
    text-align: left !important;
  }
}

.contact-section {
  background: #fff;
  color: #222;
}

.content-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.content-section h2 {
  color: #e53935;
  font-weight: bold;
  margin-bottom: 18px;
  font-size: 2em;
  letter-spacing: 1px;
}

.content-section p {
  font-size: 1.1em;
  line-height: 1.7;
  color: #222;
  margin: 0 auto;
  max-width: 700px;
}

/* Responsive styles */
@media (max-width: 900px) {
  body {
    font-size: 1em;
  }

  .main-header {
    padding-top: 6px;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
  }

  .logo-title {
    margin-bottom: 10px;
    margin-left: 0;
    width: 100%;
    justify-content: center;
    display: flex;
  }

  .main-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap;
    margin: 0;
  }

  .main-nav .nav-link {
    font-size: 1em;
    padding: 8px 8px;
    white-space: nowrap;
  }

  .hero-section {
    padding: 18px 0 0 0;
  }

  .hero-inner {
    flex-direction: column;
    align-items: center;
    padding: 0 4vw;
    text-align: center;
  }

  .hero-right {
    order: 1;
    width: 100%;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 24px;
  }

  .hero-left {
    order: 2;
    align-items: center;
    text-align: center;
    margin-top: 0;
    max-width: 100%;
    width: 100%;
  }

  .hero-headline {
    font-size: 1.4em;
    text-align: center;
  }

  .hero-features {
    font-size: 1em;
    text-align: center;
  }

  .hero-right {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
  }

  .hero-img {
    max-width: 90vw;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
  }
}

.content-section {
  padding: 36px 0;
}

.content-inner {
  padding: 0 8px;
  max-width: 100vw;
}

.content-section h2 {
  font-size: 1.3em;
}

.content-section p {
  font-size: 1em;
  max-width: 98vw;
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.1em;
  }

  .logo-title img,
  .logo-img {
    height: 36px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav .nav-link {
    font-size: 0.95em;
    padding: 0px 0px;
  }

  .hero-img {
    max-width: 95vw;
  }
}

#typing-effect {
  color: #e53935;
  font-weight: bold;
  border-right: 2px solid #e53935;
  padding-right: 4px;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1), color 0.6s;
  animation: blink-caret 0.7s steps(1) infinite;
}

#typing-effect.active {
  opacity: 1;
  transform: scale(1);
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #e53935; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(-18px);}
}

.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
}

.fade-section.visible {
  opacity: 1;
  transform: none;
}

.main-nav .nav-link {
  position: relative;
  overflow: hidden;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 3px;
  background: #e53935;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  transform-origin: left;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link:focus::after {
  transform: scaleX(1);
}

.submit-btn {
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.submit-btn:hover, .submit-btn:focus {
  background: #b71c1c;
  box-shadow: 0 8px 24px rgba(229,57,53,0.18);
  transform: scale(1.04);
}

.submit-btn:active {
  transform: scale(0.97);
}

.enquiry-form input:focus,
.enquiry-form select:focus {
  border-color: #e53935;
  box-shadow: 0 0 0 3px #b41212;
  transition: box-shadow 0.2s, border-color 0.2s;
}

@keyframes gradientMove {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.logo-title img,
.logo-img {
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), filter 0.4s;
}

.logo-title img:hover,
.logo-img:hover {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 2px 8px #e53935aa);
}

/* Timeline Container */
/* Timeline Wrapper */
.timeline {
  position: relative;
  margin: 40px auto;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #fff;
  transform: translateX(-50%);
}

/* Timeline Item */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 16px 30px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.timeline-item.left {
  left: 0;
  text-align: left;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-item.left.reveal {
  transform: translateX(-60px);
  opacity: 1;
}

.timeline-item.right.reveal {
  transform: translateX(60px);
  opacity: 1;
}

/* Timeline Content Card */
.timeline-content {
  background: rgba(255, 255, 255, 0.08);
  padding: 24px; /* increased from 16px */
  border-radius: 12px; /* a bit more rounded */
  position: relative;
  z-index: 1;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  font-size: 1.1em; /* slightly larger text */
  line-height: 1.7;
}

.timeline-content:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Heading & Text */
.timeline-content h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  font-size: 1.3em;
  color: #fff !important;
}

.timeline-content p {
  margin: 10px 0 0;
  font-size: 1em;
  line-height: 1.6;
  color: #fff !important;
}

/* Remove Bubble Icon */
.timeline-item .timeline-icon {
  display: none;
}

/* About Us Heading */
.about-section h2,
.about-section .section-title {
  color: #fff !important;
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0;
    text-align: left;
  }

  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content {
    margin: 0 0 15px 0;
  }

  .timeline-content h3 {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
  }

  .enquiry-form {
    order: 1;
  }

  .hero-right {
    order: 2;
  }
}

.love-text {
  font-family: 'Pacifico', cursive;
  font-weight: normal;
  font-size: 1.2em;
  color: #e53935;
  display: inline-block;
  transform: translateY(2px);
}

.property-widget {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Segoe UI', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff !important;
}

.property-widget h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  color: #222;
  font-weight: 400;
  text-align: center;
}

.property-widget h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #fff;
  margin: 10px auto;
  border-radius: 2px;
}

.property-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  justify-content: center;
}

.property-card {
  position: relative;
  flex: 1 1 0;
  min-width: 280px;
  max-width: 350px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  background: #fff;
  transition: transform 0.2s;
}

.property-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}

.property-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}

.card-content {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  color: #fff;
  padding: 24px 20px 20px 20px;
  width: 100%;
}

.card-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
}

.explore-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
}

.explore-link:hover {
  color: #e53935;
}

/* --- MOBILE SLIDER STYLES --- */
@media (max-width: 600px) {
  .property-widget {
    padding: 20px 10px;
    padding-right: 36px;
    background: #fff !important;
  }
  .property-cards {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 10px;
    scrollbar-width: none;
    justify-content: flex-start;
    width: 100%;
  }
  .property-card {
    min-width: 72vw;
    max-width: 72vw;
    flex: 0 0 72vw;
    scroll-snap-align: center;
  }
  .property-cards::-webkit-scrollbar {
    display: none;
  }
  /* Arrow Button */
  .slider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
    border: none;
    cursor: pointer;
    color: #e53935;
    font-size: 1.5rem;
    transition: background 0.2s;
  }
  .slider-arrow:active {
    background: #f5f5f5;
  }
}

.input-container {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 40px;
    width: fit-content;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #000000;
    margin: 0 auto;
    transform: scale(0.85);
}

#phoneInput {
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    outline: none;
    width: 250px;
    background: transparent;
    border-radius: 40px 0 0 40px;
    color: #000000;
}

#phoneInput::placeholder {
    color: #666;
    font-weight: 500;
}

.connect-button {
    background-color: #ec3f4e;
    color: white !important;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0 40px 40px 0;
    transition: background-color 0.3s;
}
button.connect-button { color: #fff !important; }

.connect-button:hover {
    background-color: #f52020;
}

.phone-input-section {
    padding: 40px 20px;
    background-color: #fff !important;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.phone-input-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding-top: 40px;
    background: #fff !important;
}

.connect-heading {
    color: #0a0a0a;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.input-error-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.error-label {
    color: #e63946 !important;
    font-size: 18px;
    font-weight: bold;
    visibility: hidden;
}

.error-message {
    color: #e63946 !important;
    font-size: 14px;
    margin-top: 10px;
    min-height: 20px;
    text-align: center;
}

.phone-input-container * {
    color: #0a0a0a !important;
}

 .popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .phone-input-section {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 360px;
    position: relative;
    border: 2px solid red;
  }

  .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: red;
    cursor: pointer;
  }

  .connect-heading {
    margin-top: 0;
    font-size: 18px;
    color: red;
    text-align: center;
    font-weight: bold;
  }

  .input-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
  }

  .input-container input {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    border: 1px solid red;
    border-radius: 20px;
    outline: none;
  }

  .connect-button {
    padding: 10px 20px;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
  }

  .connect-button:hover {
    background-color: darkred;
  }

  .error-label {
    text-align: center;
    
    font-size: 0px;
    margin-top: 0px;
  }

  #popupToggle {
    display: none;
  }

  #popupToggle:checked + .popup-overlay {
    display: none;
  }

/* General Mobile Adjustments */
@media (max-width: 768px) {
    .phone-input-section {
        padding: 20px 10px;
        min-height: 40vh;
        background-color: #fff !important;
    }
    
    .phone-input-container {
        padding: 0 10px;
        padding-top: 20px;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
        background: #fff !important;
    }
    
    .connect-heading {
        font-size: 20px;
        margin-bottom: 20px;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    .input-container {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        transform: scale(0.9);
    }
    
    #phoneInput {
        width: 170px;
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .connect-button {
        font-size: 13px;
        padding: 10px 20px;
    }
    button.connect-button { color: #fff !important; }
}

/* iPhone 15 Pro Max, 15 Plus, 14 Pro Max, 13 Pro Max, 12 Pro Max */
@media only screen and (max-width: 430px) and (-webkit-min-device-pixel-ratio: 2) {
    .phone-input-section {
        padding: 20px 10px;
        min-height: 45vh;
        background-color: #fff !important;
    }
    
    .phone-input-container {
        padding-top: 20px;
        background: #fff !important;
    }
    
    .connect-heading {
        font-size: 20px;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .input-container {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        transform: scale(0.9);
    }
    
    #phoneInput {
        width: 170px;
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .connect-button {
        font-size: 13px;
        padding: 10px 20px;
    }
    button.connect-button { color: #fff !important; }
}

/* iPhone 15 Pro, 15, 14 Pro, 14, 13 Pro, 13, 12 Pro, 12 */
@media only screen and (max-width: 393px) and (-webkit-min-device-pixel-ratio: 2) {
    .phone-input-section {
        padding: 18px 8px;
        min-height: 40vh;
        background-color: #fff !important;
    }
    
    .phone-input-container {
        padding-top: 18px;
        background: #fff !important;
    }
    
    .connect-heading {
        font-size: 18px;
        margin-bottom: 18px;
        padding: 0 10px;
    }
    
    .input-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        transform: scale(0.88);
    }
    
    #phoneInput {
        width: 155px;
        font-size: 13px;
        padding: 9px 15px;
    }
    
    .connect-button {
        font-size: 12px;
        padding: 9px 18px;
    }
    button.connect-button { color: #fff !important; }
}

/* iPhone 13 mini, 12 mini, 11 Pro, XS, X */
@media only screen and (max-width: 375px) and (-webkit-min-device-pixel-ratio: 2) {
    .phone-input-section {
        padding: 16px 6px;
        min-height: 38vh;
        background-color: #fff !important;
    }
    
    .phone-input-container {
        padding-top: 16px;
        background: #fff !important;
    }
    
    .connect-heading {
        font-size: 17px;
        margin-bottom: 16px;
        padding: 0 8px;
        line-height: 1.2;
    }
    
    .input-container {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        transform: scale(0.85);
    }
    
    #phoneInput {
        width: 145px;
        font-size: 12px;
        padding: 8px 14px;
    }
    
    .connect-button {
        font-size: 11px;
        padding: 8px 16px;
    }
    button.connect-button { color: #fff !important; }
}

/* iPhone 11, XR */
@media only screen and (max-width: 414px) and (max-height: 896px) and (-webkit-min-device-pixel-ratio: 2) {
    .phone-input-section {
        padding: 20px 10px;
        min-height: 42vh;
        background-color: #fff !important;
    }
    
    .phone-input-container {
        padding-top: 20px;
        background: #fff !important;
    }
    
    .connect-heading {
        font-size: 19px;
        margin-bottom: 19px;
    }
    
    .input-container {
        width: 100%;
        max-width: 310px;
        margin: 0 auto;
        transform: scale(0.87);
    }
    
    #phoneInput {
        width: 160px;
        font-size: 13px;
        padding: 9px 16px;
    }
    
    .connect-button {
        font-size: 12px;
        padding: 9px 19px;
    }
    button.connect-button { color: #fff !important; }
}

/* iPhone SE (3rd gen), SE (2nd gen), 8, 7, 6s, 6 */
@media only screen and (max-width: 375px) and (max-height: 667px) and (-webkit-min-device-pixel-ratio: 2) {
    .phone-input-section {
        padding: 15px 8px;
        min-height: 35vh;
        background-color: #fff !important;
    }
    
    .phone-input-container {
        padding-top: 15px;
        background: #fff !important;
    }
    
    .connect-heading {
        font-size: 16px;
        margin-bottom: 14px;
        padding: 0 5px;
        line-height: 1.1;
    }
    
    .input-container {
        width: 100%;
        max-width: 270px;
        margin: 0 auto;
        transform: scale(0.82);
    }
    
    #phoneInput {
        width: 135px;
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .connect-button {
        font-size: 10px;
        padding: 8px 15px;
    }
    button.connect-button { color: #fff !important; }
}

/* iPhone 8 Plus, 7 Plus, 6s Plus, 6 Plus */
@media only screen and (max-width: 414px) and (max-height: 736px) and (-webkit-min-device-pixel-ratio: 3) {
    .phone-input-section {
        padding: 18px 8px;
        min-height: 40vh;
        background-color: #fff !important;
    }
    
    .phone-input-container {
        padding-top: 18px;
        background: #fff !important;
    }
    
    .connect-heading {
        font-size: 18px;
        margin-bottom: 18px;
    }
    
    .input-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        transform: scale(0.86);
    }
    
    #phoneInput {
        width: 155px;
        font-size: 13px;
        padding: 9px 15px;
    }
    
    .connect-button {
        font-size: 12px;
        padding: 9px 18px;
    }
    button.connect-button { color: #fff !important; }
}

/* iPhone SE (1st gen), 5s, 5c, 5 */
@media only screen and (max-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
    .phone-input-section {
        padding: 12px 5px;
        min-height: 30vh;
        background-color: #fff !important;
    }
    
    .phone-input-container {
        padding-top: 12px;
        background: #fff !important;
    }
    
    .connect-heading {
        font-size: 14px;
        margin-bottom: 10px;
        padding: 0 3px;
        line-height: 1.1;
    }
    
    .input-container {
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
        transform: scale(0.8);
    }
    
    #phoneInput {
        width: 120px;
        font-size: 11px;
        padding: 7px 10px;
    }
    
    .connect-button {
        font-size: 9px;
        padding: 7px 12px;
    }
    button.connect-button { color: #fff !important; }
}

/* iPhone 4s, 4 (Legacy support) */
@media only screen and (max-width: 320px) and (max-height: 480px) and (-webkit-min-device-pixel-ratio: 2) {
    .phone-input-section {
        padding: 10px 3px;
        min-height: 25vh;
        background-color: #fff !important;
    }
    
    .phone-input-container {
        padding-top: 10px;
        background: #fff !important;
    }
    
    .connect-heading {
        font-size: 13px;
        margin-bottom: 8px;
        line-height: 1.0;
    }
    
    .input-container {
        width: 100%;
        max-width: 220px;
        margin: 0 auto;
        transform: scale(0.75);
    }
    
    #phoneInput {
        width: 110px;
        font-size: 10px;
        padding: 6px 8px;
    }
    
    .connect-button {
        font-size: 8px;
        padding: 6px 10px;
    }
    button.connect-button { color: #fff !important; }
}

/* Additional center alignment fixes for all devices */
@media (max-width: 768px) {
    .phone-input-container {
        padding: 0 10px;
        box-sizing: border-box;
        background: #fff !important;
    }
    
    .input-container {
        position: relative;
        left: 50%;
        transform: translateX(-50%) scale(0.85);
    }
    button.connect-button { color: #fff !important; }
}

/* style.css */
.property-section {
    background: #fff !important;
    padding: 40px 0;
}

/* style.css */
body {
    background: #fff !important;
}
/* Optional styling for regular section */
.page-section {
  margin: 40px auto;
  width: fit-content;
}
/* Inline phone section — does not affect popup */
.inline-phone-section {
  padding: 40px 20px;
  background: transparent;
  display: flex;
  justify-content: center;
  text-align: center;
}

.inline-phone-container {
  max-width: 800px;
  width: 100%;
}

.inline-heading {
  font-size: 22px;
  font-weight: 600;
  color: #111;
  margin-bottom: 16px;
  font-family: 'Segoe UI', sans-serif;
}

.inline-input-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.inline-input-wrapper input {
  padding: 10px 15px;
  font-size: 16px;
  width: 240px;
  border: 1px solid #bbb;
  border-radius: 25px;
  outline: none;
  transition: all 0.3s ease;
}

.inline-input-wrapper input:focus {
  border-color: #e60000;
}

.inline-connect-button {
  padding: 10px 18px;
  font-size: 15px;
  background-color: #e60000;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.inline-connect-button:hover {
  background-color: #cc0000;
}

