* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f3f7f9;
}

/* HEADER */
.custom-header {
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  margin: 10px auto;
  max-width: 95%;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.custom-header .logo {
  display: flex;
  align-items: center;
}

.custom-header .logo img {
  height: 45px;
  margin-right: 10px;
}

.custom-header nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.custom-header nav ul li a {
  text-decoration: none;
  font-size: 15px;
  color: #222;
  font-weight: 500;
}

.custom-header nav ul li a:hover {
  color: #0072bb;
}

.custom-header nav ul li a:visited {
  color: #222;
  text-decoration: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-50%);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-50%);
}

/* Mobile Header Styles */
@media (max-width: 768px) {
  .custom-header {
    padding: 10px 15px;
    margin: 5px auto;
    border-radius: 15px;
  }

  .custom-header .logo img {
    height: 35px;
    margin-right: 8px;
  }

  .custom-header nav ul {
    gap: 15px;
  }

  .custom-header nav ul li a {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .custom-header {
    flex-direction: row;
    gap: 0;
    padding: 15px;
    position: relative;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .custom-header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
  }

  .custom-header nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .custom-header nav ul {
    flex-direction: column;
    gap: 0;
    padding: 15px;
  }

  .custom-header nav ul li {
    border-bottom: 1px solid #eee;
  }

  .custom-header nav ul li:last-child {
    border-bottom: none;
  }

  .custom-header nav ul li a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    text-align: center;
  }
}

/* HEADING SECTION */
.header-section {
  text-align: center;
  padding: 40px 20px 20px;
}

.header-section h1 {
  font-size: 28px;
  font-weight: bold;
}

.header-section h1 span {
  color: #00804b;
}

.subheading {
  font-size: 22px;
  font-weight: 600;
  margin-top: 10px;
  color: #444444;
}

