body {
  margin: 0;

  font-family: "Cairo", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
p,
a,
head,
header,
section,
option,
select,
div,
select,
text,
title,
.st-gray-bg2,
.st-hero-title,
.st-hero-subtitle,
.st-section-heading-title,
.st-pink,
.st-section-heading-title,
style {
  font-family: "Cairo", sans-serif;
}

.custom-select {
  font-family: "Cairo", sans-serif;
}

/* Base

/* Base styles for all devices */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem; /* reduced from 1rem */
  background-color: #ffffff;
}

header img {
  max-width: 100%;
  height: auto;
  max-height: 100px; /* limits logo height */
  display: block;
}

/* Tablet view */
@media (min-width: 768px) {
  header img {
    max-width: 250px;
    max-height: 100px;
  }
}

/* Desktop/larger screens */
@media (min-width: 1024px) {
  header img {
    max-width: 320px;
    max-height: 100px;
  }
}

/* Very large screens */
@media (min-width: 1440px) {
  header img {
    max-height: 100px;
  }
}

/* WhatsApp Sticky Button */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366; /* WhatsApp brand color */
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover effect for desktop */
.whatsapp-btn:hover {
  background-color: #128c7e; /* Darker WhatsApp color */
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 25px;
    bottom: 15px;
    right: 15px;
  }
}

/* Very small devices */
@media (max-width: 480px) {
  .whatsapp-btn {
    width: 45px;
    height: 45px;
    font-size: 22px;
    bottom: 10px;
    right: 10px;
  }
}

/* Accessibility focus styles */
.whatsapp-btn:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Hero Section - Base Styles */
.hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  padding: 2rem 1rem;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Hero Image Styles */
.hero-image {
  order: 2;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 3px solid white;
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: rotate(0deg);
}