/* Mobile Heading Styles */
@media (max-width: 768px) {
  .header-section {
    padding: 30px 15px 15px;
  }

  .header-section h1 {
    font-size: 24px;
    line-height: 1.3;
  }

  .subheading {
    font-size: 18px;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .header-section h1 {
    font-size: 20px;
  }

  .subheading {
    font-size: 16px;
  }
}

/* MAIN LAYOUT */
.main-section {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.image-box {
  flex: 1 1 350px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.image-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-box {
  flex: 1 1 500px;
  background: #eaf7ff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.text-box h2 {
  text-align: center;
  font-size: 26px;
  margin-top: 0;
  color: #003f5c;
}

.text-box p {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.features {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  font-size: 17px;
}

.features li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 0;
  color: green;
  font-weight: bold;
}

.book-btn {
  text-align: center;
  margin-top: 30px;
}

.book-btn a {
  background-color: #ffc107;
  color: #000;
  padding: 14px 30px;
  width: 500px;
  font-weight: bold;
  font-size: 16px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.book-btn a:hover {
  background-color: #e0a800;
}

/* Mobile Main Section Styles */
@media (max-width: 768px) {
  .main-section {
    padding: 20px 15px;
    gap: 20px;
  }

  .text-box {
    padding: 25px;
  }

  .text-box h2 {
    font-size: 22px;
  }

  .text-box p {
    font-size: 16px;
    line-height: 1.6;
  }

  .features li {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .book-btn a {
    width: 100%;
    max-width: 300px;
    padding: 12px 20px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .main-section {
    padding: 15px 10px;
    gap: 15px;
  }

  .text-box {
    padding: 20px;
  }

  .text-box h2 {
    font-size: 20px;
  }

  .text-box p {
    font-size: 15px;
  }

  .features li {
    font-size: 15px;
    padding-left: 25px;
  }
}

.section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #003f5c;
}

.service-icons {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.service-item {
  width: 140px;
  text-align: center;
  background: #ffffff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-6px);
}

.service-item img {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
}

.service-item a {
  text-decoration: none;
  font-size: 16px;
  color: #003f5c;
  font-weight: 600;
  display: block;
}

.service-item a:hover {
  color: #0072bb;
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 40px;
  justify-content: center;
}

.about-image {
  flex: 1 1 450px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.about-text {
  flex: 1 1 500px;
  background: #ffffff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-text h3 {
  font-size: 22px;
  color: #00804b;
  margin: 0 0 8px;
  text-align: left;
}

.about-text h2 {
  font-size: 30px;
  margin: 0 0 15px;
  color: #003f5c;
  text-align: left;
}

.about-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin: 0 0 25px;
}

.read-more {
  margin-top: auto;
}

.read-more a {
  background-color: #ffc107;
  color: #000;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.read-more a:hover {
  background-color: #e0a800;
}

/* Mobile Section Styles */
@media (max-width: 768px) {
  .section {
    padding: 30px 15px;
  }

  .section h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .service-icons {
    gap: 20px;
    margin-bottom: 40px;
  }

  .service-item {
    width: 120px;
    padding: 12px;
  }

  .service-item img {
    width: 50px;
    height: 50px;
  }

  .service-item a {
    font-size: 14px;
  }

  .about-section {
    flex-direction: column;
    gap: 20px;
  }

  .about-text {
    text-align: center;
    height: auto;
    padding: 25px;
  }

  .about-text h3,
  .about-text h2 {
    text-align: center;
  }

  .about-text h2 {
    font-size: 24px;
  }

  .about-text p {
    font-size: 16px;
  }

  .read-more a {
    padding: 12px 24px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 20px 10px;
  }

  .section h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .service-icons {
    gap: 15px;
  }

  .service-item {
    width: 100px;
    padding: 10px;
  }

  .service-item img {
    width: 40px;
    height: 40px;
  }

  .service-item a {
    font-size: 12px;
  }

  .about-text {
    padding: 20px;
  }

  .about-text h2 {
    font-size: 20px;
  }

  .about-text p {
    font-size: 15px;
  }
}

.our-services-icons {
  display: flex;
  justify-content: center;
  gap: 30px; /* Increased spacing here */
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.service-section {
  background-color: #e0f2ff;
  padding: 5px 20px 60px 20px; /* Reduced top padding */
}

.service-section h2 {
  text-align: center;
  font-size: 32px;
  color: #004d66;
  margin-bottom: 40px;
  position: relative;
}

.service-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.service-box {
  background-color: #ffffff;
  border-left: 4px solid #0088cc;
  padding: 20px 20px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  font-size: 17px;
  font-weight: 600;
  color: #333;
  transition: transform 0.2s ease;
}

.our-services-icons .service-box {
  width: 200px;
  text-align: center;
  text-decoration: none;
}

.service-box:hover {
  transform: translateY(-4px);
  background-color: #f0fbff;
}

.highlight {
  font-weight: bold;
  color: #0072bb;
}

.book-now-wrapper {
  text-align: center;
  margin-top: 30px;
}

.book-now-btn {
  display: inline-block;
  background-color: #ffc107;
  color: #000;
  padding: 20px 350px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  border-radius: 50px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.book-now-btn:hover {
  background-color: #e6ae00;
}

/* Mobile Service Section Styles */
@media (max-width: 768px) {
  .service-section {
    padding: 5px 15px 40px 15px;
  }

  .service-section h2 {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .service-grid {
    padding: 20px;
    gap: 15px;
  }

  .service-box {
    padding: 15px;
    font-size: 15px;
  }

  .our-services-icons .service-box {
    width: 150px;
  }

  .book-now-btn {
    padding: 15px 30px;
    font-size: 18px;
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .service-section {
    padding: 5px 10px 30px 10px;
  }

  .service-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .service-grid {
    padding: 15px;
    gap: 10px;
  }

  .service-box {
    padding: 12px;
    font-size: 14px;
  }

  .our-services-icons .service-box {
    width: 120px;
  }

  .book-now-btn {
    padding: 12px 20px;
    font-size: 16px;
  }
}

.map-form-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  padding: 40px 20px;
  gap: 30px;
  background-color: #ffffff;
}

.map-container {
  flex: 2;
  min-width: 300px;
}

.map-container iframe {
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: 8px;
}

.form-container {
  flex: 1.2;
  min-width: 300px;
  max-height: 500px;
  background-color: #f0f8ff;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.form-container h2 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 15px;
  color: #004466;
}

.form-container p {
  font-size: 14px;
  line-height: 1.5;
  color: #444;
  margin-bottom: 15px;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin: 10px 0 5px;
  font-weight: bold;
  font-size: 14px;
}

input,
select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

input[type="submit"] {
  margin-top: 15px;
  background-color: #0072bb;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #005f99;
}

/* Mobile Map Form Section Styles */
@media (max-width: 768px) {
  .map-form-section {
    flex-direction: column;
    padding: 20px 15px;
    gap: 20px;
  }

  .map-container iframe,
  .form-container {
    height: auto;
    max-height: none;
  }

  .map-container iframe {
    height: 300px;
  }

  .form-container {
    padding: 20px;
  }

  .form-container h2 {
    font-size: 20px;
  }

  .form-container p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .map-form-section {
    padding: 15px 10px;
    gap: 15px;
  }

  .map-container iframe {
    height: 250px;
  }

  .form-container {
    padding: 15px;
  }

  .form-container h2 {
    font-size: 18px;
  }

  input,
  select {
    padding: 8px;
    font-size: 13px;
  }

  label {
    font-size: 13px;
  }
}

.video-section {
  padding: 20px 20px 60px 20px; /* Reduced top padding */
  text-align: center;
  background-color: #e0f2ff;
}

.video-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #004466;
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.video-container {
  flex: 1 1 300px;
  max-width: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

iframe {
  width: 100%;
  height: 225px;
  border: none;
}

/* Mobile Video Section Styles */
@media (max-width: 768px) {
  .video-section {
    padding: 20px 15px 40px 15px;
  }

  .video-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .video-grid {
    gap: 20px;
  }

  .video-container {
    flex: 1 1 250px;
    max-width: 350px;
  }

  iframe {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .video-section {
    padding: 15px 10px 30px 10px;
  }

  .video-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .video-grid {
    gap: 15px;
  }

  .video-container {
    flex: 1 1 100%;
    max-width: none;
  }

  iframe {
    height: 180px;
  }
}

.why-jaya-section {
  display: flex;
  max-width: 1200px;
  margin: auto;
  padding: 20px 20px 60px 20px;
  gap: 40px;
  align-items: center;
}

.why-jaya-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 50%;
}

.why-jaya-content h4 {
  color: #0072bb;
  font-size: 18px;
  margin: 0 0 8px;
  text-align: left;
}

.why-jaya-content h1 {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 18px;
  text-align: left;
  line-height: 1.3;
}

.why-jaya-content p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 26px;
  text-align: left;
}

.feature-box {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px; /* more spacing between blocks */
}

.feature-box img {
  width: 70px;
  height: 70px;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-text h3 {
  margin: 0 0 10px;
  font-size: 20px; /* increased from 18px */
  color: #0072bb;
  text-align: left;
}

.feature-text p {
  margin: 0;
  font-size: 16px; /* increased from 15px */
  line-height: 1.6;
  color: #333;
  text-align: left;
}

.why-jaya-image {
  flex: 1;
  max-width: 50%;
}

.why-jaya-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 60px;
  display: block;
}

/* Mobile Why Jaya Section Styles */
@media screen and (max-width: 768px) {
  .why-jaya-section {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }

  .why-jaya-content,
  .why-jaya-image {
    max-width: 100%;
  }

  .why-jaya-content h1 {
    font-size: 32px;
    text-align: center;
  }

  .why-jaya-content h4 {
    text-align: center;
  }

  .why-jaya-content p {
    text-align: center;
  }

  .why-jaya-image img {
    border-radius: 20px;
    height: auto;
  }

  .feature-box img {
    width: 60px;
    height: 60px;
  }

  .feature-text h3 {
    text-align: center;
  }

  .feature-text p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .why-jaya-section {
    padding: 30px 15px;
    gap: 20px;
  }

  .why-jaya-content h1 {
    font-size: 26px;
  }

  .why-jaya-content h4 {
    font-size: 16px;
  }

  .why-jaya-content p {
    font-size: 15px;
  }

  .feature-box {
    margin-bottom: 20px;
  }

  .feature-box img {
    width: 50px;
    height: 50px;
    margin-right: 12px;
  }

  .feature-text h3 {
    font-size: 18px;
  }

  .feature-text p {
    font-size: 14px;
  }
}

/* Jaya Wellness Clinic WhatsApp Widget Styles */
.jaya-whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.jaya-whatsapp-button {
  background: #25d366;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.jaya-whatsapp-button i {
  font-size: 24px;
}

.jaya-whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.jaya-whatsapp-button.active {
  background: #128c7e;
}

.jaya-whatsapp-text {
  font-weight: 600;
  font-size: 14px;
}

.jaya-whatsapp-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.jaya-whatsapp-popup {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.jaya-whatsapp-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.jaya-whatsapp-header {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.jaya-whatsapp-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.jaya-whatsapp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jaya-whatsapp-info {
  flex: 1;
}

.jaya-whatsapp-info h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
}

.jaya-whatsapp-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  opacity: 0.9;
  margin: 0;
}

.jaya-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4444;
  transition: background 0.3s ease;
}

.jaya-status-dot.online {
  background: #4caf50;
}

.jaya-whatsapp-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.jaya-whatsapp-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.jaya-whatsapp-body {
  padding: 20px;
}

.jaya-whatsapp-message {
  background: #f0f0f0;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.4;
}

.jaya-whatsapp-message p {
  margin: 0 0 8px 0;
}

.jaya-whatsapp-message p:last-child {
  margin-bottom: 0;
}

.jaya-whatsapp-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.jaya-whatsapp-option {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  transition: all 0.3s ease;
  color: #333;
}

.jaya-whatsapp-option:hover {
  background: #e9ecef;
  border-color: #25d366;
  transform: translateX(4px);
}

.jaya-whatsapp-direct {
  text-align: center;
}

.jaya-whatsapp-chat-btn {
  background: #25d366;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s ease;
  width: 100%;
}

.jaya-whatsapp-chat-btn:hover {
  background: #128c7e;
}

/* Responsive Design */
@media (max-width: 480px) {
  .jaya-whatsapp-popup {
    width: 280px;
    right: -10px;
  }

  .jaya-whatsapp-button {
    padding: 12px 16px;
  }

  .jaya-whatsapp-text {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .jaya-whatsapp-popup {
    width: 260px;
    right: -20px;
  }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
  /* Improve touch targets */
  .book-btn a,
  .read-more a,
  .book-now-btn,
  input[type="submit"],
  .jaya-whatsapp-option,
  .jaya-whatsapp-chat-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Better spacing for mobile */
  .main-section,
  .section,
  .service-section,
  .video-section,
  .why-jaya-section {
    margin-bottom: 20px;
  }

  /* Improve text readability */
  .text-box p,
  .about-text p,
  .why-jaya-content p,
  .feature-text p {
    line-height: 1.7;
  }

  /* Better form experience */
  input,
  select,
  textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Improve service grid layout */
  .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  /* Even better touch targets for small screens */
  .book-btn a,
  .read-more a,
  .book-now-btn,
  input[type="submit"] {
    min-height: 48px;
    font-size: 16px;
  }

  /* Single column layout for very small screens */
  .service-grid {
    grid-template-columns: 1fr;
  }

  /* Better spacing for small screens */
  .main-section,
  .section,
  .service-section,
  .video-section,
  .why-jaya-section {
    margin-bottom: 15px;
  }

  /* Improve readability on small screens */
  .text-box h2,
  .section h2,
  .service-section h2,
  .video-section h2,
  .why-jaya-content h1 {
    line-height: 1.2;
  }

  /* Better form layout */
  .form-container {
    max-height: none;
    overflow-y: visible;
  }

  /* Improve button spacing */
  .book-now-wrapper {
    margin-top: 20px;
  }
}

/* Landscape orientation optimizations */
@media (max-width: 768px) and (orientation: landscape) {
  .custom-header {
    padding: 8px 15px;
  }

  .header-section {
    padding: 20px 15px 10px;
  }

  .main-section {
    padding: 15px 15px;
  }

  .section {
    padding: 20px 15px;
  }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .custom-header .logo img,
  .service-item img,
  .feature-box img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark mode support for mobile */
/* @media (prefers-color-scheme: dark) {
  .custom-header {
    background-color: rgba(30, 30, 30, 0.92);
  }

  .custom-header nav ul li a {
    color: #fff;
  }

  .custom-header nav ul li a:hover {
    color: #0072bb;
  }

  .mobile-menu-toggle span {
    background-color: #fff;
  }
} */

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .jaya-whatsapp-pulse {
    animation: none;
  }
}

/* Focus improvements for keyboard navigation */
.book-btn a:focus,
.read-more a:focus,
.book-now-btn:focus,
input[type="submit"]:focus,
.jaya-whatsapp-option:focus,
.jaya-whatsapp-chat-btn:focus {
  outline: 2px solid #0072bb;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .custom-header,
  .jaya-whatsapp-widget,
  .book-btn,
  .book-now-wrapper {
    display: none;
  }

  .main-section,
  .section,
  .service-section,
  .video-section,
  .why-jaya-section {
    page-break-inside: avoid;
  }
}