/* Hero Content Styles */
.hero-content {
  order: 1;
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.hero-offer {
  background: linear-gradient(to right, #4facfe 0%, #a1858a 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: skewY(-2deg);
}

.hero-offer h2 {
  font-size: 1.8rem;
  margin: 0;
  transform: skewY(2deg);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-offer p {
  font-size: 1.2rem;
  margin: 0.5rem 0 0;
  transform: skewY(2deg);
}

.hero-description {
  background-color: white;
  padding: 1.2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #4facfe;
}

.hero-description p {
  font-size: 1.1rem;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

.hero-consultant {
  background-color: #2c3e50;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.hero-consultant h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

/* Decorative Elements */
.hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(79, 172, 254, 0.1);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  background: rgba(0, 242, 254, 0.1);
  border-radius: 50%;
}

/* Tablet View */
@media (min-width: 768px) {
  .hero-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .hero-image {
    order: 1;
    flex: 1;
  }

  .hero-content {
    order: 2;
    flex: 1;
    text-align: right;
  }

  .hero-offer h2 {
    font-size: 2.2rem;
  }

  .hero-image img {
    max-width: 450px;
  }
}

/* Desktop View */
@media (min-width: 1024px) {
  .hero {
    padding: 3rem 2rem;
  }

  .hero-wrapper {
    gap: 4rem;
  }

  .hero-offer h2 {
    font-size: 2.5rem;
  }

  .hero-image img {
    max-width: 500px;
  }

  .hero-content {
    padding: 2rem;
  }
}

/* Global Box Sizing for Form Elements */
.appointment-form *,
.appointment-form *::before,
.appointment-form *::after {
  box-sizing: border-box;
}

/* Unified Form Elements - Updated */
.form-control,
.custom-select {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  margin-bottom: 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.5;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(204, 61, 125, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  color: #333;
  position: relative;
  z-index: 1;
}

/* Make Textareas Match the Height (Optional) */
textarea.form-control {
  height: auto;
  min-height: 120px;
  padding-top: 16px;
  padding-bottom: 16px;
  resize: vertical;
}

/* Focus State */
.form-control:focus,
.custom-select:focus {
  outline: none;
  box-shadow: 0 4px 10px rgba(204, 61, 125, 0.15),
    inset 0 0 0 2px rgba(204, 61, 125, 0.3);
  background-color: white;
  transform: translateY(-1px);
}

.image-container87 {
        display: flex;
        gap: 10px; /* Space between images */
      }

      .image-container87 img {
        width: 100%; /* Ensure each image scales properly */
        max-width: calc(
          33.33% - 10px
        ); /* Divide container into 3 equal parts */
        height: auto; /* Maintain aspect ratio */
        object-fit: cover; /* Ensure images fill their allocated space */
        border-radius: 5px; /* Optional: Rounded corners */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Shadow for a modern look */
        transition: transform 0.3s ease-in-out; /* Smooth transition for zoom effect */
      }

      /* Zoom effect on hover */
      .image-container87 img:hover {
        transform: scale(1.1); /* Increase size by 10% */
      }


/* Services Section Styles */
.services-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #4caf50;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: right;
  direction: rtl;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.service-title {
  font-size: 1.5rem;
  color: #333;
  margin: 20px 20px 10px;
}

.service-description {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 20px 20px;
  padding-bottom: 20px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .service-image {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .services-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .service-description {
    font-size: 0.9rem;
  }
}

/* Footer Styles */
footer {
  background-color: #2c3e50; /* Dark blue-gray color */
  color: #ffffff;
  text-align: center;
  padding: 30px 20px;
  font-family: "Arial", sans-serif;
  direction: rtl; /* Right-to-left for Arabic content */
}

footer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Social Media Icons (optional - add if you want social links) */
.footer-social {
  margin: 20px 0;
}

.footer-social a {
  color: white;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #4caf50; /* Green accent color */
}

/* Footer Links (optional - add if you have links) */
.footer-links {
  margin: 20px 0;
}

.footer-links a {
  color: #ecf0f1;
  margin: 0 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4caf50; /* Green accent color */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  footer {
    padding: 25px 15px;
  }

  footer p {
    font-size: 0.9rem;
  }

  .footer-social a {
    font-size: 1.3rem;
    margin: 0 8px;
  }

  .footer-links a {
    margin: 0 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  footer {
    padding: 20px 10px;
  }

  footer p {
    font-size: 0.8rem;
  }

  .footer-social {
    margin: 15px 0;
  }

  .footer-social a {
    font-size: 1.2rem;
    margin: 0 5px;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links a {
    margin: 5px 8px;
    font-size: 0.8rem;
  }
}

/* Mobile view lock - prevents horizontal scrolling */
html,
body {
  width: 100%;
  overflow-x: hidden; /* This is the key line that prevents horizontal scroll */
  margin: 0;
  padding: 0;
}

/* Container element that wraps your content */
.container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box; /* Includes padding in width calculation */
}

/* For all sections */
section {
  width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Contains any floated elements */
}

/* Specifically for your services grid */
.services-grid {
  width: 100%;
  box-sizing: border-box;
}

/* Media query for mobile */
@media (max-width: 768px) {
  /* Force single column layout */
  .services-grid {
    grid-template-columns: 1fr !important;
  }

  /* Ensure all elements stay within viewport */
  .service-card {
    width: 100% !important;
    margin: 0 0 20px 0 !important;
  }

  /* Prevent any horizontal overflow */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Lock body scrolling */
  body {
    position: relative;
    overflow-x: hidden;
  }
}
/* Before and After Section */

/* Base Styles */
.feature-section {
  width: 100%;
  padding: 40px 0;
  background-color: #f8f9fa;
  direction: rtl;
}

.feature-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 40px;
}

.feature-image-wrapper {
  flex: 1 1 45%;
  min-width: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.feature-image:hover {
  transform: scale(1.02);
}

.feature-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: right;
}

.feature-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.feature-subtitle {
  font-size: 1.5rem;
  color: #8d82d0;
  margin-bottom: 30px;
  font-weight: 600;
}

.cta-button {
  display: inline-block;
  background-color: #8d82d0;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.cta-button:hover {
  background-color: #8d82d0;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .feature-title {
    font-size: 2rem;
  }

  .feature-subtitle {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .feature-container {
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
  }

  .feature-image-wrapper,
  .feature-content {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .feature-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .feature-subtitle {
    font-size: 1.2rem;
    text-align: center;
  }

  .feature-cta {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .feature-section {
    padding: 30px 0;
  }

  .feature-title {
    font-size: 1.5rem;
  }

  .feature-subtitle {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 10px 25px;
    font-size: 1rem;
  }
}

/* ======================= thank  you styles  ======================= */

/* Improved Header */
.st-main-header {
  background-color: #f2e4f1 !important;
  height: 100px !important;
}

.st-main-header img {
  height: 90px;
  max-width: 100%;
}

/* Hero Section */
.st-hero {
  background-color: #8d82d0 !important;
  padding: 100px 0;
}

.st-hero-title {
  font-family: "Roboto", sans-serif;
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.st-hero-subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  color: #fff;
  text-align: center;
  opacity: 0.8;
  margin-top: 15px;
}

.st-content {
  padding: 50px 0;
}

/* Footer Section */
footer.st-site-footer {
  background-color: #000;
  color: white;
  padding: 20px 0;
}

footer .st-copyright-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

footer .st-copyright-text {
  font-size: 14px;
}

footer .st-right-copyright #st-backtotop {
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

footer .st-right-copyright #st-backtotop:hover {
  transform: scale(1.2);
}

/* General Adjustments */
h1 {
  color: white !important;
}

/* Buttons and Links */
.st-btn {
  background-color: #484849;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.st-btn:hover {
  background-color: #333;
}

/* Ensure all text has proper line spacing */
body {
  line-height: 1.6;
}

/*  ===================    PRIVACY POLICY STYLES ===================   */

h1 {
  color: white !important;
}

p {
  color: white;
}

.uly {
  color: white;
}
.text-blak {
  color: black;
}

.white-text {
  color: white;
}

.st-main-header {
  display: flex;
  justify-content: center; /* Centers the logo horizontally */
  align-items: center; /* Centers the logo vertically */
  height: 100px; /* Optional: to control the height of the header */
}

.st-main-header-left {
  display: flex;
  justify-content: center;
  align-items: center;
}
